/* Day keeps the soft glass palette; night becomes a quiet forest after dusk. */
html{color-scheme:light}
#header .theme-toggle{position:relative;display:grid;place-items:center;width:35px;height:35px;min-width:35px;padding:0;border-radius:50%;border:1px solid #ffffffb3;background:#ffffff70;color:#5a7360;box-shadow:inset 0 1px 1px #fff8;flex-shrink:0;transition:background .3s,box-shadow .3s,transform .3s}
#header .theme-toggle:hover{background:#fff;transform:translateY(-1px);box-shadow:0 5px 15px #47604a1a}
.theme-toggle svg{position:absolute;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;transition:opacity .35s,transform .45s cubic-bezier(.22,1,.36,1);pointer-events:none}
.theme-toggle .theme-sun{opacity:0;transform:rotate(-70deg) scale(.55)}
.theme-toggle .theme-moon{opacity:1;transform:none}
html[data-theme=dark]{color-scheme:dark;--ink:#e0e9e1;--muted:#b4c4b8;--sage:#b7d0b7;--peach:#836c61;--cream:#1b3028;--light:#15261f;--line:#3b5145;--button:#abc8ab;--glass:rgba(30,49,41,.72);--glass-edge:rgba(205,231,208,.18);--glass-shadow:0 18px 60px #030b0730,inset 0 1px 1px #e8ffe810}
html[data-theme=dark] body{background:#101b19;color:var(--ink)}
html[data-theme=dark] body:before{background:radial-gradient(ellipse at 9% 12%,#69514b45,transparent 43%),radial-gradient(ellipse at 94% 48%,#3c685754,transparent 50%),radial-gradient(ellipse at 28% 90%,#6b79502e,transparent 52%)}
html[data-theme=dark] :is(h1,h2,h3,h4){color:#e5eee1}
html[data-theme=dark] :is(.sage,.natural-mark,.leaf-mark){color:#b2cdb3}
html[data-theme=dark] :is(.brand-sub,.small,.shop-toolbar,.product-card p){color:#b7c8bc}
html[data-theme=dark] ::selection{background:#6b947b;color:#fff}
html[data-theme=dark] :is(a,button,input,select,textarea):focus-visible{outline-color:#c0d8ad}
html[data-theme=dark] #header,html[data-theme=dark] #header.is-scrolled{background:rgba(23,39,33,.86);border-color:#d4ebd32b;box-shadow:0 12px 38px #020a0645,inset 0 1px #e8ffe815}
html[data-theme=dark] #header:after{background:#b2cfa880}
html[data-theme=dark] #header .language-bar{background:#0b17163d;border-color:#d5e8d322}
html[data-theme=dark] #header .language-bar button{color:#b9cbbd}
html[data-theme=dark] #header .language-bar button[aria-pressed=true]{color:#f0f5e9;background:#bdd7b91f;box-shadow:inset 0 1px #efffe917}
html[data-theme=dark] #header :is(.bag-button,.mobile-toggle,.theme-toggle){background:#b9d8bd14;color:#d8e8d4;border-color:#cfe5ca30}
html[data-theme=dark] #header .theme-toggle:hover{background:#bdd7b92b;box-shadow:0 5px 18px #0003}
html[data-theme=dark] .theme-toggle .theme-sun{opacity:1;transform:none}
html[data-theme=dark] .theme-toggle .theme-moon{opacity:0;transform:rotate(60deg) scale(.55)}
html[data-theme=dark] #header .dropdown{background:rgba(25,44,36,.97);border-color:#d1e8d127;box-shadow:var(--glass-shadow)}
html[data-theme=dark] .nav :is(a:hover,.active),html[data-theme=dark] .nav-item>button:hover{background:#cce3c71a;color:#edf6e6}
html[data-theme=dark] .hero-intro .script{background:#c5ddbe14;border-color:#d4e8ce28;color:#bdcfb9}
html[data-theme=dark] .hero-panel{background:linear-gradient(140deg,#20392ee6,#182c25cc);border-color:#d7ecd233;box-shadow:0 25px 80px #0004,inset 0 1px 2px #eeffe71a}
html[data-theme=dark] .hero-panel:before{background:radial-gradient(ellipse at 15% 0%,#cae8c714,transparent 65%)}
html[data-theme=dark] :is(.hero-image,.split img,.contact-aside img,.freebie-art,.product-detail .product-art){border-color:#d8e7cd29;box-shadow:var(--glass-shadow)}
html[data-theme=dark] :is(.hero-image,.split img,.contact-aside img,.service-card img,.blog-card img,.article-image,.freebie-art>img){filter:brightness(.84) saturate(.87)}
html[data-theme=dark] :is(.specialty-list a,.topic-links a,.back-link){background:#d0e5c810;border-color:#d5e9ce24;color:#d8e6d4}
html[data-theme=dark] :is(.specialty-list a:hover,.topic-links a:hover){background:#bed8b823;color:#f2f6ec}
html[data-theme=dark] .btn{background:linear-gradient(145deg,#b3c9a9,#97b79d);color:#142a21;border-color:#c7ddbc;box-shadow:0 7px 20px #0003,inset 0 1px #fff4}
html[data-theme=dark] .btn:hover{background:linear-gradient(145deg,#c4d8b8,#b0cbb0);box-shadow:0 10px 25px #0004}
html[data-theme=dark] .btn.light{color:#e0ecda;background:#cadfc414;border-color:#d2e6c936;box-shadow:inset 0 1px #fff1}
html[data-theme=dark] .btn.light:hover{background:#c7dfbc26;color:#f6faef}
html[data-theme=dark] :is(.familiar,.freebie,.quote-banner,.reminder,.page-title,.soft-section){background:linear-gradient(125deg,#233b30ba,#1a2c28b3);border-color:#cfe5cb23;box-shadow:var(--glass-shadow)}
html[data-theme=dark] :is(.familiar,.quote-banner){background:linear-gradient(130deg,#4e3b332e,#25453670)}
html[data-theme=dark] .quote-banner em,html[data-theme=dark] .reminder blockquote{color:#c0d6b7}
html[data-theme=dark] :is(.service-card,.blog-card,.product-card,.next-grid>article,.three-cols>article,.faq details,.rate){background:#243d3061;border-color:#cfe7cc26;box-shadow:var(--glass-shadow)}
html[data-theme=dark] .faq summary:after{background:#bed8b51f;color:#dcebd3}
html[data-theme=dark] .dots button{border-color:#c1d6b9}
html[data-theme=dark] .dots button.selected{background:#bed5ae}
html[data-theme=dark] .filter-buttons button.active{background:#b7d6ad23;border-color:#bfd6b435;color:#eaf4df}
html[data-theme=dark] .shop-toolbar select{background:#1b3028;border-color:#cfe5c530;color:var(--ink)}
html[data-theme=dark] .product-art{background:linear-gradient(140deg,#294333,#1c322b)}
html[data-theme=dark] .product-card:nth-child(3n+2) .product-art{background:linear-gradient(140deg,#4b3d34,#2c392d)}
html[data-theme=dark] .product-card:nth-child(3n+3) .product-art{background:linear-gradient(140deg,#284a3c,#283b31)}
/* The downloadable guide covers remain warm paper inside the night setting. */
html[data-theme=dark] .paper-cover{background:linear-gradient(140deg,#e5ead8,#c7d3bb);border-color:#e2ecd5cc;color:#2e4939;box-shadow:8px 15px 30px #020b0759}
html[data-theme=dark] .paper-cover :is(h3,span,i){color:#314d38}
html[data-theme=dark] :is(input,select,textarea){background:#182c24;color:#e4ede0;border-color:#b9d4b32e;box-shadow:inset 0 1px 4px #0002}
html[data-theme=dark] :is(input,textarea)::placeholder{color:#a9bba9;opacity:1}
html[data-theme=dark] :is(input,select,textarea):focus{border-color:#aac7a2;box-shadow:0 0 0 4px #afcda522}
html[data-theme=dark] input:-webkit-autofill{-webkit-text-fill-color:#e4ede0;box-shadow:0 0 0 1000px #21392c inset}
html[data-theme=dark] .checkbox input[type=checkbox]{background:#13251d;border-color:#96b28f}
html[data-theme=dark] .checkbox input[type=checkbox]:checked{background:#9cbe99;border-color:#bbd6ae}
html[data-theme=dark] .checkbox input[type=checkbox]:checked:after{color:#142c1e}
html[data-theme=dark] .local-note{background:#2d49337a;border-color:#a7c29b33;color:#ccdec1}
html[data-theme=dark] :is(.success-panel,.order-summary){background:#213d2e;border-color:#c9e3bd2e}
html[data-theme=dark] .error{color:#ffb7a6}
html[data-theme=dark] #footer{background:linear-gradient(140deg,#263f2c8c,#43382c60);border-color:#cfe5c525;box-shadow:var(--glass-shadow)}
html[data-theme=dark] .footer-bottom,html[data-theme=dark] .cart-row{border-color:#afc8a72b}
html[data-theme=dark] .modal-backdrop{background:#040d0ab3}
html[data-theme=dark] :is(.modal,.drawer){background:linear-gradient(145deg,#243c2ff5,#172a23fa);border-color:#cbe3bd33;box-shadow:0 30px 90px #0006,inset 0 1px #d9f2ce17}
html[data-theme=dark] :is(.close-button,.cart-row .quantity button){background:#bdd9b51f;border-color:#cce2c128;color:#e0edda}
html[data-theme=dark] #toast{background:#c5dbb9f2;color:#183522;box-shadow:0 10px 30px #0005}
html[data-theme=dark] .skip-link{background:#284532;color:#e9f2e0}
html[data-theme=dark] .welcome-loader{background:radial-gradient(ellipse at 25% 25%,#2b4a33,transparent 55%),radial-gradient(ellipse at 80% 75%,#4c3d3052,transparent 55%),#101b19;color:#e3edda}
html[data-theme=dark] .welcome-orbit{border-color:#d4e8c633;background:linear-gradient(135deg,#c6dfb51c,#c5dcb008);box-shadow:0 15px 60px #0003,inset 0 1px #efffe21a}
html[data-theme=dark] .welcome-orbit:before,html[data-theme=dark] .welcome-orbit:after{border-color:#c4deb522}
html[data-theme=dark] .welcome-face{stroke:#c4dcb8}
html[data-theme=dark] .welcome-face>circle:first-child{stroke:#b4cba366}
html[data-theme=dark] .face-cheek{fill:#d3a98c36}
html[data-theme=dark] :is(.welcome-brand,.welcome-loader>p:last-of-type){color:#c2d2b7}
html[data-theme=dark] .welcome-breath{background:#b1cba2}
html[data-theme=dark] :is(.skeleton-bar,.skeleton-picture){background:#9bbe9030;border-color:#d1e6be17}
html[data-theme=dark] .skeleton-picture{background:linear-gradient(145deg,#2c4938,#263a30)}
html[data-theme=dark] :is(.skeleton-copy,.skeleton-card,.skeleton-row){background:#d7ecc309;border-color:#c9dfb621}
html[data-theme=dark] :is(.skeleton-bar,.skeleton-picture):after{background:linear-gradient(100deg,transparent 15%,#c7deb41c 50%,transparent 85%)}
html.theme-changing :is(body,#header,.service-card,.blog-card,.product-card,.modal,.drawer,input,select,textarea){transition:background-color .45s,color .45s,border-color .45s,box-shadow .45s}
@media(max-width:900px){#header{width:calc(100% - 24px)}html[data-theme=dark] #header .nav{background:rgba(21,39,30,.98);border-color:#cde4c12b;box-shadow:0 18px 45px #0004}html[data-theme=dark] #header .dropdown{background:#b6d4a70b}}
@media(max-width:480px){#header{width:calc(100% - 18px)}.header-actions{gap:4px}#header .theme-toggle{width:31px;height:31px;min-width:31px}#header .bag-button,#header .mobile-toggle{min-width:28px;width:28px;min-height:32px}#header .language-bar button{min-width:29px;padding:4px 6px}}
@media(max-width:380px){#header .brand-name{font-size:19px}html[lang=fa] #header .brand-name{font-size:24px}#header .brand-sub{font-size:5px;letter-spacing:.4px}.header-inner{gap:5px}.header-actions{gap:3px}}
@media(prefers-reduced-motion:reduce){.theme-toggle svg,#header .theme-toggle,html.theme-changing :is(body,#header,.service-card,.blog-card,.product-card,.modal,.drawer,input,select,textarea){transition:none}}
