/* =========================================================
   JV Point — styles
   ========================================================= */
:root {
  --bg: #fbf7f0;
  --surface: #ffffff;
  --surface-2: #f4ede1;
  --ink: #1f1a17;
  --ink-2: #5b524b;
  --ink-3: #8a8077;
  --line: #e7dfd2;
  --brand: #1e5b4f;
  --brand-ink: #ffffff;
  --brand-soft: #e3efe9;
  --accent: #c4572e;
  --star: #e0a526;
  --wa: #25d366;
  --wa-dark: #128c4a;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(31, 26, 23, 0.06), 0 2px 8px rgba(31, 26, 23, 0.05);
  --shadow-md: 0 10px 30px -12px rgba(31, 26, 23, 0.25);
  --shadow-book: 0 18px 30px -14px rgba(31, 26, 23, 0.45), 0 4px 10px -4px rgba(31, 26, 23, 0.2);
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1200px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (max-width: 480px) { .container { padding: 0 16px; } }

h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; margin: 0; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand); }
.section { padding: 72px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); margin-top: 6px; }
.section-head p { margin: 8px 0 0; color: var(--ink-2); max-width: 520px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, border-color .15s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--brand) 88%, black); }
.btn-wa { background: var(--wa); color: #06341c; }
.btn-wa:hover { background: color-mix(in srgb, var(--wa) 88%, black); }
.btn-outline { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink-3); background: var(--surface); }
.btn-ghost { background: transparent; color: var(--ink-2); height: auto; padding: 6px 8px; }
.btn-ghost:hover { color: var(--ink); }
.btn-block { width: 100%; }
.btn-lg { height: 54px; padding: 0 26px; font-size: 16px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); position: relative;
  transition: border-color .15s, background-color .15s;
}
.icon-btn:hover { border-color: var(--ink-3); }
.icon-btn svg { width: 20px; height: 20px; }

/* ---------- Announcement + header ---------- */
.announce { background: var(--ink); color: #f3ece1; font-size: 13.5px; text-align: center; padding: 8px 16px; }
.announce a { text-decoration: underline; text-underline-offset: 3px; }

.header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-serif); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; flex: none; }
.logo-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--brand); color: #fff; display: grid; place-items: center; }
.logo-mark svg { width: 20px; height: 20px; }
.logo span em { font-style: normal; color: var(--brand); }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a { padding: 8px 12px; border-radius: 999px; color: var(--ink-2); font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.header-search { flex: 1; max-width: 360px; margin-left: auto; position: relative; }
.header-search input {
  width: 100%; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  padding: 0 16px 0 42px; font-size: 15px;
}
.header-search input::placeholder { color: var(--ink-3); }
.header-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-3); pointer-events: none; }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 700; display: grid; place-items: center;
  border: 2px solid var(--bg);
}
.cart-count[hidden] { display: none; }
.cart-count.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.3); } }

@media (max-width: 860px) {
  .nav { display: none; }
}
@media (max-width: 640px) {
  .header-inner { gap: 12px; }
  .header-search { display: none; }
  .logo { font-size: 20px; margin-right: auto; }
  .mobile-search { display: block !important; }
}
.mobile-search { display: none; padding: 0 0 12px; }
.mobile-search .header-search { display: block; max-width: none; margin: 0; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); margin: 14px 0 18px; }
.hero h1 em { font-style: italic; color: var(--brand); font-weight: 500; }
.hero p.lead { font-size: 18px; color: var(--ink-2); max-width: 480px; margin: 0 0 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; margin-top: 36px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-family: var(--font-serif); font-size: 28px; font-weight: 600; }
.hero-stats div span { color: var(--ink-3); font-size: 14px; }
.hero-visual { position: relative; aspect-ratio: 16 / 12; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-md); background: var(--surface-2); }
.hero-visual > img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(20, 14, 8, 0.45)); }
.hero-books { position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%); display: flex; align-items: end; z-index: 2; }
.hero-books .cover { width: clamp(96px, 13vw, 150px); --cover-fs: clamp(11px, 1.35vw, 18px); }
.hero-books .cover:nth-child(1) { transform: rotate(-8deg) translateX(22px) translateY(8px); }
.hero-books .cover:nth-child(2) { z-index: 2; width: clamp(112px, 15vw, 172px); }
.hero-books .cover:nth-child(3) { transform: rotate(8deg) translateX(-22px) translateY(8px); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding-top: 36px; }
}

