/* Appearance tokens apply to every storefront route, including overlays. */
:root {
  --store-primary:#2563eb;
  --store-secondary:#0f766e;
  --store-accent:#f59e0b;
  --store-background:#fff;
  --store-surface:#fff;
  --store-surface-alt:#f4f6fb;
  --store-text:#182338;
  --store-muted:#6b7689;
  --store-border:#e3e8f1;
  --store-image-background:#f1f4f8;
  --store-on-primary:#fff;
  --store-on-secondary:#fff;
  --store-on-accent:#000;
  --store-link:var(--store-primary);
  --store-secondary-text:var(--store-secondary);
  --store-primary-hover:color-mix(in srgb,var(--store-primary),#000 10%);
  --store-primary-soft:color-mix(in srgb,var(--store-primary) 10%,var(--store-surface));
  --store-secondary-soft:color-mix(in srgb,var(--store-secondary) 10%,var(--store-surface));
  --store-accent-soft:color-mix(in srgb,var(--store-accent) 12%,var(--store-surface));
  --store-primary-ink:var(--store-link);
  --store-secondary-ink:var(--store-secondary-text);
  --store-accent-ink:#8a5000;
  --store-danger:#ac2945;
  --store-danger-soft:#fff0f3;
  --store-danger-ink:#ac2945;
  --store-photo-background:var(--store-image-background);
  --store-photo-muted:var(--store-muted);
  --store-border-strong:color-mix(in srgb,var(--store-border),var(--store-muted) 35%);
  --store-primary-border:color-mix(in srgb,var(--store-border),var(--store-primary) 40%);
  --store-secondary-border:color-mix(in srgb,var(--store-border),var(--store-secondary) 40%);
  --store-focus:color-mix(in srgb,var(--store-primary) 26%,transparent);
  --store-overlay:rgba(7,14,26,.62);
  --store-shadow:0 16px 60px rgba(24,35,56,.12);
  --blue:var(--store-primary);
  --blue-hover:var(--store-primary-hover);
  --ink:var(--store-text);
  --muted:var(--store-muted);
  --line:var(--store-border);
  --soft:var(--store-surface-alt);
  --surface:var(--store-surface);
  --shadow:var(--store-shadow);
}
:root[data-store-theme="dark"] {
  --store-primary:#7fa8ff;
  --store-secondary:#5eead4;
  --store-accent:#f7c47c;
  --store-background:#0e1420;
  --store-surface:#161f2f;
  --store-surface-alt:#1d293b;
  --store-text:#eff3fa;
  --store-muted:#b3bfd3;
  --store-border:#334158;
  --store-image-background:#202c3f;
  --store-on-primary:#000;
  --store-on-secondary:#000;
  --store-on-accent:#000;
  --store-primary-hover:color-mix(in srgb,var(--store-primary),#fff 10%);
  --store-primary-soft:color-mix(in srgb,var(--store-primary) 16%,var(--store-surface));
  --store-secondary-soft:color-mix(in srgb,var(--store-secondary) 16%,var(--store-surface));
  --store-accent-soft:color-mix(in srgb,var(--store-accent) 16%,var(--store-surface));
  --store-accent-ink:#f7c47c;
  --store-danger:#ff9aaa;
  --store-danger-soft:#38222f;
  --store-danger-ink:#ff9aaa;
  --store-shadow:0 16px 60px rgba(0,0,0,.4);
}
:root[data-store-image-background="transparent"] { --store-photo-background:transparent; }
:root[data-store-theme] { background:var(--store-background); color:var(--store-text); }
:root[data-store-theme] body { background:var(--store-background); color:var(--store-text); }
:root[data-store-theme] ::selection { background:var(--store-primary); color:var(--store-on-primary); }

/* Native controls keep their geometry and use the current color scheme. */
:root[data-store-theme] :is(input,select,textarea) {
  background-color:var(--store-surface);
  color:var(--store-text);
  border-color:var(--store-border-strong);
  color-scheme:inherit;
}
:root[data-store-theme] :is(input,textarea)::placeholder { color:var(--store-muted); opacity:1; }
:root[data-store-theme] option { color:var(--store-text); background:var(--store-surface); }
:root[data-store-theme] :is(input,select,textarea):hover { border-color:var(--store-primary-border); }
:root[data-store-theme] :is(input,select,textarea):focus {
  border-color:var(--store-primary);
  box-shadow:0 0 0 3px var(--store-focus);
}
:root[data-store-theme] :is(button,a,summary):focus-visible { outline-color:var(--store-primary); }
:root[data-store-theme] :is(input[type="checkbox"],input[type="radio"]) { accent-color:var(--store-primary); }
:root[data-store-theme] :is(input,select,textarea)[aria-invalid="true"] { border-color:var(--store-danger); }

/* The logo slot stays the same size when the theme or uploaded image changes. */
.store-logo-content { display:inline-flex; align-items:center; width:200px; height:44px; max-width:100%; flex-shrink:0; }
.store-logo-frame { display:inline-flex; align-items:center; width:100%; height:100%; min-width:0; flex:none; }
.store-logo-image { width:auto; height:auto; max-width:100%; max-height:100%; object-fit:contain; object-position:left center; }
.store-logo-fallback { display:flex; align-items:center; gap:10px; max-width:100%; min-width:0; }
.store-logo-fallback>span:last-child { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.store-logo-fallback .brand-mark { flex-shrink:0; }
[data-store-logo] [hidden], [data-store-copyright][hidden] { display:none!important; }
.footer-main .store-logo-content { width:160px; height:35px; }
/* Scale uploaded header logos up to the search field's height without stretching. */
.header-main { --store-header-control-height:45px; }
.header-main > .logo { flex:0 0 300px; min-width:0; max-width:300px; }
.header-main .store-logo-content { width:100%; height:var(--store-header-control-height); }
.header-main .store-logo-image { display:block; width:auto; height:100%; max-width:100%; object-fit:contain; }
.header-main .store-logo-frame.is-fitted { position:relative; overflow:hidden; flex:none; }
.header-main .store-logo-frame.is-fitted > .store-logo-image { position:absolute; max-width:none; max-height:none; }
.header-main .search-form { height:var(--store-header-control-height); min-width:0; }
.store-theme-control { display:inline-flex; align-items:center; flex:0 0 auto; gap:2px; width:max-content; max-width:100%; margin:0; padding:3px; border:1px solid var(--store-border); border-radius:10px; background:var(--store-surface-alt); }
.store-theme-button { display:grid; place-items:center; flex:0 0 34px; width:34px; height:34px; padding:0; border:1px solid transparent; border-radius:7px; background:transparent; color:var(--store-muted); cursor:pointer; transition:background-color .15s,color .15s,border-color .15s; }
.store-theme-button svg { display:block; flex:none; }
.store-theme-button:hover { background:var(--store-surface); color:var(--store-text); }
.store-theme-button[aria-pressed="true"] { background:var(--store-primary-soft); color:var(--store-primary-ink); border-color:var(--store-primary-border); }
.store-theme-button:focus-visible { outline:2px solid var(--store-primary); outline-offset:2px; }
@media(pointer:coarse) { .store-theme-button { flex-basis:44px; width:44px; height:44px; } }
@media(prefers-reduced-motion:reduce) { .store-theme-button { transition:none; } }
.header-lower .main-nav { flex:1; min-width:0; }
.footer-main { flex-wrap:wrap; gap:20px; }
.store-footer-tools { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:14px 20px; min-width:0; max-width:100%; }
.store-footer-tools [data-store-copyright] { max-width:340px; color:var(--store-muted); font-size:12px; line-height:1.6; overflow-wrap:anywhere; }

/* Shared layout and actions. */
:root[data-store-theme] :is(.site-header,.category-card,.product-card,.order-summary,.checkout-box,.cart-dialog,.info-dialog) {
  background:var(--store-surface); color:var(--store-text); border-color:var(--store-border);
}
:root[data-store-theme] .search-form { background:var(--store-surface-alt); border-color:var(--store-border); }
:root[data-store-theme] .search-form input { background:transparent; border:0; box-shadow:none; }
:root[data-store-theme] .search-form input::placeholder { color:var(--store-muted); }
:root[data-store-theme] :is(.button-primary,.skip-link,.header-action i,.quick-add:hover) {
  background:var(--store-primary); color:var(--store-on-primary); border-color:var(--store-primary);
}
:root[data-store-theme] .button-primary:hover { background:var(--store-primary-hover); }
:root[data-store-theme] .header-action i { border-color:var(--store-surface); }
:root[data-store-theme] .button-secondary {
  background:var(--store-surface); border-color:var(--store-secondary-border); color:var(--store-secondary-text);
}
:root[data-store-theme] .button-secondary:hover { background:var(--store-secondary-soft); color:var(--store-secondary-ink); border-color:var(--store-secondary); }
:root[data-store-theme] .quick-add { border-color:var(--store-border-strong); }
:root[data-store-theme] :is(.text-link,.eyebrow,.breadcrumb a:hover,.main-nav a.selected,.main-nav a:hover,.buyer-switch:hover,.product-name:hover,.footer-main a:hover) { color:var(--store-link); }
:root[data-store-theme] .product-card:hover { border-color:var(--store-primary-border); box-shadow:0 6px 25px color-mix(in srgb,var(--store-text) 6%,transparent); }
:root[data-store-theme] :is(.product-badge,.pd-photo-badge,.cat-list-badge) { background:var(--store-accent-soft); color:var(--store-accent-ink); }
:root[data-store-theme] .favorite-button { color:var(--store-text); background:color-mix(in srgb,var(--store-surface) 88%,transparent); }
:root[data-store-theme] :is(.favorite-button:hover,.favorite-button.is-active,.favorite-button[aria-pressed="true"]) { background:var(--store-primary-soft); color:var(--store-primary-ink); }
:root[data-store-theme] .favorite-button.is-active svg { fill:color-mix(in srgb,var(--store-primary) 18%,transparent); }
:root[data-store-theme] :is(.service-strip,.profile-choice-icon,.checkout-buyer-caption,.empty-state) { background:var(--store-surface-alt); }
:root[data-store-theme] .service-strip>a { border-color:var(--store-border); }
:root[data-store-theme] .service-strip svg { color:var(--store-secondary-text); }
:root[data-store-theme] :is(.demo-note,.heading-count,.category-number,.featured-category-card .category-card-label>small) { color:var(--store-muted); }
:root[data-store-theme] :is(.profile-choice:hover,.profile-choice.selected,.delivery-methods>label:has(input:checked),.success-icon) { background:var(--store-primary-soft); color:var(--store-primary-ink); }
:root[data-store-theme] .checkout-box h2>span { border-color:var(--store-primary-border); }
:root[data-store-theme] :is(.cart-dialog,.info-dialog,.pd-image-dialog) { box-shadow:var(--store-shadow); }
:root[data-store-theme] :is(.cart-dialog,.info-dialog,.pd-image-dialog)::backdrop { background:var(--store-overlay); }
:root[data-store-theme] :is(.toast,.commerce-update-note) { background:var(--store-surface); color:var(--store-text); border:1px solid var(--store-border); box-shadow:var(--store-shadow); }
:root[data-store-theme] .commerce-update-note button { color:var(--store-link); }
:root[data-store-theme] .announcement { background:var(--store-surface-alt); color:var(--store-muted); border-bottom:1px solid var(--store-border); }
:root[data-store-theme] .announcement span { border-color:var(--store-border); }
:root[data-store-theme] .model-toolbar nav a { color:var(--store-muted); }
:root[data-store-theme] .model-toolbar nav a.active { color:var(--store-primary-ink); background:var(--store-primary-soft); box-shadow:inset 0 -2px var(--store-primary); }
:root[data-store-theme] .model-toolbar nav a:hover { color:var(--store-text); }
:root[data-store-theme] .announcement #model-sync { color:var(--store-muted); }
:root[data-store-theme] .announcement #model-sync.sync-error { color:var(--store-danger); }

/* Preserve the editorial photograph; only its legibility layer follows the theme. */
:root[data-store-theme] .hero { background:var(--store-surface-alt); color:var(--store-text); }
:root[data-store-theme] .hero-shade { background:linear-gradient(90deg,var(--store-surface-alt) 0%,color-mix(in srgb,var(--store-surface-alt) 92%,transparent) 30%,color-mix(in srgb,var(--store-surface-alt) 18%,transparent) 65%,transparent 90%); }
:root[data-store-theme] .hero-description { color:var(--store-text); }
:root[data-store-theme] .hero-bottom { color:var(--store-text); background:color-mix(in srgb,var(--store-surface) 85%,transparent); padding:5px 8px; border-radius:4px; }

/* Catalog filters, chips, grids and the horizontal list. */
:root[data-store-theme] .cat-page { color:var(--store-text); background:var(--store-background); }
:root[data-store-theme] :is(.cat-filter-close,.cat-mobile-apply,.cat-mobile-filter,.cat-price-inputs>label,.cat-category input[type="radio"],.cat-list-card) { background:var(--store-surface); color:var(--store-text); border-color:var(--store-border); }
:root[data-store-theme] .cat-page #catWarehouse,
:root[data-store-theme] .cat-sort-control select { background:var(--store-surface); color:var(--store-text); border-color:var(--store-border-strong); }
:root[data-store-theme] :is(.cat-price-inputs input,.cat-search-summary strong,.cat-product-count strong,.cat-breadcrumb>span:last-child,.cat-filter-block h3) { color:var(--store-text); }
:root[data-store-theme] .cat-page .cat-warehouse-block .cat-warehouse-label { color:var(--store-text); }
:root[data-store-theme] .cat-price-inputs input { background:transparent; }
:root[data-store-theme] :is(.cat-breadcrumb>span[aria-hidden],.cat-page-heading .eyebrow,.cat-heading-note,.cat-load-more>p,.cat-all-shown,.cat-search-summary,.cat-search-summary button,.cat-empty .eyebrow,.cat-empty>p:not(.eyebrow),.cat-reset,.cat-category,.cat-category small,.cat-price-inputs>label>span,.cat-color-caption,.cat-stock-block>label,.cat-product-count,.cat-sort,.cat-chips-empty,.cat-view-label,.cat-view-caption,.cat-view-button,.cat-select-control>svg,.cat-sort-control>svg,.cat-sidebar-note p,.cat-list-topline,.cat-list-description,.cat-list-meta,.cat-list-prices>del) { color:var(--store-muted); }
:root[data-store-theme] .cat-price-inputs input::placeholder { color:var(--store-muted); }
:root[data-store-theme] :is(.cat-category.selected,.cat-list-title) { color:var(--store-text); }
:root[data-store-theme] :is(.cat-category:hover,.cat-reset:hover,.cat-list-topline>a,.cat-list-topline>a:hover,.cat-list-title:hover) { color:var(--store-link); }
:root[data-store-theme] .cat-heading-note>span { border-color:var(--store-primary-border); }
:root[data-store-theme] .cat-note-mark { color:var(--store-primary-border); }
:root[data-store-theme] .cat-load-track { background:var(--store-surface-alt); }
:root[data-store-theme] .cat-load-track span { background:var(--store-secondary); }
:root[data-store-theme] :is(.cat-search-summary,.cat-sidebar-note,.cat-view-switch) { background:var(--store-surface-alt); border-color:var(--store-border); }
:root[data-store-theme] .cat-empty { background:linear-gradient(180deg,var(--store-surface-alt),var(--store-surface)); border-color:var(--store-border); }
:root[data-store-theme] :is(.cat-empty-icon,.cat-mobile-filter>span) { background:var(--store-primary-soft); color:var(--store-primary-ink); }
:root[data-store-theme] .cat-price-apply { color:var(--store-secondary-text); background:var(--store-surface-alt); border-color:var(--store-secondary-border); }
:root[data-store-theme] .cat-price-apply:hover { color:var(--store-secondary-ink); background:var(--store-secondary-soft); border-color:var(--store-secondary); }
:root[data-store-theme] .cat-price-inputs>label:focus-within { border-color:var(--store-primary); box-shadow:0 0 0 3px var(--store-focus); }
:root[data-store-theme] .cat-price-inputs input:focus,
:root[data-store-theme] .cat-category input[type="radio"]:focus { box-shadow:none; }
:root[data-store-theme] .cat-category input[type="radio"]:checked { border-color:var(--store-primary); }
:root[data-store-theme] :is(.cat-price-error,.cat-price-inputs input[aria-invalid="true"]) { color:var(--store-danger); }
:root[data-store-theme] .cat-color-dot { border-color:var(--store-border-strong); box-shadow:0 0 0 2px var(--store-surface),0 0 0 3px transparent; }
:root[data-store-theme] .cat-color-option input:checked+.cat-color-dot { box-shadow:0 0 0 2px var(--store-surface),0 0 0 3px var(--store-primary); }
:root[data-store-theme] .cat-category input:focus-visible,
:root[data-store-theme] .cat-color-option input:focus-visible+.cat-color-dot { outline-color:var(--store-primary); }
:root[data-store-theme] .cat-chip { background:var(--store-primary-soft); color:var(--store-primary-ink); border-color:var(--store-primary-border); }
:root[data-store-theme] :is(.cat-chip:hover,.cat-view-button:hover) { background:var(--store-primary-soft); color:var(--store-primary-ink); }
:root[data-store-theme] .cat-view-button.is-selected { background:var(--store-surface); color:var(--store-link); border-color:var(--store-primary-border); box-shadow:0 1px 3px color-mix(in srgb,var(--store-text) 8%,transparent); }
:root[data-store-theme] .cat-sidebar { background:transparent; box-shadow:none; }
@media(max-width:860px) {
  :root[data-store-theme] .cat-sidebar { background:var(--store-surface); box-shadow:var(--store-shadow); }
}
:root[data-store-theme] .cat-backdrop { background:var(--store-overlay); }
:root[data-store-theme] .cat-list-card:hover { border-color:var(--store-primary-border); box-shadow:0 5px 18px color-mix(in srgb,var(--store-text) 6%,transparent); }
:root[data-store-theme] .cat-list-availability { color:var(--store-secondary-text); }
:root[data-store-theme] .cat-list-availability.unavailable { color:var(--store-muted); }
:root[data-store-theme] .cat-list-add.button:disabled { color:var(--store-muted); background:var(--store-surface-alt); border-color:var(--store-border); }
:root[data-store-theme] .cat-list-favorite.favorite-button { color:var(--store-muted); background:var(--store-surface); border-color:var(--store-border); }
:root[data-store-theme] :is(.cat-list-favorite.favorite-button:hover,.cat-list-favorite.favorite-button.is-active) { background:var(--store-primary-soft); color:var(--store-primary-ink); border-color:var(--store-primary-border); }

/* Product controls and galleries. Swatches continue to show actual product colors. */
:root[data-store-theme] :is(.pd-zoom,.pd-size,.pd-favorite,.pd-dialog-close,.pd-dialog-navigation button) { color:var(--store-text); background:var(--store-surface); border-color:var(--store-border-strong); }
:root[data-store-theme] :is(.pd-size.is-selected,.pd-favorite.is-active,.pd-favorite[aria-pressed="true"],.pd-dialog-navigation button:hover) { background:var(--store-primary-soft); color:var(--store-primary-ink); border-color:var(--store-primary-border); }
:root[data-store-theme] :is(.pd-zoom:hover,.pd-favorite:hover) { background:var(--store-surface-alt); }
:root[data-store-theme] .pd-photo-caption { background:color-mix(in srgb,var(--store-surface) 93%,transparent); color:var(--store-text); }
:root[data-store-theme] :is(.pd-sku,.pd-colour-note,.pd-stock.is-unavailable) { color:var(--store-muted); }
:root[data-store-theme] .pd-stock { color:var(--store-secondary-text); }
:root[data-store-theme] .pd-stock i { background:var(--store-secondary); }
:root[data-store-theme] .pd-stock.is-unavailable i { background:var(--store-muted); }
:root[data-store-theme] .pd-colour>span:first-child { box-shadow:inset 0 0 0 1px var(--store-border-strong); }
:root[data-store-theme] :is(.pd-thumb:hover .pd-thumb-image,.pd-thumb.is-active .pd-thumb-image) { border-color:var(--store-primary); }
:root[data-store-theme] .pd-image-dialog { color:var(--store-text); }

/* Every layer behind a product/category photo shares the image-background setting. */
:root[data-store-theme] :is(.store-photo,.store-photo-empty,.product-visual,.category-card>div,.cat-list-photo,.pd-photo-wrap,.pd-thumb-image,.pd-image-dialog,.cart-item>a,.ac-order-images>a,.ac-more-images,.ac-image-placeholder) { background:var(--store-photo-background); }
:root[data-store-theme] :is(.store-photo,.store-photo-empty,.ac-image-placeholder,.ac-more-images) { color:var(--store-photo-muted); }
:root[data-store-theme] .pd-image-dialog>p { color:var(--store-text); background:var(--store-surface); padding-top:14px; margin-bottom:0; }
:root[data-store-theme] .pd-dialog-navigation { background:var(--store-surface); }

/* Account lists, forms, order details and buyer profiles. */
:root[data-store-theme] :is(.ac-sidebar,.ac-stat,.ac-order-card,.ac-order-details>summary,.ac-timeline li>span,.ac-small-card,.ac-panel,.ac-empty,.ac-address-card,.ac-buyer-context,.ac-buyer-card) { background:var(--store-surface); color:var(--store-text); border-color:var(--store-border); }
:root[data-store-theme] :is(.ac-fields input,.ac-select-wrap select) { background:var(--store-surface); color:var(--store-text); border-color:var(--store-border-strong); }
:root[data-store-theme] :is(.ac-fields input,.ac-select-wrap select):focus { border-color:var(--store-primary); box-shadow:0 0 0 3px var(--store-focus); }
:root[data-store-theme] .ac-fields input::placeholder { color:var(--store-muted); }
:root[data-store-theme] :is(.ac-sidebar-note,.ac-buyer-switcher,.ac-soft-note,.ac-address-editor,.ac-account-nav a:hover,.ac-order-details>summary:hover,.ac-account-nav a small,.ac-buyer-context>small) { background:var(--store-surface-alt); }
:root[data-store-theme] :is(.ac-sidebar-wordmark,.ac-welcome h2,.ac-soft-note strong,.ac-buyer-requisites dd) { color:var(--store-text); }
:root[data-store-theme] :is(.ac-stat>svg:last-child,.ac-card-title>span,.ac-card-title>a,.ac-card-title>button,.ac-form-note,.ac-soft-note,.ac-address-icon,.ac-buyer-switcher>label,.ac-select-wrap>svg,.ac-switcher-kind,.ac-buyer-context>span,.ac-buyer-context>small,.ac-buyer-kind,.ac-buyer-requisites dt,.ac-delete-buyer,.ac-buyer-delete-note,.ac-timeline li,.ac-address-actions>button.ac-delete-address) { color:var(--store-muted); }
:root[data-store-theme] :is(.ac-welcome,.ac-profiles-explainer) { background:var(--store-primary-soft); border-color:var(--store-primary-border); }
:root[data-store-theme] :is(.ac-welcome .eyebrow,.ac-profiles-explainer,.ac-profiles-explainer strong) { color:var(--store-primary-ink); }
:root[data-store-theme] :is(.ac-welcome p,.ac-profiles-explainer span) { color:var(--store-text); }
:root[data-store-theme] .ac-welcome-link { color:var(--store-primary-ink); }
:root[data-store-theme] .ac-demo-pill i { background:var(--store-secondary); }
:root[data-store-theme] .ac-orbit { border-color:var(--store-primary-border); }
:root[data-store-theme] .ac-art-bag { color:var(--store-primary-ink); background:linear-gradient(145deg,var(--store-surface),var(--store-primary-soft)); border-color:var(--store-surface); box-shadow:var(--store-shadow); }
:root[data-store-theme] .ac-art-heart { color:var(--store-on-accent); background:var(--store-accent); box-shadow:var(--store-shadow); }
:root[data-store-theme] .ac-art-dot { background:var(--store-secondary); border-color:var(--store-surface); }
:root[data-store-theme] .ac-stat:hover { border-color:var(--store-primary-border); }
:root[data-store-theme] :is(.ac-avatar,.ac-account-nav a.is-active,.ac-account-nav a.is-active small,.ac-heading-count,.ac-default-badge,.ac-empty>span,.ac-selected-badge,.ac-buyer-card.is-selected .ac-buyer-icon) { background:var(--store-primary-soft); color:var(--store-primary-ink); }
:root[data-store-theme] .ac-buyer-icon { background:var(--store-surface-alt); color:var(--store-muted); }
:root[data-store-theme] .ac-buyer-card.is-selected { border-color:var(--store-primary-border); box-shadow:0 0 0 1px var(--store-focus); }
:root[data-store-theme] .ac-status-complete { background:var(--store-secondary-soft); color:var(--store-secondary-ink); }
:root[data-store-theme] .ac-status-active { background:var(--store-primary-soft); color:var(--store-primary-ink); }
:root[data-store-theme] .ac-status-cancelled { background:var(--store-danger-soft); color:var(--store-danger-ink); }
:root[data-store-theme] .ac-timeline li:after { background:var(--store-border); }
:root[data-store-theme] .ac-timeline li.is-complete { color:var(--store-primary-ink); }
:root[data-store-theme] .ac-timeline li.is-complete>span { color:var(--store-primary-ink); background:var(--store-primary-soft); border-color:var(--store-primary-border); }
:root[data-store-theme] .ac-timeline li.is-complete:after { background:var(--store-primary); }
:root[data-store-theme] .ac-timeline li.is-current>span { color:var(--store-on-primary); background:var(--store-primary); border-color:var(--store-primary); }
:root[data-store-theme] .ac-timeline li.is-current:after { background:var(--store-border); }
:root[data-store-theme] :is(.ac-address-editor,.ac-buyer-delete-note) { border-color:var(--store-border); }
:root[data-store-theme] :is(.ac-form-error,.ac-address-actions>button.ac-delete-address:hover,.ac-delete-buyer:hover) { color:var(--store-danger); }

/* Warehouse availability, checkout feedback and order fulfilment. */
:root[data-store-theme] :is(.warehouse-card,.pd-warehouse-panel,.success-details) { background:var(--store-surface); border-color:var(--store-border); }
:root[data-store-theme] :is(.store-loading-mark,.warehouse-card-icon) { background:var(--store-primary-soft); color:var(--store-primary-ink); }
:root[data-store-theme] :is(.product-stock-caption,.warehouse-quantity) { color:var(--store-secondary-text); }
:root[data-store-theme] :is(.product-stock-caption.unavailable,.warehouse-quantity.empty,.order-fulfillment>span) { color:var(--store-muted); }
:root[data-store-theme] .warehouse-kind { color:var(--store-secondary-ink); background:var(--store-secondary-soft); }
:root[data-store-theme] .checkout-warehouse-info { background:var(--store-primary-soft); border-color:var(--store-primary-border); }
:root[data-store-theme] .checkout-warehouse-info strong { color:var(--store-primary-ink); }
:root[data-store-theme] .checkout-error { color:var(--store-danger-ink); background:var(--store-danger-soft); border-color:color-mix(in srgb,var(--store-danger),var(--store-border) 65%); }

@media(max-width:1100px) {
  .header-lower { gap:18px; }
  .store-logo-content { width:175px; }
}
@media(max-width:800px) {
  .store-logo-content { width:140px; height:36px; }
  .header-main { --store-header-control-height:40px; column-gap:18px; }
  .header-main > .logo { flex-basis:240px; max-width:calc(100% - 139px); }
  .header-lower { gap:12px; }
  .footer-main { gap:20px; }
  .store-footer-tools { width:100%; justify-content:space-between; }
  .store-footer-tools [data-store-copyright] { max-width:calc(100% - 180px); }
}
@media(max-width:520px) {
  .store-logo-content { width:124px; height:34px; }
  .header-main { column-gap:12px; }
  .header-main > .logo { max-width:calc(100% - 135px); }
  .store-footer-tools { flex-direction:column; align-items:flex-start; }
  .store-footer-tools [data-store-copyright] { max-width:100%; }
  :root[data-store-theme] .hero-shade { background:linear-gradient(180deg,var(--store-surface-alt) 0%,color-mix(in srgb,var(--store-surface-alt) 93%,transparent) 30%,color-mix(in srgb,var(--store-surface-alt) 12%,transparent) 72%); }
}
