/* Diyesty — design system v3
   Warm paper, oxblood ink, brass rules. */

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-var.woff2") format("woff2-variations");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-var.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #17242e;
  --ink-soft: #2c3a45;
  --body: #3f3a34;
  --paper: #faf7f1;
  --paper-2: #f3ede2;
  --card: #fffdf9;
  --line: #e6ddcf;
  --line-strong: #d6cab8;
  --accent: #8c2f39;
  --accent-dark: #6f2530;
  --accent-soft: #f4e7e5;
  --gold: #a9853c;
  --gold-soft: #efe4cd;
  --muted: #6f665c;
  --green: #1f9d55;
  --wa: #25d366;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(23, 36, 46, .05), 0 4px 14px rgba(23, 36, 46, .05);
  --shadow-md: 0 12px 34px rgba(23, 36, 46, .10);
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.015em;
  font-weight: 600;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(34px, 4.6vw, 56px); }
h2 { font-size: clamp(25px, 2.8vw, 36px); }
h3 { font-size: 19px; letter-spacing: 0; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 14px;
}
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 999; background: #fff; padding: 10px 16px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--accent); color: #fff; border: 1px solid var(--accent);
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  cursor: pointer; transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
  line-height: 1.2;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); text-decoration: none; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(140, 47, 57, .22); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn.ghost:hover { background: #fff; border-color: var(--ink); box-shadow: none; }
.btn.wa { background: var(--wa); border-color: var(--wa); color: #092b16; }
.btn.wa:hover { background: #1fbe5b; border-color: #1fbe5b; }
.btn.small { padding: 10px 18px; font-size: 13.5px; }
.btn.block { width: 100%; }
.btn svg { flex: none; }

/* ---------- top bar ---------- */
.topbar { background: var(--ink); color: #e9e1d4; font-size: 12.5px; letter-spacing: .02em; }
.topbar .wrap { display: flex; justify-content: center; gap: 26px; padding: 9px 24px; flex-wrap: wrap; }
.topbar span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar svg { width: 13px; height: 13px; opacity: .8; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 60; background: rgba(250, 247, 241, .92); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 22px; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-serif); font-size: 25px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 30px; height: 30px; flex: none; color: var(--accent); }
.brand em { font-style: normal; color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: 14.5px; font-weight: 500; }
.nav-links a { color: var(--ink-soft); }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--accent); text-decoration: none; }
.nav-tools { display: flex; align-items: center; gap: 12px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; color: var(--ink); }
.icon-btn:hover { background: #fff; border-color: var(--ink); }
.nav-toggle { display: none; }
.menu-open .nav-drawer { transform: translateX(0); }

.nav-drawer {
  position: fixed; inset: 0; z-index: 70; background: var(--paper);
  transform: translateX(100%); transition: transform .3s cubic-bezier(.4, 0, .2, 1);
  display: flex; flex-direction: column; padding: 22px 24px 32px; overflow-y: auto;
}
.nav-drawer .drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.nav-drawer ul { list-style: none; margin: 0; padding: 0; }
.nav-drawer > ul > li { border-bottom: 1px solid var(--line); }
.nav-drawer > ul > li > a { display: block; padding: 16px 0; font-family: var(--font-serif); font-size: 22px; color: var(--ink); }
.nav-drawer .drawer-foot { margin-top: auto; padding-top: 26px; display: grid; gap: 10px; }

/* ---------- hero ---------- */
.hero { padding: 54px 0 20px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero .lede { font-size: 17.5px; color: var(--muted); max-width: 540px; margin-bottom: 26px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-proof { display: flex; gap: 22px; flex-wrap: wrap; list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--line); }
.hero-proof li { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; color: var(--ink-soft); max-width: 160px; line-height: 1.35; }
.hero-proof svg { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--gold); }
.hero-media { position: relative; margin: 0; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-md); }
.hero-badge {
  position: absolute; left: -18px; bottom: 28px; background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 13px 18px; box-shadow: var(--shadow-sm); font-size: 12.5px; color: var(--ink-soft);
  display: flex; align-items: center; gap: 10px; max-width: 230px; line-height: 1.35;
}
.hero-badge b { display: block; font-family: var(--font-serif); font-size: 15px; color: var(--ink); }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; box-shadow: 0 0 0 4px rgba(31, 157, 85, .14); }

