/* ==========================================================================
   TIMBLO PDP — Hi-Fi stylesheet
   Imports tokens + nav + footer from top-hifi.css
   ========================================================================== */

/* Reset section background since PDP starts on cream not dark */
body { background: var(--paper); }

/* ============================== Breadcrumb ============================== */
.breadcrumb {
  padding: clamp(96px, 12vh, 116px) clamp(20px, 4vw, 56px) 0;
  font-family: var(--sans-en);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-soft-2);
  text-transform: uppercase;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.breadcrumb a { color: inherit; transition: color .2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .current { color: var(--accent); }
.breadcrumb .sep { opacity: 0.4; }

@media (max-width: 768px) {
  .breadcrumb {
    flex-wrap: wrap;
    white-space: normal;
    font-size: 9px;
    letter-spacing: 0.1em;
    gap: 5px;
    row-gap: 4px;
  }
  .breadcrumb .sep { margin: 0 -2px; }
}

/* ============================== PDP HERO ============================== */
/* Override nav default to be ink-on-paper for PDP (no dark hero) */
.nav { color: var(--ink); }
.nav .shop { background: var(--ink); color: white; }
.nav .brand img { filter: none; height: 28px; }
/* But replace logo with dark version */

.pdp-hero {
  padding: 32px clamp(20px, 4vw, 56px) clamp(60px, 9vh, 96px);
  background: var(--paper);
}
.pdp-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
}
.pdp-hero-text { padding-top: 12px; }
.pdp-hero-text .tag-row {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
}
.pdp-hero-text .tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--ink); color: white;
  font-family: var(--sans-en); font-size: 10px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase;
}
.pdp-hero-text .series-label {
  font-family: var(--hand);
  font-size: clamp(22px, 1.8vw, 28px);
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.pdp-hero-text h1 {
  font-family: var(--serif-jp);
  font-weight: 700;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1.18;
  letter-spacing: 0.02em;
  margin: 0 0 20px;
  text-wrap: balance;
}
.pdp-hero-text h1 small {
  display: block;
  font-family: var(--sans-en);
  font-weight: 500;
  font-size: clamp(13px, 1vw, 16px);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-soft-2);
  margin-bottom: 14px;
}
.pdp-hero-text .lead {
  font-family: var(--serif-jp);
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 400;
  line-height: 1.95;
  color: var(--ink-soft);
  max-width: 460px;
  margin: 0 0 30px;
}
.pdp-hero-text .price-row {
  display: flex; align-items: baseline; gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.pdp-hero-text .price {
  font-family: var(--serif-jp);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: 0.02em;
  color: var(--ink);
}
.pdp-hero-text .price-note { font-family: var(--hand); font-size: 16px; color: var(--ink-soft); }
.pdp-hero-text .ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.pdp-hero-image {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(165deg, #e6d4ad 0%, #c39a64 50%, #8a5530 100%);
}
.pdp-hero-image::before {
  content: ''; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(60deg, transparent 0 8px, rgba(255,255,255,0.04) 8px 10px);
  pointer-events: none;
}
.pdp-hero-image .ph-label {
  position: absolute; left: 24px; bottom: 24px;
  font-family: var(--hand);
  font-size: 14px;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.1em;
}
.pdp-hero-image .corner-marker {
  position: absolute; top: 24px; right: 24px;
  width: 50px; height: 50px; border: 1px solid rgba(255,255,255,0.4);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans-en); font-size: 10px; letter-spacing: 0.2em;
  color: rgba(255,255,255,0.9);
}

.pdp-hero[data-prod="basic"] .pdp-hero-image  { background: url('assets/play-display.jpg') center / cover, linear-gradient(165deg, #e6d4ad 0%, #c39a64 50%, #8a5530 100%); }
.pdp-hero[data-prod="petit"] .pdp-hero-image  { background: url('assets/play-kid-5.jpg') center / cover, linear-gradient(165deg, #d6a474 0%, #a86b48 50%, #6d4226 100%); }
.pdp-hero[data-prod="jumbo"] .pdp-hero-image  { background: url('assets/play-kid-8.jpg') center / cover, linear-gradient(165deg, #b08358 0%, #8a5530 50%, #4a2614 100%); }
.pdp-hero-image::before { display: none; }

/* ============================== LINEUP ============================== */
.lineup { background: var(--cream); }
.lineup-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(36px, 4vh, 60px); }
.lineup-head h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 700; margin: 8px 0 0; letter-spacing: 0.03em; }
.lineup-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lineup-card {
  background: white;
  position: relative; overflow: hidden;
  transition: transform .35s, box-shadow .35s;
  cursor: pointer;
}
.lineup-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(31,24,19,0.2); }
.lineup-card .img {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-size: calc(100% - 40px) auto;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #fff;
  overflow: hidden;
}
  position: relative;
  overflow: hidden;
}
.lineup-card[data-line="120"] .img { background: url('assets/basic120-pkg.jpg') center 70% / 130% auto no-repeat #fff; }
.lineup-card[data-line="250"] .img { background: url('assets/basic250-pkg.jpg') center center / 100% auto no-repeat #fff; }
.lineup-card[data-line="450"] .img { background: url('assets/basic450-pkg.jpg') center / calc(100% - 40px) auto no-repeat #fff; }
.lineup-card[data-line="26"] .img { background: url('assets/jumbo26-pkg.jpg') center / calc(100% - 40px) auto no-repeat #fff; }
.lineup-card .img::after { display: none; }
.lineup-card .body { padding: 22px; }
.lineup-card .name { font-family: var(--serif-jp); font-weight: 700; font-size: clamp(18px, 1.6vw, 22px); margin: 0 0 4px; letter-spacing: 0.02em; }
.lineup-card .count { font-family: var(--serif-jp); font-weight: 400; font-size: 13px; color: var(--ink-soft); margin: 0; letter-spacing: 0.02em; }
.lineup-card .foot { margin-top: 16px; padding-top: 14px; display: flex; align-items: baseline; justify-content: space-between; border-top: 1px solid var(--line); }
.lineup-card .price { font-family: var(--serif-jp); font-weight: 700; font-size: 18px; }

/* ============================== PARTS ============================== */
.parts { background: var(--paper-warm); }
.parts-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.parts-text h2 { font-size: clamp(28px, 3.2vw, 42px); font-weight: 700; margin: 8px 0 18px; line-height: 1.35; letter-spacing: 0.03em; }
.parts-text h2 .accent { color: var(--accent); }
.parts-text p { font-family: var(--serif-jp); font-size: clamp(13px, 1vw, 15px); line-height: 1.95; color: var(--ink-soft); margin: 0 0 28px; max-width: 460px; }
.parts-stats { display: flex; gap: clamp(20px, 3vw, 36px); flex-wrap: wrap; }
.parts-stats .stat {
  border-top: 1px solid var(--ink);
  padding-top: 10px;
  min-width: 90px;
}
.parts-stats .stat .l { font-family: var(--hand); font-size: 13px; color: var(--ink-soft); letter-spacing: 0.05em; }
.parts-stats .stat .v {
  font-family: var(--hand);
  font-weight: 700;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1;
  margin-top: 4px;
  color: var(--ink);
}
.parts-stats .stat .v small {
  font-family: var(--hand);
  font-size: 0.45em;
  color: var(--ink-soft);
  margin-left: 4px;
  font-weight: 400;
}

.parts-vis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 16px;
  background: white;
  height: 380px;
  overflow: hidden;
  align-content: stretch;
  box-sizing: border-box;
}
/* per-product column overrides */
.parts-vis[data-cols="3"] { grid-template-columns: repeat(3, 1fr); }
.parts-vis[data-cols="5"] { grid-template-columns: repeat(5, 1fr); }
.parts-vis[data-cols="6"] { grid-template-columns: repeat(6, 1fr); }
.parts-vis .pcell {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  transition: transform .25s ease, box-shadow .25s ease;
}
.parts-vis .pcell:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(31,24,19,0.14);
}
.parts-vis .pcell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

/* PC default: lineup card CTA shows "詳しく見る", hides "詳細" */
.label-sp { display: none; }

@media (max-width: 768px) {
  .parts-vis {
    height: 360px;
    grid-template-columns: repeat(3, 1fr) !important;
    grid-template-rows: repeat(4, 1fr) !important;
  }
  /* 3col×4row = 12 slots: hide overflow cells so no empty frames / no clipped rows */
  .parts-vis .pcell:nth-child(n+13) { display: none; }
  /* Jumbo 26: 3col×3row = 9 slots, compact height */
  .parts-vis[data-cols="3"] {
    grid-template-columns: repeat(3, 1fr) !important;
    grid-template-rows: repeat(3, 1fr) !important;
    height: 300px;
  }
  .parts-vis[data-cols="3"] .pcell:nth-child(n+10) { display: none; }
  /* Hide any genuinely empty cells */
  .pcell:not(:has(img)) { display: none; }

  /* Petit lineup card CTA: mobile shows "詳細", hides "詳しく見る" */
  .label-pc { display: none; }
  .label-sp { display: inline; }

  /* Prevent 税込 from wrapping in lineup cards */
  .lineup-card .price small,
  .related-card .price small {
    white-space: nowrap;
  }
}

/* ============================== MODELS (basic only) ============================== */
.models { background: var(--paper-soft); }
.models-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(36px, 4vh, 60px); }
.models-head h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 700; margin: 8px 0 12px; letter-spacing: 0.03em; line-height: 1.4; }
.models-head p { font-family: var(--serif-jp); font-size: clamp(13px, 1vw, 15px); line-height: 1.95; color: var(--ink-soft); margin: 0; max-width: 480px; }
.models-legend {
  background: white;
  border: 1px solid var(--line);
  padding: 12px 16px;
  font-family: var(--sans-en);
  font-size: 11px;
  display: flex; flex-direction: column; gap: 6px;
  letter-spacing: 0.06em;
}
.models-legend .item { display: flex; align-items: center; gap: 8px; color: var(--ink-soft); }
.models-legend .swatch-on { width: 14px; height: 14px; background: var(--ink); }
.models-legend .swatch-off { width: 14px; height: 14px; background: white; border: 1px solid var(--line); }

.models-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.model-card {
  background: white;
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.model-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(31,24,19,0.18); }
.model-card .img {
  width: 100%; aspect-ratio: 1 / 1;
  position: relative; overflow: hidden;
  background-color: #fff !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}
.model-card .img::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(60deg, transparent 0 6px, rgba(255,255,255,0.05) 6px 8px); }
.model-card .img .diff {
  position: absolute; top: 10px; right: 10px;
  background: rgba(246,239,224,0.92);
  border: 1px solid var(--ink);
  padding: 3px 8px;
  font-family: var(--sans-en); font-size: 10px; letter-spacing: 0.04em;
  color: var(--ink);
}
.model-card .img .name-bottom {
  position: absolute; left: 12px; bottom: 12px;
  font-family: var(--hand); font-size: 13px;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.05em;
}
.model-card .body { padding: 12px 14px 8px; }
.model-card .name-row { display: flex; align-items: baseline; justify-content: space-between; }
.model-card .name { font-family: var(--serif-jp); font-weight: 700; font-size: 15px; margin: 0; }
.model-card .parts-count { font-family: var(--hand); font-size: 12px; color: var(--ink-soft); }
.model-card .compat { padding: 6px 14px 14px; display: flex; gap: 4px; }
.model-card .compat .b {
  flex: 1; text-align: center; padding: 5px 0;
  font-family: var(--sans-en); font-size: 11px; font-weight: 600;
  letter-spacing: 0.06em;
  background: white; color: var(--ink-soft-2);
  border: 1px solid var(--line);
  opacity: 0.55;
}
.model-card .compat .b.on { background: var(--ink); color: white; border-color: var(--ink); opacity: 1; }

/* Models series selector dropdown */
.models-select-wrap {
  display: inline-flex;
  align-items: center;
  position: relative;
  margin-bottom: clamp(28px, 3.5vh, 48px);
}
.models-select {
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--sans-en);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(139,109,75,0.38);
  padding: 12px 48px 12px 20px;
  cursor: pointer;
  outline: none;
  transition: border-color .18s;
  min-width: 180px;
}
.models-select:hover, .models-select:focus { border-color: var(--accent); }
.models-select-arrow {
  position: absolute;
  right: 16px;
  pointer-events: none;
  font-size: 9px;
  color: var(--ink-soft);
}
@media (max-width: 600px) {
  .models-select { font-size: 12px; min-width: 160px; }
}

/* Models tabs (legacy — keep for safety) */
.models-tabs {
  display: flex;
  gap: 0;
  margin-bottom: clamp(28px, 3.5vh, 48px);
  border-bottom: 1px solid var(--line);
}
.models-tab {
  font-family: var(--sans-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 12px 24px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: color .18s, border-color .18s;
  margin-bottom: -1px;
  white-space: nowrap;
}
.models-tab:hover { color: var(--ink); }
.models-tab.is-active {
  color: var(--ink);
  border-bottom-color: var(--ink);
  font-weight: 600;
}
@media (max-width: 600px) {
  .models-tab { font-size: 10px; padding: 10px 14px; letter-spacing: 0.14em; }
}

.models-count {
  font-family: var(--serif-jp);
  font-size: 13px;
  color: var(--ink-soft);
  margin: -12px 0 clamp(20px, 2.5vh, 32px);
  letter-spacing: 0.06em;
}
.models-empty {
  font-family: var(--serif-jp);
  font-size: 14px;
  color: var(--ink-soft);
  padding: 40px 0;
  text-align: center;
  grid-column: 1 / -1;
}

.models-foot {
  margin-top: 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  flex-wrap: wrap;
}
.models-foot .note { font-family: var(--hand); font-size: 14px; color: var(--ink-soft); }

/* ============================== WOODS (slim) ============================== */
.pdp-woods { background: var(--paper); }
.pdp-woods-head { margin-bottom: clamp(32px, 4vh, 50px); }
.pdp-woods-head h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 700; margin: 8px 0 0; letter-spacing: 0.03em; line-height: 1.4; }
.pdp-woods-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.pdp-wood {
  background: white;
  padding: 18px;
  transition: transform .3s;
}
.pdp-wood:hover { transform: translateY(-3px); }
.pdp-wood .swatch {
  width: 100%; aspect-ratio: 1 / 1;
  position: relative; overflow: hidden;
  background: #fff;
}
.pdp-wood .swatch::before {
  content: ''; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(96deg, transparent 0 4px, rgba(0,0,0,0.04) 4px 5px, transparent 5px 10px, rgba(255,255,255,0.06) 10px 12px);
}
.pdp-wood[data-wood="shiraki"] .swatch { background: url('assets/wood-shiraki.png') center / contain no-repeat #fff; }
.pdp-wood[data-wood="buna"]    .swatch { background: url('assets/wood-buna.png') center / contain no-repeat #fff; }
.pdp-wood[data-wood="sapele"]  .swatch { background: url('assets/wood-sapele.png') center / contain no-repeat #fff; }
.pdp-wood[data-wood="karin"]   .swatch { background: url('assets/wood-karin.png') center / contain no-repeat #fff; }
.pdp-wood .swatch::before { display: none; }
.pdp-wood .no { font-family: var(--hand); font-size: 13px; color: var(--accent); letter-spacing: 0.1em; margin-top: 14px; }
.pdp-wood .jp { font-family: var(--serif-jp); font-weight: 700; font-size: 18px; margin: 2px 0 0; }
.pdp-wood .en { font-family: var(--hand); font-size: 14px; color: var(--ink-soft); }

/* ============================== PLAY ============================== */
.play { background: var(--paper-warm); }
.play-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vh, 50px); }
.play-head h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 700; margin: 8px 0 0; letter-spacing: 0.03em; }
.play-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 14px;
}
.play-video {
  position: relative;
  aspect-ratio: 16 / 10;
  background: url('assets/play-kid-9.jpg') center / cover, linear-gradient(160deg, #5a4530, #1f1813);
  overflow: hidden;
  cursor: pointer;
}
.play-video::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(168,107,72,0.15), transparent 60%);
}
.play-video .play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(246,239,224,0.92);
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--ink);
  transition: transform .25s, background .25s;
  z-index: 2;
}
.play-video:hover .play-btn { transform: translate(-50%, -50%) scale(1.05); background: white; }
.play-video .label {
  position: absolute; left: 18px; bottom: 18px;
  color: rgba(246,239,224,0.85);
  font-family: var(--hand); font-size: 14px;
}
.play-thumb {
  aspect-ratio: 1;
  background-size: cover; background-position: center;
  cursor: pointer; overflow: hidden;
  transition: transform .35s;
}
.play-thumb:hover { transform: scale(1.04); }
.play-thumb.bg-1 { background: url('assets/play-kid-2.jpg') center / cover; }
.play-thumb.bg-2 { background: url('assets/play-kid-4.jpg') center / cover; }
.play-thumb.bg-3 { background: url('assets/play-kid-6.jpg') center / cover; }
.play-thumb.bg-4 { background: url('assets/play-kid-7.jpg') center / cover; }
.play-thumb.with-photo { background-image: url('assets/play-kid-3.jpg'); }

