@font-face { font-family: Inter; src: url(/fonts/inter.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
:root { --wine: #7b1a22; --wine-d: #2b080c; --cream: #f8f2ea; --paper: #fffaf4; --ink: #231416; --muted: #6f5b5c; --line: #e8dacd; --gold: #c9a15a; --ok: #1f7a46; --serif: Georgia, 'Times New Roman', serif; }
* { box-sizing: border-box; }
html, body { margin: 0; overflow-x: clip; overscroll-behavior-x: none; touch-action: pan-y pinch-zoom; }
body { position: relative; background: var(--cream); color: var(--ink); font: 16px/1.55 Inter, system-ui, -apple-system, sans-serif; overflow-wrap: break-word; -webkit-text-size-adjust: 100%; }
body.locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--wine); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .4em; }
h1 em, h2 em { color: var(--wine); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; font-weight: 700; color: var(--wine); margin: 0 0 .6em; }
.muted { color: var(--muted); } .small { font-size: .82rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--wine); color: #fff; font: 600 1rem Inter, sans-serif; text-decoration: none; border: 2px solid var(--wine); cursor: pointer; }
.btn:hover { background: #5e1219; }
.btn-ghost { background: transparent; color: var(--wine); } .btn-ghost:hover { background: #f0e1d6; }
.btn-wide { width: 100%; margin-top: 10px; }
.tag { font: 600 .7rem Inter, sans-serif; background: #f4e3c4; color: #6b4a1e; padding: 2px 8px; border-radius: 999px; vertical-align: middle; }

.ribbon { background: var(--wine-d); color: #f1d9cf; font-size: .78rem; text-align: center; padding: 7px 16px; }
.ribbon a { color: #fff; }
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: rgba(255, 250, 244, .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font: 700 1.15rem var(--serif); margin-right: auto; }
.brand small { display: block; font: 500 .66rem Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.brand img { border-radius: 50%; }
.nav { display: none; gap: 22px; } .nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.cart-btn { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--wine); background: #fff; color: var(--wine); font: 700 .95rem Inter, sans-serif; cursor: pointer; }
.cart-btn b { display: inline-block; min-width: 22px; margin-left: 4px; padding: 0 6px; border-radius: 999px; background: var(--wine); color: #fff; }
.cart-btn.has { background: var(--wine); color: #fff; } .cart-btn.has b { background: #fff; color: var(--wine); }

.hero { display: grid; gap: 22px; padding: 34px 16px 26px; max-width: 1120px; margin: 0 auto; }
.hero h1 { font-size: clamp(2rem, 8vw, 3.5rem); }
.lead { font-size: 1.06rem; color: #4b3536; max-width: 36em; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hero-img { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 18px 40px rgba(43, 8, 12, .2); }
.hero-img img { width: 100%; aspect-ratio: 4 / 4.3; object-fit: cover; object-position: 58% 50%; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 16px 0 0; padding: 0; list-style: none; font-size: .9rem; color: var(--muted); } .facts b { color: var(--wine); font-size: 1.15rem; margin-right: 4px; }

.steps { display: grid; gap: 12px; padding: 0 16px 34px; max-width: 1120px; margin: 0 auto; }
.steps div { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.steps b { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--wine); color: #fff; }
.steps h3 { display: inline; margin-left: 8px; font-size: 1.15rem; } .steps p { margin: 6px 0 0; color: var(--muted); }

section { scroll-margin-top: 70px; }
.sec-head { max-width: 1120px; margin: 0 auto 16px; }
.sec-head h2, .venues h2 { font-size: clamp(1.7rem, 6vw, 2.5rem); }
.note { margin: 0; background: #f4e3c4; color: #5a3f17; border-radius: 12px; padding: 9px 12px; font-size: .88rem; }
.range { background: var(--paper); padding: 40px 16px; border-top: 1px solid var(--line); }
.range > * { max-width: 1120px; margin-left: auto; margin-right: auto; }
.filters, .mode { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.filters button, .mode button { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 600 .9rem Inter, sans-serif; cursor: pointer; }
.filters button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.mode { background: #efe3d7; border-radius: 999px; padding: 4px; display: inline-flex; gap: 4px; }
.mode button { border: 0; background: transparent; }
.mode button.on { background: var(--wine); color: #fff; }
.grid { list-style: none; padding: 0; margin: 8px auto 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.card.out { opacity: .6; }
.art { width: 100%; aspect-ratio: 1; object-fit: cover; background: #efe3d7; }
.body { padding: 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.cat { color: var(--muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; }
.body h3 { font-size: 1.02rem; margin: 0; }
.price { margin: 0; font-weight: 700; font-size: .92rem; }
.stock { margin: 0; font-size: .8rem; font-weight: 600; } .stock.yes { color: var(--ok); } .stock.no { color: #a3242c; }
.step { margin-top: auto; padding-top: 8px; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; text-align: center; }
.step button { height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--cream); font: 700 1.3rem Inter, sans-serif; color: var(--wine); cursor: pointer; }
.step button:disabled { color: #bbb; cursor: not-allowed; }
.step output { font-weight: 700; }
.tiers { margin-top: 22px; background: var(--wine-d); color: #f6e6dc; border-radius: 18px; padding: 18px; }
.tiers h3 { color: #fff; } .tiers ul { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 6px; }
.tiers b { color: var(--gold); margin-right: 6px; } .tiers .muted { color: #cdb3ad; margin: 0; }

.venues { display: grid; gap: 20px; padding: 44px 16px; max-width: 1120px; margin: 0 auto; }
.venue-img img { width: 100%; border-radius: 20px; aspect-ratio: 16 / 11; object-fit: cover; }
.form { display: grid; gap: 12px; margin-top: 14px; }
.form label { display: grid; gap: 5px; font-weight: 600; font-size: .9rem; }
.form input, .form select { width: 100%; min-height: 48px; padding: 0 12px; border: 1px solid #d6c4b5; border-radius: 12px; background: #fff; font: 16px Inter, sans-serif; color: var(--ink); }
.form .check { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.form .check input { width: 22px; min-height: 22px; height: 22px; accent-color: var(--wine); }
.form .invalid { border-color: #b3202a; box-shadow: 0 0 0 3px rgba(179, 32, 42, .15); }
.row2 { display: grid; gap: 12px; }
.err { color: #a3242c; font-weight: 600; margin: 0; min-height: 1px; }
.ok { margin: 0; background: #e3f2e8; color: #15522f; padding: 12px; border-radius: 12px; font-weight: 600; } .ok a { color: #15522f; }

.events { background: var(--wine-d); color: #f6e6dc; padding: 44px 16px; }
.events h2 { color: #fff; } .events .eyebrow { color: var(--gold); }
.events .note { background: rgba(255, 255, 255, .08); color: #e9d3c9; }
.ev { list-style: none; padding: 0; margin: 0 auto; max-width: 1120px; display: grid; gap: 14px; }
.ev li { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; background: rgba(255, 255, 255, .06); border-radius: 16px; padding: 10px; }
.ev img { border-radius: 10px; width: 96px; aspect-ratio: 3 / 4; object-fit: cover; }
.ev b { display: block; color: var(--gold); } .ev span { display: block; color: #fff; font-weight: 600; } .ev small { color: #cdb3ad; }

.moments { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 6px; }
.moments img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }

.foot { text-align: center; padding: 36px 16px 100px; background: var(--paper); border-top: 1px solid var(--line); }
.foot img { margin: 0 auto 10px; border-radius: 50%; }
.resp { font-weight: 700; color: var(--wine); }
.links a { display: inline-block; padding: 6px 2px; }

.float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 15; background: #1f7a46; color: #fff; font-weight: 700; text-decoration: none; padding: 13px 18px; border-radius: 999px; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); transition: opacity .2s, transform .2s; }
.float.hide { opacity: 0; transform: translateY(20px); pointer-events: none; }

.gate { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(43, 8, 12, .96); }
.gate[hidden] { display: none; }
.gate-box { background: var(--paper); border-radius: 22px; padding: 26px 20px; max-width: 380px; width: 100%; text-align: center; }
.gate-box img { margin: 0 auto 10px; border-radius: 50%; }
.gate-btns { display: grid; gap: 10px; margin-top: 14px; }
.gate-no { color: #a3242c; font-weight: 600; }

.drawer { position: fixed; inset: 0; z-index: 50; }
.drawer[hidden] { display: none; }
.drawer-bg { position: absolute; inset: 0; background: rgba(20, 6, 8, .55); }
.drawer-box { position: absolute; right: 0; top: 0; bottom: 0; width: min(440px, 100%); background: var(--paper); overflow-y: auto; overscroll-behavior: contain; padding: 16px 16px calc(24px + env(safe-area-inset-bottom)); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; }
.drawer-head h2 { margin: 0; }
.x { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.1rem; cursor: pointer; }
.lines { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 8px; }
.lines li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: .92rem; }
.lines li.empty { display: block; color: var(--muted); }
.rm { grid-column: 1 / -1; justify-self: start; background: none; border: 0; color: #a3242c; font: 600 .82rem Inter, sans-serif; padding: 4px 0; cursor: pointer; }
.totals { margin: 0 0 6px; }
.totals div { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; } .totals dd { margin: 0; font-weight: 600; }
.totals .save { color: var(--ok); } .totals .hint { color: #8a5a12; font-size: .88rem; }
.totals .grand { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 8px; font-size: 1.08rem; font-weight: 700; }
#done h3 { font-size: 2rem; color: var(--wine); }
.sum p { margin: 4px 0; } .sum .grand { font-weight: 700; margin-top: 8px; }

/* desk + legal */
.page { max-width: 820px; margin: 0 auto; padding: 28px 16px 60px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 14px 0; }
.stats div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 6px; text-align: center; }
.stats b { display: block; font-size: 1.4rem; color: var(--wine); } .stats span { font-size: .74rem; color: var(--muted); }
.orders { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.orders li { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.orders .hd { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; justify-content: space-between; }
.pill { font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #f4e3c4; color: #6b4a1e; }
.pill.Confirmed { background: #e2ecfa; color: #1f4b8f; } .pill.Paid { background: #e3f2e8; color: #15522f; } .pill.Delivered { background: #ece7f6; color: #4a2f86; }
.orders p { margin: 4px 0; font-size: .9rem; }
.btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.btns button, .btns a { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--wine); background: #fff; color: var(--wine); font: 600 .85rem Inter, sans-serif; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.btns .wa { background: #1f7a46; border-color: #1f7a46; color: #fff; }
.stocklist { list-style: none; padding: 0; display: grid; gap: 8px; }
.stocklist li { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; }
.ex { font-size: .7rem; font-weight: 700; color: #8a5a12; }

@media (min-width: 640px) {
  .row2 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .moments { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ev { grid-template-columns: repeat(3, 1fr); }
  .ev li { grid-template-columns: 1fr; } .ev img { width: 100%; }
  .gate-btns { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .nav { display: flex; margin-right: 10px; }
  .hero { grid-template-columns: 1.2fr .8fr; align-items: center; padding: 60px 24px 40px; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .venues { grid-template-columns: .8fr 1.2fr; align-items: start; }
}
.mt { margin-top: 34px; } .center { text-align: center; }
