/* EntreVins · Show Room 2026 — mobile first. */

@font-face { font-family: "Lato"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/lato-400.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/lato-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/lato-700.woff2") format("woff2"); }
/* Jost: geometric sans in the spirit of Futura, SIL Open Font License (free for web use). */
@font-face { font-family: "Jost"; font-weight: 400 700; font-style: normal; font-display: swap; src: url("../fonts/jost.woff2") format("woff2"); }

:root {
  --ink: #222222;
  --ink-2: #444444;
  --bordeaux: #7A293D;
  --bordeaux-dark: #5f1f2f;
  --olive: #748064;
  --line: #dcdcd7;
  --line-soft: #ececE8;
  --bg: #ffffff;
  --tint: #f7f4f2;
  --sans: "Lato", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --display: "Jost", "Futura", "Avenir Next", -apple-system, sans-serif;
  --gutter: 20px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --cartbar-h: 0px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 600; }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--bordeaux); outline-offset: 3px; border-radius: 2px; }

.sr-only, .visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; text-decoration: none; }
.skip:focus { top: 12px; }

.icon { width: 22px; height: 22px; flex: none; }
.icon--lg { width: 28px; height: 28px; }

/* Decorative organic strokes, sparingly. */
.stroke { height: auto; flex: none; }
.stroke--olive { color: var(--olive); }
.stroke--bordeaux { color: var(--bordeaux); }

