/* JANUS GOLF preview — design tokens from phase1-plan.md */
:root {
  --ink: #0E1A1F;
  --fairway: #1F3D33;
  --steel: #5A6770;
  --bone: #F4F1EA;
  --paper: #FFFFFF;
  --stone: #D9D4C7;
  --graphite: #2B3237;
  --volt: #C8F03C;
  --signal: #E8622C;
  --success: #2F8F5B;
  --ease: cubic-bezier(.2,.7,.2,1);
  --shadow: 0 8px 32px rgba(14,26,31,.12);
  --max: 1320px;
  --gutter: 48px;
  --nav-h: 72px;
  --announce-h: 36px;
  --font-display: "Archivo", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --header-offset: 108px;
}

@media (min-width: 1440px) { :root { --gutter: 64px; } }
@media (max-width: 1023px) { :root { --gutter: 32px; --nav-h: 60px; --header-offset: 96px; } }
@media (max-width: 767px) { :root { --gutter: 20px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--graphite);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

body.nav-open, body.menu-open, body.search-open, body.chat-open, body.lightbox-open {
  overflow: hidden;
}

.ph {
  font-family: var(--font-mono);
  font-style: italic;
  color: var(--signal);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
  vertical-align: middle;
}
.badge-demo { border: 1px solid var(--signal); color: var(--signal); }
.badge-ph { border: 1px solid var(--steel); color: var(--steel); }

/* Typography */
.display-xl, .display-l, .h1, .h2, .h3, .eyebrow {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.02em;
}
.display-xl { font-size: 96px; line-height: .95; font-stretch: 125%; }
.display-l { font-size: 72px; line-height: 1; font-stretch: 125%; }
.h1 { font-size: 56px; line-height: 1.05; font-stretch: 112%; }
.h2 { font-size: 40px; line-height: 1.1; font-stretch: 112%; }
.h3 { font-size: 28px; line-height: 1.2; font-weight: 700; font-stretch: 100%; text-transform: none; letter-spacing: 0; }
.h4 { font-size: 20px; line-height: 1.3; font-family: var(--font-display); font-weight: 600; }
.body-l { font-size: 18px; line-height: 1.6; }
.small { font-size: 14px; line-height: 1.5; color: var(--steel); }
.eyebrow {
  font-size: 12px;
  letter-spacing: .16em;
  line-height: 1.4;
  font-weight: 700;
  font-stretch: 100%;
  color: var(--steel);
  display: block;
  margin-bottom: 12px;
}
.model-num {
  font-family: var(--font-display);
  font-stretch: 75%;
  font-weight: 600;
  letter-spacing: .02em;
}
.mono { font-family: var(--font-mono); font-size: 14px; line-height: 1.5; }

@media (max-width: 767px) {
  .display-xl { font-size: 48px; }
  .display-l { font-size: 40px; }
  .h1 { font-size: 34px; }
  .h2 { font-size: 28px; }
  .h3 { font-size: 22px; }
  .h4 { font-size: 18px; }
  .body-l { font-size: 17px; }
}

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 96px 0; }
.section-lg { padding: 128px 0; }
@media (max-width: 767px) {
  .section { padding: 48px 0; }
  .section-lg { padding: 64px 0; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
  white-space: nowrap;
}
.btn .arrow { display: inline-block; transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--fairway); }
.btn-secondary { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-secondary:hover { background: var(--ink); color: #fff; }
.btn-on-dark { color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }
.btn-on-dark:hover { background: #fff; color: var(--ink); }
.btn-full { width: 100%; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 13px; }
.text-link {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: text-decoration-color .2s var(--ease);
}
.text-link:hover { text-decoration-color: var(--volt); }
.on-dark .text-link:hover { font-weight: 600; text-decoration-color: var(--volt); }

.btn-amazon-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.btn-amazon-note { font-size: 12px; color: var(--steel); }

/* Announcement */
.announce {
  height: var(--announce-h);
  background: var(--fairway);
  color: #fff;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 81;
  padding: 0 40px;
  text-align: center;
}
.announce[hidden] { display: none; }
body.announce-hidden { --announce-h: 0px; --header-offset: 72px; }
@media (max-width: 1023px) {
  body.announce-hidden { --header-offset: 60px; }
}
.announce-close {
  position: absolute;
  right: 16px;
  top: 0;
  height: 100%;
  width: 36px;
  color: #fff;
  font-size: 18px;
  min-width: 44px;
}

/* Header */
.site-header {
  position: sticky;
  top: var(--announce-h);
  z-index: 80;
  height: var(--nav-h);
  transition: background .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease);
}
.site-header.is-solid,
.site-header.is-open {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 4px 16px rgba(14,26,31,.18);
}
body.home:not(.scrolled) .site-header:not(.is-open) {
  background: transparent;
  color: #fff;
  box-shadow: none;
  position: fixed;
  left: 0; right: 0;
  top: var(--announce-h);
}
body.home { padding-top: 0; }
body:not(.home) .site-header {
  background: var(--ink);
  color: #fff;
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 125%;
  font-size: 22px;
  letter-spacing: .18em;
  color: inherit;
  flex: 0 0 auto;
  margin-right: 16px;
}
.logo span { color: var(--volt); }
.nav-desk {
  display: flex;
  align-items: stretch;
  height: 100%;
  flex: 1;
  gap: 4px;
}
.nav-item { position: static; height: 100%; display: flex; align-items: center; }
.nav-trigger {
  height: 100%;
  padding: 0 14px;
  color: inherit;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
}
.nav-trigger::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 16px;
  height: 2px;
  background: var(--volt);
  transform: scaleX(0);
  transition: transform .2s var(--ease);
}
.nav-item.is-open .nav-trigger::after,
.nav-trigger:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-btn {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  color: inherit; border-radius: 2px;
}
.icon-btn:hover { background: rgba(255,255,255,.08); }
.btn-setup { height: 40px; padding: 0 16px; font-size: 12px; }
.hamburger, .nav-mobile-only { display: none; }

@media (max-width: 1023px) {
  .nav-desk, .btn-setup { display: none; }
  .hamburger, .nav-mobile-only { display: inline-flex; }
  .logo { position: absolute; left: 50%; transform: translateX(-50%); margin: 0; }
  .header-inner { position: relative; }
  .hamburger { margin-right: auto; }
}

/* Mega menu */
.mega-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s var(--ease);
  z-index: 70;
}
body.menu-open .mega-backdrop { opacity: 1; pointer-events: auto; }
.mega {
  display: none;
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  background: var(--bone);
  color: var(--graphite);
  box-shadow: var(--shadow);
  padding: 40px 0;
  z-index: 85;
}
.nav-item.is-open .mega { display: block; }
.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 280px;
  gap: 32px;
}
.mega-col h4 {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 16px;
  font-weight: 600;
}
.mega-col a, .mega-col .mega-link {
  display: block;
  padding: 8px 0;
  min-height: 44px;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid transparent;
}
.mega-col a:hover { color: var(--ink); }
.mega-col .model-line { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; }
.mega-col .model-line strong {
  font-family: var(--font-display);
  font-stretch: 75%;
  font-size: 18px;
  font-weight: 600;
}
.mega-feat {
  background: var(--paper);
  border: 1px solid var(--stone);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.mega-feat .ph-img { aspect-ratio: 16/10; }
.mega-feat .mega-feat-body { padding: 16px; }
.mega-feat .mega-feat-body strong { display: block; margin-bottom: 8px; }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  background: var(--ink);
  color: #fff;
  z-index: 90;
  transform: translateX(-100%);
  transition: transform .3s var(--ease);
  overflow-y: auto;
  padding: 20px 20px 48px;
}
.drawer.is-open { transform: translateX(0); }
.drawer-top { display: flex; align-items: center; justify-content: space-between; height: 44px; margin-bottom: 24px; }
.drawer-logo { font-family: var(--font-display); font-weight: 800; letter-spacing: .18em; font-stretch: 125%; }
.drawer-acc-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  font-family: var(--font-display);
  text-transform: uppercase;
  padding: 16px 0;
  min-height: 56px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.drawer-panel { display: none; padding: 8px 0 16px 8px; }
