/* Slavonska rakija, v2 */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/inter-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/inter-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/inter-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/inter-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/playfair-display-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/playfair-display-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --wine: #4a1d36;
  --wine-dark: #33111f;
  --wine-soft: #f3e7ec;
  --gold: #c89b3c;
  --gold-soft: #f6ecd6;
  --cream: #faf6ef;
  --paper: #ffffff;
  --ink: #2b2226;
  --muted: #6b5e62;
  --line: #e7dfd3;
  --green: #1f7a3a;
  --red: #b3261e;
  --plum: #5b2a4e;
  --pear: #6f7d26;
  --walnut: #6b4a32;
  --cherry: #9b1c31;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgb(43 34 38 / 6%), 0 8px 24px rgb(43 34 38 / 8%);
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --container: 1160px;
  --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); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1rem/1.65 var(--font-body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wine); text-underline-offset: 3px; }
a:hover { color: var(--wine-dark); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; color: var(--wine-dark); margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -48px; background: var(--wine); color: #fff; padding: 8px 14px; border-radius: var(--radius-sm); z-index: 100; }
.skip-link:focus { top: 12px; color: #fff; }

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

.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 .5rem; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 62ch; }
.note { color: var(--muted); font-size: .95rem; max-width: 80ch; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 44px; padding: .6em 1.3em; border: 1px solid transparent; border-radius: 999px; font: 600 .98rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn-primary { background: var(--wine); color: #fff; }
.btn-primary:hover:not([disabled]) { background: var(--wine-dark); color: #fff; }
.btn-secondary { background: transparent; color: var(--wine); border-color: var(--wine); }
.btn-secondary:hover { background: var(--wine-soft); }
.btn-light { background: #fff; color: var(--wine-dark); }
.btn-light:hover { background: var(--gold-soft); color: var(--wine-dark); }
.btn-link { background: none; border: 0; color: var(--wine); padding: .4em 0; min-height: 0; text-decoration: underline; }
.btn-lg { min-height: 52px; padding: .75em 1.7em; font-size: 1.05rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(250 246 239 / 92%); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--wine-dark); font: 600 1.35rem/1 var(--font-display); }
.brand em { font-style: normal; color: var(--gold); }
.brand-mark { width: 16px; height: 28px; fill: var(--wine); }
.nav-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; border: 0; background: none; cursor: pointer; border-radius: var(--radius-sm); }
.nav-toggle span { display: block; height: 2px; background: var(--wine-dark); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
html:not(.js) .nav-toggle { display: none; }
.site-nav { display: flex; flex-direction: column; gap: 4px; }
.js .site-nav { position: absolute; left: 0; right: 0; top: 100%; padding: 12px 16px 20px; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.js .site-nav:not(.open) { display: none; }
.site-nav a { padding: 10px 8px; text-decoration: none; color: var(--ink); font-weight: 600; border-radius: var(--radius-sm); }
.site-nav a[aria-current="page"] { color: var(--wine); background: var(--wine-soft); }
.site-nav .nav-cta { margin-top: 8px; color: #fff; }
.site-nav .nav-cta[aria-current="page"] { background: var(--wine-dark); color: #fff; }
.site-nav .nav-phone { color: var(--muted); font-weight: 400; }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav, .js .site-nav, .js .site-nav:not(.open) { position: static; display: flex; flex-direction: row; align-items: center; gap: 6px; padding: 0; background: none; border: 0; box-shadow: none; }
  .site-nav .nav-cta { margin: 0 0 0 10px; padding: .5em 1.2em; }
  .site-nav .nav-phone { margin-left: 6px; font-size: .95rem; }
}
.header-inner { position: relative; }

/* Hero */
.hero { position: relative; background: var(--wine-dark); color: #fff; }
.hero-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hero-track::-webkit-scrollbar { display: none; }
.hero-slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; min-height: clamp(360px, 52vw, 560px); display: flex; align-items: flex-end; overflow: hidden; }
.hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(20 6 12 / 10%) 20%, rgb(20 6 12 / 78%) 100%); }
.hero-caption { position: relative; z-index: 1; padding-bottom: clamp(48px, 7vw, 88px); }
.hero-caption .eyebrow { color: var(--gold-soft); }
.hero-title { color: #fff; font-size: clamp(2.6rem, 1.6rem + 4.5vw, 4.8rem); margin-bottom: .2em; }
.hero-text { font-size: clamp(1.05rem, .95rem + .5vw, 1.35rem); max-width: 34ch; margin-bottom: 1.4em; color: rgb(255 255 255 / 90%); }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.hero-dots button { width: 28px; height: 28px; padding: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.hero-dots button::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: rgb(255 255 255 / 45%); transition: background .2s, transform .2s; }
.hero-dots button[aria-current="true"]::before { background: #fff; transform: scale(1.25); }

/* Sections */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section-alt { background: var(--paper); border-block: 1px solid var(--line); }
.section-head { margin-bottom: 28px; }
.page-head { padding: clamp(36px, 5vw, 64px) 0 clamp(20px, 3vw, 32px); background: linear-gradient(180deg, var(--wine-soft), var(--cream)); border-bottom: 1px solid var(--line); }
.page-head h1 { margin-bottom: .3em; }

.prose { max-width: 72ch; }
.prose-narrow { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
blockquote { margin: 1.6em 0; padding: 1em 1.4em; border-left: 3px solid var(--gold); background: var(--gold-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-family: var(--font-display); font-size: 1.15rem; color: var(--wine-dark); }
blockquote p { margin: 0 0 .4em; }
blockquote footer { font: 400 .9rem var(--font-body); color: var(--muted); }
blockquote footer::before { content: '— '; }

.intro { display: grid; gap: 32px; align-items: start; }
.intro-figure { margin: 0; }
.intro-figure img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (min-width: 820px) { .intro { grid-template-columns: minmax(240px, 340px) 1fr; gap: 56px; } }

.two-col { display: grid; gap: 40px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 64px; } }
.float-img { border-radius: var(--radius); margin: 0 0 1.2em; box-shadow: var(--shadow); width: 100%; }

.wide-figure { margin: 1.5em 0; }
.wide-figure img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* Product cards */
.product-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.product-card { --accent: var(--wine); display: flex; flex-direction: column; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; transition: transform .2s, box-shadow .2s; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-card-image { display: grid; place-items: center; height: 220px; margin: -20px -20px 16px; border-radius: var(--radius) var(--radius) 0 0; background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--accent) 22%, #fff), color-mix(in srgb, var(--accent) 6%, #fff)); }
.product-card-image img { max-height: 190px; width: auto; }
.product-card h3 { color: var(--accent); margin-bottom: .3em; }
.product-card p { color: var(--muted); font-size: .95rem; flex: 1 0 auto; }
.product-card .from-price, .product-row .from-price { flex: 0 0 auto; color: var(--ink); font-weight: 600; font-size: 1.05rem; margin: .2em 0 .9em; }
.accent-plum { --accent: var(--plum); }
.accent-pear { --accent: var(--pear); }
.accent-walnut { --accent: var(--walnut); }
.accent-cherry { --accent: var(--cherry); }

.product-list { display: grid; gap: 24px; }
.product-row { --accent: var(--wine); display: grid; grid-template-columns: 120px 1fr; gap: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.product-row-image { display: grid; place-items: center; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--accent) 10%, #fff); padding: 12px; }
.product-row-image img { max-height: 220px; width: auto; }
.product-row h2 { color: var(--accent); margin-bottom: .4em; }
@media (min-width: 720px) { .product-row { grid-template-columns: 200px 1fr; gap: 32px; padding: 28px; } }

/* Tables */
.table-wrap { overflow-x: auto; margin-bottom: 1.2em; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); }
.price-table { width: 100%; border-collapse: collapse; min-width: 480px; font-variant-numeric: tabular-nums; }
.price-table th, .price-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: right; }
.price-table th:first-child { text-align: left; }
.price-table thead th { background: var(--wine); color: #fff; font-weight: 600; }
.price-table tbody tr:last-child > * { border-bottom: 0; }
.price-table tbody tr:nth-child(even) { background: var(--cream); }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Facts / contact */
.facts { display: grid; grid-template-columns: minmax(120px, 200px) 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); overflow: hidden; }
.facts dt, .facts dd { margin: 0; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); background: var(--cream); }
.facts dt:last-of-type, .facts dd:last-of-type { border-bottom: 0; }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } .facts dt { border-bottom: 0; padding-bottom: 0; } }
.contact-cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-bottom: 1.5em; }
.contact-card { display: flex; flex-direction: column; gap: 4px; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.contact-card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.contact-label { color: var(--muted); font-size: .85rem; }
.contact-value { font-weight: 600; font-size: 1.1rem; color: var(--wine-dark); overflow-wrap: anywhere; }

/* Footer */
.site-footer { background: var(--wine-dark); color: rgb(255 255 255 / 80%); padding: 56px 0 24px; margin-top: 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--gold-soft); }
.site-footer h2 { font: 600 .8rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 1em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5em; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; } }
.footer-brand { font: 600 1.4rem var(--font-display); color: #fff; }
.footer-brand em { font-style: normal; color: var(--gold); }
.footer-about p:last-child { font-size: .92rem; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / 12%); font-size: .85rem; color: rgb(255 255 255 / 60%); }

/* Alerts */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin: 1em 0; }
.alert-error { background: #fbeaea; color: var(--red); border: 1px solid #f0c8c5; }
.alert-success { background: #e9f5ec; color: var(--green); border: 1px solid #c6e5cf; }
.alert-warning { background: var(--gold-soft); color: #7a5a14; border: 1px solid #ecd9ab; }

/* Order page */
.steps { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; padding: 0; margin: 12px 0 0; counter-reset: step; font-size: .92rem; color: var(--muted); }
.steps li { counter-increment: step; display: flex; align-items: center; gap: 8px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); font-weight: 600; font-size: .85rem; }
.steps li[aria-current="step"] { color: var(--wine-dark); font-weight: 600; }
.steps li[aria-current="step"]::before { background: var(--wine); border-color: var(--wine); color: #fff; }
.steps li.done::before { content: '✓'; background: var(--gold-soft); border-color: var(--gold); color: var(--wine-dark); }

.order-layout { padding-top: 28px; padding-bottom: 120px; }
.order-grid { display: grid; gap: 20px; margin: 20px 0 32px; }
@media (min-width: 900px) { .order-grid { grid-template-columns: 1fr 1fr; } }
.order-product { display: grid; grid-template-columns: 70px 1fr; gap: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; scroll-margin-top: calc(var(--header-h) + 20px); }
.order-product:target { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.order-product-image img { width: 70px; height: auto; }
@media (min-width: 520px) { .order-product { grid-template-columns: 90px 1fr; padding: 20px; } .order-product-image img { width: 90px; } }
.order-product h3 { margin-bottom: .4em; }
.order-table { width: 100%; border-collapse: collapse; font-size: .95rem; font-variant-numeric: tabular-nums; }
.order-table th, .order-table td { padding: 6px 4px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.order-table thead th { font: 600 .75rem var(--font-body); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; text-align: left; }
.order-table thead th.num { text-align: right; }
.order-table tbody th { text-align: left; font-weight: 600; }
.order-table tbody tr:last-child > * { border-bottom: 0; }
.line-total { min-width: 72px; font-weight: 600; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--cream); }
.stepper-btn { width: 36px; height: 36px; border: 0; background: none; font-size: 1.2rem; line-height: 1; color: var(--wine); cursor: pointer; border-radius: 50%; }
.stepper-btn:hover { background: var(--wine-soft); }
.qty { width: 44px; height: 36px; border: 0; background: transparent; text-align: center; font: 600 1rem var(--font-body); color: var(--ink); -moz-appearance: textfield; appearance: textfield; }
.qty::-webkit-outer-spin-button, .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty.has-value { color: var(--wine); }

.order-info { color: var(--muted); font-size: .95rem; max-width: 80ch; }
.order-info ul { padding-left: 1.2em; }

.order-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgb(255 255 255 / 96%); backdrop-filter: blur(8px); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgb(43 34 38 / 8%); padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); }
.order-bar[hidden] { display: none; }
.order-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.order-bar-totals { display: flex; flex-direction: column; line-height: 1.3; }
.order-bar-total { font-size: 1.05rem; }
.order-bar-total strong { font-size: 1.25rem; color: var(--wine-dark); font-variant-numeric: tabular-nums; }
.order-bar-delivery { font-size: .85rem; color: var(--muted); }
.order-bar-delivery.free { color: var(--green); font-weight: 600; }

.details-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .details-grid { grid-template-columns: 380px 1fr; gap: 40px; } .summary-card { position: sticky; top: calc(var(--header-h) + 20px); } }
.summary-card, .order-form, .done-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
@media (min-width: 720px) { .summary-card, .order-form, .done-card { padding: 28px; } }
.summary-card h2, .order-form h2 { font-size: 1.4rem; }
.summary-table { width: 100%; border-collapse: collapse; font-size: .95rem; font-variant-numeric: tabular-nums; }
.summary-table td { padding: 6px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.summary-table td + td { text-align: right; padding-left: 12px; white-space: nowrap; }
.summary-table tr.sum td { border-bottom: 0; color: var(--muted); }
.summary-table tr.grand td { border-top: 2px solid var(--ink); border-bottom: 0; font-weight: 600; font-size: 1.1rem; color: var(--wine-dark); padding-top: 10px; }
.free-note { color: var(--green); font-size: .9rem; margin-top: 10px; }

.field { margin-bottom: 16px; }
.field label, .field legend { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.optional { font-weight: 400; color: var(--muted); }
.field input:not([type="radio"]):not([type="checkbox"]), .field textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #d6cbbb; border-radius: var(--radius-sm); background: #fff; font: 400 1rem var(--font-body); color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px var(--wine-soft); }
.field.invalid input, .field.invalid textarea { border-color: var(--red); }
.field-error { color: var(--red); font-size: .85rem; margin: 4px 0 0; min-height: 0; }
.field-error:empty { display: none; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1.6fr; } }
fieldset.field { border: 0; padding: 0; margin: 0 0 16px; }
.segmented { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 4px; background: var(--cream); border: 1px solid var(--line); border-radius: 999px; }
.segmented label { margin: 0; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span { display: block; padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--muted); transition: background .15s, color .15s; }
.segmented input:checked + span { background: var(--wine); color: #fff; }
.segmented input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.hint { font-size: .9rem; color: var(--muted); margin: 8px 0 0; }
.checkbox label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.checkbox input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--wine); flex: 0 0 auto; }
.turnstile { margin: 8px 0 16px; min-height: 65px; }
.field textarea { display: block; resize: vertical; min-height: 140px; line-height: 1.5; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form { margin-top: 1em; }
.contact-form .hint { margin: 0 0 16px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--line); }
.btn[data-loading] { position: relative; color: transparent !important; }
.btn[data-loading]::after { content: ''; position: absolute; width: 20px; height: 20px; border: 2px solid rgb(255 255 255 / 40%); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.done-card h2 { display: flex; align-items: center; gap: 12px; }
.done-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: #fff; font-size: 1.3rem; flex: 0 0 auto; font-family: var(--font-body); }
.done-list { list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; gap: 10px; }
.done-list li { padding-left: 28px; position: relative; }
.done-list li::before { content: '•'; position: absolute; left: 8px; color: var(--gold); font-weight: 700; }
.bank-box { border: 1px solid var(--gold); background: var(--gold-soft); border-radius: var(--radius); padding: 20px; margin: 1.5em 0; }
.bank-box h3 { color: var(--wine-dark); }
.bank-grid { display: grid; gap: 20px; align-items: center; }
@media (min-width: 760px) { .bank-grid { grid-template-columns: 1fr 300px; } }
.bank-box dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0; font-size: .95rem; }
.bank-box dt { color: var(--muted); }
.bank-box dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.barcode { background: #fff; padding: 10px; border-radius: var(--radius-sm); }
.barcode svg { width: 100%; height: auto; display: block; }
.barcode p { margin: 6px 0 0; text-align: center; font-size: .8rem; color: var(--muted); }
.done-columns { display: grid; gap: 24px; margin-top: 1.5em; }
@media (min-width: 820px) { .done-columns { grid-template-columns: 1fr 1fr; } }

@media (max-width: 519px) {
  .order-product { grid-template-columns: 1fr; }
  .order-product-image { display: none; }
  .order-table th:last-child, .order-table td.line-total { display: none; }
  .order-table th, .order-table td { padding-inline: 2px; }
}

.price-history { color: var(--muted); font-size: .95rem; margin: -12px 0 28px; }
.price-history a { font-weight: 600; white-space: nowrap; }
.price-history a::before { content: '↓ '; }
.section .price-history { margin: 0 0 1em; }

/* Reference ("anchor") price under each order row */
.order-table tr.has-anchor > * { border-bottom: 0; padding-bottom: 0; }
.order-table tr.anchor-row td { padding: 0 4px 8px; font-size: .8rem; color: var(--muted); text-align: left; font-variant-numeric: tabular-nums; }

/* Age gate: shown only while <html> has .age-pending (set by the inline script in layout.njk) */
.age-gate { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 16px; background: rgb(51 17 31 / 96%); }
.age-pending .age-gate { display: flex; }
.age-pending body { overflow: hidden; }
.age-gate-box { max-width: 440px; width: 100%; padding: 32px 28px; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; }
.age-gate-box h2 { margin: 0 0 .5em; font-family: var(--font-display); color: var(--wine); }
.age-gate-box p { margin: 0 0 1.5em; color: var(--muted); }
.age-gate-actions { display: flex; gap: 12px; justify-content: center; }
.age-gate-actions .btn { min-width: 110px; }