/* ---------- trust strip ---------- */
.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-2); }
.trust-strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 18px 24px; }
.trust-strip div { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-soft); line-height: 1.3; }
.trust-strip svg { width: 19px; height: 19px; color: var(--accent); flex: none; }

/* ---------- sections ---------- */
.section { padding: 64px 0; }
.section.tight { padding: 44px 0; }
.section.alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-head p { margin: 6px 0 0; color: var(--muted); font-size: 15px; max-width: 560px; }
.section-head h2 { margin: 0; }
.link-arrow { font-size: 14px; font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- category tiles ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-tile { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 3.9; background: var(--paper-2); }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .3, 1); }
.cat-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18, 28, 36, .74) 0%, rgba(18, 28, 36, .18) 42%, rgba(18, 28, 36, .04) 70%); }
.cat-tile span { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 20px 16px 16px; color: #fff; font-family: var(--font-serif); font-size: 19px; font-weight: 600; line-height: 1.2; }
.cat-tile span small { display: block; font-family: var(--font-sans); font-size: 11.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; opacity: .78; margin-top: 5px; }
.cat-tile:hover { text-decoration: none; }
.cat-tile:hover img { transform: scale(1.05); }

/* ---------- product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card .thumb { position: relative; aspect-ratio: 4 / 3; background: var(--paper-2); overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .3, 1); }
.card:hover .thumb img { transform: scale(1.04); }
.card .body { padding: 15px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.card .cat { font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.card h3 { font-size: 16.5px; margin: 7px 0 6px; color: var(--ink); }
.card p { font-size: 13px; color: var(--muted); margin: 0 0 12px; line-height: 1.5; flex: 1; }
.card .price { font-weight: 700; font-size: 15px; color: var(--ink); }
.card .price s { color: #a2988a; font-weight: 400; font-size: 12.5px; margin-left: 6px; }
.badge { position: absolute; top: 11px; left: 11px; z-index: 2; background: rgba(255, 253, 249, .94); color: var(--ink); font-size: 10.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); }
.badge.hot { background: var(--accent); color: #fff; border-color: var(--accent); }
.badge.bundle { background: var(--gold-soft); color: #6b4f16; border-color: #e3d4b3; }

/* ---------- filter bar ---------- */
.filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 22px 0 6px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; font-size: 13px; font-weight: 500; color: var(--ink-soft); cursor: pointer; }
.chip:hover { border-color: var(--ink); background: #fff; text-decoration: none; }
.chip[aria-current="page"], .chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.count { font-size: 13px; color: var(--muted); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 8px; }
.step { position: relative; padding-top: 26px; border-top: 1px solid var(--line-strong); }
.step .num { position: absolute; top: -15px; left: 0; background: var(--paper); padding-right: 12px; font-family: var(--font-serif); font-size: 15px; color: var(--gold); letter-spacing: .1em; }
.step b { display: block; font-family: var(--font-serif); font-size: 19px; color: var(--ink); margin-bottom: 6px; font-weight: 600; }
.step p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* ---------- guides strip ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.guide { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .22s ease, box-shadow .22s ease; }
.guide:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-md); }
.guide img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.guide .txt { padding: 16px 18px 20px; }
.guide .txt span { font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.guide .txt h3 { font-size: 18px; margin: 6px 0 6px; color: var(--ink); }
.guide .txt p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* ---------- quote band ---------- */
.band { background: var(--ink); color: #efe7da; padding: 58px 0; position: relative; overflow: hidden; }
.band h2 { color: #fdf9f2; }
.band p { color: #c9c0b2; max-width: 560px; }
.band .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.band .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- article / prose ---------- */
.prose { max-width: 720px; margin: 0 auto; }
.prose h1 { margin-bottom: 14px; }
.prose h2 { font-size: 26px; margin: 40px 0 12px; }
.prose h3 { font-size: 20px; margin: 30px 0 8px; }
.prose p, .prose li { font-size: 16.5px; line-height: 1.75; color: var(--body); }
.prose > p:first-of-type { font-size: 18.5px; color: var(--ink-soft); }
.prose ul, .prose ol { padding-left: 20px; margin: 0 0 1.2em; }
.prose li { margin-bottom: 7px; }
.prose blockquote { margin: 26px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--gold); color: var(--muted); font-family: var(--font-serif); font-size: 19px; }
.prose img { border-radius: var(--radius); margin: 24px 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 22px 0; }
.prose th, .prose td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { font-family: var(--font-serif); color: var(--ink); }
.meta { color: var(--muted); font-size: 13.5px; margin-bottom: 26px; }
.article-head { padding: 46px 0 8px; }
.article-cover { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--radius); margin: 26px 0 0; }
.breadcrumb { font-size: 12.5px; color: var(--muted); padding: 20px 0 0; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 7px; opacity: .5; }

/* ---------- product detail ---------- */
.pdp { display: grid; grid-template-columns: 1.04fr .96fr; gap: 54px; align-items: start; padding: 26px 0 54px; }
.pdp-media { position: sticky; top: 98px; }
.pdp-media .shot { position: relative; background: var(--paper-2); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.pdp-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pdp-media .caption { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); padding: 10px 4px 0; }
.pdp h1 { font-size: clamp(28px, 3.4vw, 40px); margin: 8px 0 10px; }
.pdp .lead { font-size: 16.5px; color: var(--muted); margin-bottom: 18px; }
.pdp .price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.pdp .price { font-family: var(--font-serif); font-size: 30px; color: var(--ink); font-weight: 600; }
.pdp .price s { font-family: var(--font-sans); font-size: 15px; color: #a2988a; font-weight: 400; }
.pdp .price-note { font-size: 12.5px; color: var(--muted); margin-bottom: 22px; }
.opt-group { margin-bottom: 18px; }
.opt-label { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-bottom: 9px; }
.opt-label em { font-style: normal; color: var(--muted); font-weight: 500; letter-spacing: 0; text-transform: none; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill span { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13px; background: #fff; color: var(--ink-soft); cursor: pointer; transition: .15s; }
.pill input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.pill input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.swatch { width: 13px; height: 13px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .18); }

/* live proof */
.proof { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 4px 0 20px; }
.proof-head { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.proof-head b { color: var(--accent); }
.proof-paper { background: #fffefb; border: 1px solid #eee6d8; border-radius: 8px; min-height: 112px; display: flex; align-items: center; justify-content: center; padding: 18px; position: relative; overflow: hidden; box-shadow: inset 0 0 40px rgba(163, 137, 96, .06); }
.proof-paper::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(120, 100, 70, .07) 1px, transparent 1px); background-size: 5px 5px; opacity: .55; }
.proof-impression { position: relative; text-align: center; color: #1b2b38; opacity: .88; filter: contrast(1.06); transform: rotate(-1.2deg); }
.proof-impression .l1 { font-family: var(--font-serif); font-size: 22px; line-height: 1.1; font-weight: 600; letter-spacing: .01em; }
.proof-impression .l2 { font-size: 11px; letter-spacing: .06em; margin-top: 5px; text-transform: uppercase; }
.proof-scale { margin-top: 10px; display: flex; align-items: center; gap: 8px; font-size: 10.5px; color: var(--muted); }
.proof-scale .rule { flex: 1; height: 6px; border-left: 1px solid var(--line-strong); border-right: 1px solid var(--line-strong); background-image: repeating-linear-gradient(to right, var(--line-strong) 0 1px, transparent 1px 10px); }
.input-row { display: grid; gap: 10px; margin-bottom: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--line-strong); border-radius: 9px; background: #fff; font: inherit; font-size: 14px; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(140, 47, 57, .1); }
.buy { display: grid; gap: 10px; margin: 4px 0 18px; }
.buy .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.buy .note { font-size: 12px; color: var(--muted); text-align: center; }
.trust-list { list-style: none; margin: 0 0 22px; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.trust-list li { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; color: var(--ink-soft); }
.trust-list svg { width: 15px; height: 15px; color: var(--gold); flex: none; margin-top: 3px; }
.spec { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec td { padding: 11px 14px; border-bottom: 1px solid var(--line); color: var(--muted); }
.spec tr:last-child td { border-bottom: 0; }
.spec td:first-child { width: 42%; color: var(--ink); font-weight: 600; }

/* details / faq */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 18px; font-family: var(--font-serif); font-size: 18px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-sans); font-weight: 400; color: var(--gold); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); font-size: 15px; max-width: 760px; }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: #b9b1a5; padding: 52px 0 34px; margin-top: 20px; }
.site-foot .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 34px; }
.site-foot .brand { color: #fdf9f2; font-size: 23px; }
.site-foot .brand em { color: #d9a3a3; }
.site-foot p { font-size: 13.5px; line-height: 1.6; color: #a9a195; }
.site-foot h4 { font-family: var(--font-sans); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #8e877c; margin: 0 0 12px; font-weight: 600; }
.site-foot ul { list-style: none; margin: 0; padding: 0; font-size: 13.5px; }
.site-foot li { margin-bottom: 8px; }
.site-foot a { color: #d8d0c4; }
.site-foot a:hover { color: #fff; }
.site-foot .legal { margin-top: 38px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: #857e73; }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 55; display: inline-flex; align-items: center; gap: 9px; background: var(--wa); color: #06280f; border-radius: 999px; padding: 12px 18px 12px 14px; font-weight: 600; font-size: 14px; box-shadow: 0 10px 26px rgba(0, 0, 0, .2); }
.wa-float:hover { text-decoration: none; background: #1fbe5b; transform: translateY(-2px); }
.wa-float svg { width: 20px; height: 20px; }

/* ---------- sticky mobile buy bar ---------- */
.buy-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 58; background: rgba(255, 253, 249, .97); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: none; align-items: center; gap: 12px; }
.buy-bar .p { font-weight: 700; color: var(--ink); font-size: 16px; }
.buy-bar .p small { display: block; font-weight: 400; font-size: 11px; color: var(--muted); }
.buy-bar .btn { flex: 1; padding: 12px 16px; }

/* ---------- search ---------- */
.search-panel { position: fixed; inset: 0; z-index: 80; background: rgba(23, 36, 46, .45); backdrop-filter: blur(3px); display: none; }
.search-panel.open { display: block; }
.search-box { max-width: 720px; margin: 60px auto 0; background: var(--paper); border-radius: 16px; padding: 24px; box-shadow: var(--shadow-md); }
.search-box input { width: 100%; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: 10px; font-size: 17px; background: #fff; }
.search-results { margin-top: 16px; max-height: 58vh; overflow-y: auto; }
.search-results a { display: flex; gap: 12px; align-items: center; padding: 9px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 14.5px; }
.search-results a:hover { text-decoration: none; background: #fff; }
.search-results img { width: 46px; height: 46px; object-fit: cover; border-radius: 7px; }
.search-results small { display: block; color: var(--muted); font-size: 12px; }
.search-empty { color: var(--muted); font-size: 14px; padding: 12px 4px; }

/* ---------- misc ---------- */
.pill-row { display: flex; gap: 8px; flex-wrap: wrap; }
.hr { height: 1px; background: var(--line); border: 0; margin: 40px 0; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 34px; }
.pagination a, .pagination span { padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 8px; font-size: 14px; }
.pagination .on { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination a:hover { text-decoration: none; border-color: var(--ink); }
.note-box { background: var(--gold-soft); border: 1px solid #e3d4b3; border-radius: var(--radius); padding: 20px 22px; font-size: 14px; color: #5f4a1d; }

/* ---------- layout helpers ---------- */
.two-col { display: grid; grid-template-columns: 1.35fr .65fr; gap: 52px; align-items: start; }
.two-col > .panel { position: sticky; top: 100px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.panel h3 { margin-bottom: 10px; }
.panel p { font-size: 14.5px; color: var(--muted); }
.panel-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 9px; }
.panel-list li { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
.panel-list svg { width: 15px; height: 15px; color: var(--accent); flex: none; margin-top: 3px; }
.collection-head { max-width: 760px; padding: 26px 0 8px; }
.collection-head h1 { margin-bottom: 12px; }
.collection-head p { font-size: 16.5px; color: var(--muted); }
.form { display: grid; gap: 13px; margin-top: 6px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; overflow: hidden; }
.stepper button { width: 36px; height: 36px; border: 0; background: none; cursor: pointer; font-size: 17px; color: var(--ink); line-height: 1; }
.stepper button:hover { background: var(--paper-2); }
.stepper input { width: 40px; height: 36px; border: 0; text-align: center; font: inherit; font-size: 14px; color: var(--ink); -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: 2px solid rgba(140, 47, 57, .25); border-radius: 4px; }

/* ---------- content blocks ---------- */
.usecase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.uc-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px; transition: box-shadow .2s, transform .2s, border-color .2s; }
.uc-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--line-strong); }
.uc-card svg { width: 26px; height: 26px; color: var(--accent); margin-bottom: 12px; }
.uc-card h3 { font-size: 18px; margin-bottom: 6px; }
.uc-card p { font-size: 14px; color: var(--muted); margin: 0 0 10px; }
.uc-card .link-arrow { font-size: 13px; }
.ink-strip { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.ink-swatch { display: flex; flex-direction: column; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 6px 10px; }
.ink-swatch span { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(0,0,0,.08); box-shadow: inset 0 -3px 6px rgba(0,0,0,.12); }
.ink-swatch b { font-size: 11.5px; font-weight: 500; color: var(--ink-soft); }
.spec-wide { margin-top: 26px; }
.spec-wide th { background: var(--paper-2); font-family: var(--font-sans); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.spec-wide td { font-size: 14px; }
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; margin-top: 34px; }
.proc { border-top: 1px solid var(--line-strong); padding-top: 18px; position: relative; }
.proc .num { position: absolute; top: -14px; left: 0; background: var(--paper); padding-right: 10px; font-family: var(--font-serif); font-size: 15px; color: var(--gold); }
.proc h3 { font-size: 17px; margin-bottom: 6px; }
.proc p { font-size: 13.5px; color: var(--muted); margin: 0; }

.scene-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.scene-card { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .22s ease, box-shadow .22s ease; }
.scene-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-md); }
.scene-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.scene-card .txt { padding: 16px 18px 20px; }
.scene-card .txt h3 { font-size: 18px; margin: 0 0 7px; }
.scene-card .txt p { font-size: 13.5px; color: var(--muted); margin: 0 0 12px; }
.scene-card .link-arrow { font-size: 13px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .pdp { gap: 34px; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero { padding-top: 34px; }
  .hero-media img { aspect-ratio: 4 / 3; }
  .hero-badge { left: 12px; bottom: 12px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-strip .wrap { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .guide-grid { grid-template-columns: 1fr; }
  .pdp { grid-template-columns: 1fr; }
  .pdp-media { position: static; }
  .band .wrap { grid-template-columns: 1fr; }
  .band .actions { justify-content: flex-start; }
  .site-foot .cols { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 26px; }
  .two-col > .panel { position: static; }
  .buy-bar { display: flex; }
  body.has-buy-bar { padding-bottom: 78px; }
  .wa-float { display: none; }
}
@media (max-width: 640px) {
  .nav-tools .btn.small { display: none; }
  .hero-cta { display: grid; grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card .body { padding: 12px 12px 14px; }
  .card h3 { font-size: 15px; }
  .card p { font-size: 12.5px; }
  .card .thumb { aspect-ratio: 1 / 1; }
  .section { padding: 46px 0; }
  .hero-proof { gap: 14px; }
  .hero-proof li { max-width: 100%; }
  .buy .row { grid-template-columns: 1fr; }
  .topbar .wrap { gap: 10px; font-size: 11px; padding: 8px 16px; }
  .topbar span:nth-child(3) { display: none; }
  .wrap { padding: 0 18px; }
  .site-foot .cols { grid-template-columns: 1fr; gap: 24px; }
  .cat-grid { gap: 10px; }
  .usecase-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .uc-card { padding: 16px 14px; }
  .ink-strip { grid-template-columns: repeat(4, 1fr); }
  .process { grid-template-columns: 1fr; gap: 26px; }
  .scene-grid { grid-template-columns: 1fr; gap: 14px; }
  .spec-wide td, .spec-wide th { padding: 9px 8px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
@media print {
  .site-head, .topbar, .wa-float, .buy-bar, .site-foot, .band { display: none !important; }
}
