:root {
  --brand-primary: #09251f;
  --green-950: #09251f;
  --green-900: #12392f;
  --green-800: #1a4a3d;
  --green-700: #245f50;
  --green-100: #e8f0ed;
  --gold: #c7a35b;
  --gold-deep: #8a6a2d;
  --gold-soft: #eadcbf;
  --ink: #17201d;
  --muted: #66736e;
  --paper: #f7f7f3;
  --white: #ffffff;
  --line: #dfe5e2;
  --shadow: 0 18px 50px rgba(10, 37, 31, .14);
  --card-shadow: 0 4px 16px rgba(10, 37, 31, .035);
  --button-color: #1a4a3d;
  --button-hover: #245f50;
  --on-button: #fff;
  --on-primary: #fff;
  --header-background: rgba(9, 37, 31, .96);
  --header-muted: rgba(255, 255, 255, .68);
  --header-border: rgba(255, 255, 255, .11);
  --header-hover: rgba(255, 255, 255, .09);
  --header-control: rgba(255, 255, 255, .06);
  --hero-overlay-strong: rgba(7, 31, 25, .94);
  --hero-overlay-medium: rgba(7, 31, 25, .72);
  --hero-overlay-light: rgba(7, 31, 25, .18);
  --hero-overlay-bottom: rgba(7, 31, 25, .7);
  --accent-border: rgba(234, 220, 191, .38);
  --accent-wash: rgba(199, 163, 91, .15);
  --focus-ring: rgba(199, 163, 91, .55);
  --overlay: rgba(5, 20, 17, .66);
  --image-overlay: rgba(3, 16, 13, .94);
  --bottle-shadow: rgba(8, 30, 24, .18);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px clamp(18px, 4vw, 54px);
  color: var(--on-primary);
  background: var(--header-background);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--header-border);
}
.restaurant-mark { display: flex; gap: 11px; align-items: center; color: inherit; text-decoration: none; }
.restaurant-mark strong { display: block; font-family: Georgia, serif; letter-spacing: .11em; font-size: .96rem; }
.restaurant-mark small { display: block; color: var(--header-muted); font-size: .72rem; letter-spacing: .06em; }
.mark-monogram {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-soft);
  font-family: Georgia, serif;
  font-size: .84rem;
}
.mark-monogram.has-brand-logo { width: clamp(62px, 9vw, 112px); padding: 5px 8px; border-radius: 10px; background: var(--header-control); }
.mark-monogram img { width: 100%; height: 100%; display: block; object-fit: contain; }
.language-control { display: flex; align-items: center; gap: 5px; padding: 5px; border: 1px solid var(--accent-border); border-radius: 999px; background: var(--header-control); }
.language-option { min-width: 48px; height: 34px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 8px; border: 0; border-radius: 999px; color: var(--header-muted); background: transparent; font-size: .68rem; font-weight: 900; }
.language-option:hover { color: var(--on-primary); background: var(--header-hover); }
.language-option.active { color: var(--on-button); background: var(--button-color); box-shadow: 0 3px 10px rgba(0,0,0,.16); }
.language-option img { width: 25px; height: 17px; display: block; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.13); }

