/* Pounce & Roam — Warm Editorial Boutique Pet Lifestyle Design System
   Warm cream linen canvas, deep espresso ink, terracotta & meadow sage accents,
   Fraunces editorial serif + Plus Jakarta Sans + Caveat studio handwriting. */

:root {
  --bg: #FBF8F3;
  --surface: #F3ECE1;
  --surface-sage: #EDF0E8;
  --card: #FFFFFF;
  --ink: #1E2420;
  --ink-soft: #4A514C;
  --muted: #78756C;
  --terracotta: #C85A32;
  --terracotta-dark: #A94724;
  --sage: #4B6A53;
  --sage-soft: #DCE4D8;
  --honey: #F3DF9E;
  --line: rgba(30, 36, 32, 0.10);
  --line-strong: rgba(30, 36, 32, 0.22);
  --shadow-sm: 0 2px 10px rgba(30, 36, 32, 0.05);
  --shadow-md: 0 12px 32px rgba(30, 36, 32, 0.08);
  --shadow-lg: 0 24px 60px rgba(30, 36, 32, 0.14);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --hand: 'Caveat', Georgia, cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15.5px/1.62 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button, a, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { text-decoration: none; color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2.5px solid var(--terracotta);
  outline-offset: 2px;
}
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.p-skip { position: absolute; left: -9999px; top: 0; }
.p-skip:focus { left: 14px; top: 14px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; }

.p-wrap {
  max-width: 1260px;
  margin: 0 auto;
  padding-left: clamp(18px, 4vw, 44px);
  padding-right: clamp(18px, 4vw, 44px);
}
.p-eyebrow {
  display: inline-block;
  font: 700 11.5px/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 12px;
}
.pr-handwritten {
  font-family: var(--hand);
  font-size: 21px;
  line-height: 1.2;
  color: var(--terracotta);
  font-weight: 600;
}

/* ---------------- Announcement Bar ---------------- */
.pr-announce {
  background: var(--ink);
  color: #EFEAE0;
  font-size: 12.5px;
  letter-spacing: 0.02em;
}
.pr-announce-in {
  max-width: 1260px;
  margin: 0 auto;
  padding: 9px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  text-align: center;
}
.pr-announce .dot { opacity: 0.45; }

/* ---------------- Sticky Glass Header ---------------- */
.p-head {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(251, 248, 243, 0.90);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.p-head-in {
  max-width: 1260px;
  margin: 0 auto;
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 10px clamp(18px, 4vw, 44px);
}
.p-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 600 clamp(19px, 2.2vw, 23px)/1 var(--serif);
  letter-spacing: -0.02em;
  color: var(--ink);
}
.pr-logo { color: var(--terracotta); flex: 0 0 auto; transition: transform 0.35s var(--ease); }
.p-brand:hover .pr-logo { transform: rotate(-8deg) scale(1.06); }

.p-nav { display: flex; gap: 6px; align-items: center; }
.p-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14.5px;
  color: var(--ink-soft);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.p-nav a:hover { background: var(--surface); color: var(--ink); }

.p-tools { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.p-find { position: relative; }
.p-find summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-weight: 500;
  font-size: 13.5px;
  color: var(--ink-soft);
  background: rgba(255,255,255,0.6);
  cursor: pointer;
  list-style: none;
  transition: border-color 0.2s, background 0.2s;
}
.p-find summary:hover { border-color: var(--ink); background: #fff; color: var(--ink); }
.p-find summary::-webkit-details-marker { display: none; }
.p-find form {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: 10px;
  display: flex;
  gap: 8px;
  z-index: 90;
  box-shadow: var(--shadow-lg);
}
.p-find input {
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  width: 230px;
  background: var(--bg);
  font-size: 14px;
}
.p-find button {
  background: var(--ink);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  font-weight: 600;
  font-size: 13.5px;
}
.p-bag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s, transform 0.2s var(--ease);
}
.p-bag:hover { background: #E9DFCE; transform: translateY(-1px); }
.p-bag b {
  background: var(--terracotta);
  color: #fff;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s var(--ease);
}
.p-bag.bump b { transform: scale(1.28); }

/* ---------------- Buttons ---------------- */
.p-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--terracotta);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 14px 26px;
  font-weight: 600;
  font-size: 15px;
  min-height: 50px;
  box-shadow: 0 6px 20px rgba(200, 90, 50, 0.22);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.p-button:hover {
  background: var(--terracotta-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(200, 90, 50, 0.30);
}
.p-button:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.p-button.full { width: 100%; }
.p-button.grow { flex: 1 1 200px; }
.p-button.ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
  box-shadow: none;
}
.p-button.ghost:hover {
  background: #fff;
  border-color: var(--ink);
  box-shadow: var(--shadow-sm);
}

/* ---------------- Editorial Split Hero + Hotspots ---------------- */
.p-hero {
  padding: clamp(28px, 4.5vw, 56px) 0 clamp(40px, 5vw, 68px);
  background: radial-gradient(circle at 82% 24%, #F4E9D7 0%, transparent 55%), var(--bg);
}
.pr-hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
}
.pr-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 4px rgba(75, 106, 83, 0.18);
}
.p-hero h1 {
  font: 500 clamp(38px, 4.6vw, 62px)/1.06 var(--serif);
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}
.p-hero-sub {
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 28px;
  max-width: 48ch;
}
.p-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.p-hero-actions.center { justify-content: center; }