.drawer-acc.is-open .drawer-panel { display: block; }
.drawer-panel a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  color: #fff;
  padding: 8px 0;
}
.drawer-actions { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }

/* Placeholder images */
.ph-img {
  background: var(--stone);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  color: var(--steel);
  font-family: var(--font-mono);
  font-size: 12px;
  font-style: italic;
  line-height: 1.45;
  width: 100%;
  overflow: hidden;
  position: relative;
}
.ph-img.ratio-1 { aspect-ratio: 1/1; }
.ph-img.ratio-16 { aspect-ratio: 16/9; }
.ph-img.ratio-45 { aspect-ratio: 4/5; }
.ph-img.ratio-21 { aspect-ratio: 21/9; }
.ph-img.ratio-34 { aspect-ratio: 3/4; }
.ph-img.ratio-1610 { aspect-ratio: 16/10; }

/* Product cards */
.product-card {
  background: var(--paper);
  border: 1px solid var(--stone);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  transition: border-color .2s var(--ease);
  color: inherit;
  overflow: hidden;
  height: 100%;
}
.product-card:hover { border-color: var(--ink); }
.product-card .ph-img { transition: transform .4s var(--ease); }
.product-card:hover .ph-img { transform: scale(1.03); }
.product-card-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card .model-num { font-size: 32px; color: var(--ink); }
.card-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; gap: 8px; }
.compare-check { display: flex; align-items: center; gap: 8px; font-size: 13px; min-height: 44px; cursor: pointer; }
.compare-check input { width: 18px; height: 18px; accent-color: var(--ink); }

/* Swatches */
.swatches { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.swatch {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 0;
  position: relative;
  padding: 0;
  box-shadow: inset 0 0 0 1px rgba(14,26,31,.15);
}
.swatch::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid transparent;
}
.swatch.is-selected { box-shadow: inset 0 0 0 1px #fff, 0 0 0 4px #fff, 0 0 0 6px var(--ink); }
.swatch.is-oos { opacity: .5; }
.swatch.is-oos::before {
  content: "";
  position: absolute;
  left: 50%; top: -2px; bottom: -2px;
  width: 2px;
  background: var(--ink);
  transform: translateX(-50%) rotate(45deg);
}
.swatch-label { font-size: 13px; }

/* Footer */
.site-footer { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.footer-news {
  border-bottom: 1px solid rgba(255,255,255,.1);
  padding: 48px 0;
}
.footer-news-inner { display: flex; gap: 32px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; }
.footer-news h2 { color: #fff; margin-bottom: 8px; }
.news-form { display: flex; gap: 8px; flex-wrap: wrap; }
.news-form input[type="email"] {
  height: 52px;
  padding: 0 16px;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.35);
  color: #fff;
  border-radius: 2px;
  min-width: 260px;
}
.news-form input::placeholder { color: rgba(255,255,255,.5); }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 64px 0 48px;
  position: relative;
  z-index: 1;
}
.footer-cols h4 {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--volt);
  font-family: var(--font-body);
  font-weight: 600;
}
.footer-cols a { display: block; padding: 6px 0; color: rgba(255,255,255,.82); font-size: 14px; min-height: 32px; }
.footer-cols a:hover { color: #fff; }
.footer-mark {
  position: absolute;
  left: 0; right: 0; bottom: 48px;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 12vw;
  line-height: .8;
  letter-spacing: -.04em;
  color: #fff;
  opacity: .08;
  text-align: center;
  pointer-events: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.footer-bar {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,.7);
  position: relative;
  z-index: 1;
}
.footer-bar a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 767px) {
  .footer-cols { grid-template-columns: 1fr 1fr; padding: 48px 0 32px; }
  .news-form input[type="email"] { min-width: 0; width: 100%; }
  .footer-news-inner { align-items: stretch; flex-direction: column; }
}

/* Compare tray */
.compare-tray {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(120%);
  background: var(--ink);
  color: #fff;
  border-radius: 4px;
  box-shadow: var(--shadow);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 60;
  transition: transform .3s var(--ease);
  max-width: calc(100% - 40px);
}
.compare-tray.is-visible { transform: translateX(-50%) translateY(0); }
.compare-tray-models { font-weight: 600; }