.hero {
  position: relative;
  min-height: 490px;
  display: grid;
  place-items: end start;
  overflow: hidden;
  color: var(--on-primary);
  background: var(--brand-primary);
}
.hero-photo { position: absolute; inset: 0; background-image: url("wine-table.jpg"); background-size: cover; background-position: center 55%; opacity: .78; transform: scale(1.015); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, var(--hero-overlay-strong) 0%, var(--hero-overlay-medium) 42%, var(--hero-overlay-light) 78%), linear-gradient(0deg, var(--hero-overlay-bottom), transparent 58%); }
.hero-content { position: relative; z-index: 1; max-width: 660px; padding: 66px clamp(20px, 6vw, 86px) 72px; }
.demo-pill { display: inline-flex; padding: 7px 11px; border-radius: 999px; background: var(--accent-wash); border: 1px solid var(--accent-border); color: var(--gold-soft); font-size: .68rem; font-weight: 800; letter-spacing: .14em; }
.eyebrow { margin: 22px 0 7px; color: var(--gold-soft); font-size: .76rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow.dark { color: var(--gold-deep); margin-top: 0; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 14px; max-width: 600px; font-family: Georgia, serif; font-size: clamp(3rem, 8vw, 5.8rem); font-weight: 400; line-height: .92; letter-spacing: -.045em; }
.hero-content > p:not(.eyebrow) { max-width: 520px; margin-bottom: 27px; color: color-mix(in srgb, var(--on-primary) 82%, transparent); font-size: clamp(1rem, 2vw, 1.16rem); }
.primary-button, .secondary-button {
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  border: 0;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.primary-button { color: var(--on-button); background: var(--button-color); box-shadow: 0 10px 25px rgba(0,0,0,.16); }
.primary-button:hover { transform: translateY(-2px); background: var(--button-hover); }
.secondary-button { color: var(--green-900); background: var(--green-100); }

.catalogue { width: min(1180px, calc(100% - 36px)); margin: 0 auto; padding: 68px 0 88px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 27px; }
.section-heading h2 { margin: 0; font-family: Georgia, serif; color: var(--green-950); font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 400; letter-spacing: -.03em; }
.result-count { color: var(--muted); font-size: .86rem; font-weight: 700; }
.search-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; }
.search-box { min-height: 54px; display: flex; align-items: center; gap: 10px; padding: 0 18px; background: white; border: 1px solid var(--line); border-radius: 16px; }
.search-box > span[aria-hidden] { color: var(--green-800); font-size: 1.45rem; line-height: 1; }
.search-box input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 1rem; }
.filter-button { position: relative; min-height: 54px; padding: 0 18px; border: 1px solid var(--button-color); border-radius: 16px; color: var(--button-color); background: transparent; font-weight: 800; }
.glass-filter-button { min-height: 54px; padding: 0 17px; white-space: nowrap; border: 1px solid var(--gold); border-radius: 16px; color: var(--green-900); background: white; font-weight: 800; }
.glass-filter-button:hover { border-color: var(--button-color); color: var(--button-color); }
.glass-filter-button[aria-pressed="true"] { border-color: var(--button-color); color: var(--on-button); background: var(--button-color); }
.glass-filter-button[aria-pressed="true"]:hover { border-color: var(--button-hover); color: var(--on-button); background: var(--button-hover); }
.filter-badge { position: absolute; top: -7px; right: -7px; min-width: 22px; height: 22px; padding: 0 6px; display: grid; place-items: center; border-radius: 999px; background: var(--gold); color: var(--green-950); font-size: .72rem; }
.category-tabs { display: flex; gap: 9px; margin: 22px 0 8px; overflow-x: auto; scrollbar-width: none; }
.category-tabs::-webkit-scrollbar { display: none; }
.category-tab { flex: 0 0 auto; min-height: 42px; padding: 0 17px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: white; font-weight: 750; }
.category-tab.active { color: var(--on-button); background: var(--button-color); border-color: var(--button-color); }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; min-height: 33px; margin: 12px 0 4px; }
.filter-chip { display: inline-flex; align-items: center; gap: 7px; height: 31px; padding: 0 10px 0 12px; border-radius: 999px; color: var(--green-900); background: var(--green-100); border: 0; font-size: .78rem; font-weight: 700; }

.wine-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding-top: 15px; }
.wine-card {
  position: relative;
  min-height: 470px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  overflow: hidden;
  text-align: left;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.wine-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent-border); }