/* ============================== SAFETY ============================== */
.safety { background: var(--paper); }
.safety-head { margin-bottom: clamp(36px, 4vh, 60px); }
.safety-head h2 { font-size: clamp(36px, 4.4vw, 60px); font-weight: 700; margin: 8px 0 18px; letter-spacing: 0.04em; line-height: 1.2; }
.safety-head p { font-family: var(--serif-jp); font-size: clamp(13px, 1vw, 15px); line-height: 1.95; color: var(--ink-soft); margin: 0; max-width: 560px; }

.safety-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-bottom: 50px;
}
.safety-card {
  background: white;
  padding: clamp(28px, 3vw, 36px);
  position: relative;
  border-top: 3px solid var(--ink);
  transition: transform .35s, box-shadow .35s;
}
.safety-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(31,24,19,0.2); }
.safety-card .step {
  position: absolute; top: -3px; right: 24px;
  background: var(--ink); color: white;
  font-family: var(--sans-en); font-size: 11px; letter-spacing: 0.18em;
  padding: 5px 12px; font-weight: 600;
}
.safety-card .badge-row { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.safety-card .badge {
  width: 86px; height: 86px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.safety-card .badge .big {
  font-family: var(--serif-jp); font-weight: 900;
  font-size: 28px; color: var(--ink); line-height: 1;
  letter-spacing: -0.02em;
}
.safety-card .badge .big.small-text { font-size: 18px; }
.safety-card .badge .small {
  font-family: var(--hand); font-size: 11px;
  color: var(--ink); letter-spacing: 0.12em; margin-top: 3px;
}
.safety-card[data-cert="st"] .badge { background: #e6d4ad; }
.safety-card[data-cert="food"] .badge { background: #d6a474; }
.safety-card[data-cert="warranty"] .badge { background: #c79768; }
.safety-card .label-en {
  font-family: var(--hand); font-size: 13px; color: var(--accent); letter-spacing: 0.1em;
}
.safety-card .label-jp {
  font-family: var(--serif-jp); font-weight: 700;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.4; margin: 2px 0 0;
}
.safety-card .desc {
  font-family: var(--serif-jp); font-size: 12px;
  line-height: 1.95; color: var(--ink-soft);
  margin: 0;
}

.specs-wrap { margin-top: 20px; }
.specs-wrap .specs-eyebrow {
  display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px;
}
.specs-wrap .specs-eyebrow .label {
  font-family: var(--sans-en); font-size: 11px;
  color: var(--accent); letter-spacing: 0.32em; text-transform: uppercase;
}
.specs-wrap .specs-eyebrow .line-d { flex: 1; height: 1px; border-bottom: 1px dashed var(--line); }
.specs-table {
  background: transparent;
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.specs-table .row {
  display: grid; grid-template-columns: 130px 1fr;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: white;
}
.specs-table .k {
  background: var(--cream);
  padding: 14px 16px;
  font-family: var(--hand); font-size: 13px; color: var(--accent);
  letter-spacing: 0.04em;
}
.specs-table .v {
  padding: 14px 16px;
  font-family: var(--serif-jp); font-size: 12px;
  color: var(--ink); line-height: 1.7;
}
.specs-note { margin-top: 12px; text-align: right; font-family: var(--hand); font-size: 12px; color: var(--ink-soft); }

/* ============================== RELATED ============================== */
.related { background: var(--paper-soft); }
.related-head { margin-bottom: clamp(32px, 4vh, 50px); }
.related-head h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 700; margin: 8px 0 0; letter-spacing: 0.03em; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.related-card {
  background: white;
  position: relative;
  overflow: hidden;
  transition: transform .35s, box-shadow .35s, opacity .25s;
}
.related-card:not(.current):hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(31,24,19,0.2); }
.related-card.current { opacity: 0.55; pointer-events: none; }
.related-card .img { width: 100%; aspect-ratio: 4 / 3; position: relative; overflow: hidden; }
.related-card[data-prod="basic"] .img { background: url('assets/series-basic.jpg') center / cover #f5edd9; }
.related-card[data-prod="petit"] .img { background: url('assets/series-petit.jpg') center / cover #f5edd9; }
.related-card[data-prod="jumbo"] .img { background: url('assets/series-jumbo.jpg') center / cover #f5edd9; }
.related-card .img::after { display: none; }
.related-card .now-viewing {
  position: absolute; top: 14px; left: 14px;
  background: var(--ink); color: white;
  font-family: var(--sans-en); font-size: 10px; letter-spacing: 0.22em;
  padding: 4px 10px;
}
.related-card .new-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--accent); color: white;
  font-family: var(--sans-en); font-size: 10px; letter-spacing: 0.22em;
  padding: 4px 10px;
}
.related-card .body { padding: 20px; }
.related-card .order { font-family: var(--hand); font-size: 13px; color: var(--accent); }
.related-card .name { font-family: var(--serif-jp); font-weight: 700; font-size: 20px; margin: 4px 0 0; }
.related-card .sub { font-family: var(--hand); font-size: 14px; color: var(--ink-soft); margin: 0; }
.related-card .foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; }
.related-card .price { font-family: var(--serif-jp); font-weight: 700; font-size: 16px; }

/* ============================== FAQ ============================== */
.faq { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 5vw, 80px); align-items: start; }
.faq-side h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 700; margin: 8px 0 18px; letter-spacing: 0.03em; line-height: 1.4; }
.faq-side p { font-family: var(--serif-jp); font-size: 13px; line-height: 1.95; color: var(--ink-soft); margin: 0 0 22px; }

.faq-list { background: white; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:last-child { border-bottom: 0; }
.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 22px 24px;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  cursor: pointer;
  text-align: left;
}
.faq-q .ql { display: flex; gap: 14px; align-items: baseline; flex: 1; min-width: 0; }
.faq-q .qnum { font-family: var(--hand); font-size: 18px; color: var(--accent); flex-shrink: 0; }
.faq-q .qtxt { font-family: var(--serif-jp); font-weight: 700; font-size: 14px; color: var(--ink); line-height: 1.5; }
.faq-q .toggle {
  width: 22px; height: 22px; position: relative; flex-shrink: 0;
  transition: transform .3s;
}
.faq-q .toggle::before, .faq-q .toggle::after {
  content: ''; position: absolute; left: 50%; top: 50%;
  background: var(--accent);
}
.faq-q .toggle::before { width: 12px; height: 1.5px; transform: translate(-50%, -50%); }
.faq-q .toggle::after { width: 1.5px; height: 12px; transform: translate(-50%, -50%); transition: transform .3s; }
.faq-item.is-open .faq-q .toggle::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-a-inner {
  padding: 0 24px 24px 60px;
  font-family: var(--serif-jp); font-size: 13px; line-height: 1.95; color: var(--ink-soft);
}
.faq-item.is-open .faq-a { max-height: 300px; }

/* ============================== STICKY PURCHASE BAR ============================== */
.sticky-buy {
  position: fixed; left: 0; right: 0; bottom: 0;
  background: rgba(246,239,224,0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding: 14px clamp(20px, 4vw, 56px);
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  z-index: 90;
  transform: translateY(110%);
  transition: transform .4s cubic-bezier(.2,.7,.3,1);
}
.sticky-buy.is-visible { transform: translateY(0); }
.sticky-buy .product-info { display: flex; align-items: center; gap: 14px; min-width: 0; }
.sticky-buy .product-info .thumb { width: 50px; height: 50px; flex-shrink: 0; }
.sticky-buy[data-prod="basic"] .thumb { background: url('assets/basic250-pkg.jpg') center / cover #f5edd9; }
.sticky-buy[data-prod="petit"] .thumb { background: url('assets/petit-elephant-pkg.jpg') center / cover #f5edd9; }
.sticky-buy[data-prod="jumbo"] .thumb { background: url('assets/jumbo26-pkg.jpg') center / cover #f5edd9; }
.sticky-buy .product-info .label { font-family: var(--serif-jp); font-weight: 700; font-size: 14px; }
.sticky-buy .product-info .price { font-family: var(--hand); font-size: 14px; color: var(--ink-soft); }
.sticky-buy .actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ============================== RESPONSIVE ============================== */
@media (max-width: 900px) {
  .pdp-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .pdp-hero-text { order: 2; }
  .pdp-hero-image { aspect-ratio: 16 / 12; }

  .lineup-grid, .related-grid, .safety-cards { grid-template-columns: 1fr; }
  /* Petit same-series "other motifs" lineup: 5cols → 2cols on mobile */
  .lineup-grid[style*="repeat(5"] { grid-template-columns: repeat(2, 1fr) !important; }
  /* Petit top lineup: 3cols → 2cols on mobile */
  .lineup-grid[style*="repeat(3"] { grid-template-columns: repeat(2, 1fr) !important; }
  .pdp-woods-grid { grid-template-columns: repeat(2, 1fr); }
  .models-grid { grid-template-columns: repeat(2, 1fr); }
  .parts-grid { grid-template-columns: 1fr; gap: 30px; }
  .play-grid { grid-template-columns: 1fr 1fr; }
  .play-video { grid-column: 1 / -1; }
  .faq-grid { grid-template-columns: 1fr; }
  .specs-table { grid-template-columns: 1fr; }
  .specs-table .row { grid-template-columns: 100px 1fr; border-right: 0 !important; }

  .sticky-buy .actions .cta-pill-ghost { display: none; }
  .sticky-buy .product-info .label { font-size: 12px; }

  .safety-card .badge { width: 64px; height: 64px; }
  .safety-card .badge .big { font-size: 22px; }
  .safety-card .badge .big.small-text { font-size: 14px; }
}

.pdp-gallery {
  position: relative;
  padding: 0;
}
.pdp-gallery-main-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #fff;
}
.pdp-gallery-main {
  width: 100%; height: 100%;
  object-fit: contain;
  background: #fff;
  display: block;
  transition: opacity 0.18s ease;
  cursor: grab;
  user-select: none;
  -webkit-user-drag: none;
}
/* arrows sit inside the main image area */
.pdp-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.88);
  border: 1.5px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 4;
  font-size: 18px; color: var(--ink);
  transition: background .18s, box-shadow .18s;
  box-shadow: 0 2px 10px rgba(31,24,19,0.12);
}
.pdp-gallery-arrow:hover { background: rgba(255,255,255,1); box-shadow: 0 4px 16px rgba(31,24,19,0.18); }
.pdp-gallery-arrow.prev { left: 10px; }
.pdp-gallery-arrow.next { right: 10px; }
.pdp-gallery-strip {
  display: flex; gap: 5px; margin-top: 8px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 0 2px;
  cursor: grab;
  user-select: none;
}
.pdp-gallery-strip::-webkit-scrollbar { display: none; }
.pdp-gallery-strip:active { cursor: grabbing; }
.pdp-gallery-thumb {
  flex: 0 0 calc((100% - 4*5px) / 5.5);
  aspect-ratio: 1 / 1;
  scroll-snap-align: start;
  cursor: pointer;
  overflow: hidden;
  border: 2px solid transparent;
  background: #fff;
  transition: border-color .18s, opacity .18s;
}
.pdp-gallery-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.pdp-gallery-thumb.is-active { border-color: var(--ink); opacity: 1; }
.pdp-gallery-thumb:not(.is-active) { opacity: 0.55; }
.pdp-gallery-thumb:hover { opacity: 0.95; }
@media (max-width: 768px) {
  .pdp-gallery-thumb { flex: 0 0 calc((100% - 3*5px) / 4.5); }
  .pdp-gallery-arrow { width: 36px; height: 36px; font-size: 15px; }
}