/* Chat */
.chat-bubble-hint {
  position: fixed;
  right: 92px;
  bottom: 28px;
  background: var(--paper);
  border: 1px solid var(--stone);
  box-shadow: var(--shadow);
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  z-index: 65;
  max-width: 220px;
}
.chat-bubble-hint[hidden] { display: none; }
.chat-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  z-index: 66;
}
.chat-fab .dot {
  position: absolute;
  top: 10px; right: 10px;
  width: 8px; height: 8px;
  background: var(--volt);
  border-radius: 50%;
}
body.has-buybar .chat-fab { bottom: 88px; }
body.has-buybar .chat-bubble-hint { bottom: 92px; }
.chat-panel {
  position: fixed;
  right: 24px;
  bottom: 92px;
  width: 380px;
  height: 600px;
  max-height: calc(100vh - 120px);
  background: var(--paper);
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: none;
  flex-direction: column;
  z-index: 67;
  overflow: hidden;
}
.chat-panel.is-open { display: flex; }
@media (max-width: 767px) {
  .chat-panel {
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0;
    bottom: 0; right: 0;
  }
  body.has-buybar .chat-fab { bottom: 88px; }
}
.chat-head {
  background: var(--ink);
  color: #fff;
  padding: 16px 16px 12px;
}
.chat-head-row { display: flex; justify-content: space-between; align-items: flex-start; }
.chat-head h3 { color: #fff; font-size: 16px; text-transform: none; letter-spacing: 0; font-stretch: 100%; }
.chat-demo-flag {
  background: #fff4e8;
  color: var(--ink);
  font-size: 12px;
  padding: 8px 16px;
  border-bottom: 1px solid var(--stone);
}
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.chat-msg { max-width: 90%; font-size: 14px; line-height: 1.5; }
.chat-msg.bot { background: var(--bone); padding: 12px 14px; border-radius: 4px 12px 12px 4px; }
.chat-msg.user { background: var(--ink); color: #fff; padding: 12px 14px; border-radius: 12px 4px 4px 12px; align-self: flex-end; }
.chat-choices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chat-choices button, .chat-chip {
  border: 1px solid var(--stone);
  border-radius: 99px;
  padding: 8px 12px;
  font-size: 13px;
  min-height: 44px;
  background: #fff;
}
.chat-choices button:hover, .chat-chip:hover { border-color: var(--ink); }
.chat-input-row { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--stone); }
.chat-input-row input {
  flex: 1;
  border: 1px solid var(--stone);
  border-radius: 2px;
  padding: 0 12px;
  height: 44px;
}

/* Search */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14,26,31,.55);
  z-index: 100;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 12vh 20px 20px;
}
.search-overlay.is-open { display: flex; }
.search-box {
  background: #fff;
  width: min(720px, 100%);
  border-radius: 4px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.search-box input {
  width: 100%;
  height: 60px;
  border: 0;
  padding: 0 20px;
  font-size: 18px;
  outline: none;
}
.search-results { border-top: 1px solid var(--stone); max-height: 50vh; overflow-y: auto; }
.search-results a {
  display: block;
  padding: 14px 20px;
  border-bottom: 1px solid var(--bone);
}
.search-results a:hover, .search-results a.is-active { background: var(--bone); }
.search-empty { padding: 20px; color: var(--steel); }

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(14,26,31,.5);
  z-index: 110;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-backdrop.is-open { display: flex; }
.modal {
  background: #fff;
  max-width: 480px;
  width: 100%;
  border-radius: 4px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.modal h3 { margin-bottom: 12px; }
.modal p { margin-bottom: 8px; }
.modal .modal-actions { margin-top: 24px; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(14,26,31,.92);
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding: 48px 72px;
}
.lightbox.is-open { display: flex; }
.lightbox-stage { width: min(900px, 100%); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  color: #fff;
  font-size: 28px;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-close { position: absolute; top: 16px; right: 16px; color: #fff; width: 44px; height: 44px; font-size: 28px; }

/* Forms */
.form-grid { display: grid; gap: 16px; }
.form-grid.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 767px) { .form-grid.two { grid-template-columns: 1fr; } }
label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
label .req { color: var(--signal); }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], select, textarea {
  height: 48px;
  border: 1px solid var(--stone);
  border-radius: 2px;
  padding: 0 12px;
  background: #fff;
}
textarea { height: auto; min-height: 120px; padding: 12px; resize: vertical; }
.form-success {
  background: #e8f6ee;
  border: 1px solid var(--success);
  color: var(--fairway);
  padding: 16px;
  border-radius: 4px;
}
.form-error { color: var(--signal); font-size: 13px; }

/* Tables */
.spec-table, .compare-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td, .compare-table th, .compare-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--stone);
  vertical-align: top;
}
.spec-table th { font-weight: 500; color: var(--steel); width: 40%; }
.spec-table td { font-family: var(--font-mono); }
.compare-wrap { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }
#compare { overflow: hidden; isolation: isolate; }
.compare-table {
  min-width: 640px;
  border-collapse: separate;
  border-spacing: 0;
}
.compare-table .btn-amazon-note { display: none; }
.compare-table thead th {
  position: relative;
  font-family: var(--font-display);
  font-stretch: 75%;
  font-size: 24px;
  font-weight: 600;
  padding-top: 20px;
}
.compare-table th.is-current, .compare-table td.is-current { background: var(--bone); }
.compare-table thead th.is-current::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: var(--volt);
}
.compare-table .sticky-col {
  position: sticky;
  left: 0;
  z-index: 2;
  font-weight: 600;
  background: var(--paper);
  background-clip: padding-box;
  box-shadow: 8px 0 8px -6px rgba(14,26,31,.18);
  overflow: hidden;
}
.compare-table thead .sticky-col { z-index: 3; background: var(--paper); }
.compare-table th.is-current.sticky-col,
.compare-table td.is-current.sticky-col { background: var(--bone); }
@media (max-width: 767px) {
  .swipe-hint { display: block; font-size: 13px; color: var(--steel); margin-bottom: 8px; }
}
.swipe-hint { display: none; }

/* Breadcrumb */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--steel); padding: 20px 0 0; }
.breadcrumb a:hover { text-decoration: underline; color: var(--ink); }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 8px; color: var(--stone); }

