:root {
  --bg: #f7f3ee;
  --bg-2: #efe8df;
  --ink: #1f1d1b;
  --ink-2: #57514a;
  --muted: #8a8279;
  --clay: #c8642e;
  --clay-ink: #ffffff;
  --clay-soft: #f6e2d4;
  --line: #e2d9cd;
  --card: #ffffff;
  --ok: #3d7a52;
  --radius: 16px;
  --max: 1160px;
  --shadow: 0 1px 2px rgba(31, 29, 27, 0.05), 0 8px 24px rgba(31, 29, 27, 0.06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}
body.cart-open { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; line-height: 1.12; margin: 0 0 14px; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; }
.eyebrow { color: var(--clay); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.75rem; font-weight: 700; margin: 0 0 10px; }
.muted { color: var(--ink-2); }

/* Bars */
.announce { background: var(--ink); color: #f7f3ee; text-align: center; font-size: 0.82rem; padding: 8px 16px; }
.announce b { color: #ffcfae; font-weight: 600; }
nav { background: var(--bg); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { font-family: "Fraunces", Georgia, serif; font-size: 1.45rem; font-weight: 600; text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo svg { width: 24px; height: 24px; }
nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; font-size: 0.93rem; }
nav ul a { text-decoration: none; color: var(--ink-2); }
nav ul a:hover { color: var(--ink); }
.cart-btn { position: relative; background: none; border: 1px solid var(--line); border-radius: 999px; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; }
.cart-btn svg { width: 20px; height: 20px; }
.cart-btn [data-cart-count][hidden] { display: none; }
.cart-btn [data-cart-count] { position: absolute; top: -4px; right: -4px; background: var(--clay); color: #fff; font-size: 0.7rem; font-weight: 700; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; padding: 0 5px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--clay); color: var(--clay-ink); border: 0; border-radius: 12px; padding: 16px 26px; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; transition: transform 0.12s ease, background 0.12s ease; }
.btn:hover { background: #b5561f; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn.block { width: 100%; }
.btn.dark { background: var(--ink); }
.btn.dark:hover { background: #000; }

/* Product hero */
.pdp { padding: 36px 0 56px; }
.pdp .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; }
.gallery { position: sticky; top: 88px; }
.gallery .main { background: var(--card); border-radius: 20px; overflow: hidden; aspect-ratio: 1 / 1; border: 1px solid var(--line); }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 10px; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: var(--card); cursor: pointer; aspect-ratio: 1; }
.thumbs button[aria-current="true"] { border-color: var(--clay); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

.buy h1 { margin-bottom: 8px; }
.buy .sub { color: var(--ink-2); font-size: 1.08rem; margin: 0 0 18px; }
.ticks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks li::before { content: ""; flex: 0 0 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--clay-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23c8642e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }

.offers { display: grid; gap: 10px; margin: 0 0 16px; border: 0; padding: 0; }
.offers legend { font-weight: 700; margin-bottom: 8px; font-size: 0.95rem; }
.offer { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; background: var(--card); border: 2px solid var(--line); border-radius: 14px; padding: 14px 16px; cursor: pointer; position: relative; }
.offer:has(input:checked) { border-color: var(--clay); background: #fffaf6; }
.offer input { accent-color: var(--clay); width: 18px; height: 18px; margin: 0; }
.offer strong { display: block; }
.offer small { color: var(--ink-2); }
.offer .p { text-align: right; font-weight: 700; font-size: 1.1rem; }
.offer .p small { display: block; font-weight: 600; color: var(--ok); font-size: 0.8rem; }
.offer .flag { position: absolute; top: -10px; right: 14px; background: var(--ink); color: #fff; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }

.assure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.assure div { background: var(--bg-2); border-radius: 12px; padding: 10px; font-size: 0.8rem; text-align: center; color: var(--ink-2); line-height: 1.35; }
.assure b { display: block; color: var(--ink); font-size: 0.85rem; }
.eta { margin-top: 14px; font-size: 0.9rem; color: var(--ink-2); display: flex; gap: 8px; align-items: center; }
.eta svg { width: 18px; height: 18px; flex: none; }

/* Sections */
section { padding: 72px 0; }
section.alt { background: var(--bg-2); }
section.dark { background: var(--ink); color: #f7f3ee; }
section.dark .muted { color: #c9c1b7; }
.head { max-width: 680px; margin-bottom: 36px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: 20px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--clay-soft); display: grid; place-items: center; margin-bottom: 14px; }
.card .ico svg { width: 24px; height: 24px; }
.card p { color: var(--ink-2); margin: 0; }
section.dark .card { background: #2a2724; border-color: #3a3632; box-shadow: none; }
section.dark .card p { color: #c9c1b7; }
section.dark .card .ico { background: #3a2d24; }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; padding: 0; margin: 0; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps li::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; margin-bottom: 12px; }
.steps p { color: var(--ink-2); margin: 0; }

table.compare { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); font-size: 0.95rem; }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { background: var(--bg-2); font-weight: 700; }
.compare thead th.us { background: var(--clay); color: #fff; }
.compare td.us { background: #fffaf6; font-weight: 600; }
.yes { color: var(--ok); font-weight: 700; }
.no { color: var(--muted); }
.table-wrap { overflow-x: auto; }

.box { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.box ul { margin: 0; padding-left: 18px; color: var(--ink-2); }
dl.specs { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 0; }
dl.specs dt { font-weight: 600; }
dl.specs dd { margin: 0; color: var(--ink-2); }

.guarantee { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); }
.seal { width: 96px; height: 96px; border-radius: 50%; background: var(--clay); color: #fff; display: grid; place-items: center; text-align: center; font-family: "Fraunces", serif; font-weight: 600; line-height: 1; }
.seal b { font-size: 2rem; display: block; }
.seal span { font-size: 0.75rem; letter-spacing: 0.05em; }
.guarantee p { margin: 0; color: var(--ink-2); }

.faq { max-width: 780px; margin: 0 auto; }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 600; font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--clay); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--ink-2); margin: 10px 0 0; }

.final { text-align: center; }
.final .btn { margin-top: 12px; }
.note { font-size: 0.8rem; color: var(--muted); }

footer { padding: 44px 0 90px; color: var(--ink-2); font-size: 0.9rem; border-top: 1px solid var(--line); }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
footer ul { list-style: none; display: flex; gap: 18px; flex-wrap: wrap; margin: 0; padding: 0; }
footer .disclaimer { flex-basis: 100%; font-size: 0.78rem; color: var(--muted); }

/* Sticky mobile buy bar */
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; background: var(--card); border-top: 1px solid var(--line); padding: 10px 16px; display: none; gap: 12px; align-items: center; justify-content: space-between; box-shadow: 0 -6px 20px rgba(0,0,0,0.06); transform: translateY(100%); transition: transform 0.2s ease; }
.sticky-buy.show { transform: none; }
.sticky-buy strong { display: block; font-size: 0.95rem; }
.sticky-buy span { font-size: 0.85rem; color: var(--ink-2); }
.sticky-buy .btn { padding: 12px 20px; }

/* Cart drawer */
.cart { position: fixed; inset: 0; z-index: 50; pointer-events: none; }
.cart .scrim { position: absolute; inset: 0; background: rgba(20, 18, 16, 0.4); opacity: 0; transition: opacity 0.2s; }
.cart .panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--bg); display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.25s ease; }
.cart.open { pointer-events: auto; }
.cart.open .scrim { opacity: 1; }
.cart.open .panel { transform: none; }
.cart header { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.cart header h3 { margin: 0; }
.cart header button { background: none; border: 0; font-size: 1.6rem; cursor: pointer; line-height: 1; }
#cart-lines { flex: 1; overflow-y: auto; padding: 8px 20px; }
.cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: var(--card); }
.cart-line strong { display: block; font-size: 0.95rem; }
.cart-line span { font-size: 0.85rem; color: var(--ink-2); }
.qty { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; border: 1px solid var(--line); border-radius: 8px; padding: 2px 8px; }
.qty button { background: none; border: 0; cursor: pointer; font-size: 1.1rem; width: 22px; }
.cart-empty { color: var(--ink-2); padding: 20px 0; }
.cart footer { padding: 18px 20px 22px; border-top: 1px solid var(--line); font-size: 0.95rem; color: var(--ink); }
.cart .row { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 6px; }
.cart .ship-note { color: var(--ok); font-size: 0.85rem; margin-bottom: 14px; min-height: 1.2em; }
.cart .err { color: #b3261e; font-size: 0.85rem; min-height: 1.2em; margin-top: 8px; }
.cart .secure { text-align: center; font-size: 0.78rem; color: var(--muted); margin-top: 8px; }

/* Simple pages */
.page { max-width: 780px; padding: 56px 20px 80px; }
.page h2 { margin-top: 40px; font-size: 1.5rem; }
.page p, .page li { color: var(--ink-2); }

@media (max-width: 900px) {
  .pdp .wrap, .split, .box, .cards, .steps { grid-template-columns: 1fr; }
  .gallery { position: static; }
  nav ul { display: none; }
  .guarantee { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .sticky-buy { display: flex; }
  section { padding: 56px 0; }
}

/* Film banner */
.film { padding: 0 0 64px; }
.film-frame { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 16/9; background: #14110d; box-shadow: var(--shadow); }
.film-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px; background: linear-gradient(transparent, rgba(20,17,13,0.78)); color: #fff; }
.film-cap h2 { margin: 0; color: #fff; }
.film-cap .eyebrow { color: #ffcfae; margin-bottom: 6px; }

/* Hero: full-bleed video */
.hero { position: relative; min-height: 78vh; display: flex; align-items: center; overflow: hidden; background: #14110d; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,17,13,0.82) 0%, rgba(20,17,13,0.55) 45%, rgba(20,17,13,0.15) 100%), linear-gradient(0deg, rgba(20,17,13,0.55) 0%, transparent 40%); }
.hero-in { position: relative; padding-top: 64px; padding-bottom: 64px; color: #fff; }
.hero .eyebrow { color: #ffcfae; }
.hero h1 { color: #fff; max-width: 560px; font-size: clamp(2.4rem, 5vw, 3.6rem); }
.hero-sub { max-width: 480px; font-size: 1.12rem; color: #e9e2d9; margin: 0 0 26px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn.ghost { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.4); backdrop-filter: blur(4px); }
.btn.ghost:hover { background: rgba(255,255,255,0.22); }
.hero-chips { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 26px; font-size: 0.85rem; color: #d8d0c5; }
.hero-chips span { display: flex; align-items: center; gap: 8px; }
.hero-chips span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--clay); }

/* Centered tile image */
.center-img { text-align: center; padding-top: 0; }
img.tile { margin: 0 auto; border-radius: 24px; max-width: 920px; width: 100%; box-shadow: var(--shadow); }

/* Image-top cards (dark section) */
.card.imgcard { padding: 0; overflow: hidden; }
.card.imgcard img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card.imgcard h3 { padding: 20px 24px 0; margin-bottom: 8px; }
.card.imgcard p { padding: 0 24px 24px; margin: 0; }

/* Ritual square video */
.ritual { max-width: 560px; margin: 0 auto 36px; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); background: #14110d; }
.ritual video { width: 100%; display: block; }

/* Where it works */
.spots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.spots div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.spots b { display: block; margin-bottom: 4px; font-family: "Fraunces", Georgia, serif; font-size: 1.05rem; }
.spots span { color: var(--ink-2); font-size: 0.94rem; }

/* Review stats */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.stat b { font-family: "Fraunces", Georgia, serif; font-size: 2rem; line-height: 1; display: block; }
.stat b small { font-size: 1rem; color: var(--muted); font-weight: 400; }
.stat .bar { height: 6px; border-radius: 3px; background: var(--bg-2); margin: 12px 0; overflow: hidden; }
.stat .bar i { display: block; height: 100%; background: var(--clay); border-radius: 3px; }
.stat h3 { font-size: 1rem; margin: 0 0 6px; }
.stat p { margin: 0; color: var(--ink-2); font-size: 0.9rem; }

/* Price bars */
.pricebars { display: grid; gap: 14px; margin: 18px 0 22px; }
.pb-row span { font-size: 0.9rem; color: var(--ink-2); }
.pb { height: 14px; background: var(--line); border-radius: 7px; overflow: hidden; margin: 6px 0 4px; }
.pb i { display: block; height: 100%; background: var(--muted); border-radius: 7px; }
.pb-row.ours .pb i { background: var(--clay); }
.pb-row b { font-family: "Fraunces", Georgia, serif; font-size: 1.1rem; }

/* Box image */
.box-img { border-radius: 16px; margin-bottom: 18px; border: 1px solid var(--line); }

@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .spots { grid-template-columns: 1fr; }
  .film-frame { aspect-ratio: 4/3; }
  .film { padding-bottom: 48px; }
  .hero { min-height: 0; }
  .hero-in { padding-top: 220px; padding-bottom: 44px; }
  .hero-scrim { background: linear-gradient(0deg, rgba(20,17,13,0.88) 20%, rgba(20,17,13,0.35) 60%, rgba(20,17,13,0.15) 100%); }
}
@media (max-width: 540px) {
  .stats { grid-template-columns: 1fr; }
}
