/* winedeals.com.au: public site. Australian flag palette: navy-led, red accents, white content. */
:root {
  --navy: #012169;
  --navy-900: #00133f;
  --navy-800: #011a52;
  --navy-600: #1a3a85;
  --navy-100: #e6ebf5;
  --navy-50: #f2f5fb;
  --red: #e4002b;
  --red-700: #b80023;
  --red-50: #fdebee;
  --white: #ffffff;
  --ink: #0b1633;
  --ink-2: #33405c;
  --muted: #5d6880;
  --line: #e2e6ee;
  --line-2: #cfd6e3;
  --surface: #f5f7fb;
  --ok: #0b7a4b;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(1, 33, 105, .06), 0 4px 16px rgba(1, 33, 105, .06);
  --font-display: 'Cabinet Grotesk', 'Satoshi', system-ui, sans-serif;
  --font-body: 'Satoshi', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1240px;
  --header-h: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.5; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--red); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.12; letter-spacing: -0.015em; margin: 0; color: var(--ink); }
h1 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem); }
h2 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); }
h3 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 4px; }
.only-mobile { display: none !important; }
@media (max-width: 767px) { .only-mobile { display: revert !important; } .only-desktop { display: none !important; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: var(--radius-sm); border: 1.5px solid transparent; font: 700 15px/1.1 var(--font-body); cursor: pointer; text-align: center; transition: background .15s, border-color .15s, color .15s, transform .1s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-600); color: var(--white); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-700); color: var(--white); }
.btn-outline { background: var(--white); color: var(--navy); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-ghost { background: transparent; color: var(--ink-2); border-color: var(--line); }
.btn-ghost:hover { color: var(--navy); border-color: var(--navy); }
.btn-sm { min-height: 36px; padding: 7px 12px; font-size: 14px; }
.btn-lg { min-height: 52px; padding: 14px 24px; font-size: 16px; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; color: var(--navy); font: 600 14px var(--font-body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 6px 0; }
.icon-btn { background: none; border: 0; font-size: 28px; line-height: 1; cursor: pointer; color: var(--ink); width: 44px; height: 44px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--navy); color: var(--white); border-bottom: 3px solid var(--red); }
.header-row { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { color: var(--white); flex-shrink: 0; }
.brand:hover { color: var(--white); }
.logo { display: inline-flex; align-items: center; gap: 9px; color: var(--navy); }
.logo-light { color: var(--white); }
.logo-mark { flex-shrink: 0; }
.logo-word { font: 800 22px/1 var(--font-display); letter-spacing: -0.02em; }
.logo-tld { color: var(--red); }
.logo-light .logo-tld { color: #ff4d6a; }
.logo-img { height: 34px; width: auto; }
.main-nav { display: flex; gap: 4px; }
.main-nav a { color: rgba(255,255,255,.86); font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 6px; }
.main-nav a:hover, .main-nav a.is-active { color: var(--white); background: rgba(255,255,255,.1); }
.header-search { flex: 1; display: flex; align-items: center; gap: 8px; background: var(--white); border-radius: 8px; padding: 0 12px; height: 42px; color: var(--muted); max-width: 440px; margin-left: auto; }
.header-search input { flex: 1; border: 0; outline: 0; font: 15px var(--font-body); color: var(--ink); background: transparent; min-width: 0; height: 100%; }
.postcode-btn { display: inline-flex; align-items: center; gap: 6px; background: transparent; border: 1.5px solid rgba(255,255,255,.35); color: var(--white); border-radius: 8px; height: 42px; padding: 0 12px; font: 600 14px var(--font-body); cursor: pointer; }
.postcode-btn:hover { border-color: var(--white); }
@media (max-width: 1080px) { .main-nav a:nth-child(3) { display: none; } }
@media (max-width: 767px) {
  :root { --header-h: 52px; }
  .main-nav, .header-search { display: none; }
  .header-row { justify-content: space-between; gap: 12px; }
  .logo-word { font-size: 19px; }
  .logo-mark { width: 24px; height: 24px; }
  .postcode-btn { height: 34px; }
}

/* ---------- Bottom nav (mobile) ---------- */
.bottom-nav { display: none; }
@media (max-width: 767px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .bottom-nav { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--white); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -4px 16px rgba(1,33,105,.06); }
  .bottom-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 0 8px; font-size: 12px; font-weight: 600; color: var(--muted); min-height: 56px; }
  .bottom-nav a.is-active { color: var(--navy); }
  .bottom-nav a.is-active svg { color: var(--red); }
  .bottom-nav svg { width: 22px; height: 22px; }
}

/* ---------- Ads ---------- */
.ad { position: relative; display: flex; flex-direction: column; align-items: center; margin: 20px auto; }
.ad-label { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.ad-link { display: block; width: 100%; }
.ad img { margin: 0 auto; border-radius: 4px; }
.ad-leaderboard img { box-shadow: 0 0 0 1px var(--line); width: 100%; max-width: 970px; height: auto; aspect-ratio: 970 / 250; object-fit: cover; }
.ad-mobile_sticky { position: sticky; top: var(--header-h); z-index: 30; margin: 0; background: var(--surface); padding: 4px 0; border-bottom: 1px solid var(--line); }
.ad-mobile_sticky .ad-label { display: none; }
.ad-mobile_sticky img { width: 320px; height: 50px; }
.ad-sidebar img { width: 300px; height: 600px; }
.ad-in_article img { width: 300px; height: 250px; }
.ad.sticky { position: sticky; top: calc(var(--header-h) + 20px); }

/* ---------- Hero ---------- */
.hero { background: var(--navy); color: var(--white); position: relative; overflow-x: clip; overflow-y: visible; z-index: 2; }
.hero::after { content: ''; position: absolute; right: -120px; top: -140px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(255,255,255,.07) 0 40%, transparent 41%), radial-gradient(circle at 70% 70%, rgba(228,0,43,.18), transparent 60%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; padding-top: 56px; padding-bottom: 56px; position: relative; z-index: 1; align-items: center; }
.hero h1 { color: var(--white); font-size: clamp(2rem, 1.3rem + 3vw, 3.3rem); max-width: 16ch; }
.hero-lede { color: rgba(255,255,255,.85); font-size: 18px; margin-top: 16px; max-width: 54ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.8); margin-bottom: 16px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(228,0,43,.25); }
.eyebrow-dark { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.hero-search { display: flex; gap: 8px; margin-top: 28px; background: var(--white); padding: 6px; border-radius: 10px; max-width: 560px; }
.hero-search input { flex: 1; border: 0; outline: 0; font: 16px var(--font-body); padding: 0 12px; min-width: 0; color: var(--ink); }
.hero-stats { display: flex; gap: 36px; margin-top: 28px; flex-wrap: wrap; }
.hero-stats strong { display: block; font: 800 28px/1 var(--font-display); color: var(--white); }
.hero-stats span { font-size: 13px; color: rgba(255,255,255,.7); }
.dotd-label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.85); margin-bottom: 12px; }
.dotd-label .logo-mark { color: var(--white); }
.dotd-card { display: grid; grid-template-columns: 150px 1fr; gap: 20px; background: var(--white); color: var(--ink); border-radius: 14px; padding: 20px; box-shadow: 0 20px 40px rgba(0,0,0,.25); border-top: 4px solid var(--red); }
.dotd-card:hover { color: var(--ink); }
.dotd-card img { width: 150px; height: 200px; object-fit: contain; background: var(--surface); border-radius: 8px; }
.dotd-card h2 { font-size: 1.3rem; margin: 10px 0 4px; }
.dotd-loc { color: var(--muted); font-size: 14px; }
.dotd-price { margin-top: 12px; color: var(--muted); font-size: 14px; }
.dotd-price strong { font: 800 34px/1 var(--font-display); color: var(--red); margin-right: 4px; }
.dotd-pack { font-size: 14px; color: var(--ink-2); margin: 6px 0 14px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 32px; padding-bottom: 36px; } }
@media (max-width: 480px) { .dotd-card { grid-template-columns: 100px 1fr; padding: 14px; gap: 14px; } .dotd-card img { width: 100px; height: 140px; } .hero-lede { font-size: 16px; } .hero-stats { gap: 22px; } .hero-stats strong { font-size: 22px; } }

/* ---------- Sections ---------- */
.section { padding-top: 32px; padding-bottom: 8px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-head a { font-weight: 700; font-size: 14px; white-space: nowrap; }
.page-head { background: var(--navy-50); border-bottom: 1px solid var(--line); padding: 24px 0 28px; }
.page-head .lede { color: var(--ink-2); margin-top: 8px; max-width: 70ch; }
.lede { font-size: 17px; color: var(--ink-2); }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--navy); }

