/* WooCommerce
 * Cart Button Padding
 * Remove when WC Core 7.5 launches  */
.woocommerce-page .woocommerce-cart-form .actions .button.button {
 padding-top: 1rem !important;
 padding-bottom: 1rem !important;
}

/* Mailpoet
 * Form Width Adjustments
 * Let Button Match Txt Fields */
.mailpoet_paragraph .mailpoet_text {
  width: calc(100% - 22px);
}

.mailpoet_submit {
  width: 100%;
}

/* Theme
 * News Page
 * Post Title Size (link styles were overriding site editor settings) */
.blog .posttitle a {
  font-size: var(--wp--preset--font-size--large);
}

/* WooCommerce
 * Catalog Pages & Related Products
 * Fix first and last product offset */
.woocommerce ul.products::after, 
.woocommerce ul.products::before, 
.woocommerce-page ul.products::after, 
.woocommerce-page ul.products::before {
    display: none !important;
}

/* WooCommerce
 * Single Product Pages
 * Reduce tab font size on mobile to avoid wrapping */
@media screen and (max-width: 395px) {
  .single .wc-tabs a {
    font-size: 14px;
  }
}

/* WooCommerce
 * Single Product Pages
 * Add marging between product meta lines */
.product_meta .posted_in {
	margin-bottom: 10px;
}

/* Theme Header
 * Remove Padding over Header */
.wp-site-blocks {
	padding-top: unset;
	padding-bottom: unset;
}

/* Theme Footer
 * Hide Empty Footer Credit Block */
footer ~ .wp-block-group:last-of-type {
	display: none;
}

/* Theme Nav
 * Add Margin Between Shop Menu and Cart Icon */
.shopmenu {
	margin-right: 10px !important;
}

/* Mailpoet Form (Footer)
 * Adjust Margin above form fields */
.mailpoet_form {
	margin-block-start: 15px !important;
}

/* Theme Nav
 * Make Submenus Wider */
.wp-block-navigation .has-child:not(.open-on-click):hover > .wp-block-navigation__submenu-container {
  min-width: 40vw;
}

/* Woo Catalog Pages
 * Sorting Dropdown
 * Add padding */
.woocommerce-ordering .orderby {
	padding: 10px;
}

/* Woo Catalog Pages
* Sorting Dropdown
* Add Bottom Margin */
.woocommerce .woocommerce-ordering {
  margin: 0 0 10px 20px;
}

/* Woo Coupon Ask Message Text
* Ensure Ask and link are same font size */
.woocommerce .woocommerce-form-coupon-toggle .showcoupon {
  font-size: var(--wp--preset--font-size--small);
  margin-left: 5px;
}
.woocommerce .woocommerce-form-coupon-toggle .woocommerce-info {
  display: flex;
}

/* Woo Coupon Ask Message
* Mobile Styling
* Move Coupon link to second line */
@media screen and (max-width: 452px) {
  .woocommerce .woocommerce-form-coupon-toggle .woocommerce-info {
    flex-direction: column;
  }
  .woocommerce .woocommerce-form-coupon-toggle .showcoupon {
    font-size: var(--wp--preset--font-size--medium);
    margin-left: unset;
    margin-top: 10px;
  } 
}

/* Woo Catalog Pages
* Sorting Dropdown Mobile
* Float left */
@media screen and (max-width: 452px) {
  .woocommerce .woocommerce-ordering {
    float: left;
    margin-left: unset;
		margin-bottom: 40px;
  }
  
  .woocommerce .woocommerce-result-count {
    margin-right: 20px;
  }
}

@media screen and (max-width: 768px) {
  .woocommerce .woocommerce-ordering {
		margin-bottom: 40px;
  }
}

/* Woo Pages - All
 * Adjust Page Width To Match Rest of Theme */
.woocommerce-page main {
	max-width: unset;
}

/* Woo Single Product Pages
 * Show Product Meta on Separate Lines */
.single .posted_in,
.single .tagged_as {
	display:block;
}

/* Woo Single Product Pages
 * Hide SKU */
.single .sku_wrapper {
	display: none;
}

/* Woo Single Product Pages
 * Additional Info Table
 * Top-Align Attribute Labels */
.woocommerce-product-attributes-item__label,
.woocommerce-product-attributes-item__value {
	vertical-align: top;
	padding-top: 30px;
}

/* Woo Single Product Pages
 * Additional Info Table
 * Remove extra margin on p content */
.woocommerce-product-attributes-item__value p {
	margin-top: unset;
}

/* Woo Single Product Pages
 * Additional Info Table
 * Add Top Padding and Make Lable Colmn Wider to Avoud Text Wrap */
.single .woocommerce-product-attributes th {
	min-width: 180px;
	padding-top: 30px;
}

/* Woo Mini Cart
 * Checkout Button Colors */
.wc-block-mini-cart__footer-checkout {
  color: var(--wp--preset--color--contrast) !important;
	background-color: var(--wp--preset--color--tertiary) !important;
}

/* Woo Mini Cart
 * Checkout Button Hover Colors */
.wc-block-mini-cart__footer-checkout:hover,
.wc-block-mini-cart__footer-cart:hover {
	color: #fff !important;
  background-color: var(--wp--preset--color--contrast) !important;
}

/* Woo Messages
/* Mobile Styling
/* Hide check, stack message and button to avoid awkward wrap */
@media screen and (max-width: 670px) {
  .woocommerce-message {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 1.5rem 0 1.5rem;
    min-height: 3rem;
    margin-top: 30px !important;
  }  
  .woocommerce-message:before {
    display: none !important;
  }
  .woocommerce-message .button {
    order: 2;
    margin: 1rem auto !important;
  }
}

/* Woo Messages
/* Tablet+ Styling
/* Enlarge text, vert align it with the button */
@media screen and (min-width: 671px) {  
.woocommerce-message {
  padding-top: 30px !important;
  margin-top: 30px !important;
  font-size: 1.2rem;
  min-height: 3rem;
}
.woocommerce-message .button {
  margin-top: -12.5px !important;
  margin-left: 20px !important;
}
}


/* Woo Product Blocks
 * Update Product Title Font */
.wc-block-grid__product-title {
  font-family: var(--wp--preset--font-family--alegreya);
  font-size: calc(100% + .2em);
  letter-spacing: .4px;
}

/* Woo Products
 * Update Product Title Font */
.woocommerce ul.products li.product h2.woocommerce-loop-product__title {
  font-family: var(--wp--preset--font-family--alegreya);
  font-size: calc(100% + .4em);
  margin-bottom: 5px;
  letter-spacing: .4px;
}

/* Headers on Cart & Checkout
 * Set font to match theme */
.shop_table th {
  font-family: var(--wp--preset--font-family--alegreya);
}
.woocommerce-page .cart-collaterals h2 {
  font-family: var(--wp--preset--font-family--alegreya);
}
.checkout h3 {
  font-family: var(--wp--preset--font-family--alegreya) !important;
}


/* Woo CArt & Checkout
 * Mini Cart Block in Nav
 * Hide mini cart block space to avoid showing a blank area */
.woocommerce-cart .minicartnav,
.woocommerce-checkout .minicartnav {
  display: none;
}

/*
.mailpoet-cta {
	width: 100%;
}

#mailpoet-cta {
	width: 100%;
}*/

/* WooCommerce
* Product Titles to show default font and not a custom font */
.wc-block-grid__product-title {
    font-family: var(--wp--preset--font-family--libre-baskerville);
}

/* Reduce the category title font size to avoid overlapping images -- 6187401-zen-RNP */

.woocommerce ul.products li.product h2.woocommerce-loop-category__title {
    font-size: small;
}