/* Fixed geometry for both scroll states. Search and menu open below the bar. */
.storefront header.site-header {
    position:fixed; inset:0 0 auto; height:76px; box-sizing:border-box; color:white;
    background:transparent; border-bottom:1px solid transparent; box-shadow:none;
    transition:background-color .4s var(--im-home-ease),border-color .4s ease,backdrop-filter .4s ease;
}
.storefront header.site-header:is(.is-scrolled,.is-menu-open,.is-search-open) {
    background-color:rgba(13,27,39,.94); border-color:#ffffff29; backdrop-filter:blur(14px);
}
.storefront header.site-header .header-main {
    display:flex; align-items:center; height:75px; min-height:0; padding-block:0; gap:clamp(10px,2vw,30px);
    transition:none; position:relative;
}
.storefront header.site-header .store-brand {flex:0 0 auto; width:auto; min-width:0; transition:none;}
.storefront header.site-header .header-center {display:flex; flex:1; min-width:0; flex-direction:row; align-items:center; gap:0;}
.storefront header.site-header .store-nav {gap:clamp(10px,1.4vw,22px);}
.storefront header.site-header :is(.store-nav a,.cart-link,.account-link,.mobile-nav,.header-search-toggle) {color:white;}
.storefront header.site-header .account-link span {display:none;}
.storefront header.site-header .header-actions {display:flex;align-items:center;gap:clamp(8px,1.4vw,18px);}
.storefront header.site-header .header-actions .account-link {display:flex;}
.storefront header.site-header .header-search-toggle {display:grid;place-items:center;background:none;border:0;}
.storefront header.site-header .header-search {display:none;}
.storefront header.site-header.is-search-open .header-search {
    display:flex;position:absolute;inset:100% 0 auto;transform:none;margin:auto;width:min(95%,740px);max-width:none;
}
@media(max-width:760px){
    .storefront header.site-header .header-main {gap:10px;padding-inline:12px;}
    .storefront header.site-header .header-center {display:contents;}
    .storefront header.site-header .store-brand {max-width:122px;margin-right:auto;}
    .storefront header.site-header .store-nav {display:none;}
    .storefront header.site-header.is-menu-open .store-nav {
        display:flex; position:absolute; inset:100% 0 auto; background:#102231; padding:12px 20px; gap:0; max-height:calc(100dvh - 76px);overflow-y:auto;
    }
}
@media(prefers-reduced-motion:reduce){.storefront header.site-header {transition:none;}}
/* Public navigation shares one surface and one set of actions across both brands. */
.storefront header.site-header {position:sticky; background:#132635; --im-home-amber:#f4d699; --im-home-ease:cubic-bezier(.16,1,.3,1);}
.storefront.theme-prism header.site-header {background:#141210;}
.storefront.impelal-cinematic-home header.site-header {position:fixed; background:linear-gradient(180deg,#0815218c,transparent);}
.storefront header.site-header:is(.is-scrolled,.is-menu-open,.is-search-open) {background-color:#102230f5;}
.storefront.theme-prism header.site-header:is(.is-scrolled,.is-menu-open,.is-search-open) {background-color:#171410f5;}
.storefront header.site-header :is(.store-brand,.brand-portal) {
    align-items:center;
    min-height:44px;
    text-decoration:none;
    white-space:nowrap;
}
.storefront header.site-header .store-brand {display:inline-flex;}
.storefront header.site-header .brand-portal {
    padding:0!important;
    border:0;
    background:transparent!important;
    box-shadow:none;
}
.storefront header.site-header .header-wordmark {
    display:block;
    transition:color .32s ease,text-shadow .32s ease;
}
.storefront header.site-header .header-impelal-logo {
    display:block;
    width:clamp(91px,11vw,144px);
    height:auto;
    flex:none;
}
.storefront.impelal-cinematic-home header.site-header:not(.is-scrolled,.is-menu-open,.is-search-open) .header-impelal-logo {
    filter:drop-shadow(0 0 4px #d8f5ffb0);
}
@media (max-width:760px) {
    .storefront header.site-header .header-impelal-logo {width:104px;}
}
@media (max-width:360px) {
    .storefront header.site-header .header-impelal-logo {width:88px;}
}
.storefront header.site-header .header-wordmark--prism {
    color:#754d26;
    font:500 clamp(1rem,1.75vw,1.36rem)/1 Georgia,serif;
    letter-spacing:.13em;
    text-shadow:0 0 11px #ecae6466;
}
.storefront.theme-prism header.site-header .header-wordmark--prism,
.storefront.impelal-cinematic-home header.site-header:not(.is-scrolled,.is-menu-open,.is-search-open) .header-wordmark--prism {
    color:#ffe7bc;
    text-shadow:0 1px 4px #301b0b,0 0 13px #eeb86da6;
}
.storefront header.site-header :is(.store-brand,.brand-portal):is(:hover,:focus-visible) .header-wordmark {
    text-decoration:underline;
    text-underline-offset:5px;
}
@media (prefers-reduced-motion:reduce) {
    .storefront header.site-header .header-wordmark {transition:none;}
}
.storefront header.site-header .header-actions {gap:6px;}
.storefront header.site-header .header-actions :is(.account-link,.cart-link,.header-search-toggle,.mobile-nav) {
    align-items:center;justify-content:center; width:40px;min-width:40px;height:40px;margin:0;padding:0;
    background:#152c3ce8; color:#fff; border:1px solid #ffffff52;border-radius:8px;
}
.storefront header.site-header .header-actions svg {color:inherit;stroke:currentColor;}
.storefront header.site-header .header-actions :is(a,button):is(:hover,:focus-visible,[aria-expanded="true"]) {background:#30536a;border-color:#b6deee;}
.storefront header.site-header .cart-link b {background:#b6e9ff;color:#082638;top:-5px;right:-4px;}
.storefront header.site-header .header-search {color:#173448; z-index:2;}
.storefront header.site-header .predictive-search {color:#173448;background:#fff;max-height:min(55dvh,430px);overflow-y:auto;overscroll-behavior:contain;}
.storefront header.site-header.is-search-open .header-search {top:calc(100% + 4px); bottom:auto;}
.storefront .catalog-page {padding-block:22px 64px;}
.catalog-page .breadcrumb {margin:0 0 8px;}
.catalog-page .section-heading {margin:0 0 18px;padding:0;}
.catalog-page .section-heading h1 {font-size:clamp(1.6rem,3.2vw,2.8rem);line-height:1.13;margin:0;letter-spacing:-.035em;}
.catalog-page .catalog-result {margin-block:0 10px;}
.catalog-page .catalog-sidebar summary {display:none;}
.catalog-page .product-card,.catalog-page .catalog-sidebar form {border-radius:12px;}
@media(max-width:760px) {
    .storefront header.site-header .header-main {gap:6px;}
    .storefront header.site-header .header-actions {gap:4px;}
    .storefront header.site-header .header-actions :is(.account-link,.cart-link,.header-search-toggle,.mobile-nav) {width:38px;min-width:38px;height:42px;}
    .storefront .catalog-page {padding-block-start:16px;}
    .catalog-page .catalog-layout {grid-template-columns:minmax(0,1fr);gap:12px;}
    .catalog-page .catalog-sidebar summary {display:list-item;cursor:pointer;padding:10px 14px;border:1px solid currentColor;border-radius:8px;font-weight:600;}
}

.catalog-page .catalog-sidebar form {display:grid; grid-template-columns:minmax(0,1fr); gap:12px; padding:16px;}
.catalog-page .catalog-sidebar form :is(label,fieldset) {margin:0;}
.catalog-page .catalog-sidebar form label {display:grid;gap:4px;font-size:.82rem;}
.catalog-page .catalog-sidebar :is(input,select) {width:100%;min-height:40px;font-size:.88rem;}
.catalog-page .catalog-sidebar .filter-section {border-top:1px solid #91a6b44d;padding-top:8px;}
.catalog-page .catalog-sidebar .filter-section summary {display:list-item;padding:6px 0;cursor:pointer;font-weight:650;border:0;}
.catalog-page .filter-fields {display:grid;gap:10px;padding-top:8px;}
.catalog-page .filter-chips {display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px;}
.catalog-page .filter-chips a {display:inline-flex;gap:8px;align-items:center;border:1px solid #889faf;border-radius:999px;padding:5px 12px;color:inherit;text-decoration:none;}
.catalog-page .filter-chips a:hover {text-decoration:underline;}

/* IMPELAL's white frame blends the wordmark into both storefront surfaces. */
.storefront[data-brand="impelal"] header.site-header {
    background:linear-gradient(100deg,#fff 0%,#fff 38%,#f4fafc 76%,#e6f2f8);
    color:#12344b;
    border-bottom:1px solid #dbe8ef;
}
.storefront[data-brand="impelal"] header.site-header:is(.is-scrolled,.is-menu-open,.is-search-open) {
    background:linear-gradient(100deg,#fffffff7 38%,#eaf5fbf5);
}
.storefront[data-brand="impelal"] header.site-header .store-nav a {color:#153b54;}
.storefront[data-brand="impelal"] header.site-header .header-actions :is(.account-link,.cart-link,.header-search-toggle,.mobile-nav) {
    background-color:#f7fbfd; color:#16425a; border-color:#c8dde9;
}
.storefront[data-brand="impelal"] header.site-header .header-actions :is(a,button):is(:hover,:focus-visible,[aria-expanded="true"]) {
    background-color:#e2f0f8; border-color:#91bcd2;
}
/* Fade a single gradient layer so the browser can interpolate its opacity. */
.storefront[data-brand="impelal"].impelal-cinematic-home header.site-header {
    isolation:isolate;
    background:transparent;
    border-bottom-color:transparent;
}
.storefront[data-brand="impelal"].impelal-cinematic-home header.site-header::before {
    content:"";
    position:absolute;
    inset:0 0 -1px;
    z-index:-1;
    pointer-events:none;
    opacity:0;
    background:linear-gradient(100deg,#fffffff7 38%,#eaf5fbf5);
    border-bottom:1px solid #dbe8ef;
}
.storefront[data-brand="impelal"].impelal-cinematic-home header.site-header:is(.is-scrolled,.is-menu-open,.is-search-open)::before {
    opacity:1;
}
@media (prefers-reduced-motion:no-preference) {
    .storefront.impelal-cinematic-home header.site-header::before {
        transition:opacity .42s var(--im-home-ease);
    }
    .storefront.impelal-cinematic-home header.site-header .store-nav a {
        transition:color .36s ease,text-shadow .36s ease;
    }
    .storefront.impelal-cinematic-home header.site-header .header-actions :is(a,button) {
        transition:background-color .36s ease,color .36s ease,border-color .36s ease;
    }
}
.storefront[data-brand="impelal"].impelal-cinematic-home header.site-header:not(.is-scrolled,.is-menu-open,.is-search-open) .store-nav a {
    color:#fff;
    text-shadow:0 1px 4px #0b1925;
}
.storefront[data-brand="impelal"].impelal-cinematic-home header.site-header:not(.is-scrolled,.is-menu-open,.is-search-open) .header-actions :is(a,button) {
    color:#fff;
    background-color:#152c3ce8;
    border-color:#d1e7f36b;
}
.storefront[data-brand="impelal"].impelal-cinematic-home header.site-header:not(.is-scrolled,.is-menu-open,.is-search-open) .header-actions :is(a,button):is(:hover,:focus-visible) {
    background:#30536a;
    border-color:#b6deee;
}
@media (max-width:760px) {
    .storefront header.site-header .header-main {column-gap:10px;}
    .storefront header.site-header .header-actions {gap:3px;}
    .storefront header.site-header .store-brand {margin-inline-end:auto;}
    .storefront header.site-header .header-wordmark--prism {font-size:1rem;}
    .storefront[data-brand="impelal"] header.site-header.is-menu-open .store-nav {background:#f8fcfe;}
}
@media (max-width:360px) {
    .storefront header.site-header .header-main {padding-inline:8px; column-gap:7px;}
    .storefront header.site-header .header-wordmark--prism {font-size:.86rem;}
    .storefront header.site-header .header-actions {gap:2px;}
    .storefront header.site-header .header-actions :is(.account-link,.cart-link,.header-search-toggle,.mobile-nav) {
        width:35px; min-width:35px; height:44px;
    }
}
.storefront[data-brand="impelal"] .store-footer {
    background:linear-gradient(120deg,#fff 16%,#f7fbfd 52%,#e7f3f9);
    color:#193950;
    border-top:1px solid #d3e3ec;
}
.storefront[data-brand="impelal"] .store-footer img.footer-logo {
    background:none; border-radius:0; mix-blend-mode:normal; filter:none;
}
.storefront[data-brand="impelal"] .store-footer a.footer-prism-mark {
    display:grid; grid-template-columns:auto auto; align-items:center; justify-content:start;
    gap:2px 9px; width:fit-content; color:#614827; margin-block:17px 0;
    font:500 1.25rem/1.1 Georgia,serif; letter-spacing:.12em;
}
.storefront[data-brand="impelal"] .store-footer .footer-prism-mark small {
    grid-column:1/-1; font:500 .72rem/1.4 Arial,sans-serif; letter-spacing:.015em;
}
.storefront .store-footer .footer-bottom {
    padding-inline-end:max(84px,calc(clamp(16px,3vw,36px) + 72px));
}
.storefront[data-brand="impelal"] .footer-bottom {border-color:#cadfe9;}