.section-title, .eyebrow {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.section-title { font-size: 17px; }
.eyebrow { font-size: 13px; color: var(--bordeaux); }

/* ---------- Header ---------- */
.site-header {
  display: flex; align-items: center; justify-content: flex-end; gap: 12px;
  padding: calc(env(safe-area-inset-top, 0px) + 6px) var(--gutter) 0;
}
.site-header--compact {
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
}
.header-logo { display: flex; align-items: center; min-height: 44px; }
.header-logo img { width: 54px; height: auto; }
.header-title {
  font-family: var(--display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .14em; font-size: 13px; color: var(--ink-2);
  flex: 1; text-align: center;
}
.lang { display: flex; align-items: center; font-size: 14px; color: var(--ink-2); letter-spacing: .06em; }
.lang a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; text-decoration: none; color: var(--ink-2);
}
.lang a[aria-current] { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--bordeaux); }
.lang span { color: var(--line); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 12px 22px; margin: 0;
  border: 1.5px solid var(--ink); border-radius: 3px;
  background: transparent; color: var(--ink);
  font: 600 15px/1.2 var(--display); text-transform: uppercase; letter-spacing: .12em;
  text-decoration: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--block { display: flex; width: 100%; }
.btn--primary { background: var(--bordeaux); border-color: var(--bordeaux); color: #fff; }
.btn--primary:hover { background: var(--bordeaux-dark); border-color: var(--bordeaux-dark); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--disabled, .btn:disabled { border-color: var(--line); color: var(--ink-2); background: var(--tint); cursor: default; }
.btn--primary:disabled { background: #a5717e; border-color: #a5717e; color: #fff; }
.btn--small { min-height: 44px; padding: 8px 14px; font-size: 13px; }

.link-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0;
  background: none; border: 0; color: var(--ink); cursor: pointer;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--olive); text-decoration-thickness: 1px;
  font-size: 16px;
}
.link-btn:hover { text-decoration-color: var(--bordeaux); }

.hint { color: var(--ink-2); font-size: 15px; }
.hint--center { text-align: center; margin-top: 10px; }

/* ---------- Home ---------- */
.home { padding: 8px var(--gutter) 24px; max-width: 460px; margin: 0 auto; }
.home-hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 12px; }
.home-logo { width: min(56vw, 220px); height: auto; }
.home-wave { width: 170px; margin: 22px auto 14px; }
.home-title {
  font-family: var(--display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .22em; font-size: clamp(22px, 7vw, 28px); line-height: 1.2;
  margin-right: -.22em; /* optically re-centre tracked caps */
}
.home-title--img { margin: 0; letter-spacing: 0; line-height: 0; }
.home-title--img img { width: min(78vw, 320px); height: auto; margin: 0 auto; }
.home-year { color: var(--bordeaux); }
.home-stamp { width: min(64vw, 250px); height: auto; margin: 22px auto 6px; }
.home-edition, .home-dates {
  font-family: var(--display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .14em; font-size: 13px; line-height: 1.4; margin: 0 0 14px; color: var(--ink-2);
}
.home-title--img img { width: min(66vw, 260px); }
.home-dates { color: var(--bordeaux); margin: 14px 0 0; letter-spacing: .18em; }

.home-mostra { margin-top: 56px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; }
.home-poster { display: block; width: min(70vw, 260px); }
.home-poster img, img.home-poster { display: block; width: 100%; height: auto; border-radius: 4px; box-shadow: 0 6px 24px rgba(0,0,0,.14); }
.home-mostra-intro { color: var(--ink-2); font-size: 16px; margin: 10px auto 18px; max-width: 34ch; }
.schedule { margin: 0 0 12px; padding: 0; border-top: 1px solid var(--line); text-align: left; }
.schedule div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.schedule dt { font-weight: 700; }
.schedule dd { margin: 0; color: var(--ink-2); }
.home-mostra .hint { margin: 0 0 20px; }

.home-actions { margin-top: 26px; }
.contact-list { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid var(--line); }
.contact-list li { border-bottom: 1px solid var(--line); }
.contact-link {
  display: flex; align-items: center; gap: 16px;
  min-height: 72px; padding: 12px 4px; text-decoration: none;
}
.contact-link .icon { color: var(--bordeaux); }
.contact-link .icon--wa { color: #1f8b4c; }
.contact-link > span { display: flex; flex-direction: column; }
.contact-label { font-weight: 700; text-decoration: underline; text-decoration-color: var(--olive); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.contact-detail { color: var(--ink-2); font-size: 15px; }
.contact-link:hover .contact-label { text-decoration-color: var(--bordeaux); }

.home-order { margin-top: 52px; text-align: center; }
.home-tendril { width: 54px; margin: 0 auto 14px; }
.home-order-intro { color: var(--ink-2); font-size: 16px; margin: 10px auto 20px; max-width: 30ch; }

.site-footer { text-align: center; color: var(--ink-2); font-size: 14px; padding: 8px var(--gutter) calc(28px + var(--safe-b)); }
.footer-wave { width: 120px; margin: 0 auto 12px; opacity: .8; }
.site-footer p { margin: 0; letter-spacing: .04em; }

@media (min-width: 900px) {
  .home {
    max-width: 1040px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 96px;
    align-items: center; padding-top: 40px; min-height: calc(100vh - 160px);
  }
  .home-hero { grid-row: span 2; }
  .home-logo { width: 280px; }
  .home-stamp { width: 260px; }
  .home-title--img img { width: 300px; }
  .home-actions { margin-top: 0; align-self: end; }
  .home-order { margin-top: 40px; align-self: start; text-align: left; }
  .home-order .home-tendril { margin-left: 0; }
  .home-order-intro { margin-left: 0; }
  .home-mostra {
    grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 96px;
    align-items: center; text-align: left; margin-top: 72px;
  }
  .home-poster { width: 340px; justify-self: center; }
  .home-mostra .home-tendril { margin-left: 0; }
  .home-mostra-intro { margin-left: 0; }
}

/* ---------- Order app ---------- */
.page-order { padding-bottom: calc(var(--cartbar-h) + var(--safe-b)); }
.order { outline: none; }
.order-app { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter) 48px; }
.view-title {
  font-family: var(--display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .14em; font-size: 20px; line-height: 1.3; margin: 26px 0 6px; outline: none;
}
.view-intro { color: var(--ink-2); margin: 0 0 18px; font-size: 16px; }
.back {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 8px;
  color: var(--ink-2); text-decoration: none; font-size: 15px;
}
.back:hover { color: var(--ink); }

.layout { display: block; }
.sidebar { display: none; }

/* Group list */
.group-list { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--line); }
.group-list li { border-bottom: 1px solid var(--line); }
.group-link {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px;
  min-height: 76px; padding: 14px 2px; text-decoration: none;
}
.group-name { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: 17px; }
.group-name img { max-height: 46px; width: auto; }
.group-meta { grid-column: 1; color: var(--ink-2); font-size: 15px; }
.group-side { grid-row: 1 / span 2; grid-column: 2; display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-size: 14px; }
.group-side .icon { color: var(--bordeaux); }
.badge {
  display: inline-block; min-width: 26px; padding: 2px 8px; border-radius: 99px;
  background: var(--bordeaux); color: #fff; font-size: 13px; font-weight: 700; text-align: center;
}

/* Group detail */
.group-head { margin: 18px 0 8px; }
.group-head .lettering { max-height: 84px; width: auto; max-width: 100%; }
.group-head h1 { margin-top: 6px; }
.group-head .stroke { width: 120px; margin-top: 10px; }
.section-heading {
  font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .12em;
  font-size: 14px; color: var(--bordeaux); margin: 28px 0 0; padding-bottom: 8px; border-bottom: 1px solid var(--bordeaux);
}
.products { list-style: none; margin: 0; padding: 0; }
.product { padding: 16px 0; border-bottom: 1px solid var(--line); }
.product-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.product-name { font-weight: 700; font-size: 17px; line-height: 1.35; }
.product-details { color: var(--ink-2); font-size: 15px; margin-top: 2px; }
.product-price { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.product-status { color: var(--bordeaux); font-size: 15px; font-weight: 700; margin-top: 6px; }
.product-controls { display: flex; justify-content: flex-end; margin-top: 10px; }
.product--simple { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; align-items: center; }
.product--simple .product-top { display: block; }
.product--simple .product-price { display: block; font-weight: 400; color: var(--ink-2); font-size: 16px; margin-top: 2px; }
.product--simple .product-controls { margin-top: 0; }
.variants { list-style: none; margin: 10px 0 0; padding: 0; }
.variant { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0; }
.variant + .variant { border-top: 1px dashed var(--line-soft); }
.variant-label { font-size: 16px; }
.product.in-cart .product-name::before,
.variant.in-cart .variant-label::before {
  content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--bordeaux); margin-right: 8px; vertical-align: middle; position: relative; top: -2px;
}

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 3px; }
.qty button {
  width: 46px; height: 46px; border: 0; background: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; font-size: 22px; line-height: 1; color: var(--ink);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.qty button:disabled { color: #b5b5b0; cursor: default; }
.qty button:not(:disabled):active { background: var(--tint); }
.qty input {
  width: 52px; height: 46px; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line);
  text-align: center; font-size: 17px; font-variant-numeric: tabular-nums; border-radius: 0; background: #fff;
  -moz-appearance: textfield; appearance: textfield;
}
.qty input.has-qty { color: var(--bordeaux); font-weight: 700; }

.group-next { display: flex; flex-direction: column; gap: 6px; margin-top: 28px; }
.group-next a { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; text-decoration: none; font-weight: 700; }
.group-next a .icon { color: var(--bordeaux); }

/* Cart bar */
.cartbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  background: rgba(255,255,255,.98); border-top: 1px solid var(--line);
  padding: 10px var(--gutter) calc(10px + var(--safe-b));
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.cartbar-inner { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cartbar-sum { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.cartbar-sum strong { font-size: 17px; font-variant-numeric: tabular-nums; }
.cartbar-sum span { color: var(--ink-2); font-size: 13px; }
.cartbar .btn { min-height: 48px; padding: 10px 18px; white-space: nowrap; }

@media (max-width: 360px) {
  .cartbar .btn { padding: 10px 12px; letter-spacing: .06em; font-size: 14px; }
  .cartbar-sum strong { font-size: 16px; }
  .qty button { width: 44px; height: 44px; }
  .qty input { width: 46px; height: 44px; }
}

/* Cart */
.cart-group { margin-top: 22px; }
.cart-group h2 { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: 14px; color: var(--bordeaux); padding-bottom: 8px; border-bottom: 1px solid var(--bordeaux); }
.cart-lines { list-style: none; margin: 0; padding: 0; }
.cart-line { padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line.is-unavailable { opacity: .75; }
.cart-line-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.cart-line-total { font-weight: 700; font-variant-numeric: tabular-nums; margin-left: auto; }
.cart-line .unit-price { color: var(--ink-2); font-size: 15px; font-variant-numeric: tabular-nums; }
.remove-btn { color: var(--ink-2); font-size: 15px; }

.summary { margin-top: 24px; padding-top: 6px; }
.summary-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 6px 0; font-variant-numeric: tabular-nums; }
.summary-row .label { color: var(--ink-2); }
.summary-row.total { border-top: 1.5px solid var(--ink); margin-top: 6px; padding-top: 12px; font-weight: 700; font-size: 19px; }
.summary-row.total small { display: block; font-weight: 400; font-size: 14px; color: var(--bordeaux); }
.pending-note { color: var(--ink-2); font-size: 15px; margin-top: 10px; padding-left: 12px; border-left: 2px solid var(--olive); }

.actions { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.empty { margin: 32px 0; color: var(--ink-2); }

/* Form */
.form { margin-top: 10px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 16px; }
.field .opt { font-weight: 400; color: var(--ink-2); }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font-size: 17px;
  border: 1px solid #9a9a95; border-radius: 3px; background: #fff; -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.45; }
.field input:focus, .field textarea:focus { border-color: var(--bordeaux); outline: 2px solid var(--bordeaux); outline-offset: 0; }
.field.has-error input { border-color: var(--bordeaux); border-width: 2px; }
.field-error { color: var(--bordeaux); font-size: 15px; font-weight: 700; margin-top: 6px; }
.check { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 6px 0; cursor: pointer; font-size: 17px; }
.check input { width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--bordeaux); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Review */
.review-block { margin-top: 22px; }
.review-block-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.review-block-head h2 { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: 15px; }
.review-dl { margin: 10px 0 0; }
.review-dl dt { font-size: 14px; margin-top: 8px; }
@media (min-width: 600px) { .review-dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; } .review-dl dt { font-size: inherit; margin: 0; } }
.review-dl dt { color: var(--ink-2); }
.review-dl dd { margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.review-line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.review-line .qtyx { color: var(--ink-2); font-size: 15px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.review-line .amount { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.review-group-name { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; color: var(--bordeaux); margin-top: 16px; }

.alert { border-left: 3px solid var(--bordeaux); padding: 10px 14px; margin: 18px 0 0; background: var(--tint); color: var(--ink); }
.alert p { margin: 0 0 .5em; }
.alert p:last-child { margin: 0; }
.alert ul { margin: 6px 0 0; padding-left: 20px; }

/* Confirmation */
.sent { text-align: center; max-width: 520px; margin: 0 auto; padding-top: 18px; }
.sent .stroke { width: 64px; margin: 18px auto 0; }
.sent-ref { font-family: var(--display); font-weight: 600; font-size: 24px; letter-spacing: .1em; margin: 6px 0 18px; }
.sent .notice { color: var(--ink); text-align: left; }
.sent .actions { text-align: center; align-items: stretch; }

@media (min-width: 960px) {
  .layout { display: grid; grid-template-columns: 240px 1fr; gap: 64px; align-items: start; }
  .sidebar { display: block; position: sticky; top: 16px; padding-top: 26px; }
  .sidebar h2 { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: 13px; color: var(--ink-2); margin-bottom: 8px; }
  .sidebar ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
  .sidebar a { display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding: 8px 0; border-bottom: 1px solid var(--line-soft); text-decoration: none; font-size: 16px; }
  .sidebar a[aria-current] { color: var(--bordeaux); font-weight: 700; }
  .narrow { max-width: 640px; }
  .group-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; border-top: 0; }
  .group-list li:nth-child(-n+2) { border-top: 1px solid var(--line); }
  .actions { flex-direction: row-reverse; justify-content: flex-start; align-items: center; }
  .actions .btn--block { width: auto; }
  .product-controls { margin-top: 0; }
  .product--simple { column-gap: 32px; }
  .product .variants { max-width: 520px; margin-left: auto; }
}

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