.pr-hero-proof {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.pr-proof-item { display: flex; flex-direction: column; gap: 2px; }
.pr-proof-item b { font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--ink); line-height: 1.1; }
.pr-proof-item span { font-size: 12.5px; color: var(--muted); }
.pr-proof-sep { width: 1px; height: 28px; background: var(--line); }

.pr-hero-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.pr-hero-frame > img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.pr-hero-note {
  position: absolute;
  left: 20px;
  bottom: -18px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pr-hero-note small { font-size: 12px; color: var(--muted); }

/* Interactive Shop-the-Room Hotspots */
.pr-hotspot { position: absolute; transform: translate(-50%, -50%); z-index: 6; }
.pr-hotspot-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: rgba(30, 36, 32, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform 0.25s var(--ease), background 0.25s;
}
.pr-hotspot-dot span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  animation: hotspotPulse 2.4s infinite ease-in-out;
}
@keyframes hotspotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.7; }
}
.pr-hotspot:hover .pr-hotspot-dot, .pr-hotspot.is-open .pr-hotspot-dot {
  background: var(--terracotta);
  transform: scale(1.12);
}
.pr-hotspot-card {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  transform: translateX(-50%) translateY(6px);
  width: 210px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}
.pr-hotspot:hover .pr-hotspot-card,
.pr-hotspot.is-open .pr-hotspot-card,
.pr-hotspot:focus-within .pr-hotspot-card {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.pr-hotspot-card small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--sage); font-weight: 700; }
.pr-hotspot-card b { display: block; font-family: var(--serif); font-size: 15.5px; margin: 3px 0 8px; line-height: 1.2; }
.pr-hotspot-row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.pr-hotspot-row a { color: var(--terracotta); font-weight: 700; font-size: 13px; }
.pr-hotspot-row a:hover { text-decoration: underline; }

/* ---------------- Material Strip ---------------- */
.pr-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  padding: 16px 0;
}
.pr-strip-in {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
}
.pr-strip-in i { color: var(--terracotta); font-style: normal; margin-right: 4px; }

/* ---------------- Product Shelf & Hover Swap Cards ---------------- */
.p-shelf { padding: clamp(54px, 7vw, 96px) 0; }
.p-shelf-head { margin-bottom: 30px; }
.p-shelf-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}
.p-shelf-title { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.p-shelf-title h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.08; margin: 0; }
.p-shelf-title small { color: var(--muted); font-size: 14.5px; }
.p-clear { color: var(--terracotta); font-weight: 600; font-size: 14px; }

.pr-pet-toggle {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.pet-tab {
  border: 0;
  background: transparent;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background 0.22s var(--ease), color 0.22s var(--ease), box-shadow 0.22s;
}
.pet-tab.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.p-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.p-filters a {
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-weight: 500;
  font-size: 13.5px;
  background: #fff;
  color: var(--ink-soft);
  transition: all 0.2s var(--ease);
}
.p-filters a:hover { border-color: var(--ink); color: var(--ink); }
.p-filters a em { font-style: normal; opacity: 0.6; margin-left: 3px; font-size: 12px; }
.p-filters a[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }

.p-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.p-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.p-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.p-card.is-hidden { display: none; }

.p-tile-wrap { position: relative; overflow: hidden; background: var(--surface); }
.p-tile { display: block; position: relative; aspect-ratio: 1/1; overflow: hidden; }
.p-tile .ph {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 500 44px/1 var(--serif);
  color: #C7BEA9;
}
.p-tile .thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: opacity 0.45s var(--ease), transform 0.6s var(--ease);
}
.p-tile .thumb.secondary { opacity: 0; z-index: 2; transform: scale(1.04); }
.p-card:hover .p-tile .thumb.primary { transform: scale(1.03); }
.p-card:hover .p-tile .thumb.secondary { opacity: 1; transform: scale(1); }