/* ---------- Pills / chips ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--white); color: var(--ink-2); font-size: 14px; font-weight: 600; min-height: 36px; }
.pill:hover { border-color: var(--navy); color: var(--navy); }
.pill.is-on { background: var(--navy); border-color: var(--navy); color: var(--white); }
.pill-lg { padding: 9px 16px; min-height: 44px; }
.pill span { color: var(--muted); font-weight: 500; font-size: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px 6px 12px; border-radius: 999px; background: var(--navy-100); color: var(--navy); font-size: 13px; font-weight: 700; }
.chip span[aria-hidden] { font-size: 16px; line-height: 1; }
.chip-clear { background: transparent; text-decoration: underline; }

/* ---------- Badges ---------- */
.badge { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 4px; font-size: 11.5px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; line-height: 1.3; }
.badge-super { background: var(--red); color: var(--white); }
.badge-sale { background: var(--red-50); color: var(--red-700); }
.badge-drop { background: var(--navy); color: var(--white); }
.badge-value { background: var(--navy-100); color: var(--navy); }
.badge-sponsored { background: #fff4d6; color: #7a5600; }
.badge-best { background: var(--ok); color: var(--white); }
.badge-critic { background: var(--white); color: var(--navy); border: 1.5px solid var(--navy); }

/* ---------- Cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 1100px) { .rail { grid-auto-columns: calc((100% - 64px) / 5); } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.wine-card { transition: box-shadow .15s, border-color .15s, transform .15s; }
.wine-card:hover { box-shadow: var(--shadow); border-color: var(--line-2); transform: translateY(-2px); }
.wine-card.is-sponsored { border-color: #e9c96b; }
.card-link { display: flex; flex-direction: column; height: 100%; color: var(--ink); }
.card-link:hover { color: var(--ink); }
.card-img { position: relative; background: var(--surface); aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; padding: 14px; }
.card-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.card-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.card-meta { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.card-title { font-size: 15px; line-height: 1.3; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.card-loc { font-size: 13px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-price { margin-top: 10px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.pb { font: 800 24px/1 var(--font-display); color: var(--navy); }
.pb-unit { font-size: 12px; color: var(--muted); }
.card-pack { font-size: 13px; color: var(--ink-2); margin-top: 4px; }
.card-foot { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px; border-top: 1px solid var(--line); margin-top: 12px; }
.card-retailer { font-size: 12.5px; color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vscore { display: inline-flex; align-items: baseline; gap: 3px; background: var(--navy-50); color: var(--navy); padding: 3px 7px; border-radius: 4px; }
.vscore b { font: 800 14px/1 var(--font-display); }
.vscore small { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.vscore-lg { flex-direction: column; align-items: center; padding: 10px 14px; border-radius: 8px; border: 2px solid var(--navy); background: var(--white); }
.vscore-lg b { font-size: 30px; }
.native-card .card-body .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 767px) {
  .grid, .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card-img { padding: 10px; }
  .card-body { padding: 10px 10px 12px; }
  .pb { font-size: 20px; }
  .card-title { font-size: 14px; }
  .rail { grid-auto-columns: 46%; gap: 10px; }
  .card-foot .vscore small { display: none; }
}

/* ---------- Browse ---------- */
.browse { display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding-top: 24px; padding-bottom: 32px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); overflow: auto; padding-right: 6px; scrollbar-width: thin; }
.filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.filters-head h2 { font-size: 18px; }
.facet { border-top: 1px solid var(--line); padding: 10px 0; }
.facet summary { cursor: pointer; font-weight: 700; font-size: 14px; list-style: none; display: flex; justify-content: space-between; padding: 4px 0; }
.facet summary::after { content: '+'; color: var(--muted); }
.facet[open] summary::after { content: '–'; }
.facet ul { list-style: none; margin: 6px 0 0; padding: 0; max-height: 280px; overflow: auto; }
.facet li a { display: flex; align-items: center; gap: 10px; padding: 6px 2px; font-size: 14px; color: var(--ink-2); min-height: 36px; }
.facet li a:hover { color: var(--navy); }
.chk { width: 16px; height: 16px; border: 1.5px solid var(--line-2); border-radius: 4px; flex-shrink: 0; }
.facet a.is-on { color: var(--navy); font-weight: 700; }
.facet a.is-on .chk { background: var(--navy); border-color: var(--navy); box-shadow: inset 0 0 0 3px var(--white); }
.facet-label { flex: 1; }
.facet-n { color: var(--muted); font-size: 12px; }
.facet-title { font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.price-filter { padding-bottom: 12px; }
.price-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.price-inputs label span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.price-inputs input, .field input, .field select, .sort select { width: 100%; height: 40px; border: 1.5px solid var(--line-2); border-radius: 6px; padding: 0 10px; font: 15px var(--font-body); color: var(--ink); background: var(--white); }
.budget-pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.budget-pills .pill { min-height: 30px; padding: 4px 10px; font-size: 13px; }
.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.count { color: var(--ink-2); }
.sort select { width: auto; min-width: 200px; }
.pager { display: flex; justify-content: center; gap: 6px; margin: 28px 0 8px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border-radius: 6px; border: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.pager a.is-on { background: var(--navy); color: var(--white); border-color: var(--navy); }
.pager span { border: 0; color: var(--muted); }
.empty { text-align: center; padding: 56px 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.empty p { color: var(--muted); max-width: 46ch; }
@media (max-width: 767px) {
  .browse { grid-template-columns: 1fr; padding-top: 14px; }
  .filters { position: fixed; inset: auto 0 0 0; top: auto; max-height: 82vh; background: var(--white); z-index: 60; border-radius: 16px 16px 0 0; padding: 16px 20px calc(24px + env(safe-area-inset-bottom)); transform: translateY(105%); transition: transform .25s ease; box-shadow: 0 -12px 40px rgba(0,0,0,.2); }
  .filters.is-open { transform: translateY(0); }
  .filters::before { content: ''; display: block; width: 40px; height: 4px; background: var(--line-2); border-radius: 2px; margin: -6px auto 10px; }
  .sort select { min-width: 0; max-width: 46vw; }
  .page-head { padding: 16px 0 20px; }
}
.scrim { position: fixed; inset: 0; background: rgba(0, 19, 63, .5); z-index: 55; }

/* ---------- State / region ---------- */
.state-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.state-card { display: flex; flex-direction: column; gap: 2px; padding: 16px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(135deg, var(--white), var(--navy-50)); color: var(--ink); border-left: 4px solid var(--navy); }
.state-card:hover { border-left-color: var(--red); color: var(--ink); box-shadow: var(--shadow); }
.state-card strong { font: 800 18px var(--font-display); }
.state-card span { font-size: 13px; color: var(--muted); }
.state-card .from { color: var(--navy); font-weight: 700; }
.region-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 24px; }
.region-list a { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.region-list .n { color: var(--muted); font-weight: 500; font-size: 14px; }
.region-list .from { color: var(--navy); font-size: 14px; }

.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-bottom: 40px; }
.how-item { padding: 22px; border-radius: var(--radius); background: var(--navy-50); }
.how-item span { display: inline-flex; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: var(--white); align-items: center; justify-content: center; font-weight: 800; margin-bottom: 12px; }
.how-item p { color: var(--ink-2); font-size: 15px; margin-top: 6px; }
@media (max-width: 767px) { .how { grid-template-columns: 1fr; } }

/* ---------- Wine page ---------- */
.wine-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; padding-top: 20px; padding-bottom: 40px; }
.wine-main { min-width: 0; }
.wine-hero { display: grid; grid-template-columns: 300px 1fr; gap: 36px; align-items: start; }
.wine-img { background: var(--surface); border-radius: 14px; padding: 24px; aspect-ratio: 3 / 4; display: flex; align-items: center; justify-content: center; }
.wine-img img { max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.wine-badges { display: flex; gap: 6px; margin-bottom: 10px; min-height: 4px; }
.wine-loc { color: var(--ink-2); margin-top: 8px; }
.facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 6px 28px; margin: 18px 0; }
.facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; }
.facts dd { margin: 2px 0 0; font-weight: 700; }
.best-box { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 12px; background: var(--navy-50); border-left: 4px solid var(--red); margin-bottom: 16px; }
.best-label { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.best-pb { font: 800 44px/1.05 var(--font-display); color: var(--red); margin: 4px 0; }
.best-pack { color: var(--ink-2); font-size: 15px; }
.best-vs { color: var(--muted); font-size: 14px; margin-top: 4px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--surface); padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.compare td { padding: 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare tr:last-child td { border-bottom: 0; }
.compare tr.is-best { background: #f3fbf7; }
.compare .sub { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.compare .c-retailer { min-width: 220px; }
.compare .c-retailer .badge { margin-left: 6px; }
.compare .c-retailer .sub { max-width: 320px; }
.compare .c-pb strong { font: 800 20px var(--font-display); color: var(--navy); }
.compare .c-cta { width: 140px; }
.compare .promo { display: block; font-size: 12px; color: var(--red-700); font-weight: 600; }
.ok { color: var(--ok); font-weight: 700; }
.fineprint { font-size: 13px; color: var(--muted); margin-top: 10px; }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; margin-bottom: 12px; }
.seg a { padding: 7px 12px; font-size: 13px; font-weight: 700; color: var(--ink-2); border-right: 1px solid var(--line-2); }
.seg a:last-child { border-right: 0; }
.seg a.is-on { background: var(--navy); color: var(--white); }
.chart { position: relative; }
.chart-svg { width: 100%; height: auto; display: block; }
.chart-svg .grid-line { stroke: var(--line); stroke-width: 1; }
.chart-svg .axis { fill: var(--muted); font-size: 11px; font-family: var(--font-body); }
.chart-svg .line { fill: none; stroke: var(--navy); stroke-width: 2.5; stroke-linejoin: round; }
.chart-svg .area { fill: rgba(1, 33, 105, .07); }
.chart-svg .hover-line { stroke: var(--red); stroke-dasharray: 3 3; }
.chart-svg .hover-dot { fill: var(--red); stroke: var(--white); stroke-width: 2; }
.chart-tip { position: absolute; background: var(--navy-900); color: var(--white); font-size: 13px; padding: 6px 10px; border-radius: 6px; pointer-events: none; transform: translate(-50%, -120%); white-space: nowrap; }
.chart-note { font-size: 14px; color: var(--ink-2); margin-top: 8px; }
.chart-empty { padding: 18px 20px; border: 1px dashed var(--line-2); border-radius: var(--radius); background: var(--surface); }
.chart-empty p { color: var(--ink-2); font-size: 15px; }
.prose p { color: var(--ink-2); max-width: 75ch; margin-top: 10px; }
.wine-side { padding-top: 20px; }
@media (max-width: 1100px) { .wine-layout { grid-template-columns: 1fr; } .wine-side { display: none; } }
@media (max-width: 767px) {
  .wine-hero { grid-template-columns: 1fr; gap: 16px; }
  .wine-img { max-width: 220px; margin: 0 auto; padding: 16px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .best-pb { font-size: 36px; }
  .btn-lg { width: 100%; white-space: normal; }
  .table-wrap { border: 0; overflow: visible; }
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare td { display: block; width: 100%; }
  .compare tr { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; padding: 12px 14px; }
  .compare td { border: 0; padding: 4px 0; display: flex; justify-content: space-between; gap: 12px; text-align: right; }
  .compare td::before { content: attr(data-label); font-size: 13px; color: var(--muted); font-weight: 600; text-align: left; }
  .compare td.c-retailer { display: block; text-align: left; padding-bottom: 8px; }
  .compare td.c-retailer::before, .compare td.c-cta::before { display: none; }
  .compare .c-retailer .sub { max-width: none; }
  .compare td.c-cta { padding-top: 10px; width: 100%; }
  .compare td > .sub, .compare td > s { display: inline; margin-left: 6px; }
  .compare td .promo { display: inline; margin-left: 6px; }
}

/* ---------- Articles ---------- */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .article-grid { grid-template-columns: 1fr; } }
.article-card a { color: var(--ink); display: block; }
.article-card img, .article-ph { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: var(--navy-50); }
.article-ph { display: flex; align-items: center; justify-content: center; color: var(--navy); }
.article-card .card-meta { margin-top: 12px; }
.article-card h3 { font: 800 1.2rem/1.2 var(--font-display); margin: 4px 0 6px; }
.article-card p:last-child { color: var(--ink-2); font-size: 15px; }
.article-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr) 300px; gap: 40px; padding-top: 24px; padding-bottom: 48px; }
.article-head { grid-column: 1 / -1; max-width: 860px; margin: 0 auto; width: 100%; text-align: left; }
.article-head h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
.article-head .lede { margin-top: 12px; font-size: 19px; }
.byline { color: var(--muted); font-size: 14px; margin-top: 14px; }
.article-hero { margin-top: 24px; border-radius: 14px; width: 100%; height: auto; }
.toc { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; }
.toc-title { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 18px; font-size: 14px; }
.toc li { margin: 6px 0; }
.article-body { font-size: 18px; line-height: 1.7; }
.article-body p, .article-body ul, .article-body ol { color: var(--ink-2); max-width: 70ch; margin: 0 0 18px; }
.article-body h2 { margin: 32px 0 12px; scroll-margin-top: calc(var(--header-h) + 20px); }
.article-body h3 { margin: 24px 0 8px; font-size: 1.2rem; }
.article-body figure { margin: 24px 0; }
.article-body figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; }
.article-body blockquote { border-left: 4px solid var(--red); margin: 24px 0; padding: 4px 0 4px 20px; font: 700 1.3rem/1.4 var(--font-display); color: var(--navy); }
.article-body blockquote cite { display: block; font: 500 14px var(--font-body); color: var(--muted); margin-top: 6px; font-style: normal; }
.article-side { display: flex; flex-direction: column; gap: 20px; }
.deal-widget { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; background: var(--white); margin: 20px 0; border-top: 4px solid var(--navy); }
.article-side .deal-widget { margin: 0; }
.dw-title { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 6px !important; }
.dw-row { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.dw-row:last-of-type { border-bottom: 0; }
.dw-row img { width: 48px; height: 64px; object-fit: contain; background: var(--surface); border-radius: 4px; }
.dw-name { font-size: 15px; font-weight: 700; line-height: 1.3; }
.dw-name small, .dw-price small { display: block; font-size: 12px; color: var(--muted); font-weight: 500; }
.dw-price { text-align: right; }
.dw-price b { font: 800 20px var(--font-display); color: var(--red); }
.dw-foot { font-size: 12px !important; color: var(--muted) !important; margin: 6px 0 0 !important; }
.faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq summary { font-weight: 700; cursor: pointer; }
.preview-bar { background: #fff4d6; color: #7a5600; text-align: center; padding: 8px; font-weight: 700; font-size: 14px; }
@media (max-width: 1100px) { .article-layout { grid-template-columns: minmax(0, 1fr) 300px; } .toc { display: none !important; } }
@media (max-width: 860px) { .article-layout { grid-template-columns: 1fr; } .article-body { font-size: 17px; } }
.narrow { max-width: 760px; }
.prose h2 { margin: 24px 0 6px; }

/* ---------- Retailers / scan ---------- */
.retailer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.retailer-card { display: flex; flex-direction: column; gap: 4px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); border-top: 4px solid var(--navy); }
.retailer-card strong { font: 800 20px var(--font-display); }
.retailer-card .sub { color: var(--muted); font-size: 14px; }
.scan { max-width: 520px; display: flex; flex-direction: column; gap: 16px; padding-bottom: 40px; }
.scan-view { position: relative; aspect-ratio: 4 / 3; background: var(--navy-900); border-radius: 14px; overflow: hidden; }
.scan-view video { width: 100%; height: 100%; object-fit: cover; }
.scan-frame { position: absolute; inset: 25% 12%; border: 3px solid var(--red); border-radius: 10px; }
.scan-manual { display: flex; gap: 8px; align-items: flex-end; }
.scan-manual .field { flex: 1; }
.sub { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.8); margin-top: 48px; padding: 44px 0 24px; border-top: 4px solid var(--red); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 32px; }
.footer-brand p { margin-top: 12px; font-size: 14px; max-width: 32ch; }
.site-footer h3 { color: var(--white); font-size: 14px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.site-footer a { display: block; color: rgba(255,255,255,.8); font-size: 14px; padding: 4px 0; }
.site-footer a:hover { color: var(--white); }
.drinkwise { border: 1.5px solid rgba(255,255,255,.3); border-radius: 10px; padding: 14px 16px !important; }
.drinkwise strong { display: block; color: var(--white); font: 800 20px var(--font-display); letter-spacing: -.01em; }
.drinkwise span { font-size: 13px; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 20px; display: grid; gap: 10px; font-size: 12.5px; color: rgba(255,255,255,.6); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Dialogs / age gate ---------- */
.sheet { border: 0; padding: 0; border-radius: 14px; max-width: 440px; width: calc(100% - 32px); box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.sheet::backdrop { background: rgba(0, 19, 63, .55); }
.sheet-body { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.sheet-body p { color: var(--ink-2); font-size: 15px; }
.sheet-actions { display: flex; gap: 8px; justify-content: flex-end; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field span { font-size: 13px; font-weight: 700; color: var(--ink-2); }
@media (max-width: 767px) { .sheet { margin: auto 0 0; width: 100%; max-width: none; border-radius: 16px 16px 0 0; } }
.age-gate { position: fixed; inset: 0; z-index: 100; background: rgba(0, 19, 63, .94); display: flex; align-items: center; justify-content: center; padding: 20px; }
.age-card { background: var(--white); border-radius: 16px; padding: 32px; max-width: 460px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; border-top: 6px solid var(--red); }
.age-card h2 { font-size: 1.7rem; }
.age-card p { color: var(--ink-2); font-size: 15px; }
.age-actions { display: flex; flex-direction: column; gap: 10px; width: 100%; margin-top: 6px; }
.age-dw { font-size: 13px !important; color: var(--muted) !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
.card-was { font-size: 13px; margin-top: 2px; color: var(--ink-2); }
.card-was s { color: var(--ink-3, #6b7280); }
.card-was .off { color: var(--red, #E4002B); font-weight: 700; margin-left: 4px; }
.native-card .card-img { padding: 0; background: #222; overflow: hidden; }
.native-card .card-img img { object-fit: cover; mix-blend-mode: normal; }
.native-card .card-meta .badge { position: static; font-size: 10px; padding: 2px 6px; margin-right: 4px; vertical-align: 1px; }
.native-card .card-loc { white-space: normal; overflow: visible; -webkit-line-clamp: unset; display: block; }

/* ---------- Search as you type ---------- */
.header-search, .hero-search, .so-form { position: relative; }
.suggest-panel { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 70; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 16px 40px rgba(1,33,105,.18); max-height: min(72vh, 560px); overflow-y: auto; padding: 6px; text-align: left; }
.header-search .suggest-panel { min-width: 420px; left: auto; }
.suggest-panel a { color: inherit; text-decoration: none; }
.sg-head { font: 700 11px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 10px 10px 6px; }
.sg-group, .sg-wine, .sg-all { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--radius-sm); }
.sg-group[aria-selected="true"], .sg-wine[aria-selected="true"], .sg-all[aria-selected="true"], .sg-group:hover, .sg-wine:hover, .sg-all:hover { background: var(--navy-50); }
.sg-kind { font-size: 11px; font-weight: 700; color: var(--navy); background: var(--navy-100); border-radius: 4px; padding: 2px 6px; min-width: 62px; text-align: center; }
.sg-label { flex: 1; font-weight: 600; }
.sg-n { color: var(--muted); font-size: 13px; }
.sg-wine img { width: 36px; height: 48px; object-fit: contain; flex-shrink: 0; background: var(--navy-50); border-radius: 4px; }
.sg-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sg-name { font-weight: 600; font-size: 14px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sg-meta { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-price { display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; line-height: 1.2; }
.sg-price strong { font-size: 15px; }
.sg-price small { color: var(--muted); font-size: 11px; }
.sg-badge { background: var(--red); color: var(--white); font-size: 11px; font-weight: 700; border-radius: 4px; padding: 2px 6px; margin-bottom: 3px; }
.suggest-panel mark { background: transparent; color: var(--navy); font-weight: 800; }
.sg-all { justify-content: center; font-weight: 700; color: var(--navy) !important; border-top: 1px solid var(--line); margin-top: 4px; border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
.sg-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 10px 10px; }
.sg-chip { border: 1.5px solid var(--line-2); border-radius: 999px; padding: 5px 12px; font-size: 14px; font-weight: 600; }
.sg-chip:hover, .sg-chip[aria-selected="true"] { border-color: var(--navy); background: var(--navy-50); }
.sg-empty { padding: 14px 10px 4px; color: var(--ink-2); }
.is-loading::after { content: ''; position: absolute; right: 12px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border: 2px solid var(--line-2); border-top-color: var(--navy); border-radius: 50%; animation: sgspin .7s linear infinite; }
.hero-search.is-loading::after { right: 120px; }
@keyframes sgspin { to { transform: rotate(360deg); } }
.mobile-search-btn { display: none; color: var(--white); width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 8px; margin-left: auto; }
.mobile-search-btn:hover { background: rgba(255,255,255,.1); }
.search-overlay { position: fixed; inset: 0; z-index: 90; background: var(--white); display: flex; flex-direction: column; }
.search-overlay[hidden] { display: none; }
.so-open, .so-open body { overflow: hidden; }
.so-form { display: flex; align-items: center; gap: 6px; padding: 8px 10px; background: var(--navy); border-bottom: 3px solid var(--red); }
.so-form input[name="q"] { flex: 1; min-width: 0; height: 44px; border: 0; border-radius: 8px; padding: 0 14px; font: 16px var(--font-body); color: var(--ink); outline: 0; }
.so-back { background: transparent; border: 0; color: var(--white); width: 40px; height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.so-form .suggest-panel { position: fixed; top: 63px; left: 0; right: 0; bottom: 0; max-height: none; border: 0; border-radius: 0; box-shadow: none; padding: 6px 8px 24px; }
.so-form.is-loading::after { right: 22px; }
@media (max-width: 767px) {
  .mobile-search-btn { display: inline-flex; }
  .header-row .postcode-btn { margin-left: 0; }
  .header-search .suggest-panel { min-width: 0; }
}
@media (min-width: 768px) { .search-overlay { display: none !important; } }
.search-fix { background: var(--navy-50); border-left: 3px solid var(--navy); padding: 10px 14px; border-radius: 6px; margin: 0 0 16px; color: var(--ink-2); }
.sg-chips.static { justify-content: center; padding: 8px 0; }
.sg-chips.static .sg-chip { color: var(--navy); text-decoration: none; }

/* ---------- Original content ---------- */
.price-check { background: var(--navy-50); border: 1px solid var(--navy-100); border-left: 4px solid var(--navy); border-radius: var(--radius); padding: 18px 22px; }
.price-check h2 { font-size: 18px; margin: 0 0 8px; }
.price-check p { margin: 0; color: var(--ink-2); line-height: 1.65; }
.price-check .pc-meta { margin-top: 10px; font-size: 13px; color: var(--muted); }
.our-note .note-by { font-size: 13px; color: var(--muted); }
.hub-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.hub-box h2 { margin: 2px 0 6px; font-size: 20px; }
.hub-box h2 a { color: var(--navy); text-decoration: none; }
.hub-box p { color: var(--ink-2); margin: 0 0 12px; }
.eyebrow-sm { font: 700 11px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--red) !important; margin: 0 !important; }
.retailer-copy { border-top: 1px solid var(--line); padding-top: 12px; }
.retailer-copy summary { cursor: pointer; color: var(--muted); font-size: 14px; font-weight: 600; }
.retailer-copy p { color: var(--ink-2); font-size: 14px; }
.hub-link { margin: 10px 0 0; font-size: 15px; }
.hub-link a { font-weight: 700; }
.hub-head h1 { margin-bottom: 8px; }
.hub-lede { font-size: 19px; color: var(--ink-2); max-width: 760px; margin: 0 0 20px; }
.hub-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0 0 28px; }
.hub-stats div { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 14px 16px; display: flex; flex-direction: column; }
.hub-stats strong { font: 800 24px/1.1 var(--font-display); }
.hub-stats span { font-size: 13px; opacity: .8; }
.hub-body { max-width: 760px; }
@media (max-width: 767px) { .hub-stats { grid-template-columns: 1fr 1fr; } }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.guide-card { display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; text-decoration: none; color: var(--ink); }
.guide-card:hover { border-color: var(--navy); }
.guide-card strong { color: var(--navy); }
.guide-card span { font-size: 14px; color: var(--ink-2); }

/* ---------- Corkscout (AI wine assistant) ---------- */
.cs-mark { display: block; flex: none; }
.cs-hero { background: var(--navy); color: var(--white); padding: 28px 0 26px; }
.cs-hero-in { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cs-hero-mark { width: 72px; height: 72px; border-radius: 50%; background: var(--white); color: var(--navy); display: grid; place-items: center; flex: none; }
.cs-hero h1 { margin: 0; color: var(--white); font: 800 clamp(30px, 4vw, 40px)/1.05 var(--font-display); letter-spacing: -.01em; }
.cs-hero p { margin: 4px 0 0; color: #c9d3ea; font-size: 17px; }
.cs-preview-tag { margin-left: auto; background: var(--red); color: var(--white); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 6px 10px; border-radius: 4px; }
.cs-main { max-width: 820px; padding-top: 22px; padding-bottom: 48px; }
.cs-context { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border: 1px solid var(--line); border-radius: 999px; margin-bottom: 14px; color: var(--ink-2); font-size: 14px; }
.cs-context img { width: 28px; height: 42px; object-fit: contain; }

.cs-chat { display: flex; flex-direction: column; gap: 12px; }
.cs-thread { display: flex; flex-direction: column; gap: 14px; padding-bottom: 8px; }
.cs-msg { display: flex; gap: 10px; align-items: flex-start; }
.cs-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; flex: none; --cs-cork-dot: var(--navy); }
.cs-bubble { min-width: 0; max-width: 100%; }
.cs-bot .cs-bubble { flex: 1; background: var(--white); border: 1px solid var(--line); border-radius: 4px 14px 14px 14px; padding: 12px 14px; box-shadow: var(--shadow); }
.cs-intro .cs-bubble { background: var(--navy-50); border-color: var(--navy-100); box-shadow: none; }
.cs-bubble p { margin: 0 0 8px; }
.cs-bubble p:last-child { margin-bottom: 0; }
.cs-answer ul { margin: 6px 0 10px; padding-left: 20px; }
.cs-answer li { margin: 4px 0; }
.cs-answer li::marker { color: var(--red); }
.cs-wine { font-weight: 700; color: var(--navy); text-decoration: underline; text-decoration-color: rgba(1,33,105,.25); text-underline-offset: 2px; }
.cs-wine:hover { text-decoration-color: var(--red); }
.cs-user { justify-content: flex-end; }
.cs-user .cs-bubble { background: var(--navy); color: var(--white); border-radius: 14px 4px 14px 14px; padding: 10px 14px; max-width: 80%; white-space: pre-wrap; overflow-wrap: anywhere; }
.cs-starters, .cs-ask-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.cs-chip { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1.5px solid var(--navy-100); color: var(--navy); font-size: 14px; font-weight: 600; line-height: 1.25; text-align: left; }
.cs-chip:hover { border-color: var(--navy); background: var(--navy-50); }
.cs-chip-ghost { border-style: dashed; color: var(--muted); }
.cs-status { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; }
.cs-dots { display: inline-flex; gap: 4px; }
.cs-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--red); animation: cs-dot 1s infinite ease-in-out; }
.cs-dots i:nth-child(2) { animation-delay: .15s; background: var(--navy); }
.cs-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes cs-dot { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .cs-dots i { animation: none; opacity: .7; } }
.cs-error { color: var(--red-700); }

.cs-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; margin-top: 12px; }
.cs-card { display: flex; gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.cs-card-img { flex: none; width: 56px; display: grid; place-items: center; background: var(--surface); border-radius: var(--radius-sm); }
.cs-card-img img { width: 48px; height: 80px; object-fit: contain; }
.cs-card-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.cs-card-name { font-weight: 700; color: var(--ink); line-height: 1.25; font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cs-card-name:hover { color: var(--navy); text-decoration: underline; }
.cs-card-meta, .cs-card-pack { font-size: 13px; color: var(--muted); }
.cs-card-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-top: 2px; }
.cs-card-price strong { font: 800 20px/1.1 var(--font-display); color: var(--navy); }
.cs-card-price small { color: var(--muted); font-size: 12px; }
.cs-card-price .badge { align-self: center; }
.cs-card-actions { display: flex; align-items: center; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.cs-compare { font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.cs-rate { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.cs-rate button { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--muted); cursor: pointer; }
.cs-rate button:hover { color: var(--navy); border-color: var(--navy); }
.cs-rate button.is-on[data-rate="1"] { color: var(--white); background: var(--navy); border-color: var(--navy); }
.cs-rate button.is-on[data-rate="-1"] { color: var(--white); background: var(--red); border-color: var(--red); }

.cs-form { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; background: var(--white); border: 2px solid var(--navy); border-radius: 14px; padding: 6px 6px 6px 14px; position: sticky; bottom: 12px; box-shadow: 0 6px 24px rgba(1,33,105,.12); }
.cs-form:focus-within { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(1,33,105,.12), 0 6px 24px rgba(1,33,105,.12); }
.cs-form textarea { flex: 1; min-width: 0; border: 0; resize: none; font: 500 16px/1.4 var(--font-body); color: var(--ink); padding: 9px 0; background: transparent; max-height: 160px; outline: none; }
.cs-form .cf-turnstile { flex-basis: 100%; }
.cs-send { min-height: 42px; width: 46px; padding: 0; border-radius: 10px; flex: none; }
.cs-send:disabled { opacity: .5; cursor: progress; }
.cs-fine { font-size: 12.5px; color: var(--muted); margin: 0; }
.cs-fine a { color: var(--muted); text-decoration: underline; }
@media (max-width: 767px) { .cs-page .cs-form { bottom: calc(68px + env(safe-area-inset-bottom)); } }

/* Wine page box */
.cs-ask-wine { display: flex; gap: 14px; align-items: flex-start; margin: 22px 0 0; padding: 16px; border-radius: var(--radius); background: var(--navy-50); border: 1px solid var(--navy-100); border-left: 4px solid var(--red); }
.cs-ask-mark { width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; flex: none; --cs-cork-dot: var(--navy); }
.cs-ask-title { margin: 2px 0 0; font-weight: 800; color: var(--navy); }
.cs-ask-chips { margin-top: 8px; }

/* Search suggestion */
.sg-ask { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--radius-sm); color: var(--navy) !important; font-weight: 700; background: var(--navy-50); margin: 4px 0; }
.sg-ask[aria-selected="true"], .sg-ask:hover { background: var(--navy-100); }
.sg-ask-icon { width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font-size: 13px; flex: none; }
.sg-ask .sg-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sg-ask-tag { font-size: 10.5px; font-weight: 800; letter-spacing: .05em; background: var(--red); color: var(--white); padding: 2px 6px; border-radius: 4px; }

/* Floating button + panel */
.cs-panel { position: fixed; right: 20px; bottom: 88px; z-index: 61; width: min(420px, calc(100vw - 24px)); height: min(640px, calc(100vh - 120px)); display: flex; flex-direction: column; background: var(--white); border-radius: 16px; box-shadow: 0 24px 64px rgba(1,33,105,.3); overflow: hidden; opacity: 0; transform: translateY(12px); transition: opacity .18s, transform .18s; }
.cs-panel.is-open { opacity: 1; transform: none; }
.cs-panel[hidden] { display: none; }
.cs-panel-head { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 14px; background: var(--navy); color: var(--white); border-bottom: 3px solid var(--red); }
.cs-panel-title { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.cs-panel-title span { display: flex; flex-direction: column; line-height: 1.15; }
.cs-panel-title small { color: #c9d3ea; font-size: 12.5px; }
.cs-panel-full { color: var(--white); font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.cs-panel-close { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: var(--white); cursor: pointer; }
.cs-panel-close:hover { background: rgba(255,255,255,.12); }
.cs-chat-panel { flex: 1; min-height: 0; padding: 12px; gap: 8px; }
.cs-chat-panel .cs-thread { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 2px 2px 8px; }
.cs-chat-panel .cs-form { position: static; box-shadow: none; }
.cs-chat-panel .cs-cards { grid-template-columns: 1fr; }
.cs-chat-panel .cs-chip { font-size: 13.5px; }
@media (max-width: 767px) {
  .cs-panel { inset: 0; width: 100%; height: 100%; border-radius: 0; bottom: 0; right: 0; }
  .cs-hero { padding: 20px 0; }
  .cs-hero-mark { width: 56px; height: 56px; }
  .cs-preview-tag { margin-left: 0; }
}
@media print { .cs-panel { display: none !important; } }

/* Corkscout launcher: mascot button, bottom right */
.cs-fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 10px; transition: opacity .15s, transform .15s; }
.cs-fab-mark { width: 72px; height: 72px; border-radius: 50%; background: var(--white); display: grid; place-items: center; border: 3px solid var(--navy); box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--red), 0 10px 28px rgba(1,33,105,.35); transition: transform .2s; }
.cs-fab-mark { overflow: hidden; }
.cs-fab-label { background: var(--navy); color: var(--white); font-weight: 800; font-size: 15px; padding: 9px 14px; border-radius: 999px 999px 4px 999px; box-shadow: 0 6px 20px rgba(1,33,105,.3); white-space: nowrap; }
.cs-fab:hover .cs-fab-mark { transform: rotate(-8deg) scale(1.05); }
.cs-fab:hover .cs-fab-label { background: var(--navy-600); }
.cs-open .cs-fab { opacity: 0; pointer-events: none; transform: translateY(10px); }
@media (prefers-reduced-motion: no-preference) { .cs-fab-mark { animation: cs-wiggle 6s ease-in-out 2s infinite; } }
@keyframes cs-wiggle { 0%, 90%, 100% { transform: rotate(0); } 92% { transform: rotate(-10deg); } 94% { transform: rotate(8deg); } 96% { transform: rotate(-5deg); } 98% { transform: rotate(3deg); } }
.cs-panel { bottom: 20px; }
/* Mascot sits on white everywhere it appears */
.cs-avatar, .cs-hero-mark, .cs-ask-mark { background: var(--white) !important; border: 2px solid var(--navy); }
.cs-hero-mark { border-color: var(--white); }
.cs-panel-title .cs-mark { background: var(--white); border-radius: 50%; padding: 2px; }
@media (max-width: 767px) {
  .cs-fab { right: 12px; bottom: calc(70px + env(safe-area-inset-bottom)); }
  .cs-fab-label { display: none; }
  .cs-fab-mark { width: 60px; height: 60px; }
  .cs-fab-mark .cs-mark { width: 50px; height: 50px; }
}
@media print { .cs-fab { display: none !important; } }

/* ---------- Data capture: sign-up forms, alerts, hearts, quiz, pop-ups ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sub-form { display: flex; flex-direction: column; gap: 12px; }
.sub-fields { display: grid; gap: 10px; }
.sub-compact .sub-fields { grid-template-columns: 1fr 1fr; }
.sub-compact .sub-fields .field:only-child { grid-column: 1 / -1; }
.sub-form .field input { height: 44px; font-size: 16px; }
.field small { font-weight: 500; color: var(--muted); }
.sub-checks { display: flex; flex-direction: column; gap: 6px; }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); cursor: pointer; line-height: 1.35; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--navy); flex: none; }
.sub-btn { align-self: flex-start; min-height: 46px; padding: 11px 22px; }
.sub-fine { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.sub-fine a { text-decoration: underline; }
.sub-msg:empty { display: none; }
.sub-msg { font-size: 14.5px; font-weight: 700; padding: 10px 12px; border-radius: 6px; }
.sub-msg.is-ok { background: #e7f5ee; color: var(--ok); }
.sub-msg.is-bad { background: var(--red-50); color: var(--red-700); }
.sub-form.is-done .sub-fields, .sub-form.is-done .sub-checks, .sub-form.is-done .sub-btn, .sub-form.is-done .sub-target, .sub-form.is-done .sub-who, .sub-form.is-done .sub-fine { display: none; }
.sub-who { font-size: 14px; color: var(--ink-2); background: var(--navy-50); padding: 8px 12px; border-radius: 6px; display: flex; gap: 10px; justify-content: space-between; }
.sub-who[hidden] { display: none; }
.sub-fields[hidden] { display: none; }
.sub-target { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px; }
.sub-target > span:first-child, .sub-target > span:last-child { font-size: 15px; font-weight: 600; color: var(--ink); }
.sub-money { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 6px; padding-left: 10px; background: var(--white); }
.sub-money b { color: var(--navy); }
.field .sub-money input { border: 0; width: 96px; height: 42px; font-weight: 800; color: var(--navy); font-size: 17px; padding-left: 4px; }

.alert-box { margin: 28px 0 8px; border: 1.5px solid var(--navy-100); border-left: 5px solid var(--red); border-radius: var(--radius); padding: 20px; background: var(--white); }
.alert-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; color: var(--red); }
.alert-head svg { flex: none; margin-top: 3px; }
.alert-head h2 { font-size: 1.25rem; }
.alert-head p { color: var(--ink-2); font-size: 14.5px; margin-top: 3px; }

.wine-card { position: relative; }
.heart { position: absolute; top: 8px; right: 8px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.94); color: var(--navy); display: grid; place-items: center; cursor: pointer; padding: 0; transition: transform .12s, color .12s; }
.heart:hover { color: var(--red); transform: scale(1.06); }
.heart.is-on { color: var(--red); --hf: var(--red); }
.heart.is-on svg { animation: heartpop .3s ease; }
@keyframes heartpop { 50% { transform: scale(1.25); } }
.wine-keep { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 14.5px; font-weight: 700; color: var(--ink-2); }
.heart.heart-lg { position: static; width: 42px; height: 42px; }
.wine-keep-alert { margin-left: 8px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.foot-sub { background: var(--navy); color: var(--white); margin-top: 48px; padding: 36px 0; border-top: 4px solid var(--red); }
.foot-sub + .site-footer { margin-top: 0; border-top: 1px solid rgba(255,255,255,.12); }
.foot-sub-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: start; }
.foot-sub h2 { color: var(--white); }
.foot-sub-copy p { color: rgba(255,255,255,.82); margin-top: 8px; }
.foot-sub-quiz { display: inline-block; margin-top: 12px; color: #ffb3c0; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.foot-sub-quiz:hover { color: var(--white); }
.foot-sub .field span, .foot-sub .check { color: rgba(255,255,255,.9); }
.foot-sub .field small, .foot-sub .sub-fine { color: rgba(255,255,255,.7); }
.foot-sub .sub-fine a { color: var(--white); }
.foot-sub .sub-who { background: rgba(255,255,255,.1); color: var(--white); }
.foot-sub .sub-who a { color: var(--white); }
@media (max-width: 860px) { .foot-sub-in { grid-template-columns: 1fr; gap: 18px; } }
@media (max-width: 520px) { .sub-compact .sub-fields { grid-template-columns: 1fr; } .sub-btn { align-self: stretch; } }

.deals-band { margin-top: 28px; background: var(--navy-50); border: 1px solid var(--navy-100); border-radius: var(--radius); padding: 20px 22px; display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.deals-band p { color: var(--ink-2); margin-top: 4px; }
.deals-band-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.sub-sheet .sheet-body { position: relative; }
.sub-sheet h2 { padding-right: 36px; }
.sheet-x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; background: var(--surface); border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--ink-2); }
.sub-sheet .sub-btn { align-self: stretch; }

.cs-watch { background: none; border: 0; padding: 0; font: inherit; font-size: 13.5px; font-weight: 700; color: var(--navy); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.cs-watch:hover { color: var(--red); }
.cs-keep { margin: 10px 0 2px; }

/* Engage pages */
.engage-page { padding-top: 24px; }
.engage-lead { font-size: 1.1rem; color: var(--ink); margin-bottom: 16px; }
.engage-list { margin: 0 0 18px; padding-left: 20px; color: var(--ink-2); }
.engage-page .btn + .btn { margin-left: 6px; }
.login-form { max-width: 420px; margin: 4px 0 14px; }
.unsub-form { display: flex; flex-direction: column; gap: 10px; max-width: 520px; margin-bottom: 16px; }
.unsub-form .btn { align-self: flex-start; margin-top: 6px; }
.my h2 { margin: 30px 0 12px; display: flex; gap: 8px; align-items: baseline; }
.my h2 small { font-size: 14px; color: var(--muted); font-family: var(--font-body); }
.my .muted { color: var(--muted); }
.note-ok { background: #e7f5ee; color: var(--ok); font-weight: 700; padding: 10px 14px; border-radius: 6px; }
.my-pending { background: #fff7e0; border: 1px solid #f0d58a; border-radius: 8px; padding: 14px 16px; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 8px; }
.tbl-wrap { overflow-x: auto; }
.my-tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.my-tbl th, .my-tbl td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.my-tbl th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--navy); text-decoration: underline; cursor: pointer; }
.link-danger { color: var(--red-700); }
.my-prefs { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.my-prefs fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.my-prefs legend { font-weight: 800; margin-bottom: 8px; }
.my-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.my-budget { max-width: 280px; }
.my-prefs .btn { align-self: flex-start; }
.my-danger { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; gap: 24px; flex-wrap: wrap; font-size: 14.5px; }
.chips-in { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-in { position: relative; cursor: pointer; }
.chip-in input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip-in span { display: inline-block; padding: 9px 14px; border: 1.5px solid var(--line-2); border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); background: var(--white); transition: all .12s; }
.chip-in input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chip-in input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }

/* Quiz */
.quiz { display: flex; flex-direction: column; gap: 22px; }
.quiz-step { border: 0; padding: 0; margin: 0; }
.quiz-step legend { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; margin-bottom: 6px; display: flex; flex-direction: column; gap: 4px; outline: none; }
.quiz-n { font-family: var(--font-body); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.quiz-hint { color: var(--muted); font-size: 14.5px; margin-bottom: 12px; }
.quiz .chip-in span { padding: 12px 18px; font-size: 15.5px; }
.quiz-bar { height: 6px; background: var(--navy-100); border-radius: 3px; overflow: hidden; display: none; }
.quiz-bar span { display: block; height: 100%; width: 0; background: var(--red); transition: width .25s; }
.quiz.is-stepped .quiz-bar { display: block; }
.quiz.is-stepped .quiz-step { min-height: 190px; }
.quiz-nav { display: flex; gap: 10px; }
.quiz-nav [hidden] { display: none; }
.quiz-keep { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 22px; margin-bottom: 24px; border-bottom: 4px solid var(--red); }
.quiz-keep h2 { color: var(--white); }
.quiz-keep p { color: rgba(255,255,255,.85); margin-top: 6px; }
.quiz-keep .field span, .quiz-keep .check { color: rgba(255,255,255,.92); }
.quiz-keep .field small, .quiz-keep .sub-fine { color: rgba(255,255,255,.7); }
.quiz-keep .sub-fine a, .quiz-keep .sub-who a { color: var(--white); }
.quiz-keep .sub-who { background: rgba(255,255,255,.1); color: var(--white); }
@media (max-width: 860px) { .quiz-keep { grid-template-columns: 1fr; } .my-row { grid-template-columns: 1fr; } }

/* Pop-ups */
.popup-wrap { position: fixed; inset: 0; z-index: 90; background: rgba(0, 19, 63, .55); display: flex; align-items: center; justify-content: center; padding: 16px; animation: popfade .2s ease; }
@keyframes popfade { from { opacity: 0; } }
.popup { position: relative; background: var(--white); border-radius: 14px; max-width: 460px; width: 100%; max-height: calc(100vh - 32px); overflow: auto; padding: 26px 24px 22px; border-top: 6px solid var(--red); box-shadow: 0 24px 60px rgba(0,0,0,.3); display: flex; flex-direction: column; gap: 12px; }
.popup h2 { padding-right: 34px; }
.popup-body { color: var(--ink-2); }
.popup-img { width: 100%; max-height: 220px; object-fit: cover; border-radius: 8px; }
.popup-label { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.popup-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; background: var(--surface); border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--ink-2); }
.popup .sub-btn { align-self: stretch; }
@media (max-width: 767px) { .popup-wrap { align-items: flex-end; padding: 0; } .popup { border-radius: 16px 16px 0 0; max-height: 88vh; } }
.quiz-res { display: flex; flex-direction: column; }
@media (max-width: 860px) { .quiz-res .quiz-keep { order: 2; margin: 24px 0 0; } }

/* ---------- Sale events ---------- */
.badge-salev { background: var(--white); color: var(--red-700); border: 1.5px solid var(--red); }
.main-nav a.nav-sale { color: var(--white); background: var(--red); }
.main-nav a.nav-sale:hover { background: var(--red-700); }
.bottom-nav a.nav-sale { color: var(--red); }
.sale-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; background: var(--navy-100); color: var(--navy); }
.sale-pill.is-live { background: var(--red); color: var(--white); }
.sale-pill.is-live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: salepulse 1.6s ease-in-out infinite; }
.sale-pill.is-soon { background: var(--white); color: var(--navy); }
.sale-pill.is-ended { background: var(--surface); color: var(--muted); }
@keyframes salepulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .sale-pill.is-live::before { animation: none; } }

.sale-bar { background: var(--red); color: var(--white); font-size: 14px; }
.sale-bar.is-soon { background: var(--navy-900); }
.sale-bar-row { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 38px; position: relative; padding-right: 40px; }
.sale-bar a { color: var(--white); text-decoration: none; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; align-items: baseline; padding: 6px 0; }
.sale-bar a span { opacity: .92; }
.sale-bar a em { font-style: normal; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.sale-bar-x { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--white); font-size: 22px; line-height: 1; width: 32px; height: 32px; cursor: pointer; border-radius: 6px; }
.sale-bar-x:hover { background: rgba(255,255,255,.15); }

.sale-banner { background: var(--red); color: var(--white); }
.sale-banner-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; color: var(--white); text-decoration: none; }
.sale-banner-row strong { font-family: var(--font-display); font-size: clamp(22px, 3vw, 30px); font-weight: 800; }
.sale-banner-row > span:not(.sale-pill) { opacity: .95; flex: 1 1 260px; }
.sale-banner .sale-pill.is-live { background: var(--white); color: var(--red); }
.sale-banner .btn-red { background: var(--navy); font-style: normal; }
.sale-banner-row:hover .btn-red { background: var(--navy-900); }
.sale-soon { margin-top: 16px; }
.sale-soon a { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 18px; border: 1px solid var(--line-2); border-left: 4px solid var(--red); border-radius: var(--radius); background: var(--navy-50); color: var(--ink); text-decoration: none; }
.sale-soon a strong { font-size: 17px; color: var(--navy); }
.sale-soon a span:not(.sale-pill) { color: var(--ink-2); flex: 1 1 200px; }
.sale-soon a em { font-style: normal; font-weight: 700; color: var(--red); }
.sale-soon .sale-pill { background: var(--navy); color: var(--white); }

.sale-band { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 14px; padding: 12px 16px; border-radius: var(--radius); background: var(--red-50); border: 1px solid #f6c3cd; color: var(--ink); text-decoration: none; }
.sale-band strong { color: var(--red-700); }
.sale-band em { margin-left: auto; font-style: normal; font-weight: 700; color: var(--red-700); }
.sale-note { margin: 6px 0 10px; font-size: 14px; color: var(--ink-2); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.sale-note a { font-weight: 700; }

.sale-preview { background: #fff4d6; color: #5c4100; border-bottom: 1px solid #f0d58a; padding: 10px 16px; text-align: center; font-size: 14px; font-weight: 600; }
.sale-hero { background: var(--navy) var(--sale-img, none) center / cover no-repeat; color: var(--white); position: relative; }
.sale-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(1,33,105,.97) 0%, rgba(1,33,105,.88) 55%, rgba(1,33,105,.6) 100%); }
.sale-hero.is-live { border-bottom: 5px solid var(--red); }
.sale-hero-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; padding-top: 36px; padding-bottom: 40px; }
.sale-hero h1 { font-family: var(--font-display); font-size: clamp(32px, 5vw, 52px); line-height: 1.05; margin: 10px 0 12px; color: var(--white); }
.sale-lede { font-size: 17px; color: rgba(255,255,255,.9); max-width: 56ch; margin: 0; }
.sale-status { display: flex; align-items: center; gap: 12px; margin: 0; font-weight: 700; }
.crumbs-light, .crumbs-light a { color: rgba(255,255,255,.75); }
.crumbs-light a:hover { color: var(--white); }
.sale-sponsor { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 18px; padding: 10px 14px; background: var(--white); color: var(--ink); border-radius: var(--radius); text-decoration: none; max-width: 100%; }
.sale-sponsor img { max-height: 28px; width: auto; }
.sale-sponsor-tag { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; background: #fff4d6; color: #7a5600; padding: 2px 6px; border-radius: 4px; }
.sale-sponsor-by { font-size: 13px; color: var(--muted); }
.sale-sponsor-text { font-size: 14px; color: var(--ink-2); }
.sale-notify { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.sale-notify h2 { font-size: 20px; margin: 0 0 6px; color: var(--navy); }
.sale-notify > p { margin: 0 0 12px; color: var(--ink-2); font-size: 14px; }
.sale-retailers ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.sale-retailers li { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.sale-retailers li span { font-size: 13px; color: var(--muted); }
.sale-retailers li em { font-style: normal; font-size: 14px; color: var(--red-700); font-weight: 600; }
.sale-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.sale-copy > :only-child { grid-column: 1 / -1; max-width: 75ch; }
.sale-faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.sale-faq summary { font-weight: 700; cursor: pointer; color: var(--navy); }
.sale-faq details p { margin: 8px 0 0; color: var(--ink-2); }
.sale-mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.sale-mini { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; background: var(--white); }
.sale-mini:hover { border-color: var(--navy); box-shadow: var(--shadow); }
.sale-mini strong { font-size: 17px; color: var(--navy); }
.sale-mini span:not(.sale-pill) { color: var(--ink-2); font-size: 14px; }
.sale-mini em { font-style: normal; font-weight: 700; color: var(--red-700); font-size: 14px; }
.sale-mini.is-live { border-color: var(--red); border-width: 2px; }
.sale-mini.is-ended { opacity: .75; }
.footer-grid:has(> div:nth-child(5)) { grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; }
@media (max-width: 900px) {
  .sale-hero-grid, .sale-copy { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid:has(> div:nth-child(5)) { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) { .footer-grid:has(> div:nth-child(5)) { grid-template-columns: 1fr; } .sale-bar { font-size: 13px; } .sale-band em { margin-left: 0; } }
.sale-mini .sale-pill.is-soon, .sale-soon .sale-pill.is-soon { background: var(--navy); color: var(--white); }
@media (max-width: 520px) { .sale-bar a span { display: none; } }

/* ---------- Wineries ---------- */
.wy-filter { display: block; margin-top: 18px; max-width: 520px; }
.wy-filter input { width: 100%; padding: 13px 16px; border: 1.5px solid var(--line-2); border-radius: 10px; font: inherit; font-size: 16px; background: var(--white); }
.wy-filter input:focus { outline: 2px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
.wy-pop { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.wy-tile { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--ink); text-decoration: none; min-height: 64px; }
.wy-tile:hover { border-color: var(--navy); box-shadow: 0 2px 8px rgba(1,33,105,.08); }
.wy-tile img { width: 40px; height: 56px; object-fit: contain; flex: none; }
.wy-tile strong { display: block; color: var(--navy); line-height: 1.25; }
.wy-tile small { display: block; color: var(--ink-3, #5b6478); font-size: 13px; margin-top: 2px; }
.wy-letters { display: flex; flex-wrap: wrap; gap: 4px; margin: 32px 0 8px; position: sticky; top: 0; background: var(--white); padding: 8px 0; z-index: 2; border-bottom: 1px solid var(--line); }
.wy-letters a { min-width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; font-weight: 700; color: var(--navy); text-decoration: none; }
.wy-letters a:hover { background: var(--navy-100); }
.wy-group { margin-top: 24px; scroll-margin-top: 64px; }
.wy-group h2 { font-size: 22px; color: var(--navy); border-bottom: 2px solid var(--red); display: inline-block; padding-bottom: 2px; margin-bottom: 10px; }
.wy-group ul { list-style: none; margin: 0; padding: 0; columns: 3 240px; column-gap: 32px; }
.wy-group li { break-inside: avoid; padding: 5px 0; }
.wy-group li a { font-weight: 600; color: var(--navy); }
.wy-group li small { color: var(--ink-3, #5b6478); font-size: 12.5px; }
.wy-none { margin: 24px 0; font-size: 16px; }
.wy-letters[hidden], [data-wy-pop][hidden], .wy-group[hidden], li[data-wy][hidden] { display: none !important; }
.wy-title { display: flex; align-items: center; gap: 16px; }
.wy-logo { width: 64px; height: 64px; object-fit: contain; border-radius: 8px; background: var(--white); border: 1px solid var(--line); flex: none; }
.wy-checked { color: var(--ink-3, #5b6478); font-size: 14px; }
.wy-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 20px 0 0; }
.wy-facts > div { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.wy-facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3, #5b6478); font-weight: 700; }
.wy-facts dd { margin: 4px 0 0; font-size: 20px; font-weight: 800; color: var(--navy); }
.wy-facts dd small { font-size: 13px; font-weight: 600; color: var(--red-700); }
.wy-facts dd a { color: var(--navy); font-size: 16px; }
.wy-answers { display: grid; grid-template-columns: 260px 260px 1fr; gap: 24px; align-items: start; }
.wy-answers > .wy-pricelist:nth-child(2) { grid-column: 2 / -1; }
.eyebrow-d { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; color: var(--red-700); margin: 0 0 8px; }
.wy-pricelist h2 { font-size: 20px; margin-bottom: 10px; }
.price-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.price-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3, #5b6478); border-bottom: 2px solid var(--navy); padding: 6px 8px; }
.price-table td { border-bottom: 1px solid var(--line); padding: 8px; vertical-align: top; }
.price-table td a { color: var(--navy); font-weight: 600; }
.price-table .r { text-align: right; white-space: nowrap; }
.price-table small { color: var(--ink-3, #5b6478); }
.price-table .badge { font-size: 11px; padding: 2px 6px; margin-left: 4px; }
.wy-more { margin-top: 10px; font-weight: 700; }
.wy-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.wy-chips .chip { text-decoration: none; background: var(--white); border: 1.5px solid var(--line-2); color: var(--ink-2); padding: 6px 12px; }
.wy-chips .chip small { color: var(--ink-3, #5b6478); font-weight: 600; }
.wy-chips .chip.is-on { background: var(--navy); border-color: var(--navy); color: var(--white); }
.wy-chips .chip.is-on small { color: rgba(255,255,255,.8); }
.wy-about { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.wy-about > :only-child { grid-column: 1 / -1; max-width: 75ch; }
.wine-prod { font-weight: 700; color: var(--navy); }
.footer-grid:has(> div:nth-child(6)) { grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr 1.2fr; }
@media (max-width: 1000px) {
  .wy-answers { grid-template-columns: 1fr 1fr; }
  .wy-answers > .wy-pricelist, .wy-answers > .wy-pricelist:nth-child(2) { grid-column: 1 / -1; }
  .wy-facts { grid-template-columns: 1fr 1fr; }
  .wy-about { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid:has(> div:nth-child(6)) { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 600px) {
  .wy-answers { grid-template-columns: 1fr; }
  .hide-sm { display: none; }
  .wy-facts dd { font-size: 17px; }
  .wy-title { align-items: flex-start; }
  .wy-logo { width: 48px; height: 48px; }
  .footer-grid:has(> div:nth-child(6)) { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) { .footer-grid:has(> div:nth-child(6)) { grid-template-columns: 1fr; } }

/* ---------- Best-of lists ---------- */
.bo-hero { position: relative; overflow: hidden; color: var(--white); padding: 28px 0 36px;
  background: radial-gradient(1200px 400px at 85% -10%, rgba(255,255,255,.10), transparent 60%), linear-gradient(135deg, var(--navy-900) 0%, var(--navy) 62%, var(--navy-600) 100%); }
.bo-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--red); }
.bo-hero .crumbs, .bo-hero .crumbs a { color: rgba(255,255,255,.72); }
.bo-hero .crumbs a:hover { color: var(--white); }
.bo-hero h1 { color: var(--white); font-size: clamp(2rem, 1.3rem + 2.8vw, 3.4rem); letter-spacing: -0.025em; max-width: 18ch; }
.bo-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--white); margin-bottom: 12px; }
.bo-eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(228,0,43,.25); }
.bo-lede { font-size: 17.5px; color: rgba(255,255,255,.86); max-width: 58ch; margin-top: 12px; }
.bo-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: center; }
.bo-stats { display: flex; gap: 10px; margin: 22px 0 0; flex-wrap: wrap; }
.bo-stats > div { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 10px; padding: 10px 16px; min-width: 112px; }
.bo-stats dt { font-size: 11.5px; text-transform: uppercase; letter-spacing: .07em; font-weight: 700; color: rgba(255,255,255,.7); }
.bo-stats dd { margin: 2px 0 0; font: 800 24px/1.1 var(--font-display); color: var(--white); }
.bo-ladder { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-top: 18px; padding: 4px; background: rgba(0,0,0,.18); border-radius: 999px; }
.bo-ladder a { padding: 7px 14px; border-radius: 999px; color: rgba(255,255,255,.85); font-weight: 700; font-size: 14px; }
.bo-ladder a:hover { color: var(--white); background: rgba(255,255,255,.1); }
.bo-ladder a[aria-current] { background: var(--white); color: var(--navy); }
.bo-fan { position: relative; height: 290px; }
.bo-fan figure { position: absolute; bottom: 0; margin: 0; width: 150px; height: 250px; border-radius: 14px; background: var(--white); box-shadow: 0 18px 40px rgba(0,8,40,.35); display: flex; align-items: center; justify-content: center; padding: 14px; }
.bo-fan img { max-height: 100%; width: auto; object-fit: contain; }
.bo-fan figcaption { position: absolute; top: -12px; left: -12px; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--white); font: 800 17px/36px var(--font-display); text-align: center; box-shadow: 0 0 0 3px var(--white); }
.bo-fan-1 { left: 50%; transform: translateX(-50%); z-index: 3; height: 280px !important; width: 168px !important; }
.bo-fan-1 figcaption { background: var(--red); }
.bo-fan-2 { left: 4%; transform: rotate(-7deg); z-index: 2; }
.bo-fan-3 { right: 4%; transform: rotate(7deg); z-index: 1; }
.bo-fan-3 figcaption { left: auto; right: -12px; }

.bo-podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.bo-pick { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.bo-pick.is-top { border: 2px solid var(--navy); }
.bo-ribbon { position: absolute; top: 14px; right: 0; z-index: 2; background: var(--red); color: var(--white); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px 5px 14px; border-radius: 4px 0 0 4px; }
.bo-pick-img { position: relative; display: flex; align-items: center; justify-content: center; height: 250px; background: linear-gradient(180deg, var(--navy-50), var(--white)); padding: 18px; }
.bo-pick-img img { max-height: 100%; width: auto; object-fit: contain; transition: transform .25s ease; }
.bo-pick:hover .bo-pick-img img { transform: translateY(-4px) scale(1.02); }
.bo-rank { position: absolute; top: 14px; left: 14px; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: var(--white); font: 800 22px/46px var(--font-display); text-align: center; }
.is-top .bo-rank { background: var(--red); box-shadow: 0 0 0 4px var(--red-50); }
.bo-pick-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.bo-meta { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.bo-pick h3 { font: 800 19px/1.2 var(--font-display); letter-spacing: -0.01em; }
.bo-pick h3 a, .bo-row h3 a { color: var(--ink); }
.bo-pick h3 a:hover, .bo-row h3 a:hover { color: var(--red); }
.bo-loc { font-size: 13.5px; color: var(--muted); }
.bo-why { list-style: none; margin: 8px 0 4px; padding: 0; display: grid; gap: 6px; }
.bo-why li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.bo-why svg { flex: none; margin-top: 3px; color: var(--white); background: var(--navy); border-radius: 50%; padding: 2px; width: 16px; height: 16px; }
.bo-price { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line-2); }
.bo-price > div { display: flex; align-items: baseline; gap: 8px; }
.bo-price strong { font: 800 30px/1 var(--font-display); color: var(--navy); }
.bo-price span { font-size: 13px; color: var(--muted); font-weight: 600; }
.bo-price s { font-size: 14px; color: var(--muted); }
.bo-price small { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.bo-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.bo-cta .btn { padding-left: 10px; padding-right: 10px; font-size: 14px; }

.bo-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--white); }
.bo-row { display: grid; grid-template-columns: 52px 56px minmax(0, 1fr) auto 120px; gap: 16px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); transition: background .15s; }
.bo-row:last-child { border-bottom: 0; }
.bo-row:hover { background: var(--navy-50); }
.bo-num { font: 800 26px/1 var(--font-display); color: var(--navy); opacity: .9; text-align: center; }
.bo-thumb { display: flex; justify-content: center; }
.bo-thumb img { height: 72px; width: auto; object-fit: contain; }
.bo-row h3 { font: 700 16px/1.3 var(--font-body); }
.bo-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.bo-tags span { font-size: 12px; font-weight: 700; color: var(--navy); background: var(--navy-100); padding: 3px 8px; border-radius: 999px; }
.bo-row-price { text-align: right; }
.bo-row-price strong { display: block; font: 800 22px/1 var(--font-display); color: var(--navy); }
.bo-row-price small { font-size: 12.5px; color: var(--muted); white-space: nowrap; }

.bo-method { display: grid; grid-template-columns: 280px 1fr; gap: 32px; padding: 26px 28px; border-radius: 14px; background: var(--navy-50); border: 1px solid var(--navy-100); }
.bo-method-head { display: flex; gap: 14px; align-items: flex-start; color: var(--navy); }
.bo-method-head svg { flex: none; color: var(--red); }
.bo-method-head p { color: var(--ink-2); margin-top: 6px; font-size: 14.5px; }
.bo-method ol { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; counter-reset: m; }
.bo-method li { position: relative; padding-left: 38px; font-size: 14.5px; color: var(--ink-2); counter-increment: m; }
.bo-method li::before { content: counter(m); position: absolute; left: 0; top: -1px; width: 26px; height: 26px; border-radius: 50%; background: var(--white); border: 2px solid var(--navy); color: var(--navy); font: 800 13px/22px var(--font-display); text-align: center; }
.bo-method li strong { color: var(--ink); }
.bo-about { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

.bo-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 12px; }
.bo-tile { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 12px 16px 12px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .15s; }
.bo-tile:hover { border-color: var(--navy); box-shadow: var(--shadow); transform: translateY(-1px); color: var(--ink); }
.bo-tile-img { display: flex; justify-content: center; height: 64px; }
.bo-tile-img img { height: 64px; width: auto; object-fit: contain; }
.bo-tile strong { display: block; font-weight: 800; color: var(--navy); line-height: 1.25; }
.bo-tile small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.bo-tile-go { color: var(--red); font-weight: 800; font-size: 18px; transition: transform .15s; }
.bo-tile:hover .bo-tile-go { transform: translateX(3px); }

.bo-budgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin-top: 26px; max-width: 820px; }
.bo-budgets a { display: flex; flex-direction: column; padding: 14px 16px; border-radius: 12px; background: var(--white); color: var(--navy); box-shadow: 0 10px 24px rgba(0,8,40,.25); transition: transform .15s; }
.bo-budgets a:hover { transform: translateY(-3px); color: var(--navy); }
.bo-budgets small { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--red-700); }
.bo-budgets strong { font: 800 34px/1.05 var(--font-display); }
.bo-budgets span { font-size: 12.5px; color: var(--muted); }
.bo-styles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.bo-style { padding: 18px; border-radius: 12px; border: 1px solid var(--line); border-top: 5px solid var(--navy); background: var(--white); }
.bo-style-red { border-top-color: #8c1c2b; } .bo-style-white { border-top-color: #d9c36a; } .bo-style-rose { border-top-color: #e98aa0; } .bo-style-sparkling { border-top-color: #b7c4d9; }
.bo-style h3 { font: 800 18px/1.2 var(--font-display); margin-bottom: 10px; }
.bo-style p, .bo-grape p { display: flex; flex-wrap: wrap; gap: 6px; }
.bo-style a, .bo-grape a { font-size: 13.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--navy-50); color: var(--navy); border: 1px solid var(--navy-100); }
.bo-style a:hover, .bo-grape a:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.bo-grapes { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.bo-grape { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.bo-grape img { height: 60px; width: auto; object-fit: contain; margin: 0 auto; }
.bo-grape h3 { font: 800 17px/1.2 var(--font-display); margin-bottom: 8px; }
.bo-index { list-style: none; margin: 0; padding: 0; columns: 3 260px; column-gap: 32px; }
.bo-index li { break-inside: avoid; padding: 6px 0; border-bottom: 1px solid var(--line); }
.bo-index a { font-weight: 700; }
.bo-index small { color: var(--muted); font-size: 12.5px; }

.wine-ranked { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 4px; }
.wine-ranked a { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 700; color: var(--navy); background: var(--navy-50); border: 1px solid var(--navy-100); padding: 4px 10px 4px 4px; border-radius: 999px; }
.wine-ranked b { background: var(--red); color: var(--white); border-radius: 999px; padding: 1px 7px; font-size: 12px; }
.wine-ranked a:hover { border-color: var(--navy); }

@media (max-width: 1000px) {
  .bo-hero-grid { grid-template-columns: 1fr; }
  .bo-fan { display: none; }
  .bo-podium { grid-template-columns: 1fr 1fr; }
  .bo-podium .is-top { grid-column: 1 / -1; display: grid; grid-template-columns: 260px 1fr; }
  .bo-podium .is-top .bo-pick-img { height: auto; min-height: 280px; }
  .bo-method { grid-template-columns: 1fr; gap: 18px; }
  .bo-about { grid-template-columns: 1fr; gap: 24px; }
  .bo-styles { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .bo-hero { padding: 20px 0 28px; }
  .bo-stats > div { min-width: 0; flex: 1; padding: 8px 12px; }
  .bo-stats dd { font-size: 20px; }
  .bo-podium { grid-template-columns: 1fr; }
  .bo-podium .is-top { grid-template-columns: 1fr; }
  .bo-pick-img { height: 220px !important; min-height: 0 !important; }
  .bo-row { grid-template-columns: 34px 44px minmax(0, 1fr) auto; gap: 10px; padding: 12px; }
  .bo-num { font-size: 20px; }
  .bo-thumb img { height: 60px; }
  .bo-row-cta { grid-column: 3 / -1; justify-self: stretch; }
  .bo-row h3 { font-size: 15px; }
  .bo-method ol { grid-template-columns: 1fr; }
  .bo-budgets { grid-template-columns: repeat(3, 1fr); }
  .bo-budgets strong { font-size: 26px; }
  .bo-styles { grid-template-columns: 1fr; }
}

.bo-pick-img img, .bo-thumb img, .bo-tile-img img, .bo-grape img { mix-blend-mode: multiply; }
.bo-pick-img img { height: 100%; }
.bo-fan figure img { height: 100%; }
@media (max-width: 680px) {
  .bo-row { grid-template-columns: 30px 44px minmax(0, 1fr); row-gap: 8px; }
  .bo-num { grid-row: 1 / span 2; align-self: start; padding-top: 4px; }
  .bo-thumb { grid-row: 1 / span 2; align-self: start; }
  .bo-row-main { grid-column: 3; }
  .bo-tags span:nth-child(n+2) { display: none; }
  .bo-row-price { grid-column: 3; display: flex; align-items: baseline; gap: 8px; text-align: left; }
  .bo-row-price strong { display: inline; font-size: 20px; }
  .bo-row-cta { grid-column: 3; }
}

/* ---------- Food pairing & gift finder ---------- */
.oc-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: center; position: relative; z-index: 1; }
.oc-search { position: relative; max-width: 620px; margin-top: 22px; }
.oc-search svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.oc-search input { width: 100%; height: 58px; border: 0; border-radius: 12px; padding: 0 18px 0 50px; font: 600 17px var(--font-body); color: var(--ink); box-shadow: 0 8px 28px rgba(0,0,0,.25); }
.oc-search input:focus { outline: 3px solid var(--red); outline-offset: 2px; }
.oc-pop { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.oc-pop a { padding: 6px 13px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); color: var(--white); font-size: 14px; font-weight: 700; }
.oc-pop a:hover { background: var(--white); color: var(--navy); }
.oc-none { margin: 28px 0 0; padding: 20px 22px; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 12px; display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; justify-content: space-between; }
.oc-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.oc-tile { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .15s; }
.oc-tile:hover { border-color: var(--navy); box-shadow: var(--shadow); transform: translateY(-1px); }
.oc-tile[hidden] { display: none; }
.oc-tile-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--navy-50); color: var(--navy); }
.oc-tile:hover .oc-tile-ic { background: var(--navy); color: var(--white); }
.oc-tile-gift .oc-tile-ic, .oc-giftpromo .oc-tile-ic { background: var(--red-50); color: var(--red); }
.oc-tile-text { display: grid; gap: 2px; min-width: 0; }
.oc-tile-text strong { font: 800 17px/1.2 var(--font-display); }
.oc-tile-text small { color: var(--muted); font-size: 13.5px; line-height: 1.35; }
.oc-tile-from { text-align: right; font: 800 17px/1 var(--font-display); color: var(--navy); white-space: nowrap; }
.oc-tile-from small { display: block; font: 600 11px var(--font-body); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 3px; }

.oc-quick { background: var(--white); color: var(--ink); border-radius: 16px; padding: 18px 18px 12px; box-shadow: 0 16px 40px rgba(0,0,0,.28); }
.oc-quick-title { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.oc-quick ol { list-style: none; margin: 0; padding: 0; }
.oc-quick li { border-top: 1px solid var(--line); }
.oc-quick li.is-top { border-top: 0; }
.oc-quick a, .oc-q-off { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 2px; color: var(--ink); font-weight: 700; }
.oc-quick a:hover span { color: var(--red); }
.oc-quick b { width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font: 800 14px var(--font-display); }
.oc-quick li.is-top b { background: var(--red); }
.oc-quick small { color: var(--muted); font-weight: 600; font-size: 13px; white-space: nowrap; }
.oc-q-off { opacity: .55; }

.oc-match-head { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 16px; align-items: start; margin-bottom: 18px; }
.oc-num { width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font: 800 22px var(--font-display); }
.oc-match.is-top .oc-num { background: var(--red); }
.oc-match-head h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.oc-match-head p { color: var(--ink-2); max-width: 70ch; margin-top: 4px; }
.oc-all { font-weight: 700; white-space: nowrap; padding-top: 8px; }
.oc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.oc-notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.oc-note { padding: 20px 22px; border-radius: 14px; background: var(--navy-50); border: 1px solid var(--navy-100); }
.oc-note h2 { font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); margin-bottom: 6px; }
.oc-note-avoid { background: var(--red-50); border-color: #f7c9d2; }
.oc-note-avoid h2 { color: var(--red-700); }

.oc-help { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; }
.oc-help-cs { background: var(--navy); color: var(--white); border-radius: 16px; padding: 24px; position: relative; overflow: hidden; }
.oc-help-cs::after { content: ''; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; border: 28px solid rgba(255,255,255,.05); }
.oc-help-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.oc-help-head h2 { color: var(--white); font-size: 22px; }
.oc-help-head p { color: rgba(255,255,255,.8); margin-top: 4px; }
.oc-help-badge { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: var(--white); }
.oc-asks { display: grid; gap: 8px; position: relative; z-index: 1; }
.oc-ask { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: var(--white); font-weight: 600; }
.oc-ask:hover { background: var(--white); color: var(--navy); }
.oc-ask b { color: var(--red); font-size: 18px; }
.oc-help-quiz { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: 16px; border: 2px solid var(--navy); background: var(--white); color: var(--ink); }
.oc-help-quiz small { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.oc-help-quiz strong { font: 800 22px/1.2 var(--font-display); color: var(--navy); }
.oc-help-quiz span { color: var(--ink-2); }
.oc-help-quiz .btn { margin-top: auto; align-self: flex-start; }
.oc-help-quiz:hover { box-shadow: var(--shadow); }
.oc-giftpromo { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 22px; border-radius: 14px; border: 1px solid var(--line); color: var(--ink); background: linear-gradient(90deg, var(--red-50), var(--white) 60%); }
.oc-giftpromo strong { display: block; font: 800 19px var(--font-display); }
.oc-giftpromo small { color: var(--muted); font-size: 14.5px; }
.oc-giftpromo b { font-size: 22px; color: var(--red); }
.oc-giftpromo:hover { border-color: var(--red); }

/* gift finder */
.oc-hero-gift { padding-bottom: 96px; }
.oc-finder-wrap { position: relative; z-index: 2; margin-top: -72px; }
.oc-finder { background: var(--white); border-radius: 18px; box-shadow: 0 20px 50px rgba(1,33,105,.18); border: 1px solid var(--line); padding: 22px 24px; }
.gf-form { display: grid; gap: 16px; }
.gf-group { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; align-items: center; }
.gf-group legend { float: left; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); padding: 0; }
.gf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gf-chip input { position: absolute; opacity: 0; pointer-events: none; }
.gf-chip span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line-2); font-weight: 700; font-size: 15px; color: var(--ink); cursor: pointer; transition: all .12s; user-select: none; }
.gf-chip:hover span { border-color: var(--navy); }
.gf-chip input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.gf-chip input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.gf-actions { display: flex; gap: 16px; align-items: center; justify-content: flex-end; }
.gf-actions .gf-nojs { display: none; }
.gf-reset { font-weight: 700; font-size: 14px; color: var(--muted); }
.oc-res-head { margin-bottom: 18px; }
.oc-res-head h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; }
.oc-res-head h2 span { font: 700 15px var(--font-body); color: var(--white); background: var(--red); padding: 3px 10px; border-radius: 999px; }
.oc-res-note { color: var(--muted); margin-top: 6px; }
[data-gift-results] { transition: opacity .15s; scroll-margin-top: calc(var(--header-h) + 16px); }
[data-gift-results].is-loading { opacity: .45; }
.oc-gifts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.oc-gift .bo-pick-img { height: 220px; }
.oc-gift .bo-pick-img img { mix-blend-mode: multiply; }
.oc-gift h3 { font-size: 17px; }
.oc-gift .bo-price strong { font-size: 26px; }
.oc-gift .bo-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.oc-gift .bo-cta .btn { padding-left: 8px; padding-right: 8px; font-size: 14px; }
.oc-rules { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; }
.oc-rules span { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); font-weight: 700; font-size: 14px; }
.oc-rules a { color: var(--white); font-weight: 700; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; }
.oc-hero-gift + .wrap .oc-finder + * { margin-top: 0; }
.oc-hero ~ .wrap .section-head { margin-top: 4px; }

/* wine page + homepage */
.wine-pairs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 6px 0 2px; font-size: 13px; }
.wine-pairs span { font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-size: 11.5px; margin-right: 2px; }
.wine-pairs a { padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 700; color: var(--ink-2); }
.wine-pairs a:hover { border-color: var(--red); color: var(--red); }
.oc-home { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 18px; align-items: stretch; }
.oc-home-food { padding: 22px 24px; border-radius: 16px; background: var(--navy-50); border: 1px solid var(--navy-100); }
.oc-home-food .section-head { margin-bottom: 12px; }
.oc-home-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.oc-home-chips a { padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line-2); color: var(--ink); font-weight: 700; font-size: 14.5px; }
.oc-home-chips a:hover { border-color: var(--navy); color: var(--navy); }
.oc-home-gift { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; border-radius: 16px; background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.oc-home-gift::before { content: ''; position: absolute; right: -30px; bottom: -30px; width: 140px; height: 140px; border-radius: 50%; background: var(--red); opacity: .9; }
.oc-home-gift > * { position: relative; }
.oc-home-gift small { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.oc-home-gift strong { font: 800 24px/1.15 var(--font-display); }
.oc-home-gift span { color: rgba(255,255,255,.85); max-width: 30ch; }
.oc-home-gift .btn { margin-top: auto; align-self: flex-start; background: var(--white); color: var(--red); }

@media (max-width: 1080px) {
  .oc-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .oc-quick { max-width: 520px; }
  .oc-grid, .oc-gifts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oc-help, .oc-home { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .oc-match-head { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
  .oc-num { width: 40px; height: 40px; font-size: 18px; }
  .oc-all { grid-column: 2; padding-top: 0; }
  .gf-group { grid-template-columns: 1fr; gap: 8px; }
  .gf-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -24px; padding: 2px 24px 4px; scrollbar-width: none; }
  .gf-chips::-webkit-scrollbar { display: none; }
  .gf-chip span { white-space: nowrap; padding: 8px 14px; font-size: 14.5px; }
  .oc-finder { padding: 18px 16px; border-radius: 14px; }
  .gf-chips { margin: 0 -16px; padding: 2px 16px 4px; }
  .oc-gifts { grid-template-columns: 1fr; }
  .oc-gift { display: grid; grid-template-columns: 110px minmax(0, 1fr); }
  .oc-gift .bo-pick-img { height: auto; min-height: 180px; padding: 10px; }
  .oc-gift .bo-pick-body { padding: 14px 14px 14px 4px; }
  .oc-gift .bo-cta { grid-template-columns: 1fr; }
  .oc-gift .bo-cta .btn-outline { display: none; }
  .oc-tile { grid-template-columns: 42px minmax(0, 1fr) auto; padding: 12px; }
  .oc-tile-ic { width: 42px; height: 42px; }
  .oc-search input { height: 54px; font-size: 16px; }
  .oc-giftpromo { grid-template-columns: 42px minmax(0, 1fr); }
  .oc-giftpromo b { display: none; }
}
.oc-none[hidden], .oc-pop[hidden], .oc-cat[hidden] { display: none; }
.oc-tile-go { color: var(--line-2); font-size: 18px; transition: color .15s, transform .15s; }
.oc-tile:hover .oc-tile-go { color: var(--red); transform: translateX(2px); }
.main-nav a { white-space: nowrap; }
.oc-switch { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 16px; background: rgba(0,0,0,.2); border-radius: 999px; }
.oc-switch a { display: inline-flex; gap: 8px; align-items: center; padding: 8px 16px; border-radius: 999px; color: rgba(255,255,255,.85); font-weight: 700; font-size: 14.5px; }
.oc-switch a:hover { color: var(--white); background: rgba(255,255,255,.1); }
.oc-switch a[aria-current] { background: var(--white); color: var(--navy); }
.oc-switch a[aria-current] svg { color: var(--red); }
.gf-group { min-width: 0; min-inline-size: 0; }
@media (max-width: 680px) {
  .oc-tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .oc-tile { grid-template-columns: 1fr; gap: 8px; align-content: start; padding: 12px; }
  .oc-tile-ic { width: 38px; height: 38px; border-radius: 10px; }
  .oc-tile-ic svg { width: 22px; height: 22px; }
  .oc-tile-go { display: none; }
  .oc-tile-text strong { font-size: 16px; }
  .oc-tile-text small { font-size: 12.5px; }
  .oc-tile-gift .oc-tile-text small { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .oc-switch a { padding: 7px 12px; font-size: 14px; }
}
.gf-chip { position: relative; }
.gf-chip input { left: 0; top: 0; width: 1px; height: 1px; }

/* ---------- Monthly wine price report (.rp-*) ---------- */
.rp-preview { background: #fff4d6; color: var(--ink); text-align: center; padding: 8px 12px; font-size: 14px; border-bottom: 1px solid #f0d58a; }
.rp-hero h1 { max-width: 22ch; }
.rp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.rp-actions .btn { min-height: 44px; }
.rp-btn-ghost { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.45); }
.rp-btn-ghost:hover { background: rgba(255,255,255,.1); color: var(--white); }
.rp-top { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; }
.rp-findings h2 { margin-bottom: 12px; }
.rp-findings ol { list-style: none; counter-reset: f; margin: 0; padding: 0; display: grid; gap: 10px; }
.rp-findings li { counter-increment: f; position: relative; padding: 14px 16px 14px 58px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); font-size: 16.5px; line-height: 1.5; color: var(--ink); box-shadow: var(--shadow); }
.rp-findings li::before { content: counter(f); position: absolute; left: 14px; top: 12px; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--white); font: 800 15px/30px var(--font-display); text-align: center; }
.rp-findings li:first-child::before { background: var(--red); }
.rp-side { background: var(--navy-50); border: 1px solid var(--navy-100); border-radius: var(--radius); padding: 18px 20px; font-size: 14.5px; color: var(--ink-2); }
.rp-side p { margin: 0; }
.rp-side .rp-side-k { font-size: 11.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--navy); margin-top: 14px; }
.rp-side .rp-side-k:first-child { margin-top: 0; }
.rp-side a { overflow-wrap: anywhere; }
.rp-prose p { font-size: 16.5px; }
.rp-note { background: var(--navy-50); border-left: 4px solid var(--red); border-radius: var(--radius-sm); padding: 16px 20px; color: var(--ink-2); line-height: 1.55; max-width: 80ch; }
.rp-note strong { color: var(--navy); display: block; margin-bottom: 4px; }
.rp-chart { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px; box-shadow: var(--shadow); min-width: 0; }
.rp-chart svg { display: block; width: 100%; height: auto; }
.rp-chart figcaption { font-size: 14px; color: var(--ink-2); padding: 4px 14px 8px; }
.rp-embed { border-top: 1px solid var(--line); margin: 4px 8px 0; padding: 8px 6px 6px; font-size: 14px; }
.rp-embed summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.rp-embed p { margin: 8px 0; color: var(--ink-2); }
.rp-copy { display: grid; grid-template-columns: 1fr auto; gap: 6px 8px; align-items: end; margin: 10px 0; }
.rp-copy label { grid-column: 1 / -1; font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.rp-copy textarea { width: 100%; font: 12.5px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 8px 10px; resize: vertical; min-width: 0; }
.rp-copy .btn.is-done { background: var(--ok); color: var(--white); border-color: var(--ok); }
.rp-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.rp-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.rp-two + .rp-small, .rp-two + .rp-two { margin-top: 18px; }
.rp-table { min-width: 0; overflow-x: auto; }
.rp-table h3 { margin: 0 0 10px; }
.rp-table table { width: 100%; border-collapse: collapse; font-size: 14.5px; background: var(--white); }
.rp-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; padding: 8px 10px; border-bottom: 2px solid var(--navy); white-space: nowrap; }
.rp-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink); }
.rp-table td small { display: block; color: var(--muted); font-size: 12.5px; }
.rp-table .r { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rp-table a { color: var(--navy); font-weight: 600; }
.rp-down { color: var(--red); font-weight: 700; }
.rp-up { color: var(--navy); font-weight: 700; }
.rp-small { font-size: 13.5px; color: var(--muted); margin-top: 10px; max-width: 90ch; }
.rp-method .prose { max-width: 80ch; }
.rp-cite { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--navy); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.rp-cite h2 { margin-bottom: 8px; }
.rp-cite > div > p { color: var(--ink-2); }
.rp-sub { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 22px; }
.rp-sub h2, .rp-sub p { color: var(--white); }
.rp-sub p { opacity: .85; margin-bottom: 12px; }
.rp-sub .sub-form label, .rp-sub .sub-form small { color: rgba(255,255,255,.85); }
.rp-sub .sub-form a { color: var(--white); }
.rp-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.rp-tile { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: var(--radius); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; }
.rp-tile:hover { border-top-color: var(--red); }
.rp-tile small { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--red); }
.rp-tile strong { font: 800 19px/1.25 var(--font-display); color: var(--navy); }
.rp-tile span { font-size: 14px; color: var(--ink-2); }
.rp-tile b { margin-top: auto; padding-top: 6px; font-size: 14px; color: var(--navy); }
.rp-promo { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 20px 24px; border-radius: var(--radius); color: var(--white); text-decoration: none;
  background: linear-gradient(135deg, var(--navy-900), var(--navy) 60%, var(--navy-600)); border-bottom: 4px solid var(--red); }
.rp-promo:hover { color: var(--white); }
.rp-promo-ic { width: 54px; height: 54px; border-radius: 12px; background: rgba(255,255,255,.12); display: grid; place-items: center; }
.rp-promo-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rp-promo-text small { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: rgba(255,255,255,.75); }
.rp-promo-text strong { font: 800 22px/1.2 var(--font-display); }
.rp-promo-text span { font-size: 14.5px; color: rgba(255,255,255,.85); }
@media (max-width: 900px) {
  .rp-top, .rp-split, .rp-two, .rp-cite { grid-template-columns: minmax(0, 1fr); }
  .rp-cite { padding: 18px; }
  .rp-promo { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .rp-promo-ic { display: none; }
  .rp-findings li { font-size: 15.5px; padding-left: 52px; }
}
.rp-chart + .rp-two { margin-top: 28px; }
#chart-changes { max-width: 900px; }
.rp-sub .btn { margin-top: 4px; }
/* On-page charts (HTML bars; the SVG version is for embeds) */
.rp-hc { padding: 14px 16px 6px; border-top: 5px solid var(--navy); border-radius: 6px 6px 0 0; position: relative; }
.rp-hc::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--red); }
.rp-hc h3 { font-size: 18px; margin: 4px 0 2px; color: var(--ink); }
.rp-hc-sub { font-size: 13.5px; color: var(--muted); margin: 0 0 14px; }
.rp-bars { display: grid; gap: 7px; }
.rp-row { display: grid; grid-template-columns: minmax(90px, 34%) minmax(0, 1fr); gap: 10px; align-items: center; }
.rp-l { font-size: 14px; color: var(--ink); text-align: right; line-height: 1.2; overflow-wrap: anywhere; }
.rp-track { display: flex; align-items: center; gap: 8px; min-width: 0; }
.rp-half { gap: 6px; }
.rp-table td:first-child { min-width: 150px; }
.rp-track b { display: block; height: 20px; border-radius: 3px; background: var(--navy); flex: none; }
.rp-track b.is-hi { background: var(--red); }
.rp-v { font-style: normal; font-weight: 700; font-size: 13.5px; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.rp-div .rp-track { gap: 0; }
.rp-half { flex: 1 1 50%; display: flex; align-items: center; gap: 6px; min-width: 0; }
.rp-neg { justify-content: flex-end; border-right: 1px dashed var(--muted); padding-right: 0; }
.rp-neg b { background: var(--red); }
.rp-cols { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; height: 230px; align-items: end; padding-top: 10px; border-bottom: 1px solid var(--line); }
.rp-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; position: relative; padding-bottom: 26px; }
.rp-col-bar { display: block; width: 78%; max-width: 72px; background: var(--navy); border-radius: 4px 4px 0 0; }
.rp-col-bar.is-hi { background: var(--red); }
.rp-col-v { font-weight: 800; font-size: 14px; color: var(--ink); white-space: nowrap; }
.rp-col-l { position: absolute; bottom: 4px; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; }
.rp-hc-src { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--line); margin: 14px 0 0; padding-top: 8px; font-size: 12px; color: var(--muted); }
.rp-hc-brand { font-weight: 800; color: var(--navy); }
.rp-hc-brand em { font-style: normal; color: var(--red); }
@media (max-width: 900px) {
  .rp-hero .bo-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rp-hero .bo-stats > div { min-width: 0; }
  .rp-hero .bo-stats dd { font-size: 22px; }
  .rp-row { grid-template-columns: minmax(84px, 36%) minmax(0, 1fr); gap: 8px; }
  .rp-l { font-size: 13px; }
  .rp-col-l { font-size: 11px; }
  .rp-cols { gap: 4px; }
  .rp-col-v { font-size: 12.5px; }
}
@media (max-width: 600px) {
  .rp-table td:first-child { min-width: 0; }
  .rp-table th, .rp-table td { padding: 8px 6px; }
  .rp-table .rp-sm-hide { display: none; }
}
.oc-home-solo { grid-template-columns: minmax(0, 1fr); }

/* ---------- Food pairing upgrade: cooking styles, why-it-works chart, grape pages, planner ---------- */
.oc-sub { color: var(--muted); margin: -6px 0 14px; }
.oc-ways { padding-top: 26px; }
.oc-ways-q { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); margin-bottom: 10px; }
.oc-ways-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.oc-way { padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--white); color: var(--ink); font-weight: 700; font-size: 15px; transition: all .12s; }
.oc-way:hover { border-color: var(--navy); color: var(--navy); }
.oc-way[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.oc-way-note { margin-top: 12px; padding: 12px 16px; border-radius: 10px; background: var(--red-50); border-left: 4px solid var(--red); color: var(--ink); max-width: 820px; }
.oc-way-note b { color: var(--red-700); margin-right: 4px; }
.oc-matches { display: flex; flex-direction: column; }
.oc-match-head.has-fit { grid-template-columns: 48px minmax(0, 1fr) 320px; gap: 16px 28px; }
.oc-match-head > div .oc-all { display: inline-block; margin-top: 10px; padding-top: 0; }

.oc-fit { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 10px; font-size: 13px; }
.oc-fit-title { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); margin-bottom: 6px; }
.oc-fit-key { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--muted); font-size: 12px; }
.oc-fit-key i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.oc-fit-key .k-d { border: 2px solid var(--navy); background: var(--white); }
.oc-fit-key .k-w { background: var(--red); margin-left: 6px; }
.oc-fit-row { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; align-items: center; padding: 5px 0; }
.oc-fit-label { font-weight: 800; color: var(--ink); line-height: 1.1; }
.oc-fit-label small { display: block; font-weight: 600; color: var(--muted); font-size: 11px; margin-top: 1px; }
.oc-fit-track { position: relative; height: 8px; border-radius: 999px; background: var(--navy-50); box-shadow: inset 0 0 0 1px var(--navy-100); margin: 0 7px; }
.oc-fit-ticks { position: absolute; inset: 0; background: linear-gradient(90deg, transparent calc(25% - 1px), var(--navy-100) calc(25% - 1px), var(--navy-100) 25%, transparent 25%, transparent calc(50% - 1px), var(--navy-100) calc(50% - 1px), var(--navy-100) 50%, transparent 50%, transparent calc(75% - 1px), var(--navy-100) calc(75% - 1px), var(--navy-100) 75%, transparent 75%); border-radius: inherit; }
.oc-fit-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; background: linear-gradient(90deg, rgba(228,0,43,.25), rgba(228,0,43,.7)); }
.oc-fit-d, .oc-fit-w { position: absolute; top: 50%; transform: translate(-50%, -50%); border-radius: 50%; }
.oc-fit-d { width: 16px; height: 16px; border: 2.5px solid var(--navy); background: var(--white); }
.oc-fit-w { width: 10px; height: 10px; background: var(--red); box-shadow: 0 0 0 2px var(--white); }
.oc-fit-spice { margin-top: 6px; color: var(--ink-2); font-size: 12.5px; }
.oc-fit-notes { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 8px; }
.oc-fit-notes li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 9px; border-radius: 999px; background: var(--navy-50); border: 1px solid var(--navy-100); color: var(--navy); font-size: 13px; font-weight: 600; line-height: 1.3; }
.oc-fit-notes svg { flex: none; color: var(--red); }

.oc-plan-promo { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 22px; border-radius: 14px; background: var(--navy); color: var(--white); }
.oc-plan-promo .oc-tile-ic { background: rgba(255,255,255,.12); color: var(--white); }
.oc-plan-promo strong { display: block; font: 800 20px var(--font-display); }
.oc-plan-promo small { color: rgba(255,255,255,.82); font-size: 14.5px; }
.oc-plan-promo:hover { box-shadow: var(--shadow); }
.oc-tile-grape .oc-tile-ic { background: var(--red-50); color: var(--red); }
.oc-tile-grape:hover .oc-tile-ic { background: var(--red); color: var(--white); }

/* grape pages */
.gp-think { margin-top: 12px; color: rgba(255,255,255,.88); }
.gp-think b { color: var(--white); }
.gp-profile { padding: 6px; }
.gp-profile .oc-fit { border: 0; }
.gp-count { padding: 8px 14px 10px; font-size: 13.5px; color: var(--ink-2); border-top: 1px solid var(--line); }
.gp-count strong { color: var(--navy); }
.gp-dishes { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.gp-dishes-sm { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.gp-dish { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); }
.gp-dish:hover { border-color: var(--navy); box-shadow: var(--shadow); }
.gp-dish-big { align-items: start; }
.gp-dish-text { display: grid; gap: 3px; min-width: 0; }
.gp-dish-text strong { font: 800 17px/1.2 var(--font-display); }
.gp-dish-text small { color: var(--ink-2); font-size: 13.5px; line-height: 1.4; }
.gp-dishes-sm .gp-dish { grid-template-columns: 40px minmax(0, 1fr) auto; padding: 10px 12px; gap: 10px; }
.gp-dishes-sm .oc-tile-ic { width: 40px; height: 40px; }
.gp-plan { display: block; background: var(--white); border: 2px solid var(--navy); color: var(--ink); }
.gp-plan:hover { box-shadow: var(--shadow); }

/* wine page "Great with" */
.wine-great-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.wine-great-item { display: grid; gap: 3px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: var(--white); }
.wine-great-item strong { font: 800 16px var(--font-display); color: var(--navy); }
.wine-great-item span { font-size: 13.5px; color: var(--ink-2); line-height: 1.4; }
.wine-great-item:hover { border-color: var(--navy); }

/* dinner party planner */
.pl-layout { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 28px; align-items: start; margin-top: -40px; position: relative; z-index: 2; padding-bottom: 12px; }
.pl-hero { padding-bottom: 72px; }
.pl-form { position: sticky; top: calc(var(--header-h, 64px) + 16px); display: grid; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: 0 20px 50px rgba(1,33,105,.14); }
.pl-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--navy-50); border-radius: 12px; padding: 4px; }
.pl-tab { border: 0; background: none; padding: 9px 8px; border-radius: 9px; font: 700 14.5px var(--font-body); color: var(--ink-2); cursor: pointer; }
.pl-tab[aria-selected="true"] { background: var(--white); color: var(--navy); box-shadow: 0 1px 3px rgba(1,33,105,.15); }
.pl-pane { display: grid; gap: 12px; }
.pl-pane[hidden] { display: none; }
.pl-field { display: grid; gap: 5px; border: 0; padding: 0; margin: 0; min-width: 0; }
.pl-field > span, .pl-field legend { font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--navy); padding: 0; margin-bottom: 5px; }
.pl-field select, .pl-field input, .pl-field textarea { width: 100%; border: 1.5px solid var(--line-2); border-radius: 10px; padding: 10px 12px; font: 600 15.5px var(--font-body); color: var(--ink); background: var(--white); }
.pl-field textarea { resize: vertical; min-height: 120px; line-height: 1.45; font-weight: 500; }
.pl-field select:focus, .pl-field input:focus, .pl-field textarea:focus { outline: 3px solid var(--red); outline-offset: 1px; border-color: var(--navy); }
.pl-row { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px; align-items: start; }
.pl-budget .gf-chips { gap: 6px; }
.pl-budget .gf-chip span { padding: 8px 11px; font-size: 13.5px; }
.pl-paste-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pl-form .gf-nojs { display: none; }
.pl-results { transition: opacity .15s; scroll-margin-top: calc(var(--header-h, 64px) + 16px); min-width: 0; }
.pl-results.is-loading { opacity: .45; }
.pl-res-head { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin-bottom: 14px; }
.pl-res-head h2 { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.8rem); }
.pl-res-head p { margin-top: 4px; color: var(--ink-2); }
.pl-res-head strong { color: var(--red); font-size: 1.1em; }
.pl-plans { display: grid; gap: 14px; }
.pl-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.pl-card h3 { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); margin-bottom: 10px; }
.pl-card-one { border: 2px solid var(--navy); background: var(--navy-50); }
.pl-courses { list-style: none; margin: 0; padding: 0; display: grid; }
.pl-course { padding: 14px 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.pl-course:first-child { border-top: 0; padding-top: 2px; }
.pl-course-head { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: start; }
.pl-course-head strong { font: 800 17px/1.25 var(--font-display); display: block; }
.pl-course-head strong a { color: var(--ink); }
.pl-course-head strong a:hover { color: var(--red); }
.pl-badge { display: inline-block; text-align: center; padding: 4px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; background: var(--navy-100); color: var(--navy); margin-top: 1px; }
.pl-badge-main { background: var(--navy); color: var(--white); }
.pl-badge-dessert, .pl-badge-cheese { background: var(--red-50); color: var(--red-700); }
.pl-grape { display: block; font-size: 14px; font-weight: 700; color: var(--red); margin-top: 2px; }
.pl-why { color: var(--ink-2); font-size: 14px; padding-left: 88px; }
.pl-wine { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); margin-left: 88px; }
.pl-card-one .pl-wine { margin-left: 0; }
.pl-wine-img img { width: 48px; height: 72px; object-fit: contain; mix-blend-mode: multiply; }
.pl-wine-body { display: grid; gap: 2px; min-width: 0; }
.pl-wine-name { font-weight: 800; color: var(--ink); line-height: 1.25; }
.pl-wine-name:hover { color: var(--red); }
.pl-wine-meta { font-size: 13.5px; color: var(--muted); }
.pl-wine-meta strong { color: var(--navy); font-size: 15px; }
.pl-wine-buy { font-size: 13.5px; color: var(--ink-2); }
.pl-wine-buy strong { color: var(--ink); }
.pl-alt, .pl-none { font-size: 13.5px; color: var(--muted); padding-left: 88px; }
.pl-alt a { font-weight: 700; }
.pl-one-grape { margin-bottom: 10px; }
.pl-one-grape strong { color: var(--red); font: 800 18px var(--font-display); }
.pl-note { margin-top: 10px; font-size: 13.5px; color: var(--ink-2); }
.pl-missed { margin-top: 12px; padding: 10px 14px; border-radius: 10px; background: var(--red-50); color: var(--ink); font-size: 14px; }
.pl-foot { margin-top: 12px; font-size: 13px; color: var(--muted); }
.pl-ask { display: inline; border: 0; background: none; padding: 0; margin-left: 4px; font: 700 13.5px var(--font-body); color: var(--navy); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.pl-empty { background: var(--white); border: 1px dashed var(--line-2); border-radius: 16px; padding: 28px 24px; text-align: center; display: grid; gap: 10px; justify-items: center; }
.pl-empty p { color: var(--ink-2); max-width: 52ch; }

/* Corkscout menu mode */
.cs-chip-menu { display: inline-flex; align-items: center; gap: 6px; border-color: var(--red) !important; color: var(--red) !important; }
.cs-menu-mode textarea[name="q"] { min-height: 120px; }

@media (max-width: 1080px) {
  .oc-match-head.has-fit { grid-template-columns: 48px minmax(0, 1fr); }
  .oc-match-head.has-fit .oc-fit { grid-column: 2; max-width: 460px; }
  .pl-layout { grid-template-columns: 1fr; }
  .pl-form { position: static; }
}
@media (max-width: 680px) {
  .oc-match-head.has-fit { grid-template-columns: 40px minmax(0, 1fr); }
  .oc-match-head.has-fit .oc-fit { grid-column: 1 / -1; max-width: none; }
  .oc-ways-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px; padding: 2px 20px 4px; scrollbar-width: none; }
  .oc-ways-chips::-webkit-scrollbar { display: none; }
  .oc-way { white-space: nowrap; font-size: 14.5px; padding: 8px 14px; }
  .gp-related { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
  .oc-plan-promo { grid-template-columns: 40px minmax(0, 1fr); padding: 16px; }
  .oc-plan-promo .oc-tile-ic { width: 40px; height: 40px; }
  .oc-plan-promo .btn { grid-column: 1 / -1; justify-self: start; }
  .pl-layout { margin-top: -48px; gap: 18px; }
  .pl-form { padding: 14px; border-radius: 14px; }
  .pl-row { grid-template-columns: 1fr; }
  .pl-budget .gf-chips { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
  .pl-card { padding: 14px; }
  .pl-course-head { grid-template-columns: 1fr; gap: 6px; }
  .pl-badge { justify-self: start; }
  .pl-why, .pl-alt, .pl-none { padding-left: 0; }
  .pl-wine { margin-left: 0; grid-template-columns: 40px minmax(0, 1fr); }
  .pl-wine .btn { grid-column: 1 / -1; width: 100%; justify-content: center; }
  .pl-wine-img img { width: 40px; height: 60px; }
}

/* ---------- Share buttons ---------- */
.share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin-top: 14px; }
.share-label { font-size: 13px; font-weight: 700; color: var(--muted, #5b6785); letter-spacing: .02em; }
.share-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.share-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--navy-100); background: #fff; color: var(--navy); cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.share-btn:hover, .share-btn:focus-visible { background: var(--navy); border-color: var(--navy); color: #fff; transform: translateY(-1px); }
.share-whatsapp:hover { background: #128c4b; border-color: #128c4b; }
.share-btn.is-copied { background: var(--navy); color: #fff; }
.share-copied { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 6px; pointer-events: none; }
.share-copied:empty { display: none; }
.share-native { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--navy); background: #fff; color: var(--navy); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.share-native[hidden] { display: none; }
.share.is-native .share-btns, .share.is-native .share-label { display: none; }
.share-dark .share-label { color: #c3ceee; }
.share-dark .share-btn { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.28); color: #fff; }
.share-dark .share-btn:hover, .share-dark .share-btn:focus-visible { background: #fff; color: var(--navy); border-color: #fff; }
.share-dark .share-native { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.share-dark .share-copied { background: #fff; color: var(--navy); }
.wine-share { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line, #e6ebf5); }
.oc-share, .bo-share, .rp-share { margin-top: 18px; }
.pl-res-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; }
.pl-share { margin-top: 4px; }
.footer-social { display: flex; gap: 8px; margin-top: 14px; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; }
.footer-social a:hover { background: var(--red); }
.share-mail { position: relative; display: inline-flex; }
.share-mail-menu { position: fixed; top: 0; left: 0; z-index: 400; min-width: 180px; display: grid; padding: 6px; background: #fff; border: 1px solid var(--navy-100); border-radius: 12px; box-shadow: 0 12px 32px rgba(1, 33, 105, .18); }
.share-mail-menu[hidden] { display: none; }
.share-mail-menu a, .share-mail-menu button { display: block; width: 100%; text-align: left; padding: 9px 12px; border: 0; border-radius: 8px; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--navy); text-decoration: none; cursor: pointer; }
.share-mail-menu a:hover, .share-mail-menu button:hover, .share-mail-menu a:focus-visible, .share-mail-menu button:focus-visible { background: var(--navy-50, #eef2fb); }
.share-mail-menu button { border-top: 1px solid var(--navy-100); border-radius: 0 0 8px 8px; margin-top: 4px; }
.share-btn[aria-expanded="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.share-dark .share-btn[aria-expanded="true"] { background: #fff; border-color: #fff; color: var(--navy); }
