/* Component bridges: a2sf is the single palette owner; no image recoloring or layout overrides. */
html[data-a2-storefront-theme]{--a2sf-action:#82661f;--a2sf-on-action:#fff;--a2sf-hover:#f1eadb;--a2sf-success:#216b43;--a2sf-danger:#a8323b;--a2sf-focus:#82661f}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"]{--a2sf-action:#e0bb6a;--a2sf-on-action:#211a0f;--a2sf-hover:#3c3020;--a2sf-success:#91dfb1;--a2sf-danger:#f3a5a7;--a2sf-focus:#e0bb6a}
/* Alias existing component contracts instead of introducing a second theme preference. */
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] :is(.a2-jwb,.a2-jwb-public,.a2-jwb-portal,.a2-jwb-navigation-shell,.a2-jwb-viewer,.a2-change){
 --jwb-bg:var(--a2sf-bg);--jwb-surface:var(--a2sf-card);--jwb-card-bg:var(--a2sf-card);--jwb-surface-soft:var(--a2sf-soft);--jwb-surface-sink:var(--a2sf-hover);--jwb-paper:var(--a2sf-bg);--jwb-text:var(--a2sf-text);--jwb-title:var(--a2sf-text);--jwb-muted:var(--a2sf-muted);--jwb-faint:var(--a2sf-muted);--jwb-line:var(--a2sf-line);--jwb-line-strong:#77664b;--jwb-card-border:var(--a2sf-line);--jwb-card-shadow:var(--a2sf-shadow);--jwb-gold-deep:var(--a2sf-gold);--jwb-gold-solid:var(--a2sf-action);--jwb-gold-soft:var(--a2sf-hover);--jwb-gold-text:var(--a2sf-on-action);--jwb-price:var(--a2sf-success);--jwb-price-deep:var(--a2sf-success);--jwb-ok:var(--a2sf-success);--jwb-danger:var(--a2sf-danger);--jwb-accent:var(--a2sf-gold);
 --a2-jwb-color-bg:var(--a2sf-bg);--a2-jwb-color-surface:var(--a2sf-card);--a2-jwb-color-surface-muted:var(--a2sf-soft);--a2-jwb-color-surface-sunken:var(--a2sf-hover);--a2-jwb-color-text:var(--a2sf-text);--a2-jwb-color-heading:var(--a2sf-text);--a2-jwb-color-muted:var(--a2sf-muted);--a2-jwb-color-border:var(--a2sf-line);--a2-jwb-color-primary:var(--a2sf-action);--a2-jwb-color-primary-hover:#f0d394;--a2-jwb-color-primary-contrast:var(--a2sf-on-action);--a2-jwb-color-accent:var(--a2sf-gold);--a2-jwb-color-accent-soft:var(--a2sf-hover);--a2-jwb-color-accent-contrast:var(--a2sf-on-action);--a2-jwb-color-success:var(--a2sf-success);--a2-jwb-color-success-bg:#183427;--a2-jwb-color-warning:#f0cd87;--a2-jwb-color-warning-bg:#382e1e;--a2-jwb-color-danger:var(--a2sf-danger);--a2-jwb-color-danger-bg:#382124;--a2-jwb-color-info:#9fcfff;--a2-jwb-color-info-bg:#1c2b38;
 --catalog-card:var(--a2sf-card);--catalog-ink:var(--a2sf-text);--catalog-muted:var(--a2sf-muted);--catalog-soft:var(--a2sf-soft);--catalog-gold:var(--a2sf-gold);--catalog-shadow:var(--a2sf-shadow);
 --a2-home-ink:var(--a2sf-text);--a2-home-muted:var(--a2sf-muted);--a2-home-surface:var(--a2sf-card);--a2-home-line:var(--a2sf-line);--a2-home-gold:var(--a2sf-gold);--a2-home-gold-deep:var(--a2sf-gold);--a2-home-gold-soft:var(--a2sf-hover);
 --a2-jwb-nav-ink:var(--a2sf-text);--a2-jwb-nav-muted:var(--a2sf-muted);--a2-jwb-nav-line:var(--a2sf-line);--a2-jwb-nav-gold:var(--a2sf-gold);--a2-jwb-nav-gold-deep:var(--a2sf-gold);--a2-jwb-nav-gold-soft:var(--a2sf-hover);--a2-jwb-nav-surface:var(--a2sf-card);--a2-jwb-nav-shadow:var(--a2sf-shadow);
 --c-surface:var(--a2sf-card);--c-ink:var(--a2sf-text);--c-muted:var(--a2sf-muted);--c-gold:var(--a2sf-gold);color:var(--a2sf-text);color-scheme:dark;
}
html[data-a2-storefront-theme] :is(.a2-jwb,.a2-jwb-navigation-shell,.a2-jwb-viewer,.a2-change,.a2wf,.a2-ps-panel,.a2-ps-landing){font-family:inherit!important}
html[data-a2-storefront-theme] :is(.a2-jwb,.a2-jwb-navigation-shell,.a2-jwb-viewer,.a2-change,.a2wf,.a2-ps-panel,.a2-ps-landing) :is(button,input,select,textarea){font-family:inherit!important}
html[data-a2-storefront-theme] :is(.a2-jwb,.a2-jwb-navigation-shell,.a2-jwb-viewer,.a2-change,.a2wf,.a2-ps-panel,.a2-ps-landing) :is(a,button,input,select,textarea,summary):focus-visible{outline:2px solid var(--a2sf-focus)!important;outline-offset:3px}
/* Elementor's painted white sections must change with their light text. */
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] body.a2-content-theme :is([data-elementor-type="wp-page"],.elementor-193569) :is(.elementor-section,.e-con):has(.elementor-widget-text-editor){background-color:var(--a2sf-bg)!important}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] body.a2-content-theme :is([data-elementor-type="wp-page"],.elementor-193569) :is(.elementor-section,.e-con):has(.elementor-widget-text-editor)::before{background:transparent!important;opacity:0!important}
/* Marketplace text follows its own component surface, including the landing route rendered as a blog. */
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] .a2-jwb :is(h1,h2,h3,h4,h5,p,label,legend,dt,dd,th,td,li){color:var(--a2sf-text)!important}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] :is(.a2-jwb-home__hero,.a2-jwb-home__steps > li,.a2-jwb-home__paths > article,.a2-jwb-home__path,.a2-jwb-home__eyebrow,.a2-jwb-hero,.a2-jwb-card,.a2-jwb-card-body,.a2-jwb-panel,.a2-jwb-filters,.a2-jwb-detail__pricebox,.a2-jwb-detail__summary,.a2-jwb-tabs,.a2-jwb-tabs__panels,.a2-jwb-detail__note,.a2-jwb-spec-grid__row,.a2-jwb-trust,.a2-jwb-seller-box,.a2-jwb-authnote,.a2-jwb-authcard,.a2-jwb-deposit-box,.a2-jwb-deposit-status,.a2-jwb-service-option,.a2-jwb-buybar,.a2-jwb-viewer,.a2-jwb-viewer__bar,.a2-jwb-viewer__nav,.a2-jwb-modal,.a2-jwb-modal__content,.a2-jwb-wizard,.a2-jwb-stepper,.a2-jwb-more-sheet,.a2-change__card){background:var(--a2sf-card)!important;color:var(--a2sf-text)!important;border-color:var(--a2sf-line)!important;box-shadow:var(--a2sf-shadow)}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] .a2-jwb :is(.a2-jwb-input,input:not([type=checkbox]):not([type=radio]):not([type=submit]),textarea,select){background:var(--a2sf-soft)!important;color:var(--a2sf-text)!important;border-color:#77664b!important}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] .a2-jwb :is(input,textarea)::placeholder{color:var(--a2sf-muted)!important;opacity:1}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] .a2-jwb :is(.a2-jwb-home__intro,.a2-jwb-hero__sub,.a2-jwb-detail__en,.a2-jwb-spec-grid__key,.a2-jwb-product__reference,.a2-jwb-product__caption,.a2-jwb-help,.a2-jwb-field-hint){color:var(--a2sf-muted)!important}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] :is(.a2-jwb-button-primary,.a2-jwb-btn--primary,.a2-jwb-product__cta,.a2-jwb-subnav-cta,.a2-change__button):not(.is-reject){background:var(--a2sf-action)!important;color:var(--a2sf-on-action)!important;border-color:transparent!important;text-shadow:none!important}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] :is(.a2-jwb-button-primary,.a2-jwb-btn--primary,.a2-jwb-product__cta,.a2-jwb-subnav-cta) :is(span,strong,b){color:inherit!important}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] :is(.a2-jwb-button-secondary,.a2-jwb-btn--secondary,.a2-jwb-tabs__tab,.a2-jwb-viewer button,.a2-jwb-more-sheet__close){background:var(--a2sf-soft)!important;color:var(--a2sf-gold)!important;border-color:var(--a2sf-line)!important}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] :is(.a2-jwb-tabs__tab.is-active,.a2-jwb-subnav-link.is-active){background:var(--a2sf-hover)!important;color:var(--a2sf-gold)!important}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] .a2-jwb-product__price{color:var(--a2sf-success)!important}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] .a2-jwb-viewer__counter{color:var(--a2sf-muted)!important}
/* Keep photographs on a neutral canvas; tint the controls, never the image pixels. */
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] .a2-jwb-gallery__hint{background:var(--a2sf-card)!important;color:var(--a2sf-text)!important;box-shadow:var(--a2sf-shadow)}
/* Finder also appears outside the homepage and uses RGB tuple tokens. */
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] .a2wf{--a2-ink:239,231,216;--a2-ink2:184,173,154;--a2-gold:224,187,106;--a2-white:34,29,22;color:var(--a2sf-text)}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] .a2wf :is(.a2wf-card,.a2wf-opt,.a2wf-pill button,.a2wf-price input,.a2wf-btn--ghost,.a2wf-mini,.a2wf-empty){background:var(--a2sf-card)!important;color:var(--a2sf-text)!important;border-color:var(--a2sf-line)!important}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] .a2wf :is(.a2wf-opt.is-active,.a2wf-pill button.is-active){background:var(--a2sf-hover)!important;color:var(--a2sf-gold)!important;border-color:var(--a2sf-gold)!important}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] .a2wf .a2wf-btn--primary{background:var(--a2sf-action)!important;color:var(--a2sf-on-action)!important}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] :is(.a2-ps-suggestions,.a2-ps-suggestions a,.a2-ps-thumbHint,.a2-ps-countBox){background:var(--a2sf-soft)!important;color:var(--a2sf-text)!important;border-color:var(--a2sf-line)!important}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] :is(.a2-ps-suggestions a,.a2wf-opt,.a2-jwb-btn--secondary,.a2-jwb-button-secondary):hover{background:var(--a2sf-hover)!important;color:var(--a2sf-gold)!important;transform:none!important}
/* Brand directory owns CSS tokens plus a few old translucent white panels. */
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] .a2bh{--a2-ink:var(--a2sf-text);--a2-muted:var(--a2sf-muted);--a2-gold:var(--a2sf-gold);--a2-border:var(--a2sf-line);--a2-shadow:var(--a2sf-shadow);color:var(--a2sf-text)}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] .a2bh :is(.a2bh-hero-inner,.a2bh-card,.a2bh-toolbar,.a2bh-empty-box,.a2bh-switch-btn,.a2bh-stat,input,select){background:var(--a2sf-card)!important;color:var(--a2sf-text)!important;border-color:var(--a2sf-line)!important}
/* Recent cards share catalog elevation even outside Woo archive bodies. */
html[data-a2-storefront-theme] .a2-rv__list li.product{box-shadow:var(--a2sf-shadow)!important;transform:none!important}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] .a2-rv__list li.product :is(.ht-product-inner,.ht-product-inner-2,.ht-product-content,.ht-product-content-2){background:var(--a2sf-card)!important;color:var(--a2sf-text)!important}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] .a2-rv__list :is(h2,h3,a:not(.button),.amount,bdi){color:var(--a2sf-text)!important}
/* Stock notification and gallery navigation are legible controls in either theme. */
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] :is(.a2sn-btn,.a2sn-btn__icon,.a2sn-modal,.a2sn-modal__content,.a2sn-panel,.a2sn-sheet){background:var(--a2sf-card)!important;color:var(--a2sf-text)!important;border-color:var(--a2sf-line)!important}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] :is(.a2sn-btn,.a2sn-modal,.a2sn-panel,.a2sn-sheet) :is(p,label,input){color:var(--a2sf-text)!important}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] body.single-product :is(.woocommerce-product-gallery__trigger,.flex-direction-nav a,.swiper-button-next,.swiper-button-prev){background:var(--a2sf-card)!important;color:var(--a2sf-gold)!important;border-color:var(--a2sf-line)!important;box-shadow:var(--a2sf-shadow)}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] body.single-product .woocommerce-product-gallery__trigger::before{border-color:var(--a2sf-gold)!important}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] body.single-product .woocommerce-product-gallery__trigger::after{background:var(--a2sf-gold)!important}
@media(prefers-reduced-motion:reduce){html[data-a2-storefront-theme] :is(.a2wf,.a2-jwb) :is(button,a){transition:none!important}}