/* ---------- Features strip ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 24px 0 8px; }
.feature { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.feature-ico { width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.feature-ico svg { width: 22px; height: 22px; }
.feature strong { display: block; font-size: 15px; }
.feature span { font-size: 14px; color: var(--ink-2); line-height: 1.45; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } }

/* ---------- Book cover ---------- */
.cover {
  position: relative; aspect-ratio: 2 / 3; border-radius: 4px 10px 10px 4px; overflow: hidden;
  background: var(--c, #333); box-shadow: var(--shadow-book); isolation: isolate;
}
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover::before { /* spine + sheen */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,.35) 0, rgba(255,255,255,.18) 3%, rgba(0,0,0,.12) 5.5%, transparent 9%),
    linear-gradient(115deg, rgba(255,255,255,.14), transparent 40%);
}
.cover::after { /* legibility gradient */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,8,6,.72) 0%, rgba(10,8,6,.25) 34%, transparent 52%, transparent 78%, rgba(10,8,6,.5) 100%);
}
.cover-text {
  position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; justify-content: space-between;
  padding: 9% 9% 8% 13%; color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.35);
}
.cover-title { font-family: var(--font-serif); font-weight: 600; line-height: 1.05; font-size: var(--cover-fs, 20px); letter-spacing: -0.01em; text-wrap: balance; }
.cover-author { font-size: calc(var(--cover-fs, 20px) * 0.52); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; opacity: .95; }
.cover.cover-sm { --cover-fs: 11px; box-shadow: 0 4px 10px -4px rgba(0,0,0,.4); }

/* ---------- Shop toolbar ---------- */
.shop-toolbar { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 28px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: all .15s;
}
.chip:hover { border-color: var(--ink-3); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.toolbar-right { display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: 14px; }
.select {
  height: 38px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); padding: 0 34px 0 14px;
  font-size: 14.5px; color: var(--ink); appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%235b524b' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
@media (max-width: 640px) {
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 6px; scrollbar-width: none; width: calc(100% + 32px); }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .toolbar-right { width: 100%; justify-content: space-between; }
}

/* ---------- Product grid / card ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 36px 24px; }
@media (max-width: 520px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; } }
.card { display: flex; flex-direction: column; gap: 14px; }
.card-media { position: relative; display: block; padding: 18px 18px 0; background: var(--surface-2); border-radius: var(--radius); transition: background-color .2s; }
.card-media .cover { transition: transform .25s ease, box-shadow .25s ease; --cover-fs: clamp(14px, 1.6vw, 19px); transform-origin: bottom center; margin-bottom: -1px; }
.card:hover .card-media .cover { transform: translateY(-6px) rotate(-1deg); }
.card-media-inner { padding-bottom: 18px; }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.tag-best { background: #fbeccb; color: #8a5800; }
.tag-new { background: var(--brand-soft); color: var(--brand); }
.tag-sale { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.card-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-height: 22px; }
.card-body { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.card-cat { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.card-title { font-family: var(--font-serif); font-size: 19px; font-weight: 600; line-height: 1.25; }
.card-title a:hover { color: var(--brand); }
.card-author { color: var(--ink-2); font-size: 14.5px; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.card-actions { display: flex; gap: 8px; margin-top: 12px; }
.card-actions .btn { height: 40px; padding: 0 14px; font-size: 14px; flex: 1; }
.card-actions .icon-btn { width: 40px; height: 40px; flex: none; }
@media (max-width: 520px) {
  .card-media { padding: 12px 12px 0; }
  .card-media-inner { padding-bottom: 12px; }
  .card-media .cover { --cover-fs: 13px; }
  .card-title { font-size: 16px; }
  .card-author { font-size: 13.5px; }
  .card-actions .btn span { display: none; }
  .card-foot .tag-sale { display: none; }
  .card-actions .btn { padding: 0; }
}

.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price strong { font-size: 17px; font-weight: 700; }
.price s { color: var(--ink-3); font-size: 14px; }
.rating { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--ink-2); }
.stars { --pct: 100%; position: relative; display: inline-block; font-size: 14px; line-height: 1; letter-spacing: 1px; color: var(--line); }
.stars::before { content: "★★★★★"; }
.stars::after { content: "★★★★★"; position: absolute; left: 0; top: 0; width: var(--pct); overflow: hidden; color: var(--star); white-space: nowrap; }

.empty { text-align: center; padding: 60px 20px; color: var(--ink-2); border: 1px dashed var(--line); border-radius: var(--radius); }
.empty strong { display: block; font-family: var(--font-serif); font-size: 22px; color: var(--ink); margin-bottom: 6px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px;
  background: var(--ink); color: #fff; font-family: var(--font-serif); font-weight: 600; font-size: 18px; margin-bottom: 18px;
}
.step h3 { font-size: 21px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--ink-2); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--brand); color: #fff; border-radius: 24px; padding: 48px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  background-image: radial-gradient(circle at 90% 10%, rgba(255,255,255,.14), transparent 40%), radial-gradient(circle at 0% 100%, rgba(0,0,0,.2), transparent 45%);
}
.cta-band h2 { font-size: clamp(26px, 3.6vw, 38px); }
.cta-band p { margin: 10px 0 0; opacity: .85; max-width: 560px; }
@media (max-width: 720px) { .cta-band { grid-template-columns: 1fr; padding: 32px 24px; } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); margin-top: 72px; padding: 48px 0 28px; background: var(--surface-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.footer h4 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 14px; color: var(--ink-3); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a:hover { color: var(--brand); }
.footer p { color: var(--ink-2); margin: 12px 0 0; max-width: 300px; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--ink-3); font-size: 14px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 58px; height: 58px; border-radius: 999px;
  background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -6px rgba(18, 140, 74, .6);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Cart drawer ---------- */