.wine-card::after { content: ""; position: absolute; right: -48px; top: -56px; width: 160px; height: 160px; border-radius: 50%; background: var(--wash); opacity: .58; }
.wine-product-visual { position: relative; z-index: 1; height: 175px; display: grid; place-items: center; margin: -5px -5px 0; overflow: hidden; border-radius: 17px; background: linear-gradient(145deg, rgba(255,255,255,.88), var(--wash)); }
.wine-product-visual .wine-type { position: absolute; top: 10px; right: 10px; }
.wine-bottle-image { width: 100%; height: 158px; padding: 5px 18px; object-fit: contain; filter: drop-shadow(0 12px 12px var(--bottle-shadow)); }
.wine-product-visual .wine-card-cover-image { height: 100%; padding: 0; object-fit: cover; filter: none; }
.wine-initials { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 18px; color: var(--tone); background: var(--wash); border: 1px solid color-mix(in srgb, var(--tone) 22%, transparent); font-family: Georgia, serif; font-size: 1.1rem; letter-spacing: .06em; }
.wine-type { padding: 6px 9px; border-radius: 999px; color: var(--tone); background: var(--wash); font-size: .68rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.wine-card h3 { position: relative; z-index: 1; margin: 25px 0 7px; color: var(--green-950); font-family: Georgia, serif; font-size: 1.45rem; font-weight: 400; line-height: 1.12; }
.wine-origin { color: var(--muted); font-size: .83rem; font-weight: 750; }
.wine-note { margin: 19px 0 22px; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.wine-card-bottom { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-top: auto; }
.wine-prices { display: flex; align-items: flex-end; gap: 18px; }
.wine-card-bottom.expanded-prices { align-items: stretch; flex-direction: column; }
.wine-card-bottom.expanded-prices .wine-prices { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 16px; }
.wine-card-bottom.expanded-prices .view-detail { align-self: flex-end; }
.wine-price small { display: block; color: var(--muted); font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; }
.wine-price strong { color: var(--green-950); font-family: Georgia, serif; font-size: 1.45rem; }
.wine-price.glass strong { color: var(--gold-deep); }
.wine-price.store strong, .wine-price.takeaway strong { color: var(--button-color); }
.view-detail { color: var(--green-800); font-size: .82rem; font-weight: 850; }
.empty-state { padding: 60px 20px; text-align: center; }
.empty-state > span { display: block; color: var(--gold); font-size: 3rem; }
.empty-state h3 { margin-bottom: 7px; font-family: Georgia, serif; font-size: 1.6rem; }
.empty-state p { color: var(--muted); }
.text-button { border: 0; background: transparent; color: var(--green-800); font-weight: 850; text-decoration: underline; text-underline-offset: 4px; }

footer { padding: 34px 20px 38px; text-align: center; color: color-mix(in srgb, var(--on-primary) 82%, transparent); background: var(--brand-primary); }
footer p { margin: 0 0 5px; }
footer > p:first-child { font-family: Georgia, serif; letter-spacing: .08em; }
.powered { color: color-mix(in srgb, var(--on-primary) 55%, transparent); font-size: .76rem; letter-spacing: .05em; }
.powered strong, .powered a { color: var(--gold-soft); font-weight: 800; }
.powered a { text-underline-offset: 3px; }
.powered a:hover { color: var(--on-primary); }

.backdrop { position: fixed; inset: 0; z-index: 50; background: var(--overlay); backdrop-filter: blur(3px); }
.sheet { position: fixed; z-index: 60; top: 0; right: 0; width: min(470px, 100%); height: 100%; padding: 27px; overflow-y: auto; background: white; box-shadow: -20px 0 60px rgba(0,0,0,.18); transform: translateX(105%); transition: transform .28s ease; }
.sheet.open { transform: translateX(0); }
.sheet-handle { display: none; }
.sheet-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.sheet-header h2 { margin: 0; font-family: Georgia, serif; font-size: 2rem; font-weight: 400; }
.icon-button { width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--green-900); background: white; font-size: 1.6rem; line-height: 1; }
fieldset { margin: 23px 0 0; padding: 0 0 22px; border: 0; border-bottom: 1px solid var(--line); }
legend { margin-bottom: 12px; color: var(--green-950); font-weight: 850; }
.check-row, .radio-row { min-height: 42px; display: flex; align-items: center; gap: 10px; color: var(--ink); }
.check-row input, .radio-row input { width: 19px; height: 19px; accent-color: var(--green-800); }
.sheet-actions { position: sticky; bottom: -27px; display: grid; grid-template-columns: .8fr 1.4fr; gap: 10px; margin: 25px -27px -27px; padding: 18px 27px max(20px, env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); }
.apply-button { color: var(--on-button); background: var(--button-color); box-shadow: none; }
.apply-button:hover, .apply-button:focus-visible { color: var(--on-button); background: var(--button-hover); }

.modal { position: fixed; z-index: 70; left: 50%; top: 50%; width: min(600px, calc(100% - 30px)); max-height: calc(100vh - 34px); padding: 34px; overflow-y: auto; border-radius: 28px; background: white; box-shadow: 0 30px 100px rgba(0,0,0,.27); transform: translate(-50%, -46%) scale(.98); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .25s ease; }
.modal.open { transform: translate(-50%, -50%) scale(1); opacity: 1; pointer-events: auto; }
.modal-close { position: absolute; right: 20px; top: 20px; z-index: 2; }
.detail-band { position: relative; min-height: 190px; display: flex; align-items: flex-end; margin: -34px -34px 28px; padding: 68px 34px 32px; overflow: hidden; color: var(--green-950); background: var(--wash); }
.detail-band.has-image { min-height: 260px; padding-right: 205px; }
.detail-band .wine-type { display: inline-flex; }
.detail-band h2 { margin: 16px 56px 8px 0; font-family: Georgia, serif; font-size: clamp(2.2rem, 8vw, 3.7rem); font-weight: 400; line-height: .98; }
.detail-band p { margin: 0; color: var(--tone); font-weight: 800; }
.detail-bottle-zoom { position: absolute; right: 22px; bottom: 0; width: 165px; height: 235px; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.detail-bottle-zoom:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 14px; }
.detail-bottle-image { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 15px 12px var(--bottle-shadow)); }
.image-lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); background: var(--image-overlay); backdrop-filter: blur(8px); overscroll-behavior: contain; touch-action: none; }
.image-lightbox[hidden] { display: none; }
.image-lightbox img { width: min(92vw, 660px); height: min(88vh, 920px); height: min(88dvh, 920px); object-fit: contain; filter: drop-shadow(0 22px 24px rgba(0,0,0,.4)); }
.image-lightbox-close { position: fixed; z-index: 2; top: max(14px, env(safe-area-inset-top)); right: max(14px, env(safe-area-inset-right)); width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: var(--green-950); background: white; font-size: 1.8rem; line-height: 1; }
.detail-copy { color: var(--muted); font-size: 1rem; }
.detail-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 25px 0; }
.meta-box { padding: 14px; border-radius: 15px; background: var(--paper); }
.meta-box small { display: block; margin-bottom: 4px; color: var(--muted); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; }
.meta-box strong { font-size: .9rem; }
.wine-recognition { display: grid; gap: 14px; margin: 2px 0 22px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: color-mix(in srgb, var(--paper) 78%, white); box-shadow: 0 8px 24px rgba(10, 37, 31, .05); }
.recognition-heading { display: flex; align-items: center; gap: 10px; color: var(--green-950); font-size: .82rem; letter-spacing: .035em; }
.recognition-heading-icon, .rating-icon, .award-icon { flex: 0 0 auto; display: grid; place-items: center; color: var(--gold-deep); background: color-mix(in srgb, var(--gold-soft) 54%, white); }
.recognition-heading-icon { width: 34px; height: 34px; border-radius: 11px; }
.recognition-heading-icon svg, .rating-icon svg, .award-icon svg, .more-info-link svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.recognition-heading-icon svg { width: 18px; height: 18px; }
.rating-badges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rating-badge { min-width: 0; display: flex; align-items: center; gap: 11px; padding: 13px; border: 1px solid var(--line); border-radius: 15px; background: white; }
.rating-icon { width: 43px; height: 43px; border-radius: 50%; }
.rating-icon svg { width: 23px; height: 23px; }
.rating-badge.parker .rating-icon { color: var(--button-color); background: color-mix(in srgb, var(--green-100) 72%, white); }
.rating-badge.penin { border-color: var(--accent-border); }
.rating-copy { min-width: 0; display: grid; gap: 3px; }
.rating-value { color: var(--muted); font-size: .72rem; font-weight: 800; line-height: 1; }
.rating-value strong { color: var(--green-950); font-family: Georgia, serif; font-size: 2.15rem; font-weight: 400; line-height: .84; }
.rating-badge.parker .rating-value strong { color: var(--button-color); }
.rating-copy small { color: var(--muted); font-size: .68rem; font-weight: 800; line-height: 1.3; }
.wine-awards { display: flex; align-items: flex-start; gap: 11px; margin: 0; padding: 13px 14px; border: 1px solid var(--line); border-radius: 15px; background: white; }
.award-icon { width: 38px; height: 38px; border-radius: 12px; }
.award-icon svg { width: 21px; height: 21px; }
.wine-awards > span:last-child { min-width: 0; display: grid; gap: 3px; }
.wine-awards small { color: var(--gold-deep); font-size: .68rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.wine-awards strong { color: var(--ink); font-size: .85rem; font-weight: 700; line-height: 1.45; white-space: pre-line; }
.more-info-link { width: 100%; min-height: 46px; display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 17px; border: 1px solid var(--button-color); border-radius: 13px; color: var(--on-button); background: var(--button-color); font-size: .8rem; font-weight: 850; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.more-info-link svg { width: 18px; height: 18px; }
.more-info-link:hover { color: var(--on-button); background: var(--button-hover); transform: translateY(-1px); }
.more-info-link:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
.detail-prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; padding-top: 22px; border-top: 1px solid var(--line); }
.detail-price { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.detail-price strong { font-family: Georgia, serif; color: var(--green-950); font-size: 2rem; }
.detail-price span { color: var(--muted); font-size: .82rem; }
.detail-price.glass strong { color: var(--gold-deep); }
.detail-price.store strong, .detail-price.takeaway strong { color: var(--button-color); }

.recommender { text-align: center; }
.recommender-head { padding-top: 10px; }
.recommender-icon { width: 48px; height: 48px; display: grid; place-items: center; margin: 0 auto 15px; border-radius: 50%; color: var(--gold-soft); background: var(--green-900); font-size: 1.2rem; }
.recommender h2 { margin-bottom: 9px; color: var(--green-950); font-family: Georgia, serif; font-size: 2.25rem; font-weight: 400; }
.recommender-head > p:last-child { color: var(--muted); }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; margin-top: 25px; }
.choice-grid button { min-height: 92px; display: grid; place-items: center; gap: 3px; padding: 14px; border: 1px solid var(--line); border-radius: 18px; color: var(--green-900); background: var(--paper); font-weight: 800; }
.choice-grid button:hover { border-color: var(--gold); background: var(--gold-soft); }
.choice-grid button span { color: var(--gold); font-size: 1.6rem; }
.recommendation-result { padding-top: 18px; }
.recommendation-result .match { display: inline-block; padding: 6px 10px; border-radius: 999px; color: var(--green-900); background: var(--green-100); font-size: .72rem; font-weight: 850; letter-spacing: .06em; }
.recommendation-result h3 { margin: 17px 0 7px; color: var(--green-950); font-family: Georgia, serif; font-size: 2.25rem; font-weight: 400; }
.recommendation-result > p { color: var(--muted); }
.recommendation-result .reason { margin: 20px 0; padding: 17px; text-align: left; border-radius: 16px; color: var(--ink); background: var(--paper); }
.result-actions { display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; }

body.locked { overflow: hidden; }

body.menu-unavailable .topbar,
body.menu-unavailable .hero,
body.menu-unavailable footer { display: none; }
body.menu-unavailable .catalogue { min-height: 100vh; padding-top: 15vh; }
body.menu-unavailable .section-heading,
body.menu-unavailable .search-row,
body.menu-unavailable .category-tabs { display: none; }

body.embed-mode .topbar { display: none; }
body.embed-mode .hero { min-height: 390px; }
body.embed-mode .hero-content { padding-top: 48px; padding-bottom: 54px; }
body.embed-mode .catalogue { padding-top: 50px; }

@media (max-width: 850px) {
  .wine-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { min-height: 470px; }
}

@media (max-width: 590px) {
  .topbar { min-height: 66px; padding-inline: 15px; }
  .mark-monogram { width: 38px; height: 38px; }
  .restaurant-mark > span:last-child { display: none; }
  .language-control { gap: 3px; padding: 4px; }
  .language-option { min-width: 32px; width: 32px; height: 32px; padding: 0; }
  .language-option span { display: none; }
  .language-option img { width: 24px; height: 16px; }
  .hero { min-height: 500px; align-items: end; }
  .hero-photo { background-position: 62% center; }
  .hero-overlay { background: linear-gradient(0deg, var(--hero-overlay-strong) 0%, var(--hero-overlay-medium) 64%, var(--hero-overlay-light) 100%); }
  .hero-content { padding: 86px 20px 46px; }
  h1 { font-size: clamp(3.25rem, 17vw, 4.8rem); }
  .hero-content .primary-button { width: 100%; }
  .catalogue { width: min(100% - 28px, 1180px); padding-top: 48px; }
  .section-heading { align-items: center; }
  .search-row { grid-template-columns: minmax(0, 1fr) auto 54px; }
  .glass-filter-button { padding-inline: 12px; }
  .filter-button { padding: 0; }
  .filter-label { display: none; }
  .wine-grid { grid-template-columns: 1fr; gap: 13px; }
  .wine-card { min-height: 430px; padding: 21px; }
  .wine-card-bottom { align-items: flex-start; flex-direction: column; }
  .wine-prices { width: 100%; justify-content: space-between; }
  .detail-prices { grid-template-columns: 1fr; gap: 10px; }
  .sheet { top: auto; bottom: 0; width: 100%; height: min(87vh, 740px); padding: 19px 22px 22px; border-radius: 25px 25px 0 0; transform: translateY(105%); }
  .sheet.open { transform: translateY(0); }
  .sheet-handle { display: block; width: 42px; height: 4px; margin: -5px auto 12px; border-radius: 99px; background: var(--line); }
  .sheet-actions { bottom: -22px; margin: 25px -22px -22px; padding-inline: 22px; }
  .modal { width: calc(100% - 18px); max-height: calc(100vh - 18px); padding: 27px 22px; border-radius: 24px; }
  .detail-band { margin: -27px -22px 25px; padding: 62px 22px 27px; }
  .detail-band.has-image { min-height: 245px; padding-right: 145px; }
  .detail-bottle-zoom { right: 8px; width: 130px; height: 215px; }
  .image-lightbox img { width: 94vw; height: 90vh; height: 90dvh; }
  .detail-meta { grid-template-columns: 1fr 1fr; }
  .wine-recognition { padding: 15px; }
  .rating-badges { grid-template-columns: 1fr; }
  .choice-grid button { min-height: 84px; }
  body.embed-mode .hero { min-height: 390px; }
  body.embed-mode .hero-content { padding-top: 64px; padding-bottom: 38px; }
  body.embed-mode .catalogue { padding-top: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