.pr-card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  pointer-events: none;
}
.pr-pill-pet, .pr-pill-best {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
}
.pr-pill-pet { background: rgba(251, 248, 243, 0.90); color: var(--ink); border: 1px solid rgba(30,36,32,0.08); }
.pr-pill-pet.inline { position: static; background: var(--surface); }
.pr-pill-best { background: rgba(200, 90, 50, 0.92); color: #fff; }

.pr-quick-form {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 5;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.p-card:hover .pr-quick-form, .p-card:focus-within .pr-quick-form {
  opacity: 1;
  transform: translateY(0);
}
.pr-quick-btn {
  width: 100%;
  padding: 11px 16px;
  border: 0;
  border-radius: 999px;
  background: rgba(30, 36, 32, 0.92);
  backdrop-filter: blur(6px);
  color: #fff;
  font-weight: 600;
  font-size: 13.5px;
  transition: background 0.2s;
}
.pr-quick-btn:hover { background: var(--terracotta); }

.p-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.p-meta { display: flex; gap: 6px; align-items: center; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.p-meta .sep { opacity: 0.5; }
.p-card-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.p-card-line h3 { font-size: 19px; line-height: 1.2; margin: 0; font-weight: 500; }
.p-card-line h3 a:hover { color: var(--terracotta); }
.p-card-line strong { font-size: 16.5px; font-weight: 700; white-space: nowrap; }
.p-card-note {
  margin: 8px 0 14px;
  font-size: 13.5px;
  line-height: 1.48;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.p-card-foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.p-view { font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
.p-view:hover { color: var(--terracotta); }
.p-card-foot .p-add button {
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  font-weight: 600;
  font-size: 13px;
  transition: all 0.2s var(--ease);
}
.p-card-foot .p-add button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.p-sold { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--surface); color: var(--muted); font-size: 13px; font-weight: 600; }
.p-sold.big { padding: 12px 18px; font-size: 14.5px; }
.p-empty { border: 1.5px dashed var(--line-strong); border-radius: var(--radius-md); padding: 54px 24px; text-align: center; }

/* ---------------- Interactive 30-Second Pet Personality Quiz ---------------- */
.pr-quiz-sec {
  padding: clamp(56px, 7vw, 96px) 0;
  background: var(--surface-sage);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pr-quiz-shell {
  display: grid;
  grid-template-columns: 0.9fr 1.25fr;
  gap: clamp(28px, 4.5vw, 60px);
  align-items: center;
}
.pr-quiz-intro h2 { font-size: clamp(30px, 3.8vw, 44px); line-height: 1.08; margin: 0 0 14px; }
.pr-quiz-intro p { color: var(--ink-soft); margin: 0 0 26px; font-size: 16px; }
.pr-quiz-steps-ind { display: flex; gap: 10px; flex-wrap: wrap; }
.q-step-dot {
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.65);
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.25s var(--ease);
}
.q-step-dot.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.q-step-dot.is-done { background: var(--sage-soft); color: var(--sage); border-color: rgba(75,106,83,0.3); }

.pr-quiz-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.5vw, 38px);
  box-shadow: var(--shadow-md);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.q-pane { display: none; animation: fadeLift 0.35s var(--ease); }
.q-pane.is-active { display: block; }
@keyframes fadeLift {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.q-num { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--terracotta); }
.q-pane h3 { font-size: clamp(22px, 2.4vw, 28px); margin: 6px 0 20px; }
.q-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.q-opt {
  text-align: left;
  padding: 18px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--line);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.25s var(--ease);
}
.q-opt:hover {
  border-color: var(--terracotta);
  background: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.q-ico { font-size: 26px; line-height: 1; margin-bottom: 4px; }
.q-opt b { font-size: 15px; font-weight: 700; color: var(--ink); }
.q-opt small { font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.q-back {
  margin-top: 18px;
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  padding: 4px 0;
}
.q-back:hover { color: var(--ink); }

/* Quiz Result Card */
.qr-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--honey);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.qr-title { font-size: clamp(24px, 2.6vw, 32px); margin: 0 0 8px; }
.qr-desc { color: var(--ink-soft); margin: 0 0 18px; font-size: 14.5px; }
.qr-meters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 22px; }
.qr-meter { background: var(--bg); padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); }
.qr-meter span { display: flex; justify-content: space-between; font-size: 11.5px; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; }
.qr-bar { height: 6px; border-radius: 999px; background: rgba(30,36,32,0.1); overflow: hidden; }
.qr-bar i { display: block; height: 100%; border-radius: 999px; background: var(--sage); }

.qr-picks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 20px; }
.qr-pick {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg);
  transition: border-color 0.2s;
}
.qr-pick:hover { border-color: var(--ink); }
.qr-pick img { width: 58px; height: 58px; border-radius: 10px; object-fit: cover; flex: 0 0 auto; }
.qr-pick div { min-width: 0; }
.qr-pick b { display: block; font-size: 14px; line-height: 1.2; margin-bottom: 2px; }
.qr-pick span { font-size: 13px; color: var(--terracotta); font-weight: 700; }
.qr-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* ---------------- Interactive Story Journal & Swatch Explorer ---------------- */
.pr-story-sec { padding: clamp(58px, 7.5vw, 100px) 0; background: var(--bg); }
.pr-story-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.pr-story-head h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.08; margin: 0; max-width: 18ch; }

.st-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}
.st-tab {
  text-align: left;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.25s var(--ease);
}
.st-tab span {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--muted);
  font-weight: 500;
}
.st-tab b { font-size: 14.5px; font-weight: 600; color: var(--ink-soft); }
.st-tab:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.st-tab.is-active {
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: var(--shadow-md);
}
.st-tab.is-active span { color: var(--honey); }
.st-tab.is-active b { color: #fff; }

.pr-story-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.st-plate {
  display: none;
  margin: 0;
  background: #fff;
  padding: 14px 14px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  animation: fadeLift 0.4s var(--ease);
}
.st-plate.is-active { display: block; }
.st-plate img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 14px; }
.st-plate figcaption { margin-top: 14px; padding: 0 6px; text-align: center; }

.st-copy { display: none; animation: fadeLift 0.35s var(--ease); }
.st-copy.is-active { display: block; }
.st-copy h3 { font-size: clamp(24px, 2.8vw, 34px); line-height: 1.15; margin: 0 0 14px; }
.st-copy p { font-size: 16.5px; line-height: 1.7; color: var(--ink-soft); margin: 0; }

.p-story-quote {
  margin: 26px 0 0;
  padding: 20px 24px;
  border-left: 3px solid var(--terracotta);
  background: var(--surface);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font: italic 400 clamp(19px, 2vw, 23px)/1.35 var(--serif);
  color: var(--ink);
}
.p-story-quote footer {
  margin-top: 10px;
  font: normal 600 13px/1 var(--sans);
  letter-spacing: 0.04em;
  color: var(--muted);
}

.pr-swatch-box {
  margin-top: 28px;
  padding: 22px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.pr-swatch-label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--sage); margin-bottom: 14px; }