.overlay { position: fixed; inset: 0; background: rgba(20, 15, 10, .45); z-index: 60; opacity: 0; pointer-events: none; transition: opacity .25s; }
.overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 70; width: min(440px, 100%); background: var(--bg);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s cubic-bezier(.2,.8,.2,1);
  box-shadow: -20px 0 40px -20px rgba(0,0,0,.3); visibility: hidden;
}
.drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 22px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 16px 20px 20px; background: var(--surface); display: grid; gap: 12px; }
.cart-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-item:last-child { border-bottom: 0; }
.cart-item-title { font-family: var(--font-serif); font-weight: 600; line-height: 1.25; }
.cart-item-author { font-size: 13.5px; color: var(--ink-3); }
.cart-item-price { font-weight: 700; text-align: right; white-space: nowrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); margin-top: 8px; }
.qty button { width: 32px; height: 32px; border: 0; background: none; border-radius: 999px; display: grid; place-items: center; font-size: 18px; color: var(--ink-2); }
.qty button:hover { background: var(--surface-2); color: var(--ink); }
.qty output, .qty input { min-width: 28px; text-align: center; font-weight: 600; font-size: 14.5px; }
.remove-btn { border: 0; background: none; color: var(--ink-3); font-size: 13px; margin-top: 10px; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.remove-btn:hover { color: var(--accent); }
.summary-row { display: flex; justify-content: space-between; align-items: baseline; }
.summary-row strong { font-size: 20px; }
.note { font-size: 13.5px; color: var(--ink-3); margin: 0; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field input, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; background: var(--bg); font-size: 15px; }
.field textarea { resize: vertical; min-height: 64px; }
.fields { display: grid; gap: 10px; }
.cart-empty { text-align: center; padding: 56px 12px; color: var(--ink-2); }
.cart-empty svg { width: 48px; height: 48px; color: var(--ink-3); margin: 0 auto 12px; }
.cart-empty strong { display: block; color: var(--ink); font-family: var(--font-serif); font-size: 20px; margin-bottom: 4px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 90; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: 14.5px; font-weight: 500;
  display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-md); transition: all .25s; max-width: calc(100% - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast svg { width: 18px; height: 18px; color: var(--wa); flex: none; }

/* ---------- Product detail ---------- */
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--ink-3); padding: 24px 0 8px; }
.crumbs a:hover { color: var(--brand); }
.pdp { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; padding: 24px 0 24px; align-items: start; }
.pdp-media {
  position: sticky; top: calc(var(--header-h) + 24px); border-radius: 24px; padding: 48px;
  background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--c) 30%, var(--surface-2)), var(--surface-2) 70%);
}
.pdp-media .cover { max-width: 340px; margin: 0 auto; --cover-fs: clamp(22px, 2.6vw, 32px); transform: perspective(1200px) rotateY(-8deg); box-shadow: 24px 30px 50px -20px rgba(0,0,0,.5); }
.pdp-info h1 { font-size: clamp(32px, 4.4vw, 48px); margin: 8px 0 10px; }
.pdp-author { font-size: 17px; color: var(--ink-2); }
.pdp-author strong { color: var(--ink); font-weight: 600; }
.pdp-meta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 16px 0 22px; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pdp-price strong { font-size: 32px; font-weight: 700; font-family: var(--font-sans); letter-spacing: -0.02em; }
.pdp-price s { color: var(--ink-3); font-size: 18px; }
.save-tag { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); font-weight: 700; font-size: 13px; padding: 4px 10px; border-radius: 999px; }
.pdp-blurb { font-size: 18px; color: var(--ink-2); margin: 20px 0; }
.pdp-buy { display: grid; grid-template-columns: auto 1fr; gap: 12px; margin: 24px 0 12px; }
.pdp-buy .qty { margin: 0; height: 54px; padding: 0 6px; }
.pdp-buy .qty button { width: 40px; height: 40px; }
.pdp-buy .qty output { min-width: 32px; font-size: 16px; }
.pdp-buy .btn-wa { grid-column: 1 / -1; }
.stock { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--wa-dark); font-weight: 600; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: var(--wa); box-shadow: 0 0 0 4px color-mix(in srgb, var(--wa) 22%, transparent); }
.specs > div { flex: 1 1 130px; }
.specs { display: flex; flex-wrap: wrap; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 28px 0; }
.specs div { background: var(--surface); padding: 14px 16px; }
.specs dt { font-size: 12.5px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.specs dd { margin: 2px 0 0; font-weight: 600; }
.pdp-desc h2 { font-size: 24px; margin-bottom: 10px; }
.pdp-desc p { color: var(--ink-2); margin: 0; font-size: 16.5px; }
.assure { display: grid; gap: 10px; margin-top: 24px; padding: 18px; border-radius: var(--radius); background: var(--brand-soft); font-size: 14.5px; color: var(--ink-2); }
.assure div { display: flex; gap: 10px; align-items: center; }
.assure svg { width: 18px; height: 18px; color: var(--brand); flex: none; }
@media (max-width: 860px) {
  .pdp { grid-template-columns: 1fr; gap: 28px; }
  .pdp-media { position: static; padding: 32px; }
  .pdp-media .cover { max-width: 240px; --cover-fs: 24px; }
}

/* ---------- Footer legal + checkout consent ---------- */
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a:hover { color: var(--brand); }
.consent { text-align: center; font-size: 12.5px; }
.consent a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Legal pages ---------- */
.legal { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: 24px 64px; padding: 48px 0 24px; justify-content: center; }
.legal-head { grid-column: 2; }
.legal-head h1 { font-size: clamp(36px, 5vw, 52px); margin: 8px 0 8px; }
.legal-updated { color: var(--ink-3); margin: 0; font-size: 15px; }
.legal-toc { grid-column: 1; grid-row: 2; position: sticky; top: calc(var(--header-h) + 24px); align-self: start; font-size: 14.5px; }
.legal-toc strong { display: block; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.legal-toc a { display: block; padding: 5px 0 5px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-2); }
.legal-toc a:hover { color: var(--brand); border-left-color: var(--brand); }
.prose { grid-column: 2; grid-row: 2; color: var(--ink-2); font-size: 16.5px; line-height: 1.7; }
.prose section { padding-top: 8px; margin-bottom: 36px; }
.prose h2 { font-size: 26px; color: var(--ink); margin: 0 0 12px; }
.prose h3 { font-family: var(--font-sans); font-size: 17px; font-weight: 700; color: var(--ink); margin: 22px 0 6px; letter-spacing: 0; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 14px; padding-left: 22px; display: grid; gap: 6px; }
.prose strong { color: var(--ink); }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.legal-summary { background: var(--brand-soft); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 40px; }
.legal-summary > strong { display: block; font-family: var(--font-serif); font-size: 20px; margin-bottom: 8px; }
.legal-summary ul { margin: 0; }
.legal-callout { background: color-mix(in srgb, var(--accent) 9%, var(--surface)); border-left: 4px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 14px 18px; }
.legal-contact { list-style: none; padding: 0 !important; }
@media (max-width: 900px) {
  .legal { grid-template-columns: minmax(0, 1fr); padding-top: 32px; }
  .legal-head, .legal-toc, .prose { grid-column: 1; grid-row: auto; }
  .legal-toc { position: static; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
  .legal-toc ol { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); column-gap: 14px; border-left: 0; }
  .legal-toc a { padding: 4px 0; border-left: 0; margin-left: 0; font-size: 14px; line-height: 1.35; }
}

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 64px 0; }
.notfound h1 { font-size: clamp(40px, 7vw, 72px); margin-bottom: 12px; }
.notfound p { color: var(--ink-2); margin: 0 0 24px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
