/* One identity and contrast layer for every customer shop. */
.storefront-header{background:var(--shop-header,#fff);color:var(--shop-header-text,#172433);border-top:4px solid var(--shop-accent,#172433);overflow:visible;margin-bottom:26px}
.storefront-header__shell{grid-template-columns:minmax(180px,1fr) auto auto;min-height:92px;gap:20px}
.storefront-header__shell--shop-logo{grid-template-columns:136px minmax(180px,1fr) auto auto}
.storefront-header__brand{gap:20px;color:inherit;align-items:center;padding:0;min-width:0}
.storefront-header__shop-logo{display:block;position:relative;z-index:2;justify-self:start;width:136px;height:92px;color:inherit}
.storefront-header__shop-logo img{box-sizing:border-box;position:absolute;top:8px;left:0;width:136px;height:110px;max-width:none;max-height:none;object-fit:contain;object-position:center;background:#fff;border:1px solid #e2e6ea;border-radius:12px;padding:9px;box-shadow:0 5px 14px #0002}
.storefront-header__identity{min-width:0;display:grid;gap:5px;padding-block:12px}
.storefront-header__identity strong{font-size:clamp(16px,1.6vw,23px);line-height:1.2;overflow-wrap:anywhere}
.storefront-header__identity small{font-size:11px;letter-spacing:.1em;text-transform:uppercase}
.storefront-header__nav a,.storefront-header__nav button,.storefront-mobile-nav a,.storefront-mobile-nav button{color:var(--shop-header-text,#172433)}
.storefront-mobile-nav{background:var(--shop-header,#fff);padding-top:30px}
.storefront-header__nav a:hover,.storefront-header__nav button:hover{color:var(--shop-header-text,#172433);background:color-mix(in srgb,var(--shop-header-text,#172433) 12%,transparent)}
.storefront-header__shop-logo:focus-visible,.storefront-header__brand:focus-visible,.storefront-header__nav a:focus-visible,.storefront-header__nav button:focus-visible{outline:3px solid currentColor;outline-offset:3px}
.storefront-cart__count{background:var(--shop-accent,#172433);color:var(--shop-accent-text,#fff)}
.storefront-demo{width:min(1240px,calc(100% - 32px));margin:30px auto 20px;padding:12px 16px;border-left:4px solid var(--shop-accent,#172433);background:#f1f4f7;color:#172433;font-size:13px}
html:has([data-storefront-theme]) body{--brand:var(--shop-accent);--accent:var(--shop-accent);--shop-ui-accent:var(--shop-accent)}
html:has([data-storefront-theme]) body :is(.pd-btn-add,.catalog-refine button,.btn-primary,.checkout-actions .btn,.cart-actions .btn){background:var(--shop-accent)!important;color:var(--shop-accent-text)!important;border-color:var(--shop-accent)!important}
html:has([data-storefront-theme]) body :is(.pd-btn-add,.catalog-refine button,.btn-primary,.checkout-actions .btn,.cart-actions .btn):hover{box-shadow:inset 0 0 0 2px var(--shop-accent-text);filter:none}
html:has([data-storefront-theme]) body :is(.catalog-product-footer a,.catalog-more,.product-detail a:not(.btn):not(.pd-btn-add)){color:var(--shop-link-on-white)}
html:has([data-storefront-theme]) body :is(.catalog-eyebrow,.shop-welcome .eyebrow,.shop-featured .eyebrow,.shop-collections .eyebrow){color:var(--shop-link)}
html:has([data-storefront-theme]) body .catalog-category.is-active{box-shadow:inset 4px 0 var(--shop-accent);color:var(--shop-link-on-white)}
html:has([data-storefront-theme]) body .catalog-pagination .is-current{background:var(--shop-accent);color:var(--shop-accent-text)}
html:has([data-storefront-theme]) body :is(input,select,textarea){accent-color:var(--shop-accent)}
html:has([data-storefront-theme]) body main :focus-visible{outline:3px solid var(--shop-link-on-white);outline-offset:3px}
html:has([data-storefront-theme]) body .storefront-footer{background:var(--shop-footer);color:var(--shop-footer-text)}
html:has([data-storefront-theme]) body .storefront-footer :is(a,button,strong,span,small){color:var(--shop-footer-text)}
@media(max-width:1250px){.storefront-header__shell{grid-template-columns:minmax(0,1fr) auto}.storefront-header__shell--shop-logo{grid-template-columns:136px minmax(0,1fr) auto}.storefront-header__actions{position:static}.storefront-header .mini-cart{right:12px;top:calc(100% + 12px)}.storefront-header__nav{display:none}.storefront-menu-toggle{display:block}}
@media(max-width:600px){.storefront-header__shell{width:calc(100% - 24px);min-height:76px;gap:10px}.storefront-header__brand{gap:10px}.storefront-header__shell--shop-logo{grid-template-columns:78px minmax(0,1fr) auto}.storefront-header__shop-logo{width:78px;height:76px}.storefront-header__shop-logo img{width:78px;height:88px;top:6px;padding:6px;border-radius:8px}.storefront-header__identity strong{font-size:14px}.storefront-header__identity small{font-size:9px;letter-spacing:.04em}.storefront-header__actions{gap:3px}.storefront-cart,.storefront-menu-toggle{width:38px;height:40px}.storefront-header{margin-bottom:20px}.storefront-demo{margin-top:22px;font-size:12px}.storefront-header__identity{padding-block:10px}}

/* Dark shop presets keep product information legible on their dark cards. */
body.shop-theme-dark .catalog-product-card{--shop-ui-muted:#bbc6d3;--shop-ui-soft:#303744;--shop-ui-line:#4a5565;color:#f3f4f6!important}
body.shop-theme-dark .catalog-product-card :is(h2,h3,.catalog-product-meta,.catalog-product-footer strong){color:#f3f4f6!important}
body.shop-theme-dark .catalog-product-card .catalog-product-body>a{color:#f3f4f6!important}
body.shop-theme-dark .catalog-product-card .catalog-product-footer a{background:var(--shop-accent);color:var(--shop-accent-text)!important}
html:has([data-storefront-theme]) body .catalog-card-cta{background:var(--shop-accent)!important;color:var(--shop-accent-text)!important}
body.shop-theme-dark .catalog-product-card .product-link{color:#f3f4f6}
body.shop-theme-dark .catalog-product-card :is(.catalog-sku,.catalog-size-grid span,.catalog-size-grid b,.catalog-option-label strong,.catalog-option-empty,.catalog-product-footer p,.catalog-product-footer span:not(.catalog-card-cta),.catalog-product-footer small){color:#cbd5e1!important}
/* White article cards keep garment previews clear within the dark Bandwear brand. */
html:has([data-storefront-brand="bandwear"]) body .catalog-product-card{background:#fff!important;color:#142333!important;--shop-ui-muted:#536373;--shop-ui-soft:#f3f5f7;--shop-ui-line:#dce3e9}
html:has([data-storefront-brand="bandwear"]) body .catalog-product-card :is(.catalog-product-media,.product-render){background:#fff!important}
html:has([data-storefront-brand="bandwear"]) body .pd-volume-table :is(td,th){color:#243646!important}
html:has([data-storefront-brand="bandwear"]) body .catalog-product-card :is(h2,h3,.product-link,.catalog-product-meta,.catalog-product-body>a,.catalog-product-footer strong,.catalog-sku,.catalog-size-grid span,.catalog-size-grid b,.catalog-option-label strong,.catalog-option-empty,.catalog-product-footer p,.catalog-product-footer span:not(.catalog-card-cta),.catalog-product-footer small){color:#243646!important}
body.shop-theme-dark .catalog-heading .catalog-eyebrow{color:var(--shop-link-on-white)}
/* Configured placements use the editor/detail/production coordinate frame. */
.catalog-product-card .catalog-product-media:has([data-placement-motif]){aspect-ratio:5/6;height:auto;min-height:0;flex:none}
.catalog-product-card .catalog-product-media:has([data-placement-motif])>img.base{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.product-detail .product-render:has([data-live-placement]){aspect-ratio:5/6;height:auto;min-height:0;flex:none}
.product-detail .product-render:has([data-live-placement])>img.base{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
