/* Mente Fresca: 60% white, 30% pine/forest, 10% leaf accents. */
:root { --mf-white:#ffffff; --mf-pine:#14352d; --mf-forest:#234d43; --mf-leaf:#8db84a; }
:root { --mf-mint:#cfdfd5; }
body, #page, #content, .mf-home, .mf-home .mf-about, .mf-home .mf-catalog,
.woocommerce ul.products li.product { background-color:var(--mf-white)!important; }
body, .mf-home, .mf-home .mf-about p, .mf-home .mf-section-heading p,
.mf-home .mf-category-title, .woocommerce { color:var(--mf-forest); }
.mf-home .mf-header, .mf-home .mf-footer, #masthead,
#masthead .ast-primary-header-bar, #masthead .ast-above-header-bar,
#masthead .ast-below-header-bar, #masthead .ast-mobile-header-content,
#colophon, #colophon .site-primary-footer-wrap, #colophon .site-below-footer-wrap {
 background-color:var(--mf-pine)!important;color:var(--mf-white)!important;
 border-color:rgba(255,255,255,.16)!important;
}
.mf-home .mf-header a, .mf-home .mf-header summary, .mf-home .mf-footer a,
.mf-home .mf-footer p, .mf-home .mf-footer small, .mf-home .mf-footer-copyright,
#masthead .menu-link, #masthead .ast-header-account-link, #masthead .ast-icon,
#masthead .breadcrumb-trail, #masthead .breadcrumb-trail a, #colophon, #colophon a {
 color:var(--mf-white)!important;
}
.mf-home .mf-actions svg, .mf-home .mf-burger, .mf-home .mf-footer-title,
.mf-home .mf-footer-contact svg, .mf-home .mf-footer-social svg,
#masthead .ast-cart-menu-wrap, #masthead .ast-cart-menu-wrap .ast-icon {
 color:var(--mf-leaf)!important;
}
.mf-home .mf-logo img, #masthead .custom-logo, #masthead .site-logo-img img {
 background:var(--mf-white);border-radius:8px;padding:5px;object-fit:contain;filter:none!important;
}
.mf-home .mf-footer-brand img {background:var(--mf-white)!important;filter:none!important;}
.mf-home .mf-menu nav, #masthead .sub-menu {background:var(--mf-pine)!important;border-color:rgba(255,255,255,.16)!important;}
.mf-home .mf-header a:hover, .mf-home .mf-footer a:hover,
#masthead .menu-link:hover, #masthead .current-menu-item>.menu-link,
#colophon a:hover {color:var(--mf-leaf)!important;}
.mf-home .mf-footer-copyright, .mf-home .mf-footer {border-color:rgba(255,255,255,.16)!important;}
.mf-home h2, .mf-home h3, .woocommerce h1, .woocommerce h2,
.woocommerce ul.products li.product .woocommerce-loop-product__title {color:var(--mf-forest)!important;}
.mf-home .mf-hero {background-color:var(--mf-pine)!important;}
.mf-home .mf-hero h1 {color:var(--mf-white)!important;}
.mf-home .mf-hero .mf-eyebrow {color:var(--mf-leaf)!important;}
.mf-home .mf-eyebrow, .mf-home .mf-subcategories a:last-child {color:var(--mf-forest)!important;}
.mf-home .mf-category-title b {color:var(--mf-leaf)!important;}
.mf-home .mf-button, .woocommerce a.button, .woocommerce button.button,
.woocommerce input.button, .mf-b2b-card-order button, .woocommerce .single_add_to_cart_button {
 background-color:var(--mf-leaf)!important;color:var(--mf-pine)!important;border-color:var(--mf-leaf)!important;
}
.mf-home .mf-button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover,
.mf-b2b-card-order button:hover {background-color:var(--mf-forest)!important;color:var(--mf-white)!important;border-color:var(--mf-forest)!important;}
.mf-b2b-card-order input:focus, .mf-home a:focus-visible, .mf-home summary:focus-visible {
 outline-color:var(--mf-leaf)!important;
}
.mf-b2b-notice {border-left-color:var(--mf-forest)!important;color:var(--mf-forest)!important;background:var(--mf-white)!important;}
/* Product cards use mint surfaces, dark green type and leaf-green actions. */
html body ul.products li.product:not(.product-category){background:var(--mf-mint)!important;border:1px solid #234d4328;border-top:4px solid var(--mf-forest);border-radius:14px;padding:16px!important;box-sizing:border-box;overflow:hidden;box-shadow:0 5px 18px #14352d0b;color:var(--mf-pine)}
html body ul.products li.product:not(.product-category) .astra-shop-thumbnail-wrap{border-radius:10px;overflow:hidden;background:#fff;margin-bottom:14px}
html body ul.products li.product:not(.product-category) img{border-radius:10px;margin-bottom:0;object-fit:contain;background:#fff}
html body ul.products li.product:not(.product-category) :is(.woocommerce-loop-product__title,.ast-woo-product-category){color:var(--mf-pine)!important}
html body ul.products li.product:not(.product-category) .woocommerce-loop-product__title{font-size:18px;line-height:1.4;margin:8px 0 14px}
html body ul.products li.product .mf-b2b-card-order{width:100%;border-top:1px solid #234d4328;padding-top:14px;margin-top:12px;color:var(--mf-pine)}
html body ul.products li.product .mf-b2b-card-order>div{justify-content:center;flex-wrap:wrap;width:100%}
html body ul.products li.product .mf-b2b-card-order>div>span{flex-basis:100%;font-size:12px;font-weight:600}
html body ul.products li.product .mf-b2b-card-order button{border:1px solid var(--mf-leaf)!important;border-radius:7px;box-shadow:none;background:var(--mf-leaf)!important;color:var(--mf-pine)!important;font-weight:600}
html body ul.products li.product .mf-b2b-card-order button[type=submit]{width:100%;font-size:13px;line-height:1.4;padding:11px 8px;white-space:normal}
html body ul.products li.product .mf-b2b-card-order .qty{background:#fff!important;color:var(--mf-pine)!important;border:1px solid #234d4355!important;border-radius:7px;height:40px;padding:5px!important;box-sizing:border-box}
html body ul.products li.product .mf-b2b-card-order button:hover{background:var(--mf-forest)!important;color:#fff!important;border-color:var(--mf-forest)!important}
html body ul.products li.product .mf-b2b-card-order :is(button,input):focus-visible{outline:2px solid var(--mf-forest);outline-offset:3px}
@media(max-width:700px){html body ul.products li.product:not(.product-category){padding:12px!important}html body ul.products li.product .mf-b2b-card-order button[type=button]{width:32px!important}html body ul.products li.product .mf-b2b-card-order .qty{width:48px!important}html body ul.products li.product:not(.product-category) .woocommerce-loop-product__title{font-size:16px}}

html body .mf-b2b-notice{text-align:center!important}
html body .mf-b2b-notice .mf-b2b-notice-login{display:block;width:fit-content;margin:10px auto 0;text-align:center}

/* Stack and center the empty-orders notice on narrow screens. */
@media(max-width:700px){
html body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info:has(> .woocommerce-Button){display:flex;flex-direction:column;align-items:center;text-align:center!important;padding:22px 18px!important}
html body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info:has(> .woocommerce-Button)::before{position:static!important;display:block;margin:0 auto 10px!important;align-self:center}
html body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info > .woocommerce-Button{order:1;float:none!important;display:block;width:fit-content;max-width:100%;margin:14px auto 0!important;text-align:center;align-self:center}
}

/* Related products reuse the same catalog cards and controls. */
html body .mf-related-products{clear:both;margin:40px 0 20px;padding-top:30px;border-top:1px solid #234d4328;text-align:center}
html body .mf-related-products h2{margin:0 0 22px;color:var(--mf-pine);font-size:clamp(25px,3vw,34px)}
html body .mf-related-order{margin:0 0 25px}
html body .mf-related-products ul.products{margin-bottom:0}

/* Cart feedback: temporary message, permanent browsing choices. */
html body .woocommerce-message:has(.mf-cart-next-actions){border:0!important;background:transparent!important;padding:0!important;margin:0 0 24px!important;box-shadow:none!important;outline:none!important}
html body .woocommerce-message:has(.mf-cart-next-actions)::before{display:none!important}
html body .mf-cart-next-actions{position:relative;display:flex!important;justify-content:center;align-items:center;gap:12px;flex-wrap:nowrap;clear:both;float:none!important;width:100%!important;margin:0 0 24px}
html body .mf-cart-next-actions .button{float:none!important;margin:0!important;padding:13px 20px!important;border-radius:9px;font-size:14px;text-align:center;background:var(--mf-leaf)!important;color:var(--mf-pine)!important}
html body .mf-cart-next-actions .mf-continue-catalog{background:var(--mf-mint,#cfdfd5)!important}
html body .mf-cart-added:not(.mf-cart-toast){padding:15px;text-align:center;margin-bottom:16px}
html body .mf-cart-toast{position:absolute;z-index:10000;bottom:calc(100% + 12px);left:50%;transform:translateX(-50%);width:max-content;max-width:min(560px,calc(100vw - 32px));box-sizing:border-box;margin:0;pointer-events:none;padding:16px 22px;background:#234d43;color:#fff;border:1px solid #91ba51;border-radius:12px;box-shadow:0 8px 30px #16382b33;text-align:center;font-size:15px;line-height:1.5;transition:opacity 1s ease-out}
html body .mf-cart-toast-leaving{opacity:0;pointer-events:none}
@media(max-width:700px){html body .mf-cart-next-actions{gap:8px;flex-wrap:nowrap}html body .mf-cart-next-actions .button{flex:1;min-width:0;max-width:250px;padding:12px 8px!important;font-size:12px;line-height:1.4}}
@media(prefers-reduced-motion:reduce){html body .mf-cart-toast{transition:none}}

/* Replace Modern Cart's brief duplicate with the single Mente Fresca notification. */
html body .moderncart-add-to-cart-notification{display:none!important}



html body .woocommerce-notices-wrapper{position:relative}

/* Hide add-to-cart source notices before JavaScript starts, preventing a flash. */
html body .woocommerce-message:has(.mf-cart-added),
html body .woocommerce-message:has(.wc-forward),
html body .woocommerce-message:has(a[href*="/carrello"]){display:none!important}

body.woocommerce-checkout #payment h3:empty,body.woocommerce-checkout #ast-payment-heading:empty{display:none!important}