.sw-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.sw-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px 6px 7px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--bg);
  font-size: 12.5px;
  font-weight: 600;
  transition: all 0.2s var(--ease);
}
.sw-btn em { font-style: normal; }
.sw-dot { width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.12); box-shadow: inset 0 1px 3px rgba(255,255,255,0.45); }
.sw-btn:hover { border-color: var(--ink); }
.sw-btn.is-active { background: var(--ink); color: #fff; border-color: var(--ink); transform: scale(1.03); }
.sw-detail b { display: block; font-size: 15px; margin-bottom: 4px; }
.sw-detail p { margin: 0; font-size: 14px; color: var(--ink-soft); line-height: 1.55; }

/* ---------------- Build Your Cozy Trio Bundle Builder ---------------- */
.pr-bundle-sec {
  padding: clamp(58px, 7.5vw, 100px) 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pr-bundle-head { max-width: 58ch; margin-bottom: 32px; }
.pr-bundle-head h2 { font-size: clamp(30px, 4vw, 44px); margin: 0 0 10px; line-height: 1.08; }
.pr-bundle-head p { margin: 0; color: var(--ink-soft); font-size: 16px; }

.pr-bundle-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 28px;
  align-items: start;
}
.bn-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.bn-item {
  text-align: left;
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--line);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.25s var(--ease);
}
.bn-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--line-strong); }
.bn-item.is-picked { border-color: var(--terracotta); box-shadow: 0 0 0 3px rgba(200, 90, 50, 0.14); }
.bn-thumb { position: relative; display: block; aspect-ratio: 1/1; border-radius: 10px; overflow: hidden; background: var(--surface); }
.bn-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bn-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fff;
  font-style: normal;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.22s var(--ease);
}
.bn-item.is-picked .bn-check { opacity: 1; transform: scale(1); }
.bn-meta { display: flex; flex-direction: column; gap: 2px; }
.bn-meta small { font-size: 11px; color: var(--sage); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.bn-meta b { font-family: var(--serif); font-size: 15.5px; line-height: 1.2; }
.bn-meta strong { font-size: 14px; color: var(--ink-soft); }

.bn-tray {
  position: sticky;
  top: 94px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
}
.bn-tray-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.bn-tray-head h3 { margin: 0; font-size: 22px; }
.bn-badge {
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--surface);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
}
.bn-badge.ready { background: var(--sage-soft); color: var(--sage); }
.bn-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.bn-slot {
  aspect-ratio: 1/1;
  border-radius: 12px;
  border: 1.5px dashed var(--line-strong);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6px;
  position: relative;
  overflow: hidden;
}
.bn-slot.empty span { font-family: var(--serif); font-size: 20px; color: var(--muted); }
.bn-slot.empty small { font-size: 11px; color: var(--muted); line-height: 1.2; margin-top: 2px; }
.bn-slot.filled { border-style: solid; border-color: var(--terracotta); padding: 0; }
.bn-slot.filled img { width: 100%; height: 100%; object-fit: cover; }
.bn-slot-rm {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 0;
  background: rgba(30,36,32,0.82);
  color: #fff;
  font-size: 14px;
  line-height: 1;
}

.bn-pricing { border-top: 1px solid var(--line); padding: 14px 0 18px; display: flex; flex-direction: column; gap: 8px; }
.bn-row { display: flex; justify-content: space-between; font-size: 14.5px; color: var(--ink-soft); }
.bn-row.save { color: var(--sage); font-weight: 700; }
.bn-row.total { font-size: 18px; color: var(--ink); padding-top: 8px; border-top: 1px solid var(--line); }
.bn-hint { margin: 12px 0 0; font-size: 12px; color: var(--muted); text-align: center; }

/* ---------------- Community Homes Lookbook ---------------- */
.pr-comm-sec { padding: clamp(58px, 7.5vw, 96px) 0; background: var(--bg); }
.pr-center-head { text-align: center; max-width: 58ch; margin: 0 auto 36px; }
.pr-center-head h2 { font-size: clamp(28px, 3.8vw, 42px); margin: 0; line-height: 1.1; }
.cm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cm-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.cm-img { position: relative; aspect-ratio: 4/3; overflow: hidden; display: block; }
.cm-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s var(--ease); }
.cm-card:hover .cm-img img { transform: scale(1.04); }
.cm-shop-pill {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(251, 248, 243, 0.94);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.cm-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.cm-stars { color: var(--terracotta); font-size: 14px; letter-spacing: 0.1em; margin-bottom: 8px; }
.cm-body p { margin: 0 0 16px; font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }
.cm-who { margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; border-top: 1px solid var(--line); padding-top: 12px; }
.cm-who b { color: var(--ink); }
.cm-who span { color: var(--muted); }

/* ---------------- Policies ---------------- */
.p-policies { padding: clamp(42px, 5vw, 68px) 0; border-top: 1px solid var(--line); background: var(--surface); }
.p-pol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.p-pol { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px; }
.p-pol-ico { display: inline-block; font-size: 22px; margin-bottom: 10px; }
.p-pol b { font-family: var(--serif); font-size: 20px; display: block; margin-bottom: 8px; }
.p-pol p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }

