/* Compact storefront navigation. Kept separate for small NIC releases. */
.store-header{position:sticky;top:0;z-index:25;background:#fff;transform:translateY(0);transition:transform .24s ease,visibility 0s;box-shadow:0 1px 0 #eceef2}
.store-header.is-hidden{transform:translateY(-100%);visibility:hidden;transition:transform .24s ease,visibility 0s .24s}
.store-header .mainhead{gap:20px;flex-wrap:nowrap;padding-top:18px;padding-bottom:18px}
.store-header .brand-home{flex:0 0 200px}
.store-header .wordmark{width:200px}
.store-header .search{margin-left:8px}
.store-header .search input{min-width:0;font-size:16px}
.store-header .search button{flex:0 0 48px;display:grid;place-items:center}
.store-header svg,.store-menu svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.store-header .headact{gap:18px;flex-shrink:0}
.store-header .iconbtn{min-width:44px;min-height:44px;justify-content:center}
.store-header .badge{right:0;top:0}
.store-header .nav{gap:28px;padding-bottom:14px;scrollbar-width:none}
.store-header .nav::-webkit-scrollbar{display:none}
.menu-toggle,.menu-close{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;border-radius:12px;background:#f4f5f7}
.menu-toggle:hover,.menu-close:hover{background:#eaecef}
.store-header button:focus-visible,.store-header input:focus-visible,.store-menu :focus-visible{outline:3px solid #345ce5;outline-offset:3px}
#products{scroll-margin-top:calc(var(--store-header-height,120px) + 16px)!important}
.store-menu{position:fixed;inset:0 auto 0 0;margin:0;width:min(390px,calc(100vw - 28px));height:100%;height:100dvh;max-width:none;max-height:none;padding:0;border:0;background:#fff;color:#202329;box-shadow:12px 0 48px #20232925;overflow:hidden}
.store-menu[open]{display:flex;flex-direction:column}
.store-menu::backdrop{background:#18202b66;backdrop-filter:blur(2px)}
.store-menu-head{display:flex;align-items:center;justify-content:space-between;padding:20px 22px 16px;padding-top:max(20px,env(safe-area-inset-top));border-bottom:1px solid #eceef2;flex-shrink:0}
.store-menu-head h2{font-size:24px;margin:0;letter-spacing:-.5px}
.store-menu-scroll{overflow-y:auto;overscroll-behavior:contain;padding:20px 22px max(24px,env(safe-area-inset-bottom));-webkit-overflow-scrolling:touch}
.store-menu .menu-account{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f5f6fa;padding:16px;border-radius:12px;font-weight:650;font-size:14px;line-height:1.4}
.menu-section{border-bottom:1px solid #eceef2;padding:20px 0 16px}
.menu-section:last-child{border-bottom:0;padding-bottom:0}
.menu-section h3{font-size:11px;letter-spacing:1.2px;text-transform:uppercase;color:#848891;margin:0 0 9px;font-weight:600}
.menu-section button,.menu-section a{display:block;width:100%;text-align:left;min-height:44px;padding:12px 8px;border-radius:8px;font-size:15px;line-height:1.35}
.menu-section button:hover,.menu-section a:hover{background:#f5f6f8}
.store-menu .menu{position:static;display:grid;gap:0;width:auto;margin:0;padding:0;border:0;box-shadow:none;border-radius:0}
.store-menu .menu-sale{color:#c62836;font-weight:650}
.mobilebar{padding-bottom:max(16px,env(safe-area-inset-bottom))}
@media(max-width:1100px){.store-header .mainhead{gap:12px}.store-header .brand-home{flex-basis:172px}.store-header .wordmark{width:172px}.store-header .headact{gap:10px}.store-header .search{margin-left:0}}
@media(max-width:760px){
  .store-header .mainhead{display:flex;flex-wrap:wrap;gap:8px;padding:10px 16px 12px}
  .store-header .brand-home{flex:1 1 100px;min-width:0}
  .store-header .wordmark{width:100%;max-width:172px}
  .store-header .headact{margin-left:0;gap:2px}
  .store-header .iconbtn{width:40px;min-width:40px;height:44px;padding:8px}
  .store-header .action-label,.store-header .optional,.store-header .nav{display:none}
  .store-header .search{order:3;flex:1 0 100%;width:100%;min-width:0;border-radius:12px;background:#f3f4f6;padding:0;min-height:44px}
  .store-header .search input{padding:11px 14px;background:transparent;border-radius:12px 0 0 12px;color:#202329}
  .store-header .search button{color:#555e6a;flex-basis:44px}
  .store-header .badge{top:1px;right:0;font-size:9px;min-width:16px;text-align:center}
  .menu-toggle{background:transparent}
  .mobilebar button{min-height:30px}
}
@media(prefers-reduced-motion:reduce){.store-header,.store-header.is-hidden{transition:none}}

/* Header design 01: shared search/promo space, brand black and red. */
.store-header .search{flex:1 1 0;min-width:0;margin-left:8px;background:#fff;border:2px solid #202124;padding:0;min-height:48px;border-radius:12px;overflow:hidden}
.store-header .search input{background:#fff;color:#202124;border-radius:0;padding:13px 16px;font-size:15px}
.store-header .search input::placeholder{color:#595b60;opacity:1}
.store-header .search button{background:#202124;color:#cc3f43;flex:0 0 48px;width:48px}
.store-header .search:focus-within{outline:2px solid #c63c43;outline-offset:3px}
.store-header .search input:focus-visible{outline:none}
.store-header button:focus-visible{outline-color:#c63c43}
.header-promo{flex:1 1 0;min-width:0;display:flex;align-items:center;justify-content:center;gap:16px}
.promo-trigger{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:10px 14px;border-radius:12px;background:#fff0f0;color:#a72d35;font-size:12px;font-weight:750;line-height:1.25;letter-spacing:.35px}
.promo-trigger:hover{background:#fbe2e4}
.promo-gift{display:grid;place-items:center;font-size:23px;font-weight:750;line-height:1}
.header-promo-state{display:flex;flex-direction:column;gap:2px;white-space:nowrap}
.header-promo-state[hidden]{display:none}
.promo-caption{font-size:10px;color:#777b83}
.header-promo-time{font-size:27px;line-height:1.1;font-weight:750;letter-spacing:1px;color:#202124;font-variant-numeric:tabular-nums}
.header-promo.is-ending .header-promo-time{color:#b92e3b}
.promo-window{text-align:center;padding:18px 10px 8px}
.promo-window .promo-reward{margin:24px 0;font-size:76px;line-height:1;font-weight:800;letter-spacing:-4px;color:#b92e3b}
.promo-window .promo-clock{font-size:36px;margin:16px 0}
.promo-window p{line-height:1.6}
.promo-window .promo-terms{font-size:13px;color:#6f747d}
@media(min-width:761px) and (max-width:1200px){.header-promo{gap:8px}.promo-trigger{padding:10px;font-size:11px}.promo-gift{display:none}.promo-caption{font-size:9px}.header-promo-time{font-size:24px}.store-header .search input{padding:12px 10px;font-size:13px}}
@media(min-width:761px) and (max-width:980px){.header-promo{flex-direction:column;gap:4px}.promo-trigger{min-height:36px;padding:8px 12px}.header-promo-state{flex-direction:row;align-items:center;gap:6px}.promo-caption{font-size:8px}.header-promo-time{font-size:18px}}
@media(max-width:760px){.store-header .search{order:3;flex:1 0 100%;margin:4px 0 0;width:100%;background:#fff;min-height:46px}.store-header .search input{background:#fff;color:#202124;font-size:15px}.store-header .search button{color:#cc3f43}.header-promo{order:4;flex:1 0 100%;justify-content:space-between;gap:12px;padding-top:4px}.promo-trigger{min-height:44px;padding:10px 14px;font-size:12px}.header-promo-time{font-size:25px}.promo-caption{font-size:10px}.promo-window{padding:12px 0 0}.promo-window .promo-reward{font-size:64px}}
/* Step 02: two text-only brand selectors below the hero. */
@font-face{font-family:TonakMontserrat;src:url('/assets/fonts/montserrat-600.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap}
.brandstrip{gap:32px;overflow:visible;flex-wrap:wrap;padding:12px 3px}
.brandstrip .brand-filter{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 4px;color:#27282d;background:transparent;border:0;border-bottom:2px solid transparent;border-radius:0;white-space:nowrap;transition:color .15s,border-color .15s}
.brandstrip .brand-tonak{font-family:TonakMontserrat,Montserrat,Arial,sans-serif;font-size:20px;font-weight:600;letter-spacing:.08em}
.brandstrip .brand-semper{font-family:Didot,Georgia,serif;font-size:21px;font-weight:400;letter-spacing:.19em}
.brandstrip .brand-filter:hover,.brandstrip .brand-filter[aria-pressed=true]{color:#b72f3c;border-bottom-color:#b72f3c}
.brandstrip .brand-filter:focus-visible{outline:2px solid #b72f3c;outline-offset:4px;border-radius:3px}
@media(max-width:760px){.brandstrip{gap:18px;justify-content:center;padding:8px 0}.brandstrip .brand-tonak{font-size:17px}.brandstrip .brand-semper{font-size:17px;letter-spacing:.12em}}
@media(prefers-reduced-motion:reduce){.brandstrip .brand-filter{transition:none}}

/* Keep both controls aligned while their labels and timer change. */
@media(min-width:761px){
  .store-header .search{flex-grow:1.25}
  .store-header .header-promo{flex-grow:.75;gap:10px}
}
.store-header .promo-trigger{
  position:relative;display:inline-grid;place-items:center;
  box-sizing:border-box;min-height:48px;padding:0 12px;
  border:2px solid #202124;border-radius:12px;
  background:#c43940;color:white;white-space:nowrap;
}
.store-header .promo-trigger:hover{background:#af3038}
.store-header .promo-trigger .promo-gift{position:absolute;display:grid;inset:0;opacity:0}
@media(max-width:760px){
  .store-header .promo-trigger,.store-header .search{min-height:46px}
}
@keyframes shlapnik-offer-sign{
  0%,28%{opacity:1} 46%,100%{opacity:0}
}
@keyframes shlapnik-offer-text{
  0%,28%{opacity:0} 46%,100%{opacity:1}
}
@media(prefers-reduced-motion:no-preference){
  .header-promo[data-phase="ready"] .promo-gift{animation:shlapnik-offer-sign 1.45s ease-in-out 3}
  .header-promo[data-phase="ready"] #promo-label{animation:shlapnik-offer-text 1.45s ease-in-out 3}
}

@media(min-width:1101px){
  .store-header .search{margin-left:clamp(28px,4vw,76px)}
  .store-header .header-promo{justify-content:flex-start;flex-grow:.6}
}
.header-promo:has(.header-promo-state:not([hidden])) .promo-trigger,
.header-promo .promo-caption{display:none}
.panel:has(.promo-window){align-self:center;height:auto;max-height:90dvh;border-radius:18px;padding:18px 22px}
.panel .promo-window{padding:8px 0}
.panel .promo-window h2{margin:4px 30px 10px}
.panel .promo-window .promo-reward,.panel .promo-window .promo-clock{margin:10px 0;font-variant-numeric:tabular-nums}
.panel .promo-window p{margin:8px 0;line-height:1.35}

.store-header .header-promo:has(.header-promo-state:not([hidden])){justify-content:center;align-items:center}
.store-header .header-promo-time{font-size:clamp(20px,1.65vw,24px);font-weight:500;letter-spacing:0;color:#303238}
.store-header .header-promo-time .timer-separator{color:#cc3f43;margin-inline:.07em}

#grid .catalog-delivery{margin:7px 0 0;line-height:1.35;text-wrap:balance}

.product-dialog .size-picker{border:0!important;padding:0!important;box-shadow:none;background:transparent}
.product-dialog #detailart{position:relative;touch-action:pan-y}
#detailart .frame-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:42px;height:42px;border-radius:50%;background:#fffffff2;color:#202124;font-size:30px;line-height:1;box-shadow:0 1px 5px #0002}
#detailart .prev{left:8px}#detailart .next{right:8px}
.product-dialog .tone-row{display:flex;gap:12px;flex-wrap:wrap;margin:12px 0 20px}
.product-dialog .tone-row button{max-width:85px;padding:3px;display:grid;justify-items:center;gap:4px;font-size:12px}
.tone-row i{display:block;width:30px;height:30px;border-radius:50%;background:var(--tone);overflow:hidden;border:1px solid #0002}
.other-colors i{width:50px;height:50px;background:white}.other-colors img{width:100%;height:100%;object-fit:contain}
.product-dialog .purchase-bar button.buy{background:#191c22!important;color:#fff!important}
.product-dialog .purchase-bar button.primary{background:#f5ca52!important;color:#191c22!important}

@media(min-width:761px){
  .store-header .mainhead{display:grid;grid-template-columns:auto auto minmax(0,2.6fr) minmax(max-content,1fr) auto;align-items:center}
  .store-header .mainhead .search{width:auto;max-width:none}
  .store-header .mainhead .header-promo{display:grid;place-items:center;justify-content:center}
}
.store-header .header-promo[data-phase="expired"] .promo-gift{display:none}
@media(min-width:761px){
 .store-header .mainhead{grid-template-columns:auto auto minmax(0,2.6fr) minmax(166px,1fr) auto}
}
@media(min-width:761px) and (max-width:880px){
 .store-header .mainhead{column-gap:8px}
 .store-header .mainhead .wordmark{width:110px}
 .store-header .mainhead .brand-home{width:110px}
}
@media(max-width:760px){
 .store-header .mainhead .header-promo{justify-content:center;align-items:center}
}
