/* KING DIY LAB: shared backgrounds and functional Lucide icons. */
body{background-color:#fff;background-image:none;background-repeat:no-repeat;min-height:100vh}
body>header{background:#fff;border-bottom:1px solid #dedacf;box-shadow:0 8px 40px #0003;gap:24px}
body>header nav{flex-wrap:wrap;align-items:center;gap:12px 22px}
body>header nav a{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:14px;color:#795a23;line-height:1.4}
body>header nav a:hover{color:#795a23}
body>header nav a:before,.lab-back:before,.category-choice .eyebrow:before{content:"";display:inline-block;width:21px;height:21px;flex-shrink:0;background:currentColor;mask:var(--lab-icon) center/contain no-repeat;-webkit-mask:var(--lab-icon) center/contain no-repeat}
body>header nav a{--lab-icon:url('/icons/shop.svg')}
body>header nav a[href*="education"],body>header nav a[href*="learn"]{--lab-icon:url('/icons/play.svg')}
body>header nav a[href*="serum-details"]{--lab-icon:url('/icons/drops.svg')}
body>header nav a[href*="ingredient-guide"]{--lab-icon:url('/icons/flask.svg')}
body>header nav a[href*="recipes"]{--lab-icon:url('/icons/book.svg')}
body>header nav a[href*="vip"]{--lab-icon:url('/icons/crown.svg')}
body>header nav a[href*="order"]{--lab-icon:url('/icons/cart.svg')}
.lab-back{--lab-icon:url('/icons/back.svg');display:inline-flex!important;align-items:center;gap:10px;min-height:46px;padding:10px 16px;border:1px solid #dedacf;border-radius:8px;background:#f6f6f3;color:#795a23!important;font:500 14px/1.4 Arial,sans-serif;text-decoration:none!important;box-sizing:border-box;transition:background .18s,border-color .18s}
.lab-back:hover{background:#f6f6f3;border-color:#dedacf}
.lab-back:focus-visible,body>header nav a:focus-visible,.category-choice:focus-visible{outline:2px solid #f4d47c;outline-offset:5px}
.recipe-lab>.lab-back,.ig-page>.lab-back{margin-bottom:24px}
#shop-home{position:relative;background:#f6f6f3}
.category-choice{border-color:#dedacf!important;border-radius:14px!important;overflow:hidden;box-shadow:0 16px 42px #0004;transition:border-color .2s,transform .2s}
.category-choice:hover{border-color:#dedacf!important;transform:translateY(-3px)}
.category-choice>div{background:#f6f6f3}
.category-choice .eyebrow{display:flex;align-items:center;gap:10px;line-height:1.6}
.category-choice[href*="raw"] .eyebrow{--lab-icon:url('/icons/flask.svg')}
.category-choice[href*="serums"] .eyebrow{--lab-icon:url('/icons/drops.svg')}
.home-proof{border:1px solid #dedacf!important;border-radius:12px;background:#f6f6f3!important;padding:20px!important}
.product,.coming-card,.education-video,.serum-info-card{background:#f6f6f3!important;border-color:#dedacf!important;border-radius:12px!important;box-shadow:0 8px 22px #0002}
.product-photo{overflow:hidden;border-radius:8px}
.product h3 a:hover{text-decoration:underline;text-decoration-color:#d8b969;text-underline-offset:5px}
#order,.detail-art{border:1px solid #dedacf!important;border-radius:14px!important;background:#f6f6f3!important}
.detail-art{box-shadow:0 18px 48px #0005}
.ingredient-guide-banner,.recipe-launcher,.education-launcher{background:#f6f6f3!important;border:1px solid #dedacf!important;border-radius:12px!important}
.checkout:not(:disabled),.email-checkout:not(:disabled){min-height:46px;border-radius:7px!important}
@media(max-width:700px){body>header{flex-wrap:wrap;padding:16px 5%;gap:12px}body>header nav{width:100%;gap:6px 14px}body>header nav a{font-size:14px;gap:6px}body>header nav a:before{width:18px;height:18px}.lab-back{min-height:48px}.home-proof{padding:16px!important}.category-choice:hover{transform:none}}
@media(prefers-reduced-motion:reduce){.category-choice,.lab-back{transition:none}.category-choice:hover{transform:none}}
@media print{body{background:white!important}.lab-back{display:none!important}}

.language-switch{display:inline-flex;align-items:center;gap:4px;padding:4px;background:#f6f6f3;border:1px solid #dedacf;border-radius:9px;flex-shrink:0;max-width:100%}
.language-switch button{font:500 14px/1.4 Arial,sans-serif!important;min-height:40px;padding:8px 11px!important;color:#795a23!important;background:transparent!important;border:0!important;border-radius:6px!important;cursor:pointer;white-space:nowrap}
.language-switch button[aria-pressed=true]{background:#e4bf67!important;color:#16130d!important}
.language-switch button:focus-visible{outline:2px solid #fff;outline-offset:2px}
#king-age-gate .language-switch{margin:0 auto 20px;display:inline-flex}#king-age-gate .language-switch button{width:auto;margin:0;display:inline-block}
html[lang=es] .main-nav{gap:12px 18px}html[lang=es] .detail-layout h1{overflow-wrap:anywhere}html[lang=es] .category-choices .eyebrow{letter-spacing:.08em}
@media(max-width:700px){body>header .language-switch{order:2}body>header nav{order:3}.language-switch button{min-height:44px}html[lang=es] .main-nav{gap:8px 14px}}
@media print{.language-switch{display:none!important}}

/* Keep Recipe Lab links separated when they wrap on phones. */
.recipe-launcher-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}
.recipe-launcher-actions .category-cta{display:flex;align-items:center;justify-content:center;min-height:48px;margin:0;text-align:center;white-space:normal;line-height:1.4}
@media(max-width:600px){.recipe-launcher>div:last-child{min-width:0}.recipe-launcher-actions{display:grid;grid-template-columns:minmax(0,1fr)}.recipe-launcher-actions .category-cta{width:100%;box-sizing:border-box}}

.site-discovery{margin:0 0 32px;padding:20px;border:1px solid #dedacf;border-radius:10px;background:#f6f6f3}
.site-discovery label{display:block;font-size:16px;color:#55524d;margin-bottom:8px}
.site-search-row{display:flex;gap:10px}.site-search-row input{flex:1;min-width:0;width:100%;font-size:16px;min-height:48px;background:#fff;color:#202020;border:1px solid #dedacf;border-radius:5px;padding:12px}.site-search-row button{min-height:48px;flex-shrink:0;background:#e4bf67;color:#111;padding:12px 20px;font-size:16px}
.site-quick-links{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:18px}.site-quick-links strong{font-size:14px;color:#55524d}.site-quick-links a{border:1px solid #dedacf;border-radius:5px;color:#795a23;padding:8px 12px;font-size:14px;min-height:44px;display:flex;align-items:center}
#site-search-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#site-search-list a{display:block;padding:14px;border:1px solid #dedacf;border-radius:5px}#site-search-list strong{color:#795a23}#site-search-list span{display:block;color:#55524d;font-size:14px;margin-top:4px}.site-discovery :focus-visible{outline:2px solid #f1d5a0;outline-offset:3px}
@media(max-width:600px){.site-discovery{padding:16px}#site-search-list{grid-template-columns:1fr}.site-quick-links strong{width:100%}.site-search-row button{padding:12px}.site-quick-links a{flex:1 1 130px}}

/* Compact navigation and a single, uncluttered search surface. */
.menu-toggle{display:none}
body>header .main-nav #open-site-search{background:transparent;color:#795a23;border:1px solid #dedacf;border-radius:6px;padding:10px 16px;min-height:44px;font:600 14px/1.4 Arial,sans-serif}
.site-discovery{margin:20px 0 24px;padding:18px;background:#f6f6f3;border-color:#dedacf}
#site-search-form{margin:0;padding:0;border:0;background:transparent;border-radius:0}
.site-search-row{align-items:stretch}.site-search-row button{border:0;border-radius:6px;font:600 16px/1.4 Arial,sans-serif}
.quick-links-panel{margin:16px 0 0;padding:0;border:0;border-top:1px solid #dedacf;background:transparent}
.quick-links-panel>summary{min-height:44px;padding:12px 0 0;color:#795a23;cursor:pointer;font-size:14px;font-weight:600}
.quick-links-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding-top:12px}
.quick-links-groups .site-quick-links{display:flex;flex-direction:column;align-items:stretch;gap:4px;margin:0}
.quick-links-groups .site-quick-links strong{font-size:14px;color:#55524d;margin-bottom:4px}
.quick-links-groups .site-quick-links a{flex:none;display:flex;align-items:center;gap:8px;border:1px solid #dedacf;border-radius:6px;padding:10px;min-height:48px;box-sizing:border-box;min-width:0;background:#fff;color:#795a23;text-decoration:none;font-size:14px;font-weight:600;line-height:1.4;overflow-wrap:anywhere;--lab-icon:url('/icons/flask.svg')}
.quick-links-groups .site-quick-links a::before{content:"";width:21px;height:21px;flex:0 0 21px;background:currentColor;mask:var(--lab-icon) center/contain no-repeat;-webkit-mask:var(--lab-icon) center/contain no-repeat}
.quick-links-groups .site-quick-links a[href*="serums"]{--lab-icon:url('/icons/drops.svg')}
.quick-links-groups .site-quick-links a[href*="recipes"]{--lab-icon:url('/icons/book.svg')}
.quick-links-groups .site-quick-links a[href*="education"]{--lab-icon:url('/icons/play.svg')}
.quick-links-groups .site-quick-links a[href*="batch-calculator"]{--lab-icon:url('/icons/calculator.svg')}
.quick-links-groups .site-quick-links a[href*="recipe-tool"]{--lab-icon:url('/icons/scale.svg')}
.quick-links-groups .site-quick-links a:hover{background:#f6f6f3;border-color:#dedacf;color:#795a23}
.quick-links-groups .site-quick-links a:focus-visible{outline:2px solid #f4d47c;outline-offset:3px}
.quick-links-groups .site-quick-links{gap:8px}
@media(max-width:700px){
 body>header:has(.menu-toggle){display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:12px 5%}
 body>header:has(.menu-toggle)>.brand{grid-column:1;grid-row:1;order:0}
 body>header:has(.menu-toggle) .brand-logo{width:64px;height:64px}
 body>header:has(.menu-toggle)>.language-switch{grid-column:2;grid-row:1;justify-self:end;order:0;gap:2px;padding:3px}
 body>header:has(.menu-toggle) .language-switch button{padding:6px 8px!important;font-size:14px!important;min-height:44px}
 body>header .menu-toggle{display:block;grid-column:3;grid-row:1;border:1px solid #dedacf;border-radius:6px;background:#f6f6f3;color:#55524d;min-height:44px;padding:8px 10px;font:600 14px/1.4 Arial,sans-serif}
 body>header:has(.menu-toggle) .main-nav{grid-column:1/-1;grid-row:2;order:0;width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;padding-top:8px;border-top:1px solid #dedacf;justify-content:stretch}
 body.navigation-ready>header .main-nav:not(.is-open){display:none}
 body>header:has(.menu-toggle) .main-nav a,body>header:has(.menu-toggle) .main-nav #open-site-search{justify-content:flex-start;margin:0;padding:10px;min-height:44px;font-size:14px;letter-spacing:0;border:1px solid #dedacf;border-radius:6px;background:transparent;white-space:normal}
 .site-discovery{margin-top:14px;padding:14px}.site-discovery label{font-size:14px}.site-search-row{gap:8px}.site-search-row button{padding:10px 14px}
 .quick-links-groups{grid-template-columns:1fr;gap:14px}.quick-links-groups .site-quick-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.quick-links-groups .site-quick-links strong{grid-column:1/-1}.quick-links-groups .site-quick-links a{width:auto}
}
@media(max-width:360px){body>header:has(.menu-toggle){gap:6px}body>header:has(.menu-toggle) .brand-logo{width:52px;height:52px}body>header:has(.menu-toggle) .language-switch button{padding:6px!important}}

/* Packaging-inspired black and gold brand theme. */
:root{--gold:#f0c74e;--primary:#f0c74e;--primary-foreground:#141109;--line:#544529;--muted:#c2bdb1;--brand-gold-fill:linear-gradient(115deg,#e4b739 0%,#f8d975 48%,#e6bc49 100%)}
body{background:#fff;background-image:none;color:#202020}
body>header{background:#fff;border-bottom:1px solid #dedacf}
.eyebrow,.recipe-art,.home-proof strong,.product .price{color:#795a23}
h1 em{color:#795a23}
.category-choice>div{background:#f6f6f3}
.product,.coming-card,.education-video,.serum-info-card{background:#f6f6f3!important;border-color:#dedacf!important}
.ingredient-guide-banner,.recipe-launcher,.education-launcher{background:#f6f6f3!important;border-color:#dedacf!important}
.coming-section,.recipe-builder{background:#f6f6f3;border-color:#dedacf}
.category-cta,.site-search-row button,.batch-summary>button{background:var(--brand-gold-fill);color:#171209;border:1px solid #dedacf;border-radius:6px;font-weight:600;box-shadow:0 3px 12px #b989191a}
.checkout:not(:disabled){background:var(--brand-gold-fill)!important;color:#171209!important;border:1px solid #dedacf}
.category-cta:hover,.site-search-row button:hover,.batch-summary>button:not(:disabled):hover{filter:brightness(1.07)}
.language-switch button[aria-pressed=true]{background:var(--brand-gold-fill)!important;color:#171209!important}
.education-launcher .category-cta{background:transparent;color:#795a23;border-color:#dedacf;box-shadow:none}
.batch-lab [role=tab][data-state=active]{background:var(--brand-gold-fill);color:#171209}
.brand-footer{display:block;max-width:none;width:100%;box-sizing:border-box;margin:56px 0 0;padding:0;border:0;border-top:1px solid #dedacf;background:#fff;color:#55524d;overflow:hidden}
.brand-footer-main{display:grid;grid-template-columns:1.4fr 1fr;gap:36px;align-items:center;max-width:1200px;margin:0 auto;padding:36px 5% 24px}
.brand-footer-identity{display:flex;align-items:center;gap:24px}.brand-footer .footer-brand img{display:block;width:112px;height:112px;object-fit:contain;background:transparent;border:0}
.brand-footer .brand-footer-tagline{color:#795a23;font-size:16px;font-weight:600;letter-spacing:.1em;line-height:1.6;margin:0 0 8px}.brand-footer-identity p:last-child{font-size:14px;color:#55524d;margin:0;line-height:1.7}
.brand-footer-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 24px}.brand-footer-links a{display:flex;align-items:center;min-height:44px;color:#795a23;font-size:14px;text-decoration:none;line-height:1.5}.brand-footer a:hover{text-decoration:underline}
.brand-footer-note{display:flex;justify-content:space-between;gap:20px;align-items:center;max-width:1200px;margin:auto;padding:16px 5% 28px;border-top:1px solid #dedacf}.brand-footer-note p{font-size:14px;line-height:1.6;color:#55524d;margin:0}.brand-footer-note a{font-size:14px;color:#55524d;min-height:44px;display:flex;align-items:center}
.brand-footer-gold{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px 28px;padding:24px 5%;background:var(--brand-gold-fill);color:#171209;border-top:1px solid #dedacf}.brand-footer-gold strong{font-size:16px;letter-spacing:.13em;line-height:1.5;text-align:center}.brand-footer-gold span{font-size:14px;color:#171209}
@media(max-width:700px){.brand-footer{margin-top:36px}.brand-footer-main{grid-template-columns:1fr;gap:20px;padding:26px 5% 18px}.brand-footer-identity{gap:16px}.brand-footer .footer-brand img{width:86px;height:86px}.brand-footer .brand-footer-tagline{font-size:14px;letter-spacing:.07em}.brand-footer-links{gap:6px 16px}.brand-footer-note{align-items:flex-start;padding:14px 5% 18px}.brand-footer-gold{flex-direction:column;gap:6px;padding:22px 5%}.brand-footer-gold strong{font-size:14px;letter-spacing:.08em}}

/* Sweeping gold curve inspired by the lower edge of the packaging. */
.brand-footer-gold{position:relative;isolation:isolate;margin-top:64px;border-top:0;background:none;padding-top:22px;padding-bottom:30px}
.brand-footer-gold::before{content:"";position:absolute;inset:-64px 0 0;z-index:-1;pointer-events:none;background:var(--brand-gold-fill);--gold-wave:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 240' preserveAspectRatio='none'%3E%3Cpath fill='white' d='M0 28 C340 -38 850 136 1440 30 L1440 240 L0 240 Z'/%3E%3C/svg%3E");-webkit-mask:var(--gold-wave) 0 0/100% 100% no-repeat;mask:var(--gold-wave) 0 0/100% 100% no-repeat}
@media(max-width:700px){.brand-footer-gold{margin-top:46px;padding-top:22px;padding-bottom:26px}.brand-footer-gold::before{top:-46px}}

.seo-product-directory{margin:30px 0;padding:18px;border:1px solid #dedacf;border-radius:8px}.seo-product-directory summary{cursor:pointer;color:#795a23;font-size:16px}.seo-product-directory nav{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px 20px;margin-top:18px}.seo-product-directory a{color:#795a23;display:flex;align-items:center;min-height:44px;font-size:14px;text-decoration:none}.seo-product-directory a:hover{text-decoration:underline}

/* Shared white theme, matching the storefront on every learning and account page. */
html{color-scheme:light}body{background:#fff;color:#202020}
body>header{background:#fff;border-bottom-color:#e9e6df;box-shadow:none}
body>header nav a{color:#252525}body>header nav a:hover{color:#795a23}
.language-switch{background:#f5f4f0;border-color:#d9d4c9}
.language-switch button{color:#39332a!important}
.language-switch button[aria-pressed=true]{background:#e4bf67!important;color:#16130d!important}
.language-switch button:focus-visible{outline-color:#795a23}
.brand-footer{background:#fff;color:#555;border-color:#dedacf}
.brand-footer .brand-footer-tagline,.brand-footer-links a{color:#795a23}
.brand-footer-identity p:last-child,.brand-footer-note p,.brand-footer-note a{color:#606060}
.brand-footer-note{border-color:#dedacf}
.lab-back{background:#f5f3ec;color:#5f4c27!important;border-color:#d9d0bd}
.lab-back:hover{background:#eee9df}
html[data-react-site] h1,html[data-react-site] h2{font-family:Arial,sans-serif;font-weight:600;letter-spacing:-.025em}
html[data-react-site] :is(input,select){background:#fff;color:#222;border-color:#ccc7bc}
html[data-react-site] :is(.recipe-image,.ingredient-panel,.recipe-care,.recipe-sidebar section,.lab-bench,.ig-picker,.ig-detail,.batch-main,.batch-summary){background:#f6f6f3;border-color:#dedacf}
html[data-react-site] .recipe-card-new{background:#fff;border-color:#dedacf}
html[data-react-site] .recipe-index{background:#fff;color:#795a23;border-color:#dedacf}
html[data-react-site] .batch-status.complete{color:#32602d}
html[data-react-site] .error{color:#a12424}

/* Readable ingredient cards on the shared light page background. */
.serum-info-card{color:#292929!important}
.serum-info-card p,.serum-info-card li{color:#292929!important;font-size:1rem;line-height:1.65}
.serum-info-card h2,.serum-info-card h3,.serum-info-card a,.serum-info-card .eyebrow{color:#70521c!important}
.serum-info-card a{font-weight:600;text-decoration:underline;text-underline-offset:3px}
.serum-details-page{background:#fff;color:#292929}
.serum-details-page main>p{color:#292929}
.serum-details-page nav a{color:#70521c;font-weight:600}
.serum-details-page .serum-info-card{min-width:0;overflow-wrap:anywhere}