/* Stock dialog actual markup, including selected channel and subscription state. */
html[data-a2-storefront-theme] .a2sn-modal__form{font-family:inherit!important}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] :is(.a2sn-modal__form,.a2sn-choice,.a2sn-choice__opt,.a2sn-field input){background:var(--a2sf-card)!important;color:var(--a2sf-text)!important;border-color:var(--a2sf-line)!important}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] .a2sn-modal :is(h2,p,label,.a2sn-field__label,.a2sn-modal__product){color:var(--a2sf-text)!important}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] .a2sn-modal :is(.a2sn-modal__fine,.a2sn-modal__note){color:var(--a2sf-muted)!important}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] :is(.a2sn-choice__opt.is-on,.a2sn-modal__close){background:var(--a2sf-hover)!important;color:var(--a2sf-gold)!important}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] .a2sn-submit{background:var(--a2sf-action)!important;color:var(--a2sf-on-action)!important}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] .a2sn-btn[data-state="subscribed"]{background:#183427!important;color:var(--a2sf-success)!important}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] .a2sn-btn[data-state="subscribed"]:hover{background:#382124!important;color:var(--a2sf-danger)!important}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] :is(.a2sn-modal__ok,.a2sn-btn[data-state="subscribed"] .a2sn-btn__hint){color:var(--a2sf-success)!important}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] .a2sn-modal__error{color:var(--a2sf-danger)!important}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] :is(.a2jwb-seo-h1,.a2jwb-seo-lead){color:var(--a2sf-text)!important}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] .a2-jwb .a2-jwb-home__trust li{background:var(--a2sf-soft)!important;color:var(--a2sf-text)!important;border-color:var(--a2sf-line)!important}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] .a2-jwb .a2-jwb-product__cta{background:var(--a2sf-soft)!important;color:var(--a2sf-text)!important}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] .a2-jwb .a2-jwb-product__cta:hover{background:var(--a2sf-hover)!important;color:var(--a2sf-gold)!important}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] body.a2-content-theme :is([data-elementor-type="wp-page"],.elementor-193569) .elementor-widget-wrap:has(.elementor-widget-text-editor){background:var(--a2sf-bg)!important}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] :is(.a2-faq__list,.a2-faq__item,.a2-faq__q,.a2-faq__a){background:var(--a2sf-card)!important;color:var(--a2sf-text)!important;border-color:var(--a2sf-line)!important}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] .a2-faq :is(h2,h3,summary,p,span,li){color:var(--a2sf-text)!important}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] .a2-jwb-navigation-shell .a2-jwb-bottomnav{background:var(--a2sf-card)!important;border-color:var(--a2sf-line)!important;box-shadow:var(--a2sf-shadow)}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] .a2-jwb-navigation-shell .a2-jwb-bottomnav__item{color:var(--a2sf-muted)!important}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] .a2-jwb-navigation-shell .a2-jwb-bottomnav__item.is-active{background:var(--a2sf-hover)!important;color:var(--a2sf-gold)!important}
/* Catalog and homepage consume the same palette through their existing contracts. */
html[data-a2-storefront-theme][data-a2-panel-theme="dark"]{--a2ct-bg:var(--a2sf-bg);--a2ct-surface:var(--a2sf-card);--a2ct-soft:var(--a2sf-soft);--a2ct-ink:var(--a2sf-text);--a2ct-muted:var(--a2sf-muted);--a2ct-gold:var(--a2sf-gold);--a2ct-line:var(--a2sf-line)}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] .a2-home{--home-ink:var(--a2sf-text);--home-muted:var(--a2sf-muted);--home-gold:var(--a2sf-gold);--home-surface:var(--a2sf-card);--home-soft:var(--a2sf-soft);--home-line:var(--a2sf-line)}
/* Older marketplace modules use the first-generation design-system tokens. */
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] .a2-jwb{--a2-surface:var(--a2sf-card);--a2-surface-2:var(--a2sf-soft);--a2-surface-3:var(--a2sf-hover);--a2-border:var(--a2sf-line);--a2-border-strong:#77664b;--a2-ink-950:var(--a2sf-text);--a2-ink-900:var(--a2sf-text);--a2-ink-800:var(--a2sf-text);--a2-ink-700:var(--a2sf-text);--a2-ink-600:var(--a2sf-muted);--a2-ink-500:var(--a2sf-muted);--a2-ink-400:var(--a2sf-muted);--a2-gold-700:var(--a2sf-gold);--a2-gold-600:var(--a2sf-gold);--a2-gold-50:var(--a2sf-hover);--a2-success:var(--a2sf-success);--a2-success-bg:#183427;--a2-warning:#f0cd87;--a2-warning-bg:#382e1e;--a2-danger:var(--a2sf-danger);--a2-danger-bg:#382124;--a2-info:#9fcfff;--a2-info-bg:#1c2b38}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] .a2-jwb :is(.a2-jwb-purchase,.a2-jwb-purchase__gate,.a2-jwb-purchase__form,.a2-jwb-identity-card,.a2-jwb-form-section,.a2-jwb-step-content){background:var(--a2sf-card)!important;color:var(--a2sf-text)!important;border-color:var(--a2sf-line)!important}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] #a2-mm-panel .a2-mm-nav :is(a,span,.sub-menu a){color:var(--a2sf-text)!important}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] #a2-mm-panel .a2-mm-nav a:hover{background:var(--a2sf-hover)!important;color:var(--a2sf-gold)!important}
html[data-a2-storefront-theme] .a2-jwb{--jwb-accent:var(--a2sf-gold);--jwb-accent-deep:var(--a2sf-gold);--jwb-accent-soft:var(--a2sf-hover);--a2-rose-600:var(--a2sf-gold);--a2-rose-500:var(--a2sf-gold);--a2-rose-50:var(--a2sf-hover)}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] .a2-jwb-viewer :is([data-count],.a2-jwb-viewer__nav span){color:var(--a2sf-muted)!important}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] .a2bh :is(.a2bh-filter-panel,.a2bh-clear,.a2bh-btn-mini,.a2bh-index-chip,.a2bh-country-chip,.a2bh-country,.a2bh-seo-inner){background:var(--a2sf-card)!important;color:var(--a2sf-text)!important;border-color:var(--a2sf-line)!important}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] .a2bh :is(.a2bh-stat-n,.a2bh-stat-t,.a2bh-switch-sub,.a2bh-price-sep,.a2bh-sec-sub,.a2bh-seo-inner p,.a2bh-seo-inner strong,.a2bh-brand-desc,.a2bh-brand-price,.a2bh-badge){color:var(--a2sf-text)!important}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] .a2bh :is(.a2bh-index-chip.is-active,.a2bh-country-chip.is-active,.a2bh-switch-btn.is-current){background:var(--a2sf-hover)!important;color:var(--a2sf-gold)!important}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] .a2-journal{--j-bg:var(--a2sf-bg);--j-card:var(--a2sf-card);--j-ink:var(--a2sf-text);--j-muted:var(--a2sf-muted);--j-gold:var(--a2sf-gold)}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] .a2-journal__hero{background:var(--a2sf-card)!important;box-shadow:var(--a2sf-shadow)}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] .a2-journal .page-numbers.current{background:var(--a2sf-action)!important;color:var(--a2sf-on-action)!important}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] .a2-journal__card{box-shadow:var(--a2sf-shadow)}
/* Small light-mode polish: readable gold actions and consistent touch targets. */
html[data-a2-storefront-theme] .a2sn-submit{background:var(--a2sf-action)!important;color:var(--a2sf-on-action)!important}
html[data-a2-storefront-theme] :is(.a2sn-modal__close,.a2-ps-close,.a2-jwb-viewer button){min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;line-height:1}
html[data-a2-storefront-theme] .a2sn-modal__title{padding-inline-end:38px}
html[data-a2-storefront-theme] .a2-journal__image:empty{display:grid;place-items:center;background:var(--a2sf-soft)}
html[data-a2-storefront-theme] .a2-journal__image:empty::after{content:"مجلهٔ جواهریان";color:var(--a2sf-gold);font-size:18px;font-weight:700;letter-spacing:0}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] .a2bh :is(.a2bh-filter-title,.a2bh-brand-name,.a2bh-badge-n){color:var(--a2sf-text)!important}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] .a2-jwb .a2-jwb-button-dark{background:var(--a2sf-action)!important;color:var(--a2sf-on-action)!important}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] .a2bh :is(.a2bh-country-chip-n,.a2bh-brand-price,.a2bh-badge){background:var(--a2sf-soft)!important;color:var(--a2sf-text)!important;border-color:var(--a2sf-line)!important}
/* Woo's legacy PhotoSwipe sprite can fail to load: controls stay visible without it. */
html[data-a2-storefront-theme] .pswp.pswp--open :is(.pswp__button--close,.pswp__button--zoom,.pswp__button--arrow--left,.pswp__button--arrow--right){display:block!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:0!important;background:rgba(34,29,22,.92)!important;background-image:none!important;color:#efe7d8!important;border:1px solid rgba(224,187,106,.3)!important;border-radius:12px!important;opacity:1!important;box-shadow:0 4px 18px #0005!important}
html[data-a2-storefront-theme] .pswp.pswp--open :is(.pswp__button--close,.pswp__button--zoom,.pswp__button--arrow--left,.pswp__button--arrow--right)::before{display:none!important}
html[data-a2-storefront-theme] .pswp.pswp--open :is(.pswp__button--close,.pswp__button--zoom,.pswp__button--arrow--left,.pswp__button--arrow--right)::after{display:grid;place-items:center;width:100%;height:100%;font-family:inherit;font-size:28px;font-weight:400;line-height:1;color:inherit}
html[data-a2-storefront-theme] .pswp .pswp__button--close::after{content:"×"}
html[data-a2-storefront-theme] .pswp .pswp__button--zoom::after{content:"+"}
html[data-a2-storefront-theme] .pswp.pswp--zoomed-in .pswp__button--zoom::after{content:"−"}
html[data-a2-storefront-theme] .pswp .pswp__button--arrow--left::after{content:"‹"}
html[data-a2-storefront-theme] .pswp .pswp__button--arrow--right::after{content:"›"}
html[data-a2-storefront-theme] .pswp .pswp__button--arrow--left{left:12px!important}
html[data-a2-storefront-theme] .pswp .pswp__button--arrow--right{right:12px!important}
html[data-a2-storefront-theme] .pswp .pswp__top-bar{background:rgba(23,19,16,.9)!important;min-height:52px}
html[data-a2-storefront-theme] .pswp .pswp__top-bar .pswp__button{margin:4px!important}
html[data-a2-storefront-theme] body:has(.pswp.pswp--open) :is(#a2-chat-widget,#a2-popup-reopen,#a2-bubble-tip){visibility:hidden!important}
/* Seller/buyer portal and authenticated form contracts share the same palette. */
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] .a2-jwb.a2-jwb-account{--a2-portal-ink:var(--a2sf-text);--a2-portal-ink-soft:var(--a2sf-text);--a2-portal-muted:var(--a2sf-muted);--a2-portal-gold:var(--a2sf-gold);--a2-portal-gold-deep:var(--a2sf-gold);--a2-portal-gold-soft:var(--a2sf-hover);--a2-portal-bg:var(--a2sf-bg);--a2-portal-surface:var(--a2sf-card);--a2-portal-line:var(--a2sf-line);--a2-portal-shadow:var(--a2sf-shadow);--a2-portal-success:var(--a2sf-success);--a2-portal-success-bg:#183427;--a2-portal-warning:#f0cd87;--a2-portal-warning-bg:#382e1e;--a2-portal-danger:var(--a2sf-danger);--a2-portal-danger-bg:#382124;--a2-portal-info:#9fcfff;--a2-portal-info-bg:#1c2b38}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] .a2-jwb :is(.a2-jwb-identity-stage,.a2-jwb-identity-result,.a2-jwb-identity-reason,.a2-jwb-request-gate,.a2-jwb-request-approved,.a2-jwb-wizard-panel,.a2-jwb-combo__panel,.a2-jwb-final-payment,.a2-jwb-seller-services,.a2-jwb-account__topbar,.a2-jwb-account-gate__card,.a2-jwb-account__mobile-tabs){background:var(--a2sf-card)!important;color:var(--a2sf-text)!important;border-color:var(--a2sf-line)!important}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] .a2-jwb.a2-jwb-seller-submission .a2-jwb-wizard-panel{background:var(--a2sf-card)!important}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] .a2-jwb.a2-jwb-account :is(.a2-jwb-account__button--secondary,.a2-jwb-account__all-clear>span,.a2-jwb-account__saved-count>span,table.a2-jwb-table--cards tr){background:var(--a2sf-soft)!important;color:var(--a2sf-text)!important}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] .a2-jwb.a2-jwb-account .a2-jwb-account__avatar{background:var(--a2sf-hover)!important;color:var(--a2sf-gold)!important}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] .a2-jwb input[type=file]::file-selector-button{background:var(--a2sf-soft)!important;color:var(--a2sf-text)!important;border-color:var(--a2sf-line)!important;font-family:inherit}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] .a2-jwb.a2-jwb-seller-submission .a2-jwb-combo__toggle{background:var(--a2sf-soft)!important;color:var(--a2sf-text)!important;border-color:var(--a2sf-line)!important}
html[data-a2-storefront-theme][data-a2-panel-theme="dark"] .a2-jwb .a2-jwb-journey-rail .a2-jwb-step:not(.is-active):not(.is-done) .a2-jwb-step__dot{background:var(--a2sf-soft)!important;color:var(--a2sf-muted)!important}