/* Hero home */
.home-hero {
  min-height: 100vh;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: flex-end;
  position: relative;
  padding: calc(var(--header-offset) + 48px) 0 80px;
}
.home-hero .ph-img {
  position: absolute;
  inset: 0;
  background: #152228;
  color: var(--steel);
  aspect-ratio: auto;
}
.home-hero-content { position: relative; z-index: 1; max-width: 920px; }
.home-hero .eyebrow { color: var(--volt); }
.scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.7);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.bg-bone { background: var(--bone); }
.bg-ink { background: var(--ink); color: #fff; }
.bg-fairway { background: var(--fairway); color: #fff; }
.bg-ink .eyebrow, .bg-fairway .eyebrow { color: var(--volt); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1023px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .plp-grid { grid-template-columns: 1fr; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .plp-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .plp-grid { grid-template-columns: repeat(3, 1fr); }
}
.plp-grid { display: grid; gap: 24px; }

.cat-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  color: #fff;
  display: block;
  min-height: 420px;
}
.cat-card .ph-img { position: absolute; inset: 0; aspect-ratio: auto; background: #1a2a30; }
.cat-card-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; background: linear-gradient(transparent, rgba(14,26,31,.82)); }
.cat-card .cta { opacity: 0; transform: translateY(8px); transition: .25s var(--ease); }
.cat-card:hover .cta { opacity: 1; transform: none; }
.cat-card:hover .ph-img { transform: scale(1.03); }
@media (max-width: 1023px) {
  .cat-card .cta { opacity: 1; transform: none; }
  .cat-card { min-height: 320px; }
}

/* Tabs */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; border-bottom: 1px solid var(--stone); margin-bottom: 32px; }
.tab-btn {
  padding: 12px 16px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--steel);
  min-height: 44px;
  position: relative;
}
.tab-btn.is-active { color: var(--ink); }
.tab-btn.is-active::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: -1px;
  height: 2px;
  background: var(--volt);
}
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

/* PDP */
.pdp-hero {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  padding: 32px 0 64px;
  align-items: start;
}
@media (max-width: 1023px) {
  .pdp-hero { grid-template-columns: 1fr; gap: 24px; }
}
.gallery-main { cursor: zoom-in; }
.thumbs { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-top: 12px; }
.thumbs button, .thumbs .thumb {
  border: 1px solid var(--stone);
  border-radius: 2px;
  overflow: hidden;
  padding: 0;
  background: var(--stone);
  min-height: 44px;
}
.thumbs button.is-active, .thumbs .thumb.is-active { border-color: var(--ink); }
.gallery-viewport { position: relative; width: 100%; max-width: 100%; overflow: hidden; }
.gallery-track,
.gallery-track[hidden] { display: none !important; }
@media (max-width: 767px) {
  .thumbs { display: none; }
  .gallery-dots { display: flex; gap: 8px; justify-content: center; margin-top: 12px; }
  .gallery-main { display: none; }
  .gallery-track,
  .gallery-track[hidden] {
    display: flex !important;
    transition: transform .25s var(--ease);
  }
  .gallery-track .ph-img { min-width: 100%; flex: 0 0 100%; cursor: zoom-in; }
}
.gallery-dots { display: none; }
.gallery-dots button {
  width: 8px; height: 8px; border-radius: 50%; background: var(--stone); min-width: 8px; padding: 0;
}
.gallery-dots button.is-active { background: var(--ink); }

.pdp-info .model-num { font-size: 72px; line-height: 1; color: var(--ink); display: block; margin: 4px 0 12px; }
@media (max-width: 767px) { .pdp-info .model-num { font-size: 40px; } }
.quick-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  margin: 24px 0;
  padding: 16px 0;
  border-top: 1px solid var(--stone);
  border-bottom: 1px solid var(--stone);
}
.quick-specs dt { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); }
.quick-specs dd { margin: 0; font-family: var(--font-mono); font-size: 14px; }
.pdp-cta-row { display: flex; flex-direction: column; gap: 12px; margin: 20px 0; }
.pdp-links { display: flex; flex-wrap: wrap; gap: 16px; margin: 8px 0 20px; font-size: 14px; }
.promise-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 16px 0 0;
  font-size: 13px;
}
@media (max-width: 767px) { .promise-bar { grid-template-columns: 1fr; } }

.anchor-nav {
  position: sticky;
  top: var(--header-offset);
  z-index: 40;
  background: var(--paper);
  border-top: 1px solid var(--stone);
  border-bottom: 1px solid var(--stone);
  display: none;
}
.anchor-nav.is-stuck { display: block; }
.anchor-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 56px;
  overflow-x: auto;
}
.anchor-nav a { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--steel); padding: 8px 10px; white-space: nowrap; }
.anchor-nav a.is-active { color: var(--ink); box-shadow: inset 0 -2px 0 var(--volt); }

.highlights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 767px) { .highlights { grid-template-columns: 1fr 1fr; } }
.highlight-card { text-align: center; padding: 24px 12px; background: var(--bone); border-radius: 4px; }
.highlight-card .num { font-family: var(--font-display); font-stretch: 75%; font-size: 28px; font-weight: 600; }

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
}
.feature-row:nth-child(even) .feature-copy { order: -1; }
@media (max-width: 1023px) {
  .feature-row, .feature-row:nth-child(even) .feature-copy { grid-template-columns: 1fr; }
  .feature-row:nth-child(even) .feature-copy { order: 0; }
  .feature-row { gap: 24px; padding: 32px 0; }
}

.buybar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--paper);
  border-top: 1px solid var(--stone);
  box-shadow: var(--shadow);
  z-index: 55;
  padding: 10px 20px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
@media (max-width: 1023px) {
  body.has-buybar .buybar { display: flex; }
  body.has-buybar { padding-bottom: 76px; }
}

/* FAQ */
.faq-item { border-bottom: 1px solid var(--stone); }
.faq-item button {
  width: 100%;
  text-align: left;
  padding: 18px 0;
  min-height: 56px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  font-size: 16px;
}
.faq-item .faq-body { display: none; padding: 0 0 18px; }
.faq-item.is-open .faq-body { display: block; }

/* Subpage heroes */
.page-hero { padding: 64px 0 48px; }
.page-hero.with-media { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: end; }
@media (max-width: 1023px) { .page-hero.with-media { grid-template-columns: 1fr; } }
.page-hero.tall { min-height: 50vh; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 48px; }

