:root {
  --bg: #fff7f0;
  --bg-elev: #ffffff;
  --bg-soft: #fdeee2;
  --ink: #2a1210;
  --ink-soft: #6b4a3f;
  --line: #f0dccb;
  --brand: #b8281f;
  --brand-2: #f0642a;
  --gold: #c9962b;
  --green: #4f7a34;
  --shadow: 0 10px 30px rgba(138,40,20,.12);
  --radius: 20px;
  --nav-h: 64px;
}
[data-theme="dark"] {
  --bg: #1a0d0a;
  --bg-elev: #2a1512;
  --bg-soft: #331a15;
  --ink: #fce9dc;
  --ink-soft: #d9b8a8;
  --line: #47251d;
  --brand: #f0642a;
  --brand-2: #f0854a;
  --shadow: 0 14px 40px rgba(0,0,0,.5);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.08; margin: 0 0 .4em; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
.price { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 700; }
.wrap { width: min(1160px, 92vw); margin: 0 auto; }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: color-mix(in srgb, var(--bg-elev) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; gap: 18px; height: 100%; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.brand svg { height: 34px; width: auto; }
.brand .badge { font-size: .62rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold); padding: 2px 6px; border-radius: 6px; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav-links a, .iconbtn {
  padding: 9px 14px; border-radius: 999px; font-weight: 600; font-size: .92rem;
  color: var(--ink-soft); border: none; background: transparent; cursor: pointer;
  min-height: 44px; display: inline-flex; align-items: center; gap: 6px;
}
.nav-links a:hover, .iconbtn:hover { background: var(--bg-soft); color: var(--ink); }
.cart-btn { position: relative; background: var(--brand); color: #fff !important; }
.cart-btn:hover { background: var(--brand-2); }
.cart-count { background: var(--gold); color: #2a1210; border-radius: 999px; font-size: .72rem; padding: 1px 7px; font-weight: 800; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; border: none; cursor: pointer;
  font-weight: 700; font-size: 1rem; min-height: 48px;
  background: var(--brand); color: #fff; transition: transform .12s, background .2s;
}
.btn:hover { background: var(--brand-2); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn.ghost:hover { background: var(--bg-soft); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ── Hero ── */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 80% at 80% -10%, rgba(240,100,42,.35), transparent 60%),
    radial-gradient(90% 90% at 0% 120%, rgba(201,150,43,.25), transparent 55%),
    linear-gradient(160deg, var(--bg-soft), var(--bg));
  padding: 72px 0 84px;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4rem); letter-spacing: -.5px; }
.hero .lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 46ch; margin-bottom: 26px; }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: 2px; font-size: .8rem; font-weight: 800; color: var(--brand); background: color-mix(in srgb, var(--brand) 14%, transparent); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.trust-row { display: flex; gap: 22px; margin-top: 30px; flex-wrap: wrap; color: var(--ink-soft); font-size: .9rem; font-weight: 600; }
.trust-row span::before { content: "✓ "; color: var(--green); font-weight: 800; }

/* Hero art — CSS-only bottle */
.hero-art { display: grid; place-items: center; }
.bottle {
  width: 200px; height: 340px; border-radius: 90px 90px 40px 40px;
  background: linear-gradient(150deg, var(--brand-2), var(--brand));
  position: relative; box-shadow: var(--shadow);
  transform: rotate(-6deg);
}
.bottle::before { content: ""; position: absolute; top: -46px; left: 50%; transform: translateX(-50%); width: 62px; height: 52px; background: #8f1d17; border-radius: 12px; }
.bottle .label {
  position: absolute; inset: 92px 22px auto 22px; height: 150px; background: var(--bg-soft);
  border-radius: 14px; display: grid; place-items: center; text-align: center; padding: 12px;
  box-shadow: inset 0 0 0 3px var(--gold);
}
.bottle .label b { font-family: Georgia, serif; color: var(--brand); font-size: 1.3rem; }
.bottle .label small { color: var(--ink-soft); letter-spacing: 2px; font-size: .62rem; }

/* ── Sections ── */
section.block { padding: 68px 0; }
.section-head { text-align: center; max-width: 60ch; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.7rem); }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }

/* Product grid */
.grid-sauces { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 26px; }
.card {
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); }
.card .art { height: 170px; display: grid; place-items: center; position: relative; }
.card .mini-bottle { width: 62px; height: 108px; border-radius: 30px 30px 12px 12px; position: relative; box-shadow: 0 8px 18px rgba(0,0,0,.2); }
.card .mini-bottle::before { content:""; position:absolute; top:-14px; left:50%; transform:translateX(-50%); width:22px; height:16px; background:#8f1d17; border-radius:5px; }
.card .heat-tag { position: absolute; top: 12px; right: 12px; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,.25); color: #fff; }
.card .body { padding: 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { font-size: 1.25rem; margin: 0; }
.card .tag { color: var(--ink-soft); font-size: .92rem; min-height: 2.6em; }
.card .meta { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; }
.card .price { font-size: 1.4rem; color: var(--brand); }
.card .size { color: var(--ink-soft); font-size: .82rem; }
.card .add { width: 100%; margin-top: 12px; }
.stock-note { font-size: .78rem; color: var(--gold); font-weight: 700; }
.stock-out { color: var(--brand); }

/* ── Cart drawer ── */
.overlay { position: fixed; inset: 0; background: rgba(20,8,5,.5); z-index: 60; opacity: 0; pointer-events: none; transition: opacity .2s; }
.overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%); z-index: 61;
  background: var(--bg-elev); box-shadow: -20px 0 50px rgba(0,0,0,.25);
  transform: translateX(100%); transition: transform .25s; display: flex; flex-direction: column;
}
.drawer.open { transform: none; }
.drawer header { padding: 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.drawer .items { flex: 1; overflow-y: auto; padding: 12px 20px; }
.cart-line { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line .qty { display: inline-flex; align-items: center; gap: 8px; }
.qbtn { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-soft); font-size: 1.1rem; cursor: pointer; color: var(--ink); }
.drawer footer { padding: 20px; border-top: 1px solid var(--line); }
.sumrow { display: flex; justify-content: space-between; margin-bottom: 8px; color: var(--ink-soft); }
.sumrow.total { color: var(--ink); font-weight: 800; font-size: 1.15rem; }

/* ── Forms ── */
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--bg); color: var(--ink); font-size: 1rem; font-family: inherit; min-height: 46px;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 20%, transparent); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pay-opts { display: grid; gap: 10px; }
.pay-opts label { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; }
.pay-opts label:has(input:checked) { border-color: var(--brand); background: var(--bg-soft); }

.notice { padding: 12px 14px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); font-size: .92rem; margin-bottom: 14px; }
.notice.err { border-color: var(--brand); color: var(--brand); }
.notice.ok { border-color: var(--green); color: var(--green); }

/* Confirmation */
.confirm-card { text-align: center; max-width: 560px; margin: 40px auto; background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.confirm-card .big { font-size: 3rem; }
.ordno { font-family: ui-monospace, monospace; font-size: 1.5rem; font-weight: 800; color: var(--brand); }

/* Footer */
footer.site { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 48px 0 28px; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot-grid h4 { margin: 0 0 10px; font-family: inherit; font-size: .82rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--ink-soft); }
.foot-grid a { display: block; color: var(--ink-soft); padding: 4px 0; }
.foot-grid a:hover { color: var(--brand); }
.foot-trust { display: flex; gap: 18px; flex-wrap: wrap; color: var(--ink-soft); font-size: .85rem; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }

.modal { position: fixed; inset: 0; background: rgba(20,8,5,.55); z-index: 70; display: none; place-items: center; padding: 20px; }
.modal.open { display: grid; }
.modal .sheet { background: var(--bg-elev); border-radius: var(--radius); padding: 28px; width: min(520px, 100%); max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow); }

.pair-box { background: var(--bg-soft); border-radius: 12px; padding: 14px; margin-top: 12px; font-size: .95rem; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .hero-cta, .trust-row { justify-content: center; }
  .hero-art { order: -1; }
  .foot-grid { grid-template-columns: 1fr; }
  .nav-links a.hide-mobile { display: none; }
}
@media (max-width: 420px) {
  .two { grid-template-columns: 1fr; }
  .brand .badge { display: none; }
}
