/* t396: native pan-y + horizontal snap, mark band, compact captions, Ballu contain */
.ss2026 .ss27-hero{
  --ss27-hero-h:420px;
  margin:0 auto;
  padding:28px 0 8px;
  display:flex;
  flex-direction:column;
  gap:16px;
}
.ss2026 .ss27-hero-nav{
  display:flex;
  align-items:center;
  gap:12px;
  min-height:40px;
}
.ss2026 .ss27-hero-tabs{
  display:flex;
  flex-wrap:nowrap;
  gap:4px 18px;
  align-items:center;
  min-width:0;
  flex:1;
  overflow-x:auto;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}
.ss2026 .ss27-hero-tabs::-webkit-scrollbar{display:none}
.ss2026 .ss27-hero-tabs button{
  appearance:none;
  background:none;
  border:0;
  border-bottom:2px solid transparent;
  margin:0;
  padding:6px 0;
  font:inherit;
  font-size:14px;
  font-weight:600;
  line-height:1.3;
  color:#6b6e75;
  cursor:pointer;
  border-radius:0;
  min-height:32px;
  flex:none;
  white-space:nowrap;
}
.ss2026 .ss27-hero-tabs button[aria-selected=true]{
  color:var(--ink,#161616);
  border-bottom-color:var(--ink,#161616);
}
.ss2026 .ss27-hero-tabs button:hover{color:var(--ink,#161616)}
.ss2026 .ss27-hero-tabs button:focus-visible{
  outline:2px solid #161616;
  outline-offset:3px;
}
.ss2026 .ss27-hero-controls{
  display:flex;
  gap:6px;
  margin-left:auto;
  flex:none;
}
.ss2026 .ss27-hero-controls button{
  width:36px;
  height:36px;
  padding:0;
  border:1px solid var(--line,#dedfe1);
  border-radius:8px;
  background:#fff;
  color:var(--ink,#161616);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.ss2026 .ss27-hero-controls button:hover{border-color:#161616}
.ss2026 .ss27-hero-controls button:focus-visible{outline:2px solid #161616;outline-offset:2px}
.ss2026 .ss27-hero-controls button[aria-pressed=true]{background:#f3f4f6}
.ss2026 .ss27-hero-controls svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ss2026 .ss27-hero-controls .icon-play{display:none}
.ss2026 .ss27-hero-controls button[aria-pressed=true] .icon-pause{display:none}
.ss2026 .ss27-hero-controls button[aria-pressed=true] .icon-play{display:block}

.ss2026 .ss27-hero-viewport{
  display:block;
  overflow-x:auto;
  overflow-y:hidden;
  overflow-y:clip;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  scrollbar-width:none;
  overscroll-behavior-x:contain;
  overscroll-behavior-y:auto;
  /* pan-x один запирает вертикальный жест страницы на iOS Safari. manipulation = pan-x + pan-y. */
  touch-action:manipulation;
  border-radius:0;
  position:relative;
}
.ss2026 .ss27-hero-viewport *{touch-action:manipulation}
.ss2026 .ss27-hero-viewport::-webkit-scrollbar{display:none}
.ss2026 .ss27-hero-track{
  display:flex;
  width:max-content;
  height:100%;
}
.ss2026 .ss27-hero-slide{
  flex:0 0 auto;
  box-sizing:border-box;
  scroll-snap-align:start;
  scroll-snap-stop:always;
  overflow:hidden;
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
  gap:36px;
  align-items:center;
  height:var(--ss27-hero-h);
  min-height:var(--ss27-hero-h);
  max-height:var(--ss27-hero-h);
  padding:8px 0 12px;
}
.ss2026 .ss27-hero-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:0;
  height:100%;
}
.ss2026 .ss27-hero-copy h1,
.ss2026 .ss27-hero-copy h2{
  margin:0;
  font-size:clamp(34px,3.6vw,48px);
  line-height:1.12;
  letter-spacing:-.035em;
  font-weight:650;
  max-width:16ch;
}
.ss2026 .ss27-hero-copy mark{
  margin:0;
  padding:0 .08em;
  background-color:transparent;
  background-image:linear-gradient(#ffff33,#ffff33);
  background-repeat:no-repeat;
  /* Полоса ниже верха em-квадрата: у Manrope над буквами больше пустоты, чем под ними. */
  background-size:100% .62em;
  background-position:0 .46em;
  -webkit-box-decoration-break:clone;
  box-decoration-break:clone;
}
.ss2026 .ss27-hero-copy p{
  margin:16px 0 0;
  font-size:16px;
  line-height:1.6;
  max-width:42ch;
  color:#3d3f44;
}
.ss2026 .ss27-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:22px;
}
.ss2026 .ss27-hero-actions .button{
  min-height:46px;
  min-width:168px;
  padding:0 18px;
  font-size:15px;
  font-weight:650;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
}
.ss2026 .ss27-hero-actions .button.secondary{
  background:#fff;
  border:1px solid var(--line,#dedfe1);
  color:var(--ink,#161616);
}
.ss2026 .ss27-hero-media{
  position:relative;
  margin:0;
  height:100%;
  min-height:0;
  border-radius:var(--radius,14px);
  overflow:hidden;
  background:#eff1f2;
}
.ss2026 .ss27-hero-media img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
}
.ss2026 .ss27-hero-media figcaption{
  position:absolute;
  left:12px;
  bottom:12px;
  right:auto;
  max-width:min(230px,46%);
  margin:0;
  background:#fff;
  border-radius:8px;
  padding:7px 9px;
  font-size:12.5px;
  line-height:1.35;
  color:#161616;
  box-shadow:0 1px 0 rgba(0,0,0,.04);
}
.ss2026 #hero-heat .ss27-hero-media{background:#f3f0ea}
.ss2026 #hero-heat .ss27-hero-media img{
  object-fit:contain;
  object-position:center;
}
.ss2026 #hero-heat .ss27-hero-media figcaption{
  max-width:min(196px,38%);
  padding:6px 8px;
  font-size:12px;
}
.ss2026 .ss27-hero-media figcaption strong{display:inline;font-weight:650}
.ss2026 .ss27-hero-media figcaption small{display:block;margin-top:4px;color:#5b5d60;font-size:12px}
.ss2026 .ss27-hero-media .store-location{
  display:flex;
  gap:6px;
  align-items:flex-start;
  margin-top:6px;
  font-size:12px;
  color:#5b5d60;
}
.ss2026 .ss27-hero-media .store-location .icon{width:14px;height:14px;flex:none;margin-top:2px}

@media(max-width:1190px){
  .ss2026 .ss27-hero{--ss27-hero-h:400px;padding-top:22px}
  .ss2026 .ss27-hero-slide{gap:28px}
  .ss2026 .ss27-hero-copy h1,.ss2026 .ss27-hero-copy h2{font-size:clamp(30px,3.4vw,42px)}
}
@media(max-width:960px){
  .ss2026 .ss27-hero{--ss27-hero-h:380px}
  .ss2026 .ss27-hero-slide{gap:22px}
}

/* Mobile: dot indicators, no text tabs or arrow controls, fit under header on 390×844 */
@media(max-width:700px){
  .ss2026 .ss27-hero{
    --ss27-hero-h:auto;
    padding:10px 0 4px;
    gap:8px;
  }
  .ss2026 .ss27-hero-nav{justify-content:center;gap:0;min-height:0}
  .ss2026 .ss27-hero-controls{display:none}
  .ss2026 .ss27-hero-tabs{flex:none;justify-content:center;gap:2px;overflow:visible}
  .ss2026 .ss27-hero-tabs button{
    position:relative;
    width:28px;
    height:22px;
    min-height:22px;
    padding:0;
    border:0;
    background:transparent;
    color:transparent;
  }
  .ss2026 .ss27-tab-label{
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    margin:-1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
    white-space:nowrap;
    border:0;
  }
  .ss2026 .ss27-hero-tabs button::before{
    content:"";
    display:block;
    width:7px;
    height:7px;
    margin:0 auto;
    border-radius:99px;
    background:#c5c6ca;
  }
  .ss2026 .ss27-hero-tabs button[aria-selected=true]{border:0;color:transparent}
  .ss2026 .ss27-hero-tabs button[aria-selected=true]::before{width:16px;background:#161616}
  .ss2026 .ss27-hero-tabs button:focus-visible{outline-offset:1px}
  .ss2026 .ss27-hero-slide{
    grid-template-columns:1fr;
    gap:10px;
    height:auto;
    min-height:0;
    max-height:none;
    padding:2px 0 6px;
  }
  .ss2026 .ss27-hero-copy{height:auto;display:contents}
  .ss2026 .ss27-hero-copy h1,
  .ss2026 .ss27-hero-copy h2{
    grid-row:1;
    font-size:clamp(26px,7vw,32px);
    max-width:none;
  }
  .ss2026 .ss27-hero-copy p{
    grid-row:2;
    margin:0;
    font-size:14px;
    line-height:1.45;
    max-width:none;
  }
  .ss2026 .ss27-hero-media{
    grid-row:3;
    display:flex;
    flex-direction:column;
    gap:6px;
    height:auto;
    aspect-ratio:auto;
    overflow:visible;
    background:transparent;
    border-radius:0;
    width:100%;
  }
  .ss2026 .ss27-hero-media img{
    position:relative;
    inset:auto;
    width:100%;
    height:auto;
    aspect-ratio:3/2;
    border-radius:12px;
    background:#eff1f2;
  }
  .ss2026 #hero-heat .ss27-hero-media img{
    object-fit:contain;
    object-position:center;
    background:#f3f0ea;
  }
  .ss2026 .ss27-hero-actions{
    grid-row:4;
    margin:0;
    flex-direction:row;
    flex-wrap:nowrap;
    gap:8px;
  }
  .ss2026 .ss27-hero-actions .button{
    flex:1;
    min-width:0;
    min-height:44px;
    font-size:13px;
    padding:0 8px;
  }
  .ss2026 .ss27-hero-media figcaption,
  .ss2026 #hero-heat .ss27-hero-media figcaption{
    position:static;
    left:auto;
    right:auto;
    bottom:auto;
    max-width:none;
    width:100%;
    margin:0;
    padding:0;
    background:transparent;
    border-radius:0;
    box-shadow:none;
    font-size:12px;
    line-height:1.35;
  }
  .ss2026 .ss27-hero-media figcaption small{display:block;margin-top:2px;font-size:10px}
  .ss2026 .ss27-hero-media .store-location{font-size:10px;margin-top:3px}
  .ss2026 .ss27-hero-media .store-location br{display:none}
}

@media(prefers-reduced-motion:reduce){
  .ss2026 .ss27-hero-viewport{scroll-behavior:auto}
}

/* Hero refinement 20261107: original desktop height; compact mobile. */
.ss2026 .ss27-hero-copy mark{background-size:100% 1.05em;background-position:0 .24em}
.ss2026 #hero-heat .ss27-hero-media img{object-fit:cover;object-position:center top}
.ss2026 #hero-heat .ss27-hero-media figcaption{width:fit-content;max-width:calc(100% - 24px);box-sizing:border-box;padding:7px 9px;font-size:12px;line-height:1.4}
@media(max-width:700px){
.ss2026 .ss27-hero-copy p{display:none}
.ss2026 .ss27-hero-copy h1,.ss2026 .ss27-hero-copy h2{min-height:3.6em;font-size:clamp(24px,6.7vw,32px);line-height:1.2}
.ss2026 .ss27-hero-media{grid-row:2}
.ss2026 .ss27-hero-media img{aspect-ratio:3/2;object-fit:cover}
.ss2026 .ss27-hero-media figcaption,.ss2026 #hero-heat .ss27-hero-media figcaption{display:none}
.ss2026 .ss27-hero-actions{grid-row:3}
.ss2026 .ss27-hero-actions .button{line-height:1.2;text-align:center;min-height:48px;padding:8px}
.ss2026 .ss27-hero-tabs button:hover{color:transparent}
}

.ss2026 #hero-heat .ss27-hero-media figcaption small{font-size:11.5px;line-height:1.4;max-width:none;width:auto;margin-top:3px}

/* Store caption: address is the primary detail. */
.ss2026 #hero-cool .ss27-hero-media figcaption{color:#5b5d60}
.ss2026 #hero-cool .store-location{color:#161616;font-weight:650;font-size:12.5px;line-height:1.5}
.ss2026 #hero-cool .ss27-address-street{white-space:nowrap}

/* Mobile descriptions below the existing photos. */
@media(max-width:700px){
.ss2026 .ss27-hero-slide{row-gap:14px;padding-bottom:22px}
.ss2026 .ss27-hero-copy p{display:block;grid-row:3;margin:0;padding:12px 14px;background:#fff;border:1px solid #e6e6e6;border-radius:12px;font-size:14px;line-height:1.5;color:#3d3f44;box-sizing:border-box;min-height:calc(4.5em + 26px)}
.ss2026 .ss27-hero-media{grid-row:2}
.ss2026 .ss27-hero-actions{grid-row:4;margin:2px 0 0}
}

/* Requested caption adjustments only. */
@media(min-width:701px){
.ss2026 #hero-heat .ss27-hero-media figcaption{bottom:4px;padding:5px 8px;font-size:11.5px;line-height:1.35}
.ss2026 #hero-heat .ss27-hero-media figcaption small{font-size:11px;line-height:1.35;margin-top:2px}
}
@media(max-width:700px){
.ss2026 #hero-cool .ss27-hero-media figcaption{display:block;position:absolute;left:10px;bottom:10px;right:auto;width:fit-content;max-width:min(230px,calc(100% - 20px));box-sizing:border-box;padding:7px 9px;border-radius:8px;background:#fff;font-size:11px;line-height:1.4}
.ss2026 #hero-cool .ss27-hero-media .store-location{font-size:11.5px;line-height:1.4;margin-top:5px}
.ss2026 #hero-cool .ss27-hero-media .store-location br{display:initial}
}

@media(min-width:1100px){.ss2026 #hero-heat .ss27-hero-media img{object-position:center -12px}}
@media(max-width:700px){
.ss2026 #hero-cool .ss27-hero-copy p{display:none}
.ss2026 #hero-cool .ss27-hero-media{gap:14px}
.ss2026 #hero-cool .ss27-hero-media figcaption{position:static;inset:auto;width:100%;max-width:none;min-height:0;padding:12px 14px;border:1px solid #e6e6e6;border-radius:12px;background:#fff;font-size:14px;line-height:1.5}
.ss2026 #hero-cool .ss27-hero-media .store-location{font-size:12.5px;line-height:1.5}
.ss2026 #hero-cool .ss27-hero-actions{grid-row:3}
}

/* Compact mobile copy and address-first store caption. */
@media(max-width:700px){
.ss2026 .ss27-hero-copy p{font-size:13px;line-height:1.5}
.ss2026 #hero-cool .ss27-hero-media figcaption{align-self:flex-start;width:fit-content;max-width:100%;padding:10px 12px;font-size:12px;line-height:1.5}
.ss2026 #hero-cool .ss27-hero-media .store-location{font-size:13px;font-weight:650;line-height:1.5;margin-top:6px;color:#161616}
}

/* Keep mobile carousel copy compact, including Safari text autosizing. */
@media(max-width:700px){.ss2026 .ss27-hero{-webkit-text-size-adjust:100%;text-size-adjust:100%}.ss2026 #hero-heat .ss27-hero-copy p,.ss2026 #hero-trace .ss27-hero-copy p{font-size:13px;line-height:1.5}}
.ss2026 .ss27-hero-actions .button:not(.secondary){border:1px solid #c4c42b;box-shadow:0 2px 4px rgba(22,22,22,.12)}

@media(min-width:701px){
.ss2026 .ss27-hero-copy{justify-content:space-between;box-sizing:border-box;padding:12px 0 18px}
.ss2026 .ss27-hero-copy p{margin-top:20px}
.ss2026 .ss27-hero-actions{margin-top:24px}
}
@media(min-width:701px) and (max-width:960px){.ss2026 .ss27-hero-copy{padding:6px 0 10px}.ss2026 .ss27-hero-copy p{margin-top:14px;line-height:1.5}.ss2026 .ss27-hero-actions{margin-top:16px}}
