/* Semantic public-site colors. Kept after legacy styles to pair ink with surfaces. */
@font-face{font-family:"Sahel UI";src:url('/static/fonts/sahel/Sahel.woff') format('woff');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Sahel UI";src:url('/static/fonts/sahel/Sahel-Bold.woff') format('woff');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Sahel UI";src:url('/static/fonts/sahel/Sahel-Black.woff') format('woff');font-weight:900;font-style:normal;font-display:swap}
:root{--ui-bg:#f7f3ed;--ui-surface:#fffdf9;--ui-soft:#eee7dd;--ui-field:#fff;--ui-ink:#30251e;--ui-muted:#65594f;--ui-line:#d4c7b9;--ui-control-line:#938274;--ui-accent:#754631;--ui-error:#a22d2d;--ui-error-bg:#fff3f1}
:root[data-theme=dark]{--ui-bg:#17130f;--ui-surface:#211b16;--ui-soft:#30271f;--ui-field:#28211b;--ui-ink:#f5efe6;--ui-muted:#cbbfb1;--ui-line:#57483b;--ui-control-line:#9b8773;--ui-accent:#efc49b;--ui-error:#ffb8ac;--ui-error-bg:#3b2220}
html[lang=fa] :is(body.site-page,body.customer-auth-page,body.customer-account-page),html[lang=fa] :is(.site-page,.customer-auth-page,.customer-account-page) :is(h1,h2,h3,h4,h5,h6,p,li,label,input,button,select,textarea,small,span,a,strong,b,em,summary){font-family:"Sahel UI",Tahoma,Arial,sans-serif!important;letter-spacing:normal!important;font-style:normal}
:is(.site-page,.customer-auth-page,.customer-account-page) [hidden]{display:none!important}
:is(.site-page,.customer-auth-page,.customer-account-page){background-color:var(--ui-bg)!important;color:var(--ui-ink)!important}
:is(.site-page,.customer-auth-page,.customer-account-page) :is(button,input,select,textarea){font-family:inherit}
:is(.site-page,.customer-auth-page,.customer-account-page) :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid var(--ui-accent);outline-offset:4px}
:is(.site-page,.customer-auth-page,.customer-account-page) :is(input,textarea){caret-color:var(--ui-ink)}
:is(.site-page,.customer-auth-page,.customer-account-page) :is(input,textarea)::placeholder{color:var(--ui-muted)!important;opacity:1}
:root body.site-page :is(.doppio-story,.doppio-branches,.bakery-intro,.bakery-catalog,.academy-invite,.club-promo,.club-discovery,.club-intro,.join-main){background:var(--ui-bg)!important;color:var(--ui-ink)!important}
:root body.site-page :is([id="sales-menu"] section,.academy-card,.bakery-menu-item,.branch-cards article,.store-v3-card,.cart-panel,.checkout-section,.checkout-form,.store-gate,.store-v3-dialog,.coffee-choice-dialog,.global-auth-dialog,.product-editorial,.signature-card,.about-copy,.login-panel,.data-card,.feature,.join-role,.join-auth,.join-form,.join-success){background-color:var(--ui-surface)!important;color:var(--ui-ink)!important;border-color:var(--ui-line)!important}
:root body.site-page :is(.doppio-story,.doppio-branches,.bakery-intro,.bakery-catalog,.academy-invite,.club-promo,.club-discovery,.club-intro,[id="sales-menu"],.academy-page,.store-v3-products,.product-detail,.cart-panel,.checkout-section,.checkout-form,.store-gate,.store-v3-dialog,.coffee-choice-dialog,.global-auth-dialog,.join-main) :is(h1,h2,h3,h4,h5,h6,strong,b,label,legend,summary){color:var(--ui-ink)!important}
:root body.site-page :is(.doppio-story,.doppio-branches,.bakery-intro,.bakery-catalog,.academy-invite,.club-promo,.club-discovery,.club-intro,[id="sales-menu"],.academy-page,.store-v3-products,.product-detail,.cart-panel,.checkout-section,.checkout-form,.store-gate,.store-v3-dialog,.coffee-choice-dialog,.global-auth-dialog,.join-main) :is(p,small,li,dt,dd){color:var(--ui-muted)!important}
:root body.site-page :is(.doppio-story,.doppio-branches,.bakery-intro,.bakery-catalog,.academy-invite,.club-promo,.club-discovery,.club-intro,[id="sales-menu"],.academy-page,.store-v3-products,.product-detail,.cart-panel,.checkout-section,.checkout-form,.store-gate,.store-v3-dialog,.coffee-choice-dialog,.global-auth-dialog) a:not(.button):not(.club-button):not(.dialog-primary){color:var(--ui-accent)!important}
:root body.site-page :is(.sales-menu-row,.bakery-menu-item,.academy-invite,.club-promo,.club-card,.product-config,.cart-row){border-color:var(--ui-line)!important}
:root body.site-page :is(input,select,textarea){color:var(--ui-ink)!important;background:var(--ui-field)!important;border-color:var(--ui-control-line)!important}
:root body.site-page select option{color:var(--ui-ink)!important;background:var(--ui-field)!important}
:root body.site-page :is(.store-v3-card-bottom button,.dialog-primary,.club-button,.checkout-form button[type=submit],.global-auth-dialog form button,.academy-card button,.coffee-variant-list button){background:#754631!important;color:#fff!important;border-color:#754631!important}
:root body.site-page :is(.store-v3-card-bottom button,.dialog-primary,.club-button,.checkout-form button[type=submit],.global-auth-dialog form button,.academy-card button,.coffee-variant-list button) :is(span,b,small){color:inherit!important}
:root body.site-page .store-v3-tabs{background:var(--ui-surface)!important;border-color:var(--ui-line)!important}
:root body.site-page .store-v3-tabs a{background:transparent!important;color:var(--ui-ink)!important;border-color:var(--ui-line)!important}
:root body.site-page .store-v3-tabs a.active{background:#754631!important;color:#fff!important}
:root body.site-page :is(.product-config label,.store-v3-card-bottom strong small){color:var(--ui-muted)!important}
:root body.site-page :is(.price,.store-v3-card-bottom strong,.academy-message){color:var(--ui-accent)!important}
:root body.site-page :is(.bakery-delivery-field,.callout,.account-shipping-note){background:var(--ui-soft)!important;color:var(--ui-ink)!important;border-color:var(--ui-line)!important}
:root body.site-page .global-auth-dialog :is(h2,p,label){color:var(--ui-ink)!important}.global-auth-dialog{max-height:90svh;overflow:auto}
:root body.site-page .global-auth-close{background:var(--ui-soft)!important;color:var(--ui-ink)!important}
:root body.site-page .v2-nav.site-nav,:root body.site-page .v2-nav.site-nav nav,:root body.site-page .v2-nav.site-nav .profile-menu{background:#fff!important;color:#30251e!important;color-scheme:light;border-color:#d4c7b9!important}
:root body.site-page .v2-nav.site-nav :is(a,button,span,small,b,i){color:#30251e!important}
:root body.site-page .v2-nav.site-nav .nav-icon img{filter:none!important}
:root body.site-page .v2-nav.site-nav .brand-logo-frame img{filter:brightness(0)!important}
:root body.site-page .v2-nav.site-nav .cart-count{background:#754631!important;color:#fff!important;min-width:18px;min-height:18px;line-height:18px!important}
:root body.site-page .v2-nav.site-nav :is(.language-switch,.nav-menu-toggle){color:#30251e!important;background:#fff!important}
:root body.site-page .v2-nav.site-nav .profile-menu button{background:#fff!important;color:#30251e!important}
:root body.site-page .v2-nav.site-nav .profile-menu button:hover{background:#eee7dd!important}
:root body.site-page .v2-nav.site-nav nav:after{background:transparent!important}
:root body.site-page .v2-nav.site-nav .theme-switch{background:#796857!important}.theme-switch em{background:#fff!important}
:root :is(body.site-page,body.customer-account-page,body.customer-auth-page) .doppio-footer{background:#fff!important;color:#30251e!important;border-color:#d4c7b9!important}
:root :is(body.site-page,body.customer-account-page,body.customer-auth-page) .doppio-footer :is(p,a,h2,h3,small,span,strong){color:#30251e!important}
.doppio-footer .footer-brand>a:first-child{display:flex!important;align-items:center;gap:18px!important}
.doppio-footer .footer-brand>a:first-child::before{content:"";display:block;width:30px;height:49px;background:url('/media/icon/doppio-logo.webp') center/contain no-repeat;filter:brightness(0);flex:none}
:root .doppio-footer .footer-bottom{border-color:#d4c7b9!important;color:#65594f!important}
:root body.site-page :is(.store-v3-hero.is-coffee,.store-v3-hero.is-accessory,.store-v3-hero.is-bakery,.bakery-hero,.gallery-hero,.about-us-hero,.v2-hero) :is(h1,h2,p,span,em,a){color:#fff!important}
:root :is(.customer-account-page,.customer-auth-page) :is(.account-top,.customer-login-card,.account-profile-card,.account-form,.account-orders,.account-subscriptions,.account-shipping-note,.academy-account,.course-order,.complete-profile-dialog){background:var(--ui-surface)!important;color:var(--ui-ink)!important;border-color:var(--ui-line)!important}
:root :is(.customer-account-page,.customer-auth-page) :is(h1,h2,h3,strong,label){color:var(--ui-ink)!important}
:root :is(.customer-account-page,.customer-auth-page) :is(p,small,span){color:var(--ui-muted)!important}
:root :is(.customer-account-page,.customer-auth-page) :is(input,textarea,select){color:var(--ui-ink)!important;background:var(--ui-field)!important;border-color:var(--ui-control-line)!important}
:root :is(.customer-account-page,.customer-auth-page) :is(button,.avatar-upload){background:#754631!important;color:#fff!important}
:root :is(.customer-account-page,.customer-auth-page) .account-top a{color:var(--ui-ink)!important}
:root :is(.customer-account-page,.customer-auth-page) .customer-login-shell{background:var(--ui-bg)!important}
:root body.site-page .join-main .join-primary,:root body.site-page .join-main .join-primary span{color:#fff!important}
:root body.site-page .join-main .join-field-error,:root body.site-page .join-main .join-status.error{color:var(--ui-error)!important}
:root body.site-page .join-main .join-duty{background:var(--ui-soft)!important;color:var(--ui-muted)!important}
:root body.site-page .join-main .join-hero-image figcaption span{color:#fff!important}
@media(max-width:700px){html[lang=fa] .site-page :is(input,select,textarea){font-size:16px!important}.site-page :is(h1,h2,h3){overflow-wrap:break-word}.join-main .join-hero-copy h1{line-height:1.5!important}}
:root[data-theme="dark"] body.site-page .store-v3-tabs a.active{color:#fff!important}
.site-page .page-hero{overflow:hidden}
/* Retain the warm brand palette while making small captions readable. */
:is(body.site-page,body.customer-account-page,body.customer-auth-page){--accent:var(--ui-accent);--gold:var(--ui-accent);--jewel:var(--ui-accent)}
:root body.site-page :is(.overline,.eyebrow,.store-category-heading>span,.checkout-heading>span,.store-v3-card-copy>span,.store-v3-heading>span,.bakery-hero-copy>span,.bakery-story-copy>span,.signature-card small,.card-no){font-size:12px!important;line-height:1.8!important}
:root body.site-page :is(.bakery-hero-copy>p,.signature-card p,.hero-side,.scroll-cue){font-size:14px!important;line-height:1.9!important}
:root body.site-page .bakery-story-copy{background:var(--ui-surface)!important;color:var(--ui-ink)!important}
:root body.site-page .bakery-story-copy :is(h2,li,a,b){color:var(--ui-ink)!important}
:root body.site-page .bakery-story-copy p{color:var(--ui-muted)!important}
:root body.site-page .bakery-story-copy>span{color:var(--ui-accent)!important}
:root body.site-page .bakery-story-copy--gold{background:var(--ui-soft)!important}
:root body.site-page .bakery-story-copy :is(ul,li,a){border-color:var(--ui-line)!important}
:root .customer-account-page .avatar-wrap{background:var(--ui-soft)!important}
:root .customer-account-page #avatar-fallback{color:var(--ui-ink)!important}
:root body.site-page :is(.store-v3-products header span,.store-v3-card-copy>span,.store-v3-dialog>span,.cart-panel .cart-count,.cart-variant,.square-status){color:var(--ui-accent)!important}
:root body.site-page :is(.store-v3-products header span,.store-v3-dialog>span,.cart-row .cart-kind){font-size:12px!important}
:root body.site-page .global-auth-dialog::before{background:var(--ui-surface)!important;opacity:.97}
:root body.site-page .global-auth-dialog>span{color:var(--ui-accent)!important;font-size:12px!important}

/* Owner-requested header, footer and home alignment, October 2026. */
:root[data-theme] body.site-page .v2-nav.site-nav,
:root[data-theme] body.site-page .v2-nav.site-nav nav{background:#754631!important;color:#fffdf9!important;border-color:#936c55!important;color-scheme:dark}
:root[data-theme] body.site-page .v2-nav.site-nav{align-items:center;isolation:isolate}
:root[data-theme] body.site-page .v2-nav.site-nav nav{align-items:center;align-self:stretch}
:root[data-theme] body.site-page .v2-nav.site-nav nav>a{display:flex;align-items:center;justify-content:center;align-self:stretch;padding-block:0;background:transparent!important;color:#fffdf9!important}
:root[data-theme] body.site-page .v2-nav.site-nav nav>a.active{color:#fffdf9!important}
:root[data-theme] body.site-page .v2-nav.site-nav nav>a::after{background:#f0d5bc!important}
:root[data-theme] body.site-page .v2-nav.site-nav .site-nav-actions{align-items:center;gap:10px}
:root[data-theme] body.site-page .v2-nav.site-nav :is(.v2-logo,.brand-logo-frame){background:transparent!important}
:root[data-theme] body.site-page .v2-nav.site-nav .v2-logo{display:flex;align-items:center;justify-content:center}
:root[data-theme] body.site-page .v2-nav.site-nav .brand-logo-frame img{filter:brightness(0) invert(1)!important}
:root[data-theme] body.site-page .v2-nav.site-nav .nav-icon{width:36px;height:40px;align-items:center;justify-items:center;background:transparent!important}
:root[data-theme] body.site-page .v2-nav.site-nav .nav-icon img{width:25px;height:25px;object-fit:contain;filter:brightness(0) invert(1)!important}
:root[data-theme] body.site-page .v2-nav.site-nav .language-switch{height:36px;min-width:36px;background:transparent!important;color:#fffdf9!important;border-color:#ead8c9!important}
:root[data-theme] body.site-page .v2-nav.site-nav .cart-count{background:#fffdf9!important;color:#754631!important;top:0;right:-3px}
:root[data-theme] body.site-page .v2-nav.site-nav .profile-menu{color-scheme:light}
:root[data-theme] body.site-page .v2-nav.site-nav nav a[href*="doppioclub"] .site-ui-icon{display:none!important}
:root[data-theme] :is(body.site-page,body.customer-account-page,body.customer-auth-page) .doppio-footer{background:#754631!important;color:#fffdf9!important;border-color:#936c55!important}
:root[data-theme] :is(body.site-page,body.customer-account-page,body.customer-auth-page) .doppio-footer :is(p,a,h2,h3,small,span,strong){color:#fffdf9!important}
:root[data-theme] .doppio-footer .footer-brand>a:first-child::before{filter:brightness(0) invert(1)}
:root[data-theme] .doppio-footer .footer-bottom{border-color:#c3a18a!important;color:#f1e2d6!important}
:root[data-theme] .doppio-footer .enamad-seal,:root[data-theme] .doppio-footer .enamad-seal .enamad-status{color:#30251e!important}
:root[data-theme] body.v2-home .v2-signatures{padding-block:64px 80px}
:root[data-theme] body.v2-home .v2-signatures .v2-section-head{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:center;gap:12px 36px;margin-bottom:32px}
:root[data-theme] body.v2-home .v2-signatures .v2-section-head>.overline{grid-column:1/-1;margin:0}
:root[data-theme] body.v2-home .v2-signatures .v2-section-head h2{font-size:clamp(28px,3.4vw,48px)!important;line-height:1.6!important;margin:0;letter-spacing:normal}
:root[data-theme] body.v2-home .v2-signatures .v2-section-head h2 br{display:none}
:root[data-theme] body.v2-home .v2-signatures .v2-section-head h2 em::before{content:" "}
:root[data-theme] body.v2-home .v2-signatures .v2-section-head>p:last-child{margin:0;max-width:480px;font-size:14px;line-height:2}
html[lang=fa] body.v2-home .v2-signatures .v2-section-head{text-align:right;direction:rtl}
:root[data-theme] body.v2-home .v2-location{display:block!important;min-height:0;height:auto;padding:36px max(24px,5vw)}
:root[data-theme] body.v2-home .v2-location .location-copy{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px 32px;align-items:center;padding:0!important}
:root[data-theme] body.v2-home .v2-location .overline{grid-column:1/-1;margin:0}
:root[data-theme] body.v2-home .v2-location h2{margin:0;font-size:34px!important;line-height:1.5!important}
:root[data-theme] body.v2-home .v2-location h2 br{display:none}
@media(min-width:901px){:root[data-theme] body.site-page .v2-nav.site-nav nav{position:static;height:100%;padding:0}}
@media(max-width:900px){
 :root[data-theme] body.site-page .v2-nav.site-nav{grid-template-columns:44px minmax(0,1fr) auto;padding-inline:18px;gap:8px}
 :root[data-theme] body.site-page .v2-nav.site-nav .site-nav-actions{grid-column:3;gap:8px}
 :root[data-theme] body.site-page .v2-nav.site-nav nav{align-items:stretch;max-height:calc(100dvh - 72px);overflow-y:auto}
 :root[data-theme] body.site-page .v2-nav.site-nav nav>a{justify-content:flex-start;padding:16px 0;border-color:#a68069}
 :root[data-theme] body.site-page .v2-nav.site-nav .nav-search{display:none}
}
@media(max-width:600px){
 :root[data-theme] body.v2-home .v2-signatures{padding-block:44px 56px}
 :root[data-theme] body.v2-home .v2-signatures .v2-section-head{grid-template-columns:1fr;gap:12px;margin-bottom:24px}
 :root[data-theme] body.v2-home .v2-location .location-copy{grid-template-columns:1fr}
}

@media(max-width:900px){:root[data-theme] body.store-v3 main{padding-top:72px}}

:root[data-theme] body.site-page .v2-nav.site-nav .v2-logo .brand-logo-frame img{filter:brightness(0) invert(1)!important}
:root[data-theme] body.site-page .doppio-footer article{background:transparent!important;color:#fffdf9!important;border-color:#936c55!important}