.group-nav {
  position: sticky;
  top: var(--header-offset);
  z-index: 30;
  background: var(--paper);
  border-bottom: 1px solid var(--stone);
}
.group-nav-inner { display: flex; gap: 8px; overflow-x: auto; height: 56px; align-items: center; }
.group-nav a, .group-nav button {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  min-height: 44px;
  color: var(--steel);
}
.group-nav a.is-active, .group-nav button.is-active { color: var(--ink); box-shadow: inset 0 -2px 0 var(--volt); }

.diff-bar {
  background: var(--bone);
  padding: 24px 28px;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 32px 0;
}

/* Setup quiz */
.quiz-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--paper);
  padding: 40px;
  border-radius: 4px;
}
.quiz-progress { height: 4px; background: var(--stone); border-radius: 2px; margin-bottom: 32px; overflow: hidden; }
.quiz-progress span { display: block; height: 100%; background: var(--volt); transition: width .3s var(--ease); }
.quiz-options { display: grid; gap: 12px; margin-top: 24px; }
.quiz-options button {
  text-align: left;
  border: 1px solid var(--stone);
  border-radius: 4px;
  padding: 16px 20px;
  min-height: 56px;
  font-size: 16px;
  font-weight: 500;
}
.quiz-options button:hover, .quiz-options button.is-selected { border-color: var(--ink); background: var(--bone); }

/* Parallax model mark */
.brand-statement { position: relative; overflow: hidden; }
.brand-statement .ghost {
  position: absolute;
  right: -4%;
  top: 20%;
  font-family: var(--font-display);
  font-stretch: 75%;
  font-size: 22vw;
  font-weight: 700;
  color: #fff;
  opacity: .06;
  pointer-events: none;
  white-space: nowrap;
}

/* Empty / legal / 404 */
.empty-state { padding: 32px; background: var(--bone); border-radius: 4px; text-align: center; }
.legal-page { max-width: 800px; padding: 64px 0 128px; }

/* Skip */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--volt);
  color: var(--ink);
  padding: 8px 16px;
  z-index: 200;
}
.skip-link:focus { left: 8px; top: 8px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media (max-width: 1023px) {
  main .container[style*="grid-template-columns:220px"],
  main .container[style*="grid-template-columns:1.2fr"],
  main a.product-card[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
}
.tab-btn.is-active { color: var(--ink); }

[data-reveal] {
  animation: reveal-up .5s cubic-bezier(.2,.7,.2,1) both;
}
[data-reveal]:nth-child(1) { animation-delay: .05s; }
[data-reveal]:nth-child(2) { animation-delay: .16s; }
[data-reveal]:nth-child(3) { animation-delay: .28s; }
[data-reveal]:nth-child(4) { animation-delay: .4s; }
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.home-hero-content { z-index: 2; }
.home-hero .ph-img { z-index: 0; pointer-events: none; }
.home-hero .ph-img {
  align-items: flex-start;
  padding-top: 160px;
}
@media (max-width: 767px) {
  .home-hero .ph-img { padding-top: 120px; }
}


/* —— QA return fixes —— */
.pdp-hero, .pdp-info, .pdp-cta-row { max-width: 100%; }
.pdp-cta-row .btn,
.pdp-cta-row .btn-amazon-wrap { width: 100%; max-width: 100%; box-sizing: border-box; }
@media (max-width: 767px) {
  .pdp-cta-row .btn {
    justify-content: center;
    white-space: nowrap;
    overflow: visible;
    font-size: 13px;
    letter-spacing: .04em;
    padding: 0 16px;
  }
}

/* Chat teaser sits above the FAB on small screens so it doesn't cover CTAs */
@media (max-width: 1023px) {
  .chat-bubble-hint {
    right: 20px;
    left: auto;
    bottom: 92px;
    max-width: min(220px, calc(100vw - 96px));
  }
  body.has-buybar .chat-bubble-hint { bottom: 156px; }
  .home-hero { padding-bottom: 160px; }
  body:not(.has-buybar) { padding-bottom: 88px; }
}

/* Compare tray shouldn't cover the footer newsletter field */
body.tray-open { padding-bottom: 112px; }
body.tray-open.has-buybar { padding-bottom: 176px; }
body.tray-open .site-footer { padding-bottom: 32px; }
@media (max-width: 1023px) {
  .compare-tray { bottom: 16px; }
  body.tray-open .compare-tray { bottom: 16px; }
}

/* Group filter: shorter labels, stay above section titles */
.group-nav {
  z-index: 50;
  background: var(--paper);
}
.g-short { display: none; }
@media (max-width: 767px) {
  .g-long { display: none; }
  .g-short { display: inline; }
  .group-nav-inner { padding-right: 16px; }
}
[data-group-section],
#group-pace, #group-arc, #group-all,
#group-a, #group-b {
  scroll-margin-top: calc(var(--header-offset) + 56px + 8px);
}

/* Anchor sections sit fully below the sticky nav */
#overview, #features, #specs, #compare, #support {
  scroll-margin-top: calc(var(--header-offset) + 56px);
}
#support { position: relative; z-index: 1; background: inherit; }

