/* Sabah Parfumerie — accessible CSS-only Dark / Light switch */
.sabah-mode-toggle{position:fixed!important;left:calc(16px + env(safe-area-inset-left,0px))!important;bottom:calc(18px + env(safe-area-inset-bottom,0px))!important;z-index:2147483450!important;display:block!important;width:auto!important;max-width:calc(100vw - 36px)!important;font-family:Montserrat,Arial,sans-serif!important;line-height:1!important}
.sabah-mode-checkbox{position:absolute!important;left:9px!important;top:9px!important;opacity:0!important;width:1px!important;height:1px!important;pointer-events:none!important}
.sabah-mode-toggle label{display:inline-flex!important;align-items:center!important;gap:9px!important;min-height:43px!important;box-sizing:border-box!important;border-radius:99px!important;padding:10px 15px!important;background:#122126!important;border:1px solid rgba(220,189,132,.75)!important;box-shadow:0 7px 24px rgba(0,0,0,.22)!important;color:#f0ddc1!important;font-size:11px!important;font-weight:800!important;letter-spacing:.065em!important;white-space:nowrap!important;cursor:pointer!important;user-select:none!important}
.sabah-mode-toggle label .sabah-mode-icon{font-size:18px!important;line-height:1!important;color:#f1cf87!important}
.sabah-mode-toggle .sabah-mode-light-label{display:none!important}
.sabah-mode-toggle .sabah-mode-dark-label{display:inline!important}
.sabah-mode-checkbox:focus-visible+label{outline:3px solid #d4b17c!important;outline-offset:4px!important}
html:has(#sabah-product-light-mode) #sabah-global-theme-toggle{display:none!important}
html:has(.sabah-mode-checkbox:checked) .sabah-mode-toggle label{background:#fffdf9!important;border-color:#cbb68e!important;color:#243931!important;box-shadow:0 7px 23px rgba(39,49,42,.12)!important}
html:has(.sabah-mode-checkbox:checked) .sabah-mode-toggle .sabah-mode-light-label{display:inline!important}
html:has(.sabah-mode-checkbox:checked) .sabah-mode-toggle .sabah-mode-dark-label{display:none!important}
html:has(.sabah-mode-checkbox:checked){color-scheme:light}
html:has(.sabah-mode-checkbox:checked) body{background:#f7f3eb!important;color:#263730!important;transition:background-color .3s ease!important}
/* Homepage sections, restoring light surfaces without touching the actual photo/box SVGs */
html:has(.sabah-mode-checkbox:checked) #sabah-home{background:radial-gradient(ellipse 70% 65% at 50% 48%,#fffefa 0%,#f5f1e9 60%,#eae3d7 100%)!important;color:#263831!important;box-shadow:0 0 0 12px #f7f3eb!important}
html:has(.sabah-mode-checkbox:checked) #sabah-home nav a,html:has(.sabah-mode-checkbox:checked) #sabah-home nav summary{color:#283a33!important}
html:has(.sabah-mode-checkbox:checked) #sabah-home nav>div>a[style*="border"]{border-color:#ad966d!important}
html:has(.sabah-mode-checkbox:checked) #sabah-home nav details>div{background:#fffdf9!important;border-color:#c5b18b!important}
html:has(.sabah-mode-checkbox:checked) #sabah-home svg[role="img"] text{fill:#293e38!important;opacity:.10!important}
html:has(.sabah-mode-checkbox:checked) #sabah-home>div[style*="background:radial-gradient"]{background:radial-gradient(ellipse 46% 45% at 50% 50%,rgba(216,185,123,.15),transparent 80%)!important}
html:has(.sabah-mode-checkbox:checked) #sabah-home a#sabahComposeButton{color:#34463e!important;border-color:#a88755!important;background:rgba(255,252,245,.75)!important}
html:has(.sabah-mode-checkbox:checked) :is(#sabah-benefits,#sabah-collections,#sabah-how-it-works,#sabah-discover,#sabah-reviews){background:#f7f3eb!important;color:#293c34!important;box-shadow:0 0 0 100vmax #f7f3eb!important;border-color:rgba(151,127,84,.22)!important}
html:has(.sabah-mode-checkbox:checked) :is(#sabah-collections,#sabah-how-it-works,#sabah-discover,#sabah-reviews) :is(h1,h2,h3){color:#263831!important}
html:has(.sabah-mode-checkbox:checked) :is(#sabah-how-it-works,#sabah-discover,#sabah-reviews) :is(header p,article p,article figcaption,section>div>p){color:#59655d!important}
html:has(.sabah-mode-checkbox:checked) #sabah-discover article{background:#fffcf6!important;border-color:#d9c8a9!important;box-shadow:0 9px 32px rgba(27,46,39,.06)!important}
html:has(.sabah-mode-checkbox:checked) #sabah-discover article>div[style*="background:#101c1f"]{background:#ede3d2!important}
html:has(.sabah-mode-checkbox:checked) #sabah-reviews article{background:linear-gradient(145deg,#fffefa,#f0e9dc)!important;border-color:#dbcbb0!important}
html:has(.sabah-mode-checkbox:checked) #sabah-reviews article [style*="color:#a"],html:has(.sabah-mode-checkbox:checked) #sabah-reviews article [style*="color:#b"]{color:#647165!important}
/* The footer is a full-bleed surface and never gets a white edge */
html:has(.sabah-mode-checkbox:checked) #sabah-footer{background:#ebe6db!important;box-shadow:0 0 0 100vmax #ebe6db!important;color:#263c34!important}
html:has(.sabah-mode-checkbox:checked) #sabah-footer :is(h2,a,p,span){color:#34483e!important}
html:has(.sabah-mode-checkbox:checked) #sabah-footer :is(h2,[style*="letter-spacing:.18em"]){color:#886e45!important}
html:has(.sabah-mode-checkbox:checked) #sabah-footer [style*="border-top:1px"]{border-color:rgba(136,112,74,.25)!important}
/* Both bespoke configurable product pages */
html:has(.sabah-mode-checkbox:checked) :is(#sabah-femme-configurator,#sabah-homme-configurator,#sabah-femme-layout,#sabah-homme-layout,#sabah-femme-gallery,#sabah-homme-gallery){background:#f7f3eb!important;color:#273930!important}
html:has(.sabah-mode-checkbox:checked) .sbp{background:#f7f3eb!important;color:#263830!important}
html:has(.sabah-mode-checkbox:checked) .sbp .sbp-top{border-color:#d7cbb7!important;color:#735b39!important}
html:has(.sabah-mode-checkbox:checked) .sbp .sbp-top span{color:#6b5531!important}
html:has(.sabah-mode-checkbox:checked) .sbp :is(h1,h2,h3){color:#273a31!important}
html:has(.sabah-mode-checkbox:checked) .sbp .sbp-intro h1 em{color:#967440!important}
html:has(.sabah-mode-checkbox:checked) .sbp :is(.sbp-intro>p,.sbp-gallery-heading p,.sbp-description,.sbp-price-caption,.sbp-small-card figcaption,.sbp-inline-note){color:#5f6a61!important}
html:has(.sabah-mode-checkbox:checked) .sbp .sbp-eyebrow{color:#8a6840!important}
html:has(.sabah-mode-checkbox:checked) .sbp .sbp-price{color:#89683a!important}
html:has(.sabah-mode-checkbox:checked) .sbp .sbp-specs{color:#957346!important}
html:has(.sabah-mode-checkbox:checked) .sbp .sbp-media-inner{background:radial-gradient(ellipse at 50% 43%,#fffdf9 2%,#f0e6d9 60%,#e7dfd3 100%)!important;border-color:#d9c49d!important}
html:has(.sabah-mode-checkbox:checked) .sbp .sbp-ghost{color:rgba(92,76,47,.09)!important}
html:has(.sabah-mode-checkbox:checked) :is(#sabah-femme-card-stack,#sabah-homme-card-stack){background:#fffdf9!important;border-color:#decba9!important;box-shadow:0 14px 36px rgba(59,58,43,.06)!important}
html:has(.sabah-mode-checkbox:checked) :is(#sabah-femme-checkout,#sabah-homme-checkout){background:#fffdf9!important;color:#263930!important}
html:has(.sabah-mode-checkbox:checked) :is(#sabah-femme-checkout,#sabah-homme-checkout) :is(input,select,textarea){background:#faf8f3!important;color:#283b34!important;border-color:#b6b4a7!important}
html:has(.sabah-mode-checkbox:checked) :is(#sabah-femme-checkout,#sabah-homme-checkout) :is(input,textarea)::placeholder{color:#8a948c!important}
html:has(.sabah-mode-checkbox:checked) :is(#sabah-femme-checkout,#sabah-homme-checkout) :is(label,small,span){color:#364a40!important}
html:has(.sabah-mode-checkbox:checked) :is(#sabah-femme-checkout,#sabah-homme-checkout) :is(button[type="submit"],input[type="submit"]){background:#957649!important;color:#fffaf0!important}
html:has(.sabah-mode-checkbox:checked) .sbp .sbp-small-card{background:#fffdf9!important;border-color:#d9c9ae!important}
html:has(.sabah-mode-checkbox:checked) .sbp .sbp-small-card figcaption{color:#33453e!important}
html:has(.sabah-mode-checkbox:checked) .sbp-men-flacon{background:#fffdf9!important;border-color:#cbb894!important}
html:has(.sabah-mode-checkbox:checked) .sbp-men-flacon figcaption{color:#35433a!important}
html:has(.sabah-mode-checkbox:checked) .sbp-men-tag,html:has(.sabah-mode-checkbox:checked) .sbp-men-badge{color:#826840!important}
/* WhatsApp retains its own recognizable green tone in both themes */
@media(max-width:600px){.sabah-mode-toggle{left:12px!important;bottom:calc(13px + env(safe-area-inset-bottom,0px))!important}.sabah-mode-toggle label{padding:9px 12px!important;min-height:42px!important;font-size:10px!important}}
@media(prefers-reduced-motion:reduce){html:has(.sabah-mode-checkbox:checked) body{transition:none!important}}

/* SABAH CINEMATIC LIGHT LETTERING — bold bronze + subtle warm halo */
html:has(.sabah-mode-checkbox:checked) #sabah-home svg[role="img"] #sabah-hero-type text{fill:#997345!important;opacity:.32!important}
html:has(.sabah-mode-checkbox:checked) #sabah-home svg[role="img"] #sabah-hero-type text[filter]{fill:#c4a06a!important;opacity:.28!important}
