/* The existing .hero supplies the same film treatment as the original Store. */
.terminal-store { isolation:isolate; background:#121f36 url("store-film-poster.jpg") center/cover no-repeat; }
.terminal-store .hero-bg { pointer-events:none; }
.terminal-store .wrap { max-width:830px; padding:clamp(57px,8vh,88px) 22px 68px; }
.terminal-store h1 { font-size:clamp(27px,3vw,36px); line-height:1.26; letter-spacing:-.045em; margin:0 0 12px; }
.terminal-store h1 .y { color:#efd083; }
.terminal-store .hero-trust { margin:0 0 20px; gap:8px; }
.terminal-store .hero-trust span { background:rgba(13,27,50,.80); color:#f4f7fa; font-size:14px; }
.store-panels { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; max-width:754px; margin:auto; }
.store-panel { padding:18px 20px 12px; border:1px solid rgba(215,226,243,.28); border-radius:16px; background:rgba(12,24,47,.85); text-align:left; }
.store-panel h2 { display:inline-block; margin:0 0 9px; padding:4px 12px; border:1px solid #467f76; border-radius:24px; background:#203f41; color:#f8fffe; font-size:16px; line-height:1.6; font-weight:750; }
.store-panel + .store-panel h2 { border-color:#526d99; background:#283c61; }
.store-panel ul { list-style:none; padding:0; margin:0; }
.store-panel li { margin:0; scroll-margin-top:90px; }
.store-panel li + li { border-top:1px solid rgba(224,233,248,.12); }
.store-panel a { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:8px 2px; min-height:44px; color:#fff; line-height:1.4; text-decoration:none; }
.store-panel strong { font-size:17px; letter-spacing:-.035em; }
.store-panel a span { color:#dce5f2; font-size:14px; font-weight:550; text-align:right; }
.store-panel a:hover strong,.store-phone:hover { text-decoration:underline; text-underline-offset:3px; }
.store-actions { display:flex; justify-content:center; flex-wrap:wrap; gap:9px; margin-top:18px; }
.store-actions a { border:1px solid transparent; border-radius:9px; padding:13px 20px; font-size:16px; line-height:1.45; font-weight:750; text-decoration:none; }
.store-actions .store-consult { color:#182131; background:#ffda62; }
.store-actions .store-phone { color:white; border-color:#8490a2; background:rgba(28,42,64,.87); }
.film-control { position:absolute; bottom:8px; right:22px; min-height:44px; padding:7px 9px; display:inline-flex; align-items:center; gap:7px; background:transparent; border:0; color:#fff; font:inherit; font-size:13px; cursor:pointer; }
.film-control::before { content:""; width:8px; height:10px; border-inline:3px solid currentColor; box-sizing:border-box; }
.film-control[data-paused="true"]::before { width:0; height:0; border:0; border-left:8px solid; border-block:5px solid transparent; }
.film-control[hidden] { display:none; }
.terminal-store :is(a,button):focus-visible,.product-routes a:focus-visible { outline:3px solid #ffdc74; outline-offset:2px; }
@media(max-width:700px) {
  .terminal-store .wrap { max-width:510px; padding:30px 16px 56px; }
  .terminal-store h1 { font-size:clamp(21px,6vw,29px); }
  .terminal-store .hero-trust { margin-bottom:14px; }
  .terminal-store .hero-trust span { font-size:13px; padding:3px 10px; }
  .store-panels { grid-template-columns:1fr; gap:9px; }
  .store-panel { padding:11px 15px 4px; border-radius:12px; }
  .store-panel h2 { margin:0 0 2px; font-size:15px; padding:2px 10px; }
  .store-panel a { padding:6px 0; }
  .store-actions { gap:7px; margin-top:12px; }
  .store-actions a { padding:11px; font-size:15px; }
  .film-control { right:auto; left:50%; transform:translateX(-50%); bottom:5px; }
}

/* Routes from product detail to consultation and comparison. */
.hero .product-routes { position:relative; z-index:3; display:flex; flex-wrap:wrap; justify-content:center; gap:8px 14px; margin:0 auto 24px; }
.hero .product-routes a { display:inline-flex; align-items:center; min-height:44px; padding:9px 12px; color:#174c81; font-weight:700; font-size:15px; text-decoration:underline; text-underline-offset:3px; }
.hero .product-routes a:first-child { border-radius:8px; background:#13467e; color:white; text-decoration:none; padding-inline:17px; }
.hero:has(.product-routes)::after { pointer-events:none; }
.hero:has(.product-routes) .hero-sub { margin-bottom:16px; color:#415369; }
.hero:has(.product-routes) .hero-img img { max-height:45vh; width:100%; object-fit:contain; }
@media(max-width:650px){.hero .product-routes{gap:2px 6px}.hero .product-routes a { font-size:14px; padding-inline:8px; }}
@media(prefers-reduced-motion:reduce){.hero:has(.product-routes) .hero-img{animation:none}}

/* Match the 1.3s reading rhythm of the Store's installation-advice cards. */
.store-panel strong {
  padding:2px 6px;
  margin:-2px -6px;
  border-radius:6px;
  transform-origin:left center;
  --spot-fill:#25456c;
  --spot-ring:0 0 0 1px #749ac5, 0 4px 10px rgb(5 15 33 / 30%);
}
.store-panel a:focus-visible strong { background:var(--spot-fill); box-shadow:var(--spot-ring); }
@media (hover:hover) {
  .store-panels:not(:has(a:focus-visible)) a:hover strong { background:var(--spot-fill); box-shadow:var(--spot-ring); }
}
@media (prefers-reduced-motion:no-preference) {
  .store-panel { --panel-delay:0s; }
  .store-panel + .store-panel { --panel-delay:3.9s; }
  .store-panel li { --row-delay:0s; }
  .store-panel li:nth-child(2) { --row-delay:1.3s; }
  .store-panel li:nth-child(3) { --row-delay:2.6s; }
  .store-panel strong {
    animation:store-label-rise 7.8s ease-in-out infinite;
    animation-delay:calc(var(--panel-delay) + var(--row-delay));
  }
  /* One sixth of the cycle per label, with 280ms for each transition. */
  @keyframes store-label-rise {
    0%,16.6667%,100% { transform:none; background:transparent; box-shadow:none; }
    3.59%,13.08% { transform:translateY(-4px) scale(1.08); background:var(--spot-fill); box-shadow:var(--spot-ring); }
  }
  .store-panels:focus-within strong { animation:none; }
  .store-panel a:focus-visible strong { transform:translateY(-4px) scale(1.08); }
}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .store-panels:has(a:hover) strong { animation:none; }
  .store-panels:not(:has(a:focus-visible)) a:hover strong { transform:translateY(-4px) scale(1.08); }
}