/* Grid items must not grow to the mobile gallery track width (root cause of clipped CTA on phones) */
.pdp-hero > *, .pdp-hero .gallery, .pdp-info { min-width: 0; }
.gallery { max-width: 100%; overflow: hidden; }
html, body { overflow-x: clip; }
/* Hidden compare tray stays fully out of view */
.compare-tray:not(.is-visible) { visibility: hidden; pointer-events: none; }
/* Long placeholder tokens wrap instead of pushing past the screen edge */
main .ph { overflow-wrap: anywhere; }
.highlights > *, .product-card *, main [style*="grid"] > * { min-width: 0; }
@media (max-width: 767px) { .highlight-card .num { font-size: 20px; } }
/* Keep side gutters on containers whose own padding shorthand reset them */
.breadcrumb.container, .pdp-hero.container, .page-hero.container, .legal-page.container, .section.container, .section-lg.container {
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* Retest fixes */
/* Compare table on phones: columns snap flush to the sticky label column, so no half-hidden text peeks out */
@media (max-width: 767px) {
  .compare-wrap { scroll-snap-type: x mandatory; scroll-padding-left: 104px; }
  .compare-table .sticky-col { width: 104px; min-width: 104px; max-width: 104px; }
  .compare-table thead th:not(.sticky-col), .compare-table td { scroll-snap-align: start; }
  .compare-table td { min-width: 168px; }
}
/* Chat teaser hides once the visitor starts scrolling on tablets and phones, so it never sits on cards */
@media (max-width: 1023px) {
  body.scrolled .chat-bubble-hint { display: none; }
}
/* Phones: keep card actions on the left so the chat button (bottom-right) never covers them */
@media (max-width: 767px) {
  .card-actions { justify-content: flex-start; gap: 24px; padding-right: 72px; }
}

/* Official logo wordmark — sizing only; does not replace QA fixes above */
.logo,
.drawer-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.logo img,
.drawer-logo img,
.footer-logo img {
  display: block;
  width: auto;
  height: 24px;
  max-height: 28px;
  max-width: 168px;
}
@media (max-width: 1023px) {
  .logo img,
  .drawer-logo img {
    height: 20px;
    max-height: 22px;
    max-width: 140px;
  }
}
.footer-logo {
  margin: 36px 0 4px;
  position: relative;
  z-index: 1;
}
.footer-logo img {
  height: 28px;
  max-height: 32px;
  max-width: 196px;
}

/* 11.0 product photos */
.product-media {
  width: 100%;
  background: #fff;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-media.ratio-1 { aspect-ratio: 1/1; }
.product-media.ratio-16 { aspect-ratio: 16/9; }
.product-media.ratio-45 { aspect-ratio: 4/5; }
.product-media.ratio-1610 { aspect-ratio: 16/10; }
.product-media .product-photo,
.lightbox-stage .product-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.thumbs-fit { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 420px; }
@media (max-width: 767px) {
  .gallery-track .product-media { min-width: 100%; flex: 0 0 100%; cursor: zoom-in; background: #fff; }
}
.lightbox-stage .product-photo {
  max-height: 90vh;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* Phase 2 product photos (section 三) — appended; earlier QA rules untouched */
.product-card .product-media { transition: transform .4s var(--ease); }
.product-card:hover .product-media { transform: scale(1.03); }
.mega-feat .product-media { aspect-ratio: 16/10; }
.thumbs button .product-media { aspect-ratio: 1/1; }
.compare-thumb { display: block; width: 72px; margin: 0 0 8px; border: 1px solid var(--stone); border-radius: 2px; overflow: hidden; }
.compare-thumb .product-media, .compare-thumb .ph-img { aspect-ratio: 1/1; padding: 0; font-size: 0; }
.feature-row > .product-media { border-radius: 4px; }

/* Site emails (contact, partners, footer) — appended */
.email-block { display: grid; gap: 16px; }
.email-row a, .footer-email { overflow-wrap: anywhere; }
.footer-cols .footer-email { font-size: 13px; }

/* Phase 2 QA: phones show only the round chat button; the teaser bubble never opens over forms or copy */
@media (max-width: 767px) {
  .chat-bubble-hint { display: none !important; }
}
/* Phase 2 QA: keep the required * on the same line as its label text */
label:has(> .req) { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 6px 4px; }
label:has(> .req) > :is(input, select, textarea, .select-wrap) { flex: 1 0 100%; }


/* 3.0 pending-color gallery placeholders — appended */
.thumbs button .ph-img {
  aspect-ratio: 1/1;
  font-size: 9px;
  line-height: 1.2;
  padding: 6px;
}
.gallery-main .ph-img,
.gallery-track .ph-img {
  min-height: 280px;
}


/* Travel bag section 四 copy (long Amazon titles, selling points, highlights) — appended */
.pdp-info .h4 { overflow-wrap: anywhere; font-stretch: 100%; text-transform: none; }
.feature-row-copy { grid-template-columns: 1fr; max-width: 880px; gap: 0; }
.feature-row-copy:nth-child(even) .feature-copy { order: 0; }
.highlight-card .num.highlight-copy {
  font-size: 16px;
  font-stretch: 100%;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.quick-specs dd, .amazon-desc, .spec-table td { overflow-wrap: anywhere; }

/* === Phase 2 sourced-copy: language switcher, price note, manuals, story/events === */
.lang-notice {
  background: var(--bone);
  border-bottom: 1px solid var(--stone);
  padding: 10px 20px;
  text-align: center;
  font-size: 14px;
  line-height: 1.45;
}
.lang-notice[hidden] { display: none; }
.lang-switcher { position: relative; }
.lang-switcher-btn {
  appearance: none;
  background: transparent;
  color: inherit;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 2px;
  font: inherit;
  font-size: 12px;
  letter-spacing: .04em;
  line-height: 1;
  padding: 0 10px;
  min-height: 36px;
  cursor: pointer;
  white-space: nowrap;
}
.lang-switcher-btn:hover, .lang-switcher-btn:focus-visible {
  background: rgba(255,255,255,.08);
  outline: none;
}
.footer-bar .lang-switcher-btn,
.lang-switcher-footer .lang-switcher-btn {
  border-color: rgba(255,255,255,.35);
  color: #fff;
}
.lang-switcher-list {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 90;
  min-width: 220px;
  max-width: min(280px, calc(100vw - 24px));
  max-height: min(70vh, 420px);
  overflow: auto;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
  padding: 8px 0;
  margin: 0;
  list-style: none;
}
.lang-switcher-footer .lang-switcher-list {
  top: auto;
  bottom: calc(100% + 6px);
}
.lang-switcher-list a {
  display: block;
  padding: 8px 16px;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
}
.lang-switcher-list a:hover,
.lang-switcher-list a[aria-current="true"] {
  background: var(--bone);
}
.drawer-lang {
  padding: 16px 20px 8px;
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: auto;
}
.drawer-lang .eyebrow { color: rgba(255,255,255,.6); margin-bottom: 8px; }
.lang-switcher-drawer .lang-switcher-btn { display: none; }
.lang-switcher-drawer .lang-switcher-list {
  position: static;
  max-height: none;
  max-width: none;
  width: 100%;
  box-shadow: none;
  background: transparent;
  color: #fff;
  padding: 0;
  overflow: visible;
}
.lang-switcher-drawer .lang-switcher-list a { color: #fff; padding: 8px 0; }
.lang-switcher-drawer .lang-switcher-list a:hover,
.lang-switcher-drawer .lang-switcher-list a[aria-current="true"] {
  background: transparent;
  text-decoration: underline;
}
.footer-legal {
  margin: 24px 0 0;
  color: rgba(255,255,255,.7);
  font-size: 14px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}
.footer-legal p { margin: 0 0 4px; }
.footer-legal a { color: #fff; }
.footer-bar-end {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.amazon-price-note { font-weight: 500; }
.amazon-rating-note { color: var(--slate, #5A6770); }
.manual-figure { margin: 16px 0 0; }
.manual-figure img { width: 100%; height: auto; display: block; }
.manual-figure figcaption { margin-top: 8px; font-size: 13px; color: var(--slate, #5A6770); }
.manual-disclaimer { font-size: 15px; }
.manual-steps { padding-left: 20px; margin: 16px 0 0; }
.manual-steps li { margin: 0 0 20px; }
.manual-steps p { margin: 0 0 6px; }
.amazon-policy-excerpt {
  border-left: 3px solid var(--stone);
  padding: 8px 0 8px 16px;
}
.amazon-policy-excerpt p { margin: 0 0 10px; }
.story-draft-note, .events-disclaimer { max-width: 720px; }
@media (max-width: 1023px) {
  .header-actions .lang-switcher-btn { padding: 0 8px; font-size: 11px; }
}
@media (max-width: 767px) {
  .footer-bar-end { width: 100%; justify-content: space-between; }
  .lang-switcher-list { right: 0; left: auto; }
}

/* Pack 1 QA: isolate multi-color travel galleries — hidden thumbs/slides leave the grid and track */
.thumbs [data-thumb][hidden],
.gallery-dots button[hidden] {
  display: none !important;
}
@media (max-width: 767px) {
  .gallery-track > [hidden],
  .gallery-track .product-media[hidden],
  .gallery-track .ph-img[hidden] {
    display: none !important;
  }
}

/* Pack 1 QA: on desktop and tablet product pages, collapse the "Need help choosing?"
   teaser so it never covers Compare or other PDP buttons. The chat FAB stays.
   Phones already hide the teaser at max-width 767px. */
@media (min-width: 768px) {
  body.has-buybar .chat-bubble-hint {
    display: none !important;
  }
}

/* Phase 2 i18n: slogan equivalents, Amazon policy translations, official manual lists, parts glossary */
.slogan-eq {
  font-size: 0.55em;
  font-weight: 500;
  margin-left: 0.45em;
  letter-spacing: 0;
  text-transform: none;
  font-family: inherit;
  opacity: 0.85;
}
.footer-mark .slogan-eq {
  font-size: 0.28em;
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.5em;
}
.policy-translation {
  margin-top: 12px;
  padding: 16px 20px;
  background: var(--bone, #f4f1ea);
}
.policy-translation .amazon-policy-excerpt { margin-top: 8px; }
.official-manual-list { margin: 12px 0 0; padding-left: 1.25em; }
.official-manual-list li { margin: 6px 0; max-width: 70ch; }
.parts-table { margin-top: 12px; }
.events-table-wrap { margin-top: 24px; overflow: auto; }

.events-calendar {
  min-width: 960px;
  width: 100%;
}
.events-calendar th,
.events-calendar td {
  white-space: nowrap;
  vertical-align: top;
  padding-right: 24px;
}


/* Phase 2 thumbs-fill: home category + scene cards use selected product mains */
.cat-card .product-media {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  background: #fff;
}
.cat-card .product-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .4s var(--ease);
}
.cat-card:hover .product-photo { transform: scale(1.03); }
.product-card .product-photo { transition: transform .4s var(--ease); }
.product-card:hover .product-photo { transform: scale(1.03); }

/* Phase 3: Our Story typography and official-site checkout (append-only) */
.story-hero { padding: 88px 0 72px; }
.story-hero .story-logo { display: inline-block; margin-bottom: 40px; }
.story-hero .story-logo img { height: 36px; width: auto; }
.story-hero .eyebrow { letter-spacing: .16em; }
.story-hero .display-l { margin: 16px 0 24px; }
.story-lead { max-width: 36em; }
.story-mark { margin-top: 48px; font-family: Archivo, sans-serif; font-weight: 700; font-size: 22px; letter-spacing: .04em; text-transform: uppercase; }
.story-section { padding: 72px 0; }
.story-section .h2 { margin-bottom: 16px; }
.story-kicker { margin-bottom: 32px; max-width: 32em; }
.story-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 16px; }
.story-cols h3 { margin-bottom: 12px; }
.story-block { max-width: 42em; margin-top: 48px; }
.story-block:first-child { margin-top: 8px; }
.story-block p { margin-top: 16px; }
.story-block .text-link, .story-block .btn { margin-top: 20px; }
.story-explore-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.story-legal { margin-top: 56px; color: var(--muted, #5A6770); font-size: 13px; }
@media (max-width: 767px) {
  .story-hero { padding: 56px 0 48px; }
  .story-section { padding: 48px 0; }
  .story-cols { grid-template-columns: 1fr; gap: 28px; }
}
.site-price { margin: 16px 0; }
.site-price .price-usd { font-family: Archivo, sans-serif; font-weight: 700; font-size: 28px; letter-spacing: .02em; margin: 0 0 8px; }
.site-price .small { margin: 0 0 6px; max-width: 36em; }
.header-cart { position: relative; }
.header-cart .cart-count {
  position: absolute; top: 2px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 8px; background: #fff; color: var(--ink); font-size: 10px; line-height: 16px;
  text-align: center; font-weight: 600;
}
.commerce-wrap { max-width: 880px; margin: 0 auto; }
.commerce-list { display: flex; flex-direction: column; gap: 20px; margin: 32px 0; }
.commerce-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid rgba(14,26,31,.12); }
.commerce-item h3 { margin: 0 0 4px; font-size: 16px; }
.commerce-summary { margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(14,26,31,.12); }
.commerce-summary p { display: flex; justify-content: space-between; gap: 16px; margin: 8px 0; }
.commerce-summary .total { font-weight: 700; font-size: 18px; }
.commerce-form { display: grid; gap: 16px; margin-top: 32px; }
.commerce-form label { display: grid; gap: 6px; font-size: 13px; }
.commerce-form input, .commerce-form select {
  height: 48px; padding: 0 14px; border: 1px solid rgba(14,26,31,.2); background: #fff; font: inherit;
}
.commerce-note, .commerce-alert { margin-top: 16px; }
.commerce-alert { padding: 14px 16px; background: var(--bone, #F4F1EA); }
.commerce-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.commerce-preview-flag { margin-top: 16px; font-size: 13px; color: var(--muted, #5A6770); }
@media (max-width: 639px) {
  .commerce-item { grid-template-columns: 72px 1fr; }
  .commerce-item .item-price { grid-column: 2; }
}

/* Phase 3 QA: phone buybar must show full “Buy on Amazon ↗”; chat FAB stays clear of the bar */
@media (max-width: 1023px) {
  body.has-buybar {
    padding-bottom: 120px;
  }
  body.has-buybar .chat-fab {
    bottom: 124px;
  }
  body.tray-open.has-buybar {
    padding-bottom: 220px;
  }
}
@media (max-width: 767px) {
  body.has-buybar .buybar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "meta meta"
      "janus amazon";
    align-items: center;
    column-gap: 8px;
    row-gap: 8px;
    padding: 8px 12px 10px;
  }
  body.has-buybar .buybar > :first-child {
    grid-area: meta;
    min-width: 0;
    overflow: visible;
  }
  body.has-buybar .buybar > :first-child .model-num {
    font-size: 16px !important;
    white-space: nowrap;
    overflow: visible;
  }
  body.has-buybar .buybar > .btn {
    grid-area: janus;
    width: 100%;
    min-width: 0;
    justify-content: center;
    padding: 0 8px;
    font-size: 12px;
    letter-spacing: .03em;
    white-space: nowrap;
    overflow: visible;
    box-sizing: border-box;
  }
  body.has-buybar .buybar .btn-amazon-wrap {
    grid-area: amazon;
    width: 100%;
    min-width: 0;
    align-items: stretch;
    gap: 4px;
  }
  body.has-buybar .buybar .btn-amazon-wrap .btn {
    width: 100%;
    min-width: 0;
    justify-content: center;
    padding: 0 8px;
    font-size: 12px;
    letter-spacing: .03em;
    white-space: nowrap;
    overflow: visible;
    box-sizing: border-box;
  }
  body.has-buybar .buybar .btn-amazon-note {
    font-size: 11px;
    line-height: 1.3;
  }
  body.has-buybar {
    padding-bottom: 148px;
  }
  body.has-buybar .chat-fab {
    bottom: 152px;
  }
  body.tray-open.has-buybar {
    padding-bottom: 240px;
  }
}

/* Phase 3 commerce: preview vs official, checkout validation (append-only) */
.order-kind-banner {
  margin: 0 0 20px;
  padding: 12px 16px;
  border: 1px solid var(--ink);
  background: var(--bone, #f4f1ea);
  font-size: 14px;
  line-height: 1.45;
}
.commerce-preview-flag {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted, #5a5a5a);
}
.commerce-form .field-error {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.35;
  color: #8a1f1f;
}
.commerce-form [aria-invalid="true"] {
  outline: 2px solid #8a1f1f;
  outline-offset: 1px;
}
.commerce-form label {
  display: block;
  margin: 0 0 16px;
}
#preview-orders-app .spec-table {
  width: 100%;
}

/* User-provided home / Our Story fairway hero (append-only) */
.home-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.home-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 18%;
  display: block;
}
.home-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 26, 31, .58) 0%, rgba(14, 26, 31, .28) 38%, rgba(14, 26, 31, .08) 62%, rgba(14, 26, 31, .2) 100%),
    linear-gradient(180deg, rgba(14, 26, 31, .18) 0%, transparent 36%, rgba(14, 26, 31, .5) 100%);
}
.story-hero-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: min(72vh, 720px);
  overflow: hidden;
  background: #152228;
}
.story-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 18%;
  display: block;
}

/* Empty reserved media: no placeholder wording, no invented image. */
.product-media.is-empty {
  background: var(--bone, #efece6);
}


/* Sandbox checkout block: visually separate from the already-passed preview path. */
#sandbox-checkout {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line, #d8d3c8);
}


/* Public-test storefront banner. Append-only; do not rewrite existing tokens. */
:root {
  --public-test-banner-h: 76px;
}
#public-test-banner {
  position: sticky;
  top: 0;
  z-index: 82;
  background: var(--graphite);
  color: #fff;
  padding: 8px var(--gutter);
  text-align: center;
  font-size: 13px;
  line-height: 1.45;
}
#public-test-banner .public-test-banner-en,
#public-test-banner .public-test-banner-zh {
  display: block;
}
#public-test-banner .public-test-banner-zh {
  margin-top: 2px;
}
.site-header {
  top: calc(var(--announce-h) + var(--public-test-banner-h, 0px));
}
body.home:not(.scrolled) .site-header:not(.is-open) {
  top: calc(var(--announce-h) + var(--public-test-banner-h, 0px));
}
body.announce-hidden {
  --header-offset: calc(72px + var(--public-test-banner-h, 0px));
}
@media (max-width: 1023px) {
  body.announce-hidden {
    --header-offset: calc(60px + var(--public-test-banner-h, 0px));
  }
}

/* Homepage Guides covers and Partner cards. Append-only. */
.guide-cover {
  background: #fff;
}
.guide-cover .product-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #fff;
}
.partner-card {
  min-height: 240px;
  border-color: transparent;
  color: #fff;
}
.partner-card .product-card-body {
  padding: 32px;
  flex: 1;
  justify-content: flex-end;
  gap: 12px;
  color: #fff;
}
.partner-card-index {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--bone);
  margin-bottom: auto;
}
.partner-card .h3,
.partner-card .text-link {
  color: #fff;
}
.partner-card-dealer { background: var(--ink); }
.partner-card-creator { background: var(--fairway); }
.partner-card-collaborate { background: var(--graphite); }
.partner-card:hover {
  border-color: var(--bone);
}
@media (max-width: 767px) {
  .partner-card { min-height: 180px; }
}

/* Leave space so support@janusgolf.com stays fully visible beside the chat teaser and FAB. Append-only. */
.promise-bar a[href^="mailto:"] {
  overflow-wrap: anywhere;
  word-break: break-word;
}
@media (min-width: 768px) {
  .promise-bar {
    padding-right: calc(320px - var(--gutter));
  }
}
@media (max-width: 767px) {
  .promise-bar {
    grid-template-columns: 1fr;
    padding-right: 72px;
  }
}
