/* Keep the approved BB Cream off-white across every image layer. */
body.fs-shared-navigation {--fs-product-background:#f8f8f8}
body.fs-shared-navigation .qodef-e-media,
body.fs-shared-navigation .qodef-e-media-image,
body.fs-shared-navigation .qodef-e-media-image>a,
body.fs-shared-navigation .fs-labo-category-image,
body.fs-shared-navigation .woocommerce-product-gallery,
body.fs-shared-navigation .woocommerce-product-gallery__wrapper,
body.fs-shared-navigation .woocommerce-product-gallery__image,
body.fs-shared-navigation .woocommerce-product-gallery__image>a {background:var(--fs-product-background)!important}
body.fs-shared-navigation .qodef-e-media-image img,
body.fs-shared-navigation .fs-labo-category-image img,
body.fs-shared-navigation .woocommerce-product-gallery__image img,
body.fs-shared-navigation .qwfw-wishlist-table img,
body.fs-shared-navigation #qcfw-modal .qcfw-m-image img {background:transparent!important;mix-blend-mode:darken!important;object-fit:contain!important}

body.fs-shared-navigation .fs-product-discount {position:absolute!important;top:12px!important;left:12px!important;right:auto!important;z-index:4!important;width:auto!important;min-width:0!important;height:auto!important;padding:5px 9px!important;border-radius:5px!important;background:#fce9e9!important;color:#a81922!important;font:600 14px/1.2 system-ui,sans-serif!important;transform:none!important}
body.fs-shared-navigation .fs-product-shade-dot {position:absolute;top:12px;right:12px;width:19px;height:19px;border:1px solid #0003;border-radius:50%;box-shadow:0 0 0 2px #fff;z-index:4}
body.fs-shared-navigation .qodef-e-media:has(.fs-product-shade-dot) .qodef-e-media-inner {top:42px!important;height:calc(100% - 42px)!important}
body.fs-shared-navigation .qodef-e-content {display:flex!important;flex-direction:column;align-items:flex-start}
body.fs-shared-navigation .fs-product-meta {order:-1;width:100%;min-height:2.9em;margin:0 0 9px;font:400 13px/1.45 system-ui,sans-serif;color:#134f3d}
body.fs-shared-navigation .fs-product-meta>span {display:block;min-height:1.45em}
body.fs-shared-navigation .qodef-e-content .qodef-woo-product-title {min-height:4.35em!important;line-height:1.45!important;color:#134f3d!important}
body.fs-shared-navigation .qodef-e-content .price {min-height:54px!important;margin-bottom:15px!important}
body.fs-shared-navigation .fs-product-prices {display:grid;gap:4px;color:#134f3d}
body.fs-shared-navigation .fs-product-list-price,
body.fs-shared-navigation .fs-product-list-price .amount,
body.fs-shared-navigation .fs-product-list-price del {font:400 11px/1.35 system-ui,sans-serif!important;color:#505b56!important;opacity:1!important;white-space:nowrap}
body.fs-shared-navigation .fs-product-final-price,
body.fs-shared-navigation .fs-product-final-price .amount {font:600 26px/1.25 system-ui,sans-serif!important;color:#134f3d!important;text-decoration:none}
body.fs-shared-navigation .summary .fs-product-meta {margin-bottom:10px}
body.fs-shared-navigation .qqvfw-m-media-wrapper {position:relative}
body.fs-shared-navigation .qqvfw .fs-product-shade-dot {left:auto!important;right:12px!important;top:12px!important;width:19px!important;height:19px!important;padding:0!important;border-radius:50%!important}
body.fs-shared-navigation .summary .fs-product-final-price,
body.fs-shared-navigation .summary .fs-product-final-price .amount {font-size:30px!important}
@media(max-width:650px){body.fs-shared-navigation .fs-product-meta{font-size:11px}body.fs-shared-navigation .fs-product-final-price,body.fs-shared-navigation .fs-product-final-price .amount{font-size:24px!important}body.fs-shared-navigation .fs-product-discount{top:9px!important;left:9px!important;font-size:12px!important;padding:4px 7px!important}}

body.fs-shared-navigation .woocommerce-product-gallery img.zoomImg{display:block!important;object-fit:fill!important;mix-blend-mode:normal!important;max-width:none!important;max-height:none!important;padding:0!important}
body.single-product .woocommerce-product-gallery__image>a>img.wp-post-image{width:100%!important;height:400px!important;max-height:65vh!important;object-fit:contain!important}
body.single-product .woocommerce-product-gallery__image>a{display:block!important}
@media(max-width:680px){body.single-product .woocommerce-product-gallery__image>a>img.wp-post-image{height:340px!important}}

body.single-product .qodef-woo-single-inner{display:grid!important;grid-template-columns:minmax(0,420px) minmax(0,1fr)!important;gap:48px!important;align-items:start!important}
body.single-product .qodef-woo-single-inner>.qodef-woo-single-image,body.single-product .qodef-woo-single-inner>.summary{width:100%!important;min-width:0!important;margin:0!important;float:none!important}
body.single-product .woocommerce-product-gallery{width:100%!important}
body.single-product .woocommerce-product-gallery__image{overflow:hidden!important;position:relative!important}
@media(max-width:760px){body.single-product .qodef-woo-single-inner{grid-template-columns:1fr!important;gap:24px!important}}

/* Share, compact product title and consistent related cards. */
body.single-product .qodef-social-share li{background:#398363!important}
body.single-product .qodef-social-share li:hover{background:#2e7255!important}
body.single-product .qodef-social-share a,body.single-product .qodef-social-share svg{color:#fff!important;fill:#fff!important}
body.single-product .qodef-page-title{height:44px!important}
body.single-product .qodef-page-title .qodef-m-title{font-size:23px!important}
body.fs-shared-navigation .qodef-e-media>a.woocommerce-loop-product__link{background:transparent!important}
body.single-product #qodef-woo-page .related ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:24px!important;margin:0!important}
body.single-product .related ul.products::before,body.single-product .related ul.products::after{display:none!important}
body.single-product .related ul.products>li.product{width:100%!important;margin:0!important;padding:0!important;min-width:0!important}
body.single-product .related .qodef-e-media-image img{width:100%!important;height:230px!important;object-fit:contain!important}
body.single-product .related .qodef-woo-product-title{font-size:16px!important}
body.fs-shared-navigation .fs-product-shade-dot,body.fs-shared-navigation .qqvfw .fs-product-shade-dot{top:auto!important;bottom:12px!important;right:12px!important;left:auto!important}
body.fs-shared-navigation .qodef-e-media:has(.fs-product-shade-dot) .qodef-e-media-inner{top:0!important;height:100%!important}
@media(max-width:767px){body.single-product #qodef-woo-page .related ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}body.single-product .related .qodef-e-media-image img{height:190px!important}}

body.single-product #qodef-page-inner{padding-top:32px!important}
@media(max-width:760px){body.single-product #qodef-page-inner{padding-top:24px!important}}

body.single-product .qodef-woo-live-viewing-message{font-size:9px!important;line-height:1.5!important}body.single-product .qodef-woo-live-viewing-message svg{width:14px!important;height:10px!important}

body.single-product #review_form button[type="submit"]{background:#174d3b!important;border-color:#174d3b!important;color:#fff!important}body.single-product #review_form button[type="submit"]:hover{background:#23634d!important;border-color:#23634d!important}

body.single-product .sku_wrapper,body.single-product .sku_wrapper .qodef-woo-meta-label,body.single-product .sku_wrapper .qodef-woo-meta-value{font-size:11px!important;line-height:1.5!important;color:#58645e!important}

body.single-product .qodef-social-share ul{display:inline-flex!important;align-items:center!important;gap:12px!important;vertical-align:middle!important}
body.single-product .qodef-social-share li{display:flex!important;align-items:center!important;justify-content:center!important;border:0!important;margin:0!important;padding:0!important;width:25px!important;height:25px!important;flex:0 0 25px!important;vertical-align:middle!important}
body.single-product .qodef-social-share a{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:100%!important;line-height:1!important;padding:0!important;transform:none!important}
body.single-product .qodef-social-share svg{display:block!important;position:static!important;margin:0!important;transform:none!important;max-width:16px!important;max-height:16px!important}

body.post-type-archive-product .fs-labo-brand p{margin:0 0 2px!important}

body.single-product .qodef-woo-single-image>.fs-product-shade-dot{width:30px!important;height:30px!important;top:calc(min(400px,65vh) - 46px)!important;bottom:auto!important;right:16px!important}
@media(max-width:680px){body.single-product .qodef-woo-single-image>.fs-product-shade-dot{top:calc(min(340px,65vh) - 46px)!important}}

body.single-product .product_meta>.posted_in,body.single-product .product_meta>.tagged_as{display:block!important;font-size:13px!important;line-height:1.6!important;text-align:left!important}
body.single-product .product_meta .posted_in .qodef-woo-meta-label,body.single-product .product_meta .tagged_as .qodef-woo-meta-label{display:inline!important;font-size:13px!important;margin-right:6px!important}
body.single-product .product_meta .posted_in .qodef-woo-meta-value,body.single-product .product_meta .tagged_as .qodef-woo-meta-value{display:inline!important;font-size:13px!important}
body.single-product .product_meta .posted_in a,body.single-product .product_meta .tagged_as a{display:inline!important;font-size:13px!important;line-height:1.6!important;text-align:left!important}

.fs-product-shade-dot{cursor:pointer}
.fs-product-shade-dot:focus-visible{outline:2px solid #174d3b;outline-offset:4px}
dialog.fs-shade-preview{box-sizing:border-box;width:min(420px,calc(100vw - 40px));max-height:90vh;overflow:auto;padding:30px;border:0;border-radius:16px;background:#f8f8f8;color:#134f3d;text-align:center;box-shadow:0 20px 70px #0003}
dialog.fs-shade-preview::backdrop{background:rgba(12,35,25,.45)}
.fs-shade-preview h2{font:500 26px/1.2 system-ui,sans-serif;margin:0 0 24px;color:#134f3d}
.fs-shade-preview .fs-shade-close{position:absolute;right:12px;top:8px;background:transparent;border:0;color:#174d3b;font:400 28px/1 system-ui,sans-serif;padding:6px;cursor:pointer}
.fs-shade-sample{width:220px;height:220px;max-width:100%;margin:auto;border-radius:50%;border:1px solid #0002}
.fs-shade-label{font:500 17px/1.5 system-ui,sans-serif;margin:22px 0 10px;color:#134f3d}
.fs-shade-note{font:400 11px/1.5 system-ui,sans-serif;color:#66726c;margin:0}

.fs-brands-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;padding:8px 0 40px}
.fs-brand-logo{display:flex;align-items:center;justify-content:center;min-height:150px;padding:28px;border:1px solid #dbe5de;border-radius:12px;background:#f8f8f8;transition:border-color .2s,box-shadow .2s}
.fs-brand-logo:hover,.fs-brand-logo:focus-visible{border-color:#398363;box-shadow:0 5px 16px #174d3b12}
.fs-brand-logo img{display:block;width:182px;max-width:100%;height:auto;max-height:100px;object-fit:contain}
body.page-id-627 #qodef-page-inner,body.tax-product_brand #qodef-page-inner{padding-top:32px!important;padding-bottom:40px!important}
body.page-id-627 .qodef-page-title,body.tax-product_brand .qodef-page-title{height:44px!important;background:#edf3ef!important}
body.page-id-627 .qodef-page-title .qodef-m-title,body.tax-product_brand .qodef-page-title .qodef-m-title{font-size:23px!important;color:#153f32!important}
@media(max-width:767px){.fs-brands-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.fs-brand-logo{padding:20px;min-height:120px}}

.fs-brand-logo{flex-direction:column;gap:18px}.fs-brand-count{display:block;font:300 11px/1.4 system-ui,sans-serif;color:#63736c;letter-spacing:.15px;text-align:center}

body.fs-shared-navigation .fs-product-discount{display:grid!important;place-content:center;box-sizing:border-box;width:52px!important;height:52px!important;padding:0!important;overflow:hidden;border-radius:50%!important;background:linear-gradient(145deg,#df4554,#b31937)!important;color:#fff!important;text-align:center;font:750 16px/1.05 system-ui!important}
body.fs-shared-navigation .fs-product-discount::before{content:"SCONTO";grid-row:2;font:650 8px/1.3 system-ui;letter-spacing:.04em}
body.fs-shared-navigation .fs-product-discount::after{content:"";position:absolute;bottom:0;left:0;width:14px;height:14px;border-radius:0 100% 0 0;background:#f9a6b0;pointer-events:none}
body.fs-shared-navigation .fs-product-discount small{font-size:.72em;font-weight:inherit}
