/* 2027 Spring Catalog viewer — page-specific; site chrome uses /css/site.css */

.preview-bar a{color:var(--navy);font-weight:800}

.catalog-hero{padding-bottom:clamp(1.4rem,3vw,2.2rem)}
.catalog-hero .ctas{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.3rem}

.catalog-band{
  background:var(--navy);
  padding:clamp(1.2rem,3vw,2rem) 0 clamp(2rem,4vw,3rem);
}
.catalog-band .viewer-wrap{width:min(1240px,100% - 1.5rem);margin-inline:auto}

.viewer{
  background:#000B26;
  border:1px solid rgba(255,255,255,.08);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.viewer-toolbar{
  display:flex;align-items:center;justify-content:space-between;gap:.75rem;
  flex-wrap:wrap;
  padding:.7rem .85rem;
  border-bottom:1px solid rgba(255,255,255,.08);
  color:#DCE2EF;
}
.viewer-toolbar .group{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap}
.viewer-counter{
  font-weight:750;font-size:.92rem;letter-spacing:.02em;
  min-width:9.5rem;text-align:center;color:#fff;
}
.vbtn{
  display:inline-flex;align-items:center;justify-content:center;gap:.35rem;
  min-height:42px;min-width:42px;padding:.4rem .8rem;
  border-radius:999px;border:1px solid rgba(255,255,255,.16);
  background:transparent;color:#fff;font:inherit;font-weight:750;font-size:.9rem;
  cursor:pointer;
}
.vbtn:hover,.vbtn:focus-visible{background:rgba(255,255,255,.08);outline:none}
.vbtn:focus-visible{box-shadow:0 0 0 3px var(--gold)}
.vbtn:disabled{opacity:.38;cursor:not-allowed}
.vbtn[aria-pressed="true"]{background:var(--gold);color:var(--navy);border-color:var(--gold)}
.vbtn.gold{background:var(--gold);color:var(--navy);border-color:var(--gold)}
.vbtn.gold:hover,.vbtn.gold:focus-visible{background:#ffc24a}
.vbtn svg{width:18px;height:18px;flex:none}

.viewer-stage{
  position:relative;
  display:flex;align-items:center;justify-content:center;
  gap:0;
  min-height:min(72vh,820px);
  padding:1rem 3.1rem 1.1rem;
  overflow:auto;
  touch-action:pan-y;
  background:
    radial-gradient(900px 420px at 50% 0%,rgba(253,173,13,.08),transparent 60%),
    #000B26;
}
.viewer-stage.is-panning{cursor:grabbing;user-select:none}
.spread{
  display:flex;align-items:stretch;justify-content:center;
  gap:0;
  min-width:0;max-width:100%;
  transform:scale(var(--zoom,1));
  transform-origin:center center;
  transition:transform .2s ease;
}
@media (prefers-reduced-motion:reduce){
  .spread{transition:none}
}
.leaf{
  margin:0;background:#111;
  box-shadow:0 12px 40px -16px rgba(0,0,0,.7);
  line-height:0;
  min-width:0;max-width:min(520px,42vw);flex:1 1 0;
}
.leaf img{
  width:100%;
  height:auto;
  aspect-ratio:1219 / 1600;
  background:#1a1a1a;
  user-select:none;-webkit-user-drag:none;
}
.leaf.is-blank{
  width:100%;
  aspect-ratio:1219 / 1600;
  background:rgba(255,255,255,.03);
  box-shadow:none;
}
.leaf.left{border-radius:4px 0 0 4px}
.leaf.right{border-radius:0 4px 4px 0}
.viewer.is-single .leaf.left,
.viewer.is-single .leaf.is-blank{display:none}
.viewer.is-single .spread{width:100%}
.viewer.is-single .leaf.right{border-radius:4px;max-width:min(560px,100%);flex:1 1 auto}

.nav-arrow{
  position:absolute;top:50%;transform:translateY(-50%);
  z-index:2;
  width:48px;height:48px;min-width:48px;padding:0;
  border-radius:50%;
  background:rgba(255,253,248,.95);color:var(--navy);
  border:0;box-shadow:var(--shadow);
}
.nav-arrow:hover,.nav-arrow:focus-visible{background:var(--gold)}
.nav-arrow:disabled{opacity:.3;background:rgba(255,255,255,.2);color:#fff}
.nav-arrow.prev{left:.7rem}
.nav-arrow.next{right:.7rem}

.thumbs-wrap{
  border-top:1px solid rgba(255,255,255,.08);
  padding:.7rem .6rem .85rem;
}
.thumbs{
  display:flex;gap:.45rem;overflow-x:auto;padding:.15rem .2rem .35rem;
  scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;
}
.thumbs button{
  flex:none;margin:0;padding:0;border:2px solid transparent;border-radius:6px;
  background:transparent;cursor:pointer;scroll-snap-align:center;line-height:0;
}
.thumbs button img{width:64px;height:auto;aspect-ratio:240 / 315;border-radius:4px;background:#1a1a1a}
.thumbs button[aria-current="true"]{border-color:var(--gold)}
.thumbs button:focus-visible{outline:none;box-shadow:0 0 0 3px var(--gold)}

.viewer-hint{margin:.75rem 0 0;text-align:center;color:#AEB8CF;font-size:.82rem}

/* Fullscreen: give the stage more room */
.viewer:fullscreen{background:#000B26;height:100%;display:flex;flex-direction:column}
.viewer:fullscreen .viewer-stage{flex:1;min-height:0}
.viewer:fullscreen .leaf{max-width:min(620px,44vw)}
.viewer:fullscreen.is-single .leaf.right{max-width:min(70vh,80vw)}

@media (max-width:839px){
  .viewer-stage{padding:.85rem .85rem 1rem;min-height:0}
  .nav-arrow{display:none}
  .viewer-counter{min-width:0}
  .vbtn.lbl .txt{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
}
@media (max-width:480px){
  .viewer-toolbar{padding:.55rem .55rem}
  .nav-arrow{width:42px;height:42px;min-width:42px}
  .nav-arrow.prev{left:.4rem}
  .nav-arrow.next{right:.4rem}
}

/* Keep the mobile CTA from covering the thumbnail strip */
@media (max-width:759px){
  .catalog-band{padding-bottom:1.2rem}
}