/* ---------------- Interactive Mascot Horizon ---------------- */
.pr-footer-horizon {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding-top: 28px;
  overflow: visible;
}
.pr-horizon-in {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
.pr-horizon-copy { padding-bottom: 24px; }
.pr-horizon-copy p { margin: 4px 0 0; color: var(--ink-soft); font-size: 14.5px; }
.pr-mascot-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  user-select: none;
  margin-bottom: -4px;
}
.pr-mascot-svg { display: block; transition: transform 0.25s var(--ease); }
.pr-mascot-stage:hover .pr-mascot-svg { transform: translateY(-4px); }
.pr-mascot-stage.is-happy .pr-mascot-svg { animation: mascotHop 0.45s var(--ease); }
@keyframes mascotHop {
  0% { transform: translateY(0); }
  45% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}
.pr-mascot-bubble {
  margin-bottom: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line-strong);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.pr-float-heart {
  position: absolute;
  pointer-events: none;
  color: var(--terracotta);
  font-size: 18px;
  animation: floatHeart 1s var(--ease) forwards;
}
@keyframes floatHeart {
  0% { opacity: 1; transform: translate(0, 0) scale(0.8); }
  100% { opacity: 0; transform: translate(var(--dx, 0px), -54px) scale(1.3); }
}

/* ---------------- Footer ---------------- */
.p-foot { background: var(--ink); color: #DCD6CA; }
.p-foot-in {
  max-width: 1260px;
  margin: 0 auto;
  padding: 54px clamp(18px, 4vw, 44px) 44px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 36px;
}
.p-foot .p-brand { color: #fff; }
.p-foot .pr-logo { color: var(--honey); }
.p-foot-brandcol p { color: #B4AEA2; font-size: 14px; max-width: 42ch; margin: 14px 0 18px; }
.pr-newsletter { display: flex; gap: 8px; max-width: 380px; }
.pr-newsletter input {
  flex: 1;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 14px;
}
.pr-newsletter input::placeholder { color: #9F998D; }
.pr-newsletter button {
  padding: 0 20px;
  border-radius: 999px;
  border: 0;
  background: var(--terracotta);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
}
.pr-nl-msg { font-size: 13px; color: var(--honey); margin: 8px 0 0; min-height: 18px; }
.p-foot nav { display: flex; flex-direction: column; gap: 10px; }
.p-foot nav b { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--honey); margin-bottom: 4px; }
.p-foot nav a { color: #DCD6CA; font-size: 14.5px; }
.p-foot nav a:hover { color: #fff; }
.p-foot-bottom { border-top: 1px solid rgba(255,255,255,0.1); }
.p-foot-bottom-in {
  padding-top: 18px;
  padding-bottom: 22px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #9C968B;
}

/* ---------------- Slide-Out Cart Drawer ---------------- */
.pr-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(30, 36, 32, 0.48);
  backdrop-filter: blur(4px);
  z-index: 240;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.pr-drawer-backdrop.is-open { opacity: 1; }
.pr-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100vw);
  background: var(--bg);
  z-index: 250;
  display: flex;
  flex-direction: column;
  box-shadow: -16px 0 50px rgba(30, 36, 32, 0.22);
  transform: translateX(100%);
  transition: transform 0.38s var(--ease);
}
.pr-drawer.is-open { transform: translateX(0); }
.pr-drawer-head {
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
}
.pr-drawer-title { display: flex; align-items: baseline; gap: 10px; }
.pr-drawer-title h2 { margin: 0; font-size: 24px; }
.pr-drawer-title span { font-size: 13px; color: var(--muted); }
.pr-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: 22px;
  line-height: 1;
}
.pr-drawer-close:hover { background: var(--ink); color: #fff; }

.pr-ship-bar {
  padding: 14px 22px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.pr-ship-bar.page { border-radius: var(--radius-md); border: 1px solid var(--line); margin: 16px 0 22px; }
.pr-ship-bar p { margin: 0 0 8px; font-size: 13.5px; color: var(--ink); }
.pr-ship-track { height: 7px; border-radius: 999px; background: rgba(30,36,32,0.12); overflow: hidden; }
.pr-ship-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--terracotta), var(--sage));
  transition: width 0.45s var(--ease);
}

.pr-drawer-body { flex: 1; min-height: 0; overflow-y: auto; padding: 12px 22px 18px; }
.pr-drawer-empty { text-align: center; padding: 48px 12px; color: var(--muted); }
.pr-drawer-empty p { margin: 0 0 20px; }

.dr-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.dr-thumb { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--surface); }
.dr-thumb img { width: 100%; height: 100%; object-fit: cover; }
.dr-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dr-top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.dr-name { font-family: var(--serif); font-size: 16px; font-weight: 500; line-height: 1.2; }
.dr-price { font-weight: 700; font-size: 14.5px; white-space: nowrap; }
.dr-var { font-size: 12px; color: var(--muted); }
.dr-ctrl { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.dr-step { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; }
.dr-step button { width: 28px; height: 28px; border: 0; background: none; font-size: 16px; }
.dr-step span { min-width: 24px; text-align: center; font-size: 13px; font-weight: 700; }
.dr-rm { border: 0; background: none; font-size: 12.5px; color: var(--muted); text-decoration: underline; }
.dr-rm:hover { color: var(--terracotta); }

.pr-drawer-upsell {
  padding: 10px 22px;
  background: var(--surface-sage);
  border-top: 1px solid var(--line);
}
.dr-up-label { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--sage); margin-bottom: 6px; }
.dr-up-card { display: flex; align-items: center; gap: 10px; background: #fff; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); }
.dr-up-card img { width: 42px; height: 42px; border-radius: 8px; object-fit: cover; }
.dr-up-card div { flex: 1; min-width: 0; }
.dr-up-card b { display: block; font-size: 13px; line-height: 1.2; }
.dr-up-card span { font-size: 12px; color: var(--muted); }
.dr-up-card button { padding: 6px 12px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; }

.pr-drawer-foot { padding: 14px 22px 18px; background: #fff; border-top: 1px solid var(--line); }
.pr-drawer-save { display: flex; justify-content: space-between; font-size: 14px; color: var(--sage); font-weight: 600; margin-bottom: 6px; }
.pr-drawer-sub { display: flex; justify-content: space-between; font-size: 18px; margin-bottom: 4px; }
.pr-drawer-note { font-size: 12.5px; color: var(--muted); margin: 0 0 14px; }
.pr-drawer-actions { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.pr-drawer-viewbag { font-size: 13.5px; color: var(--ink-soft); text-decoration: underline; }

/* Floating Toasts */
.pr-toast-stack { position: fixed; left: 20px; bottom: 20px; z-index: 260; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.pr-toast-item {
  background: var(--ink);
  color: #fff;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  animation: fadeLift 0.3s var(--ease);
}

/* ---------------- Product Detail Page ---------------- */
.p-detail { padding: clamp(22px, 4vw, 48px) 0 clamp(56px, 7vw, 90px); }
.p-crumb { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 13.5px; color: var(--muted); margin-bottom: 24px; }
.p-crumb a:hover { color: var(--terracotta); }
.p-product { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 60px); align-items: start; }
.p-preview-banner { background: var(--honey); border-radius: 12px; padding: 10px 16px; font-weight: 600; margin-bottom: 18px; font-size: 14px; }

.p-gallery { display: grid; gap: 12px; }
.p-gallery .g-radio { position: absolute; opacity: 0; pointer-events: none; }
.g-shot { display: none; margin: 0; }
.g-shot .p-zoom, .p-gallery.single .p-main .p-zoom {
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  cursor: zoom-in;
}
.g-shot img, .p-gallery.single .p-main img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.g-shot figcaption { font-size: 12px; color: var(--muted); margin-top: 8px; }
#shot-0:checked ~ .p-stage .s0, #shot-1:checked ~ .p-stage .s1, #shot-2:checked ~ .p-stage .s2,
#shot-3:checked ~ .p-stage .s3, #shot-4:checked ~ .p-stage .s4, #shot-5:checked ~ .p-stage .s5,
#shot-6:checked ~ .p-stage .s6, #shot-7:checked ~ .p-stage .s7 { display: block; }
.p-gallery-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.p-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.p-thumbs label { width: 66px; height: 66px; border: 2px solid transparent; border-radius: 12px; overflow: hidden; cursor: pointer; background: var(--surface); }
.p-thumbs label img { width: 100%; height: 100%; object-fit: cover; }
#shot-0:checked ~ .p-gallery-bar .p-thumbs label:nth-of-type(1),
#shot-1:checked ~ .p-gallery-bar .p-thumbs label:nth-of-type(2),
#shot-2:checked ~ .p-gallery-bar .p-thumbs label:nth-of-type(3),
#shot-3:checked ~ .p-gallery-bar .p-thumbs label:nth-of-type(4) { border-color: var(--terracotta); }
.p-gallery-nav { display: flex; gap: 8px; }
.p-prev, .p-next { width: 40px; height: 40px; border: 1px solid var(--line-strong); background: #fff; border-radius: 50%; font-size: 20px; }
.p-prev:hover, .p-next:hover { border-color: var(--ink); }

.p-info { display: flex; flex-direction: column; gap: 14px; }
.pr-pdp-eyebrow { display: flex; align-items: center; gap: 10px; }
.p-over { font: 700 12px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage); }
.p-info h1 { font-size: clamp(32px, 4.2vw, 48px); line-height: 1.06; margin: 0; }
.p-pricerow { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.p-pricerow strong { font-size: 26px; font-weight: 700; }
.p-pricerow span { color: var(--muted); font-size: 14.5px; }
.p-desc { color: var(--ink-soft); margin: 0; font-size: 16px; line-height: 1.65; }
.p-reason { border-left: 3px solid var(--terracotta); padding: 12px 18px; background: var(--surface); border-radius: 0 12px 12px 0; }
.p-reason.sage { border-left-color: var(--sage); background: var(--surface-sage); }
.p-reason b { display: block; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); margin-bottom: 3px; }
.p-reason p { margin: 0; font-size: 14.5px; color: var(--ink-soft); }

.p-stock { color: var(--sage); font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 8px; margin: 4px 0 0; }
.p-stock i { width: 8px; height: 8px; background: #3D9B59; border-radius: 50%; }
.p-buyrow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.step { display: inline-flex; align-items: center; border: 1.5px solid var(--line-strong); border-radius: 999px; background: #fff; overflow: hidden; }
.step-btn { border: 0; background: none; width: 42px; height: 48px; font-size: 20px; }
.step .qty { border: 0; width: 46px; text-align: center; font-weight: 700; -moz-appearance: textfield; }
.step .qty::-webkit-outer-spin-button, .step .qty::-webkit-inner-spin-button { -webkit-appearance: none; }

.pr-pdp-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
}
.pr-pdp-trust div { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; font-size: 12px; }
.pr-pdp-trust span { font-size: 18px; }
.pr-pdp-trust b { font-weight: 600; color: var(--ink); }

.p-video { margin: 6px 0; }
.p-video video { width: 100%; border-radius: 14px; border: 1px solid var(--line); background: #000; }
.p-video figcaption { font-size: 12px; color: var(--muted); margin-top: 6px; }
.p-acc { border-top: 1px solid var(--line); padding: 14px 0; }
.p-acc summary { cursor: pointer; font-weight: 600; font-size: 15px; }
.p-acc p { margin: 10px 0 0; color: var(--ink-soft); font-size: 14.5px; line-height: 1.65; }
.p-more { padding: clamp(46px, 6vw, 76px) 0; border-top: 1px solid var(--line); background: var(--surface); }
.p-more .p-sec-head { margin-bottom: 24px; }
.p-more h2 { font-size: clamp(26px, 3.5vw, 38px); margin: 0; }

/* Lightbox */
.p-lightbox { position: fixed; inset: 0; background: rgba(20, 24, 22, 0.9); display: flex; align-items: center; justify-content: center; z-index: 300; cursor: zoom-out; padding: 24px; }
.p-lightbox img { max-width: 100%; max-height: 92vh; border-radius: 12px; }

/* ---------------- About / Help / Cart / Checkout ---------------- */
.pr-about-hero { padding: clamp(32px, 5vw, 64px) 0; }
.pr-about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.pr-about-grid h1 { font-size: clamp(34px, 4.5vw, 52px); line-height: 1.06; margin: 0 0 22px; }
.p-story-copy p { font-size: 16.5px; line-height: 1.75; color: var(--ink-soft); margin: 0 0 16px; }
.pr-about-photos { display: flex; flex-direction: column; gap: 22px; }
.pr-about-pillars { padding: 48px 0; background: var(--surface); border-top: 1px solid var(--line); }
.p-about-cta { padding: 64px 0; text-align: center; background: var(--surface-sage); border-top: 1px solid var(--line); }
.p-about-cta h2 { font-size: clamp(28px, 3.8vw, 42px); margin: 0 0 22px; }

.narrow { max-width: 860px; margin: 0 auto; padding: 36px clamp(18px, 4vw, 40px) 84px; }
.narrow h1 { font-size: clamp(32px, 4vw, 46px); line-height: 1.08; margin: 0 0 14px; }
.p-lead { font-size: 17px; color: var(--ink-soft); margin: 0 0 28px; }
.help-faq { margin-top: 34px; }
.help-faq h2 { font-size: 26px; margin-bottom: 12px; }

.p-empty-bag { text-align: center; max-width: 580px; margin: 12px auto 0; }
.p-empty-bag p { color: var(--ink-soft); margin: 0 0 24px; }
.p-empty-recs { margin-top: 48px; border-top: 1px solid var(--line); padding-top: 28px; }
.p-empty-recs > p { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--sage); margin: 0 0 18px; }

.cart-row { display: grid; grid-template-columns: 76px 1fr auto auto auto; gap: 16px; align-items: center; border-top: 1px solid var(--line); padding: 18px 0; }
.cart-thumb { width: 76px; height: 76px; border-radius: 12px; overflow: hidden; position: relative; background: var(--surface); }
.cart-thumb .thumb, .co-thumb .thumb { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.cart-thumb .ph, .co-thumb .ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #C2B9A5; font-family: var(--serif); }
.cart-name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cart-title { font-family: var(--serif); font-size: 18px; font-weight: 500; }
.fine { color: var(--muted); font-size: 13px; }
.qtyform { display: inline-flex; align-items: center; gap: 8px; }
.qty { width: 62px; padding: 8px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; }
.cart-line { font-weight: 700; min-width: 72px; text-align: right; }
.subtotal { display: flex; justify-content: space-between; font-size: 21px; margin: 18px 0; border-top: 1.5px solid var(--ink); padding-top: 16px; }
.co-totals { margin-top: 12px; }
.co-trow { display: flex; justify-content: space-between; color: var(--ink-soft); font-size: 15px; padding: 8px 0; }
.test-notice { background: var(--surface); border: 1px solid var(--line-strong); padding: 16px 18px; border-radius: var(--radius-md); margin: 18px 0 24px; }
.test-notice b { color: var(--ink); display: block; margin-bottom: 4px; }
.test-notice p { margin: 0; font-size: 14px; color: var(--ink-soft); }
.co-list { list-style: none; margin: 0; padding: 0; }
.co-line { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--line); padding: 14px 0; }
.co-thumb { width: 58px; height: 58px; border-radius: 10px; overflow: hidden; position: relative; flex: 0 0 auto; background: var(--surface); }
.co-name { flex: 1; min-width: 0; }
.co-name em { font-style: normal; color: var(--muted); font-size: 13.5px; }
.co-line-total { font-weight: 700; }
.order-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.order-table, .admin-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.order-table th, .order-table td, .admin-table th, .admin-table td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.order-table th, .admin-table th { border-bottom: 1.5px solid var(--ink); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------------- Forms & Common Badges ---------------- */
.form { display: flex; flex-direction: column; gap: 14px; max-width: 560px; }
.form.wide { max-width: 900px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.form label.chk { flex-direction: row; align-items: center; gap: 9px; font-weight: 400; }
.form input, .form textarea, .form select { padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; }
.form textarea { resize: vertical; }
.fgroup { border: 1px solid var(--line-strong); border-radius: var(--radius-md); padding: 18px 20px; margin: 0; display: flex; flex-direction: column; gap: 12px; background: #fff; }
.fgroup legend { font-weight: 600; padding: 0 8px; font-family: var(--serif); font-size: 18px; }
.fgroup input[type="file"] { border: 1.5px dashed var(--sage); background: var(--bg); padding: 14px; }
.rec { display: inline-flex !important; margin-right: 14px; margin-bottom: 6px; }

.badge { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--surface); }
.badge.test { background: var(--terracotta); color: #fff; }
.badge.on { background: var(--sage-soft); color: var(--sage); }
.badge.off { background: #E4E4E0; color: #555; }
.badge.draft { background: var(--honey); color: #6E520A; }
.badge.soldout { background: #F5DDD5; color: var(--terracotta-dark); }
.toast { display: inline-block; margin: 6px 0; }
.toast.warn { color: #B00020; font-weight: 700; }
.toast.ok { color: var(--sage); font-weight: 700; }
.warn-text { color: #B00020; }
.row-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.inline { display: inline; }
.link, .back { border: 0; background: none; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; padding: 0; color: var(--ink-soft); }
.link:hover, .back:hover { color: var(--terracotta); }
.link.danger { color: #B00020; }
.back { display: inline-block; margin-top: 18px; }
.cta { background: var(--ink); color: #fff; border: 0; padding: 13px 22px; border-radius: 999px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.cta:hover { background: var(--terracotta); }
.cta.small { padding: 8px 14px; min-height: 36px; font-size: 13.5px; }
.ghost-btn { background: #fff; color: var(--ink); border: 1px solid var(--line-strong); padding: 11px 18px; border-radius: 999px; font-weight: 600; }
.ghost-btn:hover { border-color: var(--ink); }

/* ---------------- Chinese Owner Admin Dashboard ---------------- */
body.admin { background: #F5F2EB; }
.admin-head { max-width: 1260px; margin: 0 auto; display: flex; align-items: center; gap: 20px; padding: 14px clamp(18px, 3vw, 40px); border-bottom: 1px solid var(--line-strong); flex-wrap: wrap; background: #fff; }
.admin-head .brand { font-family: var(--serif); font-size: 20px; font-weight: 600; }
.admin-head .brand em { font-style: normal; font-family: var(--sans); font-size: 13px; color: var(--muted); }
.admin-head nav { display: flex; gap: 8px; flex-wrap: wrap; }
.nav-link { padding: 7px 14px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--ink-soft); }
.nav-link.on { background: var(--ink); color: #fff; }
.admin-body { max-width: 1160px; margin: 0 auto; padding: 28px clamp(18px, 3vw, 40px) 70px; }
.admin-body h1 { font-size: clamp(26px, 4vw, 38px); line-height: 1.1; }
.entry-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin: 20px 0; }
.entry-card { border: 1px solid var(--line-strong); border-radius: var(--radius-md); padding: 22px; background: #fff; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow-sm); transition: transform 0.2s, border-color 0.2s; }
.entry-card:hover { transform: translateY(-2px); border-color: var(--terracotta); }
.entry-card b { font-family: var(--serif); font-size: 22px; }
.entry-card span { color: var(--muted); font-size: 14px; }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 18px 0; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.stat b { display: block; font: 500 30px/1 var(--serif); }
.stat span { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.login-card { max-width: 390px; margin: 8vh auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-md); }
.login-card h1 { font-size: 28px; }
.admin-thumb { display: inline-block; width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; vertical-align: middle; background: var(--surface); }
.admin-thumb .thumb { width: 100%; height: 100%; object-fit: cover; }
.img-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.img-cell { border: 1px solid var(--line); border-radius: 10px; padding: 8px; background: #fff; }
.img-cell.main { border-color: var(--terracotta); }
.img-cell img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 6px; }
.img-ops { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; font-size: 13px; }
.video-cell { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: 14px; }
.preview-bar { display: flex; gap: 10px; align-items: center; margin: 14px 0; flex-wrap: wrap; }
.preview-frame { border: 1px solid var(--line-strong); border-radius: 10px; overflow: auto; background: #fff; }
.preview-frame iframe { width: 1280px; height: 820px; border: 0; display: block; }

/* ---------------- Responsive ---------------- */
@media (min-width: 900px) {
  .p-gallery { position: sticky; top: 94px; align-self: start; }
}
@media (max-width: 1020px) {
  .pr-hero-grid, .pr-quiz-shell, .pr-story-grid, .pr-bundle-grid, .pr-about-grid { grid-template-columns: 1fr; }
  .p-grid, .cm-grid { grid-template-columns: repeat(2, 1fr); }
  .bn-picker { grid-template-columns: repeat(2, 1fr); }
  .bn-tray { position: static; }
}
@media (max-width: 720px) {
  .p-head-in { gap: 10px; flex-wrap: wrap; min-height: 58px; }
  .p-nav { order: 4; flex: 1 1 100%; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .p-nav::-webkit-scrollbar { display: none; }
  .p-nav a { white-space: nowrap; font-size: 13.5px; padding: 6px 12px; }
  .p-find summary span { display: none; }
  .p-grid { grid-template-columns: 1fr; gap: 18px; }
  .q-options, .qr-meters, .qr-picks, .st-tabs, .cm-grid, .p-pol-grid, .p-foot-in { grid-template-columns: 1fr; }
  .p-product { grid-template-columns: 1fr; }
  .pr-hero-note { position: static; margin-top: 14px; }
  .cart-row { grid-template-columns: 60px 1fr auto; }
  .admin-table { display: block; overflow-x: auto; }
}
