/* math */
/* symbols */
/* latin-ext */
/* latin */
/* math */
/* symbols */
/* latin-ext */
/* latin */
/* math */
/* symbols */
/* latin-ext */
/* latin */
/* math */
/* symbols */
/* latin-ext */
/* latin */
/* vietnamese */
/* latin-ext */
/* latin */
/* vietnamese */
/* latin-ext */
/* latin */
/* vietnamese */
/* latin-ext */
/* latin */
/* cyrillic-ext */
/* cyrillic */
/* vietnamese */
/* latin-ext */
/* latin */
/* cyrillic-ext */
/* cyrillic */
/* vietnamese */
/* latin-ext */
/* latin */
/* cyrillic-ext */
/* cyrillic */
/* vietnamese */
/* latin-ext */
/* latin */
/* cyrillic-ext */
/* cyrillic */
/* vietnamese */
/* latin-ext */
/* latin */
/* cyrillic-ext */
/* cyrillic */
/* vietnamese */
/* latin-ext */
/* latin */
/* cyrillic-ext */
/* cyrillic */
/* greek-ext */
/* greek */
/* vietnamese */
/* latin-ext */
/* latin */
/* cyrillic-ext */
/* cyrillic */
/* greek-ext */
/* greek */
/* vietnamese */
/* latin-ext */
/* latin */
/* cyrillic-ext */
/* cyrillic */
/* greek-ext */
/* greek */
/* vietnamese */
/* latin-ext */
/* latin */
/* cyrillic-ext */
/* cyrillic */
/* greek-ext */
/* greek */
/* vietnamese */
/* latin-ext */
/* latin */
/* cyrillic-ext */
/* cyrillic */
/* greek-ext */
/* greek */
/* vietnamese */
/* latin-ext */
/* latin */
/* latin-ext */
/* latin */
/* latin-ext */
/* latin */
/* cyrillic */
/* vietnamese */
/* latin-ext */
/* latin */
/* cyrillic */
/* vietnamese */
/* latin-ext */
/* latin */
/* cyrillic */
/* vietnamese */
/* latin-ext */
/* latin */
/* cyrillic */
/* vietnamese */
/* latin-ext */
/* latin */
/* latin-ext */
/* latin */
/* latin-ext */
/* latin */
/* latin-ext */
/* latin */
/* latin-ext */
/* latin */
/* ===========================================================
   Vinovip — Home refresh
   Themed design system. Switch direction via [data-theme].
   =========================================================== */

:root {
  /* type */
  --font-display: 'Marcellus', Georgia, serif;
  --font-ui: 'Schibsted Grotesk', system-ui, sans-serif;

  /* shared accent (overridable by tweak) */
  --accent: #7A2230;
  --accent-ink: #fff;

  /* rhythm */
  --maxw: 1280px;
  --gutter: clamp(20px, 5vw, 72px);
  --radius: 4px;
}

/* ---------- Editoriale (default, warm ivory light) ---------- */
:root,
[data-theme='editoriale'] {
  --bg: #F6F2EA;
  --bg-2: #EFE9DD;
  --surface: #FFFFFF;
  --ink: #1A1613;
  --ink-soft: #4A433B;
  --muted: #877D6F;
  --line: rgba(26, 22, 19, 0.12);
  --line-soft: rgba(26, 22, 19, 0.07);
  --hero-overlay: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(20,15,10,0.55) 100%);
  --shadow: 0 1px 2px rgba(20,15,10,0.04), 0 18px 50px -28px rgba(20,15,10,0.4);
  --product-bg: #ECE3D2;
}

/* ---------- Noir (dark, gold) ---------- */
[data-theme='noir'] {
  --bg: #110F0D;
  --bg-2: #19161330;
  --surface: #1C1815;
  --ink: #F1EBE0;
  --ink-soft: #C9C1B3;
  --muted: #8F867A;
  --line: rgba(241, 235, 224, 0.14);
  --line-soft: rgba(241, 235, 224, 0.08);
  --hero-overlay: linear-gradient(180deg, rgba(0,0,0,0.1) 20%, rgba(8,6,5,0.7) 100%);
  --shadow: 0 1px 2px rgba(0,0,0,0.4), 0 24px 60px -30px rgba(0,0,0,0.8);
  --accent: #C6A24E;
  --accent-ink: #110F0D;
  --product-bg: #D8D0BF;
}

/* ---------- Caldo (warm terracotta parchment) ---------- */
[data-theme='caldo'] {
  --bg: #F1E5D7;
  --bg-2: #E7D7C4;
  --surface: #FBF6EF;
  --ink: #2A1A12;
  --ink-soft: #5A4334;
  --muted: #957D69;
  --line: rgba(42, 26, 18, 0.14);
  --line-soft: rgba(42, 26, 18, 0.08);
  --hero-overlay: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(40,20,10,0.55) 100%);
  --shadow: 0 1px 2px rgba(60,30,15,0.05), 0 18px 50px -28px rgba(60,30,15,0.45);
  --accent: #B5532E;
  --accent-ink: #fff;
  --product-bg: #EADBC4;
}

/* ----------------------------------------------------------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.5s ease, color 0.5s ease;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.full { width: 100%; }

/* ---- typography helpers ---- */
.eyebrow {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
[data-theme='noir'] .eyebrow { color: var(--accent); }

.display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.serif-i { font-family: var(--font-display); font-style: italic; font-weight: 500; }

/* ===========================================================
   Header
   =========================================================== */
.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line-soft);
  transition: background-color 0.5s ease, border-color 0.5s ease;
}
.head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 4px;
}
.brand .logo { height: 38px; width: auto; display: block; }
.brand .logo-cream { display: none; }
[data-theme='noir'] .brand .logo-bordeaux { display: none; }
[data-theme='noir'] .brand .logo-cream { display: block; }
.brand .sub {
  font-size: 0.56rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  padding-left: 2px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav a {
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transition: right 0.28s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { right: 0; }

.head-tools { display: flex; align-items: center; gap: 18px; }
.lang-btn {
  background: none;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 7px 13px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.lang-btn:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.icon-btn {
  background: none; border: none; cursor: pointer; color: var(--ink);
  display: grid; place-items: center; padding: 6px;
  transition: opacity 0.2s;
}
.icon-btn:hover { opacity: 0.6; }
.icon-btn svg { width: 20px; height: 20px; }

.burger { display: none; }

/* ===========================================================
   Hero
   =========================================================== */
.hero {
  position: relative;
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(40px, 6vw, 72px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: end;
}
.hero-copy h1 {
  margin: 0;
  font-size: clamp(3rem, 7.2vw, 6.4rem);
}
.hero-copy h1 .ln { display: block; }
.hero-copy h1 em { color: var(--accent); }
.hero-lead {
  margin: 28px 0 0;
  max-width: 38ch;
  font-size: 1.12rem;
  color: var(--ink-soft);
}
.hero-cta {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-media {
  position: relative;
}
.hero-media image-slot,
.hero-media > img {
  width: 100%;
  height: clamp(360px, 52vw, 580px);
  box-shadow: var(--shadow);
}
.hero-tag {
  position: absolute;
  left: 18px; bottom: 18px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  padding: 10px 16px;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-tag b { font-weight: 600; }
.hero-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 14px 26px;
  border-radius: 100px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn svg { width: 16px; height: 16px; }

/* ===========================================================
   Heritage strip
   =========================================================== */
.heritage {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.heritage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.heritage-grid .cell {
  padding: 38px var(--gutter);
  border-right: 1px solid var(--line-soft);
}
.heritage-grid .cell:last-child { border-right: none; }
.heritage .num {
  font-family: var(--font-display);
  font-size: 2.7rem;
  font-weight: 500;
  line-height: 1;
  color: var(--accent);
}
.heritage .lbl {
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ===========================================================
   Bordeaux editorial band — "Il ponte dei sapori"
   =========================================================== */
.ponte {
  background: #6E1F2B;
  color: #F4EBDD;
  position: relative;
  overflow: hidden;
}
.ponte::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 120% at 15% -10%, rgba(255,255,255,0.07), transparent 55%),
    radial-gradient(70% 110% at 100% 110%, rgba(0,0,0,0.35), transparent 60%);
  pointer-events: none;
}
.ponte-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  position: relative;
  z-index: 1;
}
.ponte .eyebrow { color: #E7B6A0; }
.ponte h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.04;
  margin: 14px 0 0;
}
.ponte p {
  margin: 22px 0 0;
  color: #E7D8CB;
  font-size: 1.04rem;
  max-width: 52ch;
}
.ponte .ponte-media image-slot {
  width: 100%;
  height: clamp(360px, 42vw, 520px);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,0.6);
}
.ponte .btn-ghost { color: #F4EBDD; border-color: rgba(244,235,221,0.4); }
.ponte .btn-ghost:hover { border-color: #F4EBDD; }

/* ===========================================================
   Prodotti — 6 categorie (stile editoriale come allegati)
   =========================================================== */
.prodotti-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 72px) clamp(40px, 6vw, 96px);
}
.prodotto {
  display: flex;
  flex-direction: column;
}
.prodotto .p-media {
  height: clamp(280px, 30vw, 380px);
  background:
    radial-gradient(110% 75% at 50% 4%, color-mix(in srgb, #fff 22%, transparent), transparent 60%),
    var(--product-bg);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 26px;
}
.prodotto .p-media image-slot {
  width: 100%;
  height: 100%;
}
.prodotto .p-media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  padding: 26px;
}
/* cover photos that fill their frame */
.photo-fill { width: 100%; height: 100%; object-fit: cover; display: block; }
.prodotto h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 1.04;
  color: var(--accent);
  margin: 0 0 16px;
}
.prodotto p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.72;
  max-width: 46ch;
}
[data-theme='noir'] .prodotto h3 { color: var(--accent); }

/* ===========================================================
   Boutique Roma — singola
   =========================================================== */
.boutique-solo {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.boutique-solo .bs-media { position: relative; min-height: 440px; }
.boutique-solo .bs-media image-slot { width: 100%; height: 100%; min-height: 440px; }
.boutique-solo .bs-info {
  background: var(--surface);
  padding: clamp(32px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.boutique-solo .bs-info .city {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  margin: 10px 0 0;
  line-height: 1;
}
.boutique-solo .bs-info .addr { color: var(--ink-soft); margin: 18px 0 0; font-size: 1.02rem; }
.boutique-solo .bs-row {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.92rem;
}
.boutique-solo .bs-row svg { width: 17px; height: 17px; flex-shrink: 0; color: var(--accent); }
.boutique-solo .bs-cta { margin-top: 30px; }

/* shops list (multiple Rome addresses) */
.shops-list { display: flex; flex-direction: column; margin: 22px 0 0; }
.shop-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
}
.shop-item:last-child { border-bottom: none; }
.shop-item svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.shop-item .s-addr { font-weight: 500; color: var(--ink); font-size: 1.02rem; }
.shop-item .s-city { color: var(--muted); font-size: 0.86rem; margin-top: 1px; }
.shops-hours {
  display: flex; align-items: center; gap: 12px;
  margin-top: 22px; color: var(--muted); font-size: 0.92rem;
}
.shops-hours svg { width: 17px; height: 17px; color: var(--accent); flex-shrink: 0; }

/* ===========================================================
   Degustazioni — intro + form
   =========================================================== */
.deg-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(32px, 4vw, 56px);
}
.deg-intro h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin: 14px 0 0; }
.deg-intro p { color: var(--ink-soft); margin: 18px 0 0; font-size: 1.02rem; line-height: 1.7; }
.deg-where {
  display: flex; align-items: center; gap: 12px;
  margin-top: 24px; padding: 14px 18px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); font-weight: 500;
}
.deg-where svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }

.deg-form { display: flex; flex-direction: column; gap: 18px; }
.deg-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.deg-field { display: flex; flex-direction: column; gap: 8px; }
.deg-field label {
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 600; color: var(--ink-soft);
}
.deg-field label .req { color: var(--accent); }
.deg-form input, .deg-form textarea {
  font-family: var(--font-ui); font-size: 0.95rem;
  padding: 13px 16px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--surface); color: var(--ink); width: 100%;
}
.deg-form textarea { resize: vertical; min-height: 84px; }
.deg-form input::placeholder, .deg-form textarea::placeholder { color: var(--muted); }
.deg-form input:focus, .deg-form textarea:focus { outline: none; border-color: var(--accent); }
.deg-submit { justify-content: center; margin-top: 4px; }
.deg-note { font-size: 0.74rem; color: var(--muted); margin: 2px 0 0; }

@media (max-width: 860px) {
  .prodotti-grid { grid-template-columns: 1fr; }
  .boutique-solo { grid-template-columns: 1fr; }
  .boutique-solo .bs-media, .boutique-solo .bs-media image-slot { min-height: 320px; }
  .deg-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .deg-row-2 { grid-template-columns: 1fr; }
}

/* ===========================================================
   Section scaffolding
   =========================================================== */
.section { padding-block: clamp(64px, 9vw, 128px); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-head h2 {
  margin: 14px 0 0;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
}
.section-head .more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--accent);
}
.section-head .more svg { width: 15px; height: 15px; transition: transform 0.2s; }
.section-head .more:hover svg { transform: translateX(4px); }

/* ---- categories ---- */
.cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 24px);
}
.cat {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  display: block;
}
.cat image-slot {
  width: 100%;
  height: clamp(320px, 34vw, 460px);
}
.cat .cat-body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  background: var(--hero-overlay);
  color: #fff;
  pointer-events: none;
}
.cat .cat-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.9rem;
  letter-spacing: 0.01em;
}
.cat .cat-body p { margin: 4px 0 0; font-size: 0.86rem; opacity: 0.85; }
.cat .cat-arrow {
  position: absolute;
  top: 22px; right: 22px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.35);
  display: grid; place-items: center;
  color: #fff;
  transition: background 0.25s, transform 0.25s;
}
.cat:hover .cat-arrow { background: var(--accent); transform: rotate(-45deg); }
.cat:hover image-slot { transform: scale(1.03); }
.cat image-slot { transition: transform 0.6s cubic-bezier(.2,.7,.2,1); }

/* ---- selection / bottles ---- */
.sel-wrap { background: var(--bg-2); }
.bottles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.6vw, 22px);
}
.bottle {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
}
.bottle:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line); }
.bottle .ph {
  height: 230px;
  border-radius: var(--radius);
  background:
    radial-gradient(120% 60% at 50% 8%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 60%),
    var(--bg-2);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}
.bottle .ph image-slot { width: 100%; height: 100%; }
.bottle .tier {
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
.bottle h4 {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  line-height: 1.1;
}
.bottle .region { font-size: 0.82rem; color: var(--muted); margin-top: 2px; }
.bottle .foot {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.bottle .price { font-weight: 600; font-size: 1.05rem; }
.bottle .add {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent; color: var(--ink); cursor: pointer;
  display: grid; place-items: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.bottle .add:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.bottle .add svg { width: 16px; height: 16px; }

/* ---- maison marquee ---- */
.maison { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: clamp(40px,6vw,72px); overflow: hidden; }
.maison .lead {
  text-align: center;
  margin-bottom: 36px;
}
.maison .lead .eyebrow { display: inline-block; }
.maison .lead p {
  margin: 12px auto 0;
  max-width: 52ch;
  color: var(--ink-soft);
}
.marquee {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 56px;
  padding-right: 56px;
  animation: marquee 38s linear infinite;
}
.maison:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 500;
  white-space: nowrap;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}
.marquee-track span::after {
  content: '·';
  margin-left: 56px;
  color: var(--accent);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- boutiques ---- */
.boutiques {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2.4vw, 32px);
}
.boutique {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.boutique image-slot { width: 100%; height: clamp(340px, 40vw, 520px); transition: transform 0.7s cubic-bezier(.2,.7,.2,1); }
.boutique:hover image-slot { transform: scale(1.04); }
.boutique .b-body {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 34px;
  background: var(--hero-overlay);
  color: #fff;
}
.boutique .b-body .city {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 500;
  margin: 0;
}
.boutique .b-body .addr { font-size: 0.92rem; opacity: 0.88; margin-top: 6px; }
.boutique .b-body .hrs { font-size: 0.8rem; opacity: 0.7; margin-top: 14px; letter-spacing: 0.02em; }

/* ---- newsletter (club) ---- */
.news-wrap { background: var(--bg-2); border-top: 1px solid var(--line); }
.nl-head { max-width: 30ch; margin-bottom: clamp(32px, 4vw, 52px); }
.nl-head h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin: 14px 0 0; }
.nl-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.nl-text p { color: var(--ink-soft); margin: 0 0 20px; font-size: 1.02rem; line-height: 1.78; }
.nl-text p b { color: var(--accent); font-weight: 600; }
[data-theme='noir'] .nl-text p b { color: var(--accent); }
.nl-quote {
  margin: 28px 0 0;
  padding: 22px 26px;
  border-left: 3px solid var(--accent);
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.28rem;
  line-height: 1.4;
  color: var(--ink);
}

.nl-card {
  position: sticky;
  top: 100px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 3vw, 40px);
  box-shadow: var(--shadow);
}
.nl-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.9rem;
  margin: 0;
  color: var(--accent);
}
[data-theme='noir'] .nl-card h3 { color: var(--accent); }
.nl-card-sub { color: var(--muted); margin: 8px 0 26px; font-size: 0.92rem; }
.nl-form { display: flex; flex-direction: column; gap: 20px; }
.nl-field-group { display: flex; flex-direction: column; gap: 9px; }
.nl-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
}
.nl-label .req { color: var(--accent); }
.nl-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nl-form input {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
  width: 100%;
}
.nl-form input::placeholder { color: var(--muted); }
.nl-form input:focus { outline: none; border-color: var(--accent); }
.nl-phone { display: flex; align-items: stretch; gap: 8px; }
.nl-prefix {
  display: flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.nl-submit { justify-content: center; margin-top: 4px; width: 100%; }
.nl-note { font-size: 0.74rem; color: var(--muted); margin: 4px 0 0; text-align: center; }

@media (max-width: 860px) {
  .nl-grid { grid-template-columns: 1fr; }
  .nl-card { position: static; }
}
@media (max-width: 480px) {
  .nl-row-2 { grid-template-columns: 1fr; }
}

/* ===========================================================
   Footer
   =========================================================== */
.site-foot {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding-block: clamp(56px, 7vw, 88px) 32px;
}
.foot-grid {
  display: block;
  max-width: 100%;
}
.foot-brand .mark {
  font-family: var(--font-display); font-weight: 600; font-size: 1.8rem; letter-spacing: 0.04em;
}
.foot-brand .mark b { color: var(--accent); }
.foot-brand p { color: var(--muted); font-size: 0.9rem; max-width: none; margin: 16px 0 0; }
.foot-tm {
  margin-top: 22px;
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: none;
}
.foot-tm b { color: var(--ink-soft); font-weight: 600; }
.foot-col h5 {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 18px; font-weight: 600;
}
.foot-col a { display: block; font-size: 0.9rem; color: var(--ink-soft); padding: 7px 0; transition: color 0.2s; }
.foot-col a:hover { color: var(--accent); }
.foot-bottom {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 0.78rem; color: var(--muted);
}
.foot-bottom .socials { display: flex; gap: 16px; }
.foot-bottom .socials a:hover { color: var(--accent); }

/* ===========================================================
   Reveal animation
   =========================================================== */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.7,.2,1); }
  .reveal.in { opacity: 1; transform: none; }
}

/* ===========================================================
   Mobile nav drawer
   =========================================================== */
.drawer {
  position: fixed; inset: 0; z-index: 80;
  background: var(--bg);
  display: flex; flex-direction: column;
  padding: 28px var(--gutter);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.4,0,.1,1);
  visibility: hidden;
}
.drawer.open { transform: none; visibility: visible; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; }
.drawer nav { display: flex; flex-direction: column; gap: 4px; margin-top: 40px; }
.drawer nav a {
  font-family: var(--font-display); font-size: 2rem; font-weight: 500;
  padding: 12px 0; border-bottom: 1px solid var(--line-soft);
}

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .hero-media { order: -1; }
  .mag-grid { grid-template-columns: 1fr; }
  .ponte-grid { grid-template-columns: 1fr; }
  .ponte-media { order: -1; }
  .heritage-grid { grid-template-columns: repeat(2, 1fr); }
  .heritage-grid .cell:nth-child(2) { border-right: none; }
  .heritage-grid .cell:nth-child(1), .heritage-grid .cell:nth-child(2) { border-bottom: 1px solid var(--line-soft); }
  .bottles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .head-tools .search-txt { display: none; }
  .burger { display: grid; }
  .cats { grid-template-columns: 1fr; }
  .boutiques { grid-template-columns: 1fr; }
  .news { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .section-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .bottles { grid-template-columns: 1fr; }
  .heritage-grid { grid-template-columns: 1fr; }
  .heritage-grid .cell { border-right: none; border-bottom: 1px solid var(--line-soft); }
  .foot-grid { grid-template-columns: 1fr; }
}


/* ===========================================================
   Vinovip static v2 — page-specific layout + working forms
   =========================================================== */
.nl-head { max-width: none; width: 100%; }
.nl-head h2 { max-width: none; }
.page-only { min-height: 58vh; }
.coming-soon {
  margin-top: clamp(52px, 7vw, 92px);
  padding: clamp(34px, 5vw, 64px);
  border: 1px solid var(--line);
  background: var(--bg-2);
  text-align: center;
}
.coming-soon .eyebrow { display: block; margin-bottom: 12px; }
.coming-soon h3 {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500; line-height: 1.06; margin: 0;
}
.coming-soon p { max-width: 62ch; margin: 18px auto 0; color: var(--ink-soft); }
.deg-form select {
  font-family: var(--font-ui); font-size: .95rem;
  padding: 13px 16px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--surface); color: var(--ink); width: 100%;
}
.deg-form select:focus { outline: none; border-color: var(--accent); }
.form-consent { display: flex; align-items: flex-start; gap: 10px; font-size: .78rem; color: var(--muted); line-height: 1.45; }
.form-consent input { width: 16px !important; height: 16px; margin-top: 2px; flex: 0 0 auto; }
.form-status { display: none; margin-top: 4px; padding: 12px 14px; border: 1px solid var(--line); font-size: .84rem; }
.form-status.show { display: block; }
.form-status.ok { background: color-mix(in srgb, #2f7d4a 9%, var(--surface)); border-color: color-mix(in srgb, #2f7d4a 35%, var(--line)); }
.form-status.warn { background: color-mix(in srgb, #b87b20 9%, var(--surface)); border-color: color-mix(in srgb, #b87b20 35%, var(--line)); }
.form-status.err { background: color-mix(in srgb, #a63333 8%, var(--surface)); border-color: color-mix(in srgb, #a63333 32%, var(--line)); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.tasting-shops { margin-top: clamp(52px, 7vw, 92px); }
.tasting-shops .section-head { margin-bottom: clamp(28px, 4vw, 44px); }
.news-page .news-wrap { border-top: none; }
.news-page .section { padding-top: clamp(54px, 8vw, 104px); }
.head-tools { gap: 12px; }
@media (max-width: 760px) {
  .head-tools { gap: 8px; }
  .lang-btn { padding: 6px 11px; }
  .nl-head h2 { font-size: clamp(2.2rem, 11vw, 3.5rem); }
}


/* ===========================================================
   Vinovip static v3 — refinements
   =========================================================== */

/* Degustazioni: select identico per altezza agli altri campi. */
.deg-form input:not([type="checkbox"]),
.deg-form select {
  min-height: 50px;
  height: 50px;
}
.deg-form select {
  line-height: 1.2;
  appearance: auto;
}

/* Pulsante discreto di rientro alla home, più arioso e rifinito. */
.page-actions {
  margin-top: clamp(64px, 8vw, 108px);
  margin-bottom: clamp(24px, 4vw, 52px);
  padding-inline: clamp(16px, 3vw, 36px);
}
.home-return {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 11px 20px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .02em;
  box-shadow: 0 6px 22px color-mix(in srgb, var(--ink) 5%, transparent);
  transition: transform .2s ease, border-color .2s ease, color .2s ease, background .2s ease;
}
.home-return:hover {
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  background: color-mix(in srgb, var(--accent) 4%, var(--surface));
  transform: translateY(-2px);
}

/* Newsletter: struttura editoriale a colonna singola e piena larghezza. */
.news-page .nl-head {
  width: 100%;
  max-width: none;
  margin-bottom: clamp(34px, 5vw, 58px);
}
.news-page .nl-head h2 {
  width: 100%;
  max-width: none;
  font-size: clamp(2.35rem, 5.2vw, 4.6rem);
  line-height: .98;
  text-wrap: pretty;
}
.news-page .nl-grid {
  grid-template-columns: 1fr;
  gap: clamp(42px, 6vw, 76px);
}
.news-page .nl-text {
  width: 100%;
}
.news-page .nl-text > p,
.news-page .nl-quote {
  max-width: 88ch;
}
.news-page .nl-feature-image {
  width: 100%;
  margin: clamp(34px, 5vw, 60px) 0 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.news-page .nl-feature-image img {
  width: 100%;
  height: clamp(320px, 47vw, 620px);
  object-fit: cover;
  object-position: center;
}
.news-page .nl-card {
  position: static;
  width: min(100%, 900px);
  margin: 0 auto;
  padding: clamp(30px, 4vw, 50px);
}
.news-page .nl-card h3,
.news-page .nl-card-sub {
  text-align: center;
}
.news-page .nl-card-sub {
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}

@media (max-width: 760px) {
  .news-page .nl-head h2 {
    font-size: clamp(2.2rem, 10vw, 3.4rem);
  }
  .news-page .nl-feature-image img {
    height: clamp(260px, 74vw, 420px);
  }
  .page-actions {
    margin-top: 54px;
    margin-bottom: 34px;
  }
}


/* ===========================================================
   Vinovip static v4 — visual polish for forms + square images
   =========================================================== */

/* Shared square feature image for newsletter and tastings */
.feature-square-media {
  width: min(100%, 520px);
  margin: clamp(28px, 4vw, 42px) 0 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 18px 46px color-mix(in srgb, var(--ink) 12%, transparent);
}
.feature-square-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  display: block;
}
@media (prefers-reduced-motion: no-preference) {
  .feature-square-media.reveal {
    opacity: 0;
    transform: translateY(30px) scale(.975);
    transition: opacity .8s ease, transform .8s cubic-bezier(.18,.75,.2,1);
  }
  .feature-square-media.reveal.in {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Degustazioni layout */
.deg-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.deg-intro .feature-square-media {
  margin-top: clamp(26px, 4vw, 36px);
}
.deg-intro .feature-square-media img {
  object-position: 50% 46%;
}

/* Form polish */
.deg-form,
.nl-form {
  --field-h: 54px;
}
.deg-form input:not([type="checkbox"]),
.deg-form select,
.nl-form input:not([type="checkbox"]) {
  min-height: var(--field-h);
  height: var(--field-h);
}
.deg-form input,
.deg-form textarea,
.deg-form select,
.nl-form input {
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--line) 92%, transparent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.24);
  transition: border-color .22s ease, box-shadow .22s ease, background-color .22s ease, transform .22s ease;
}
.deg-form textarea {
  min-height: 132px;
  padding-top: 14px;
}
.deg-form input:focus,
.deg-form textarea:focus,
.deg-form select:focus,
.nl-form input:focus {
  border-color: color-mix(in srgb, var(--accent) 72%, white 0%);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent), inset 0 1px 0 rgba(255,255,255,.28);
}

/* Better select */
.deg-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 48px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%237A2230' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px 16px;
}

/* Consent block improved and aligned left */
.form-consent {
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 86%, var(--bg-2));
  margin-top: 2px;
  text-align: left;
}
.form-consent input {
  margin-top: 2px;
  width: 18px !important;
  height: 18px;
  accent-color: var(--accent);
}
.form-consent span {
  display: block;
  flex: 1;
}

/* Newsletter single-column card and image sizing consistency */
.news-page .nl-text > p,
.news-page .nl-quote {
  max-width: 78ch;
}
.news-page .nl-feature-image {
  width: min(100%, 520px);
  margin-top: clamp(28px, 4vw, 42px);
}
.news-page .nl-card {
  width: min(100%, 860px);
  border-radius: 24px;
  padding: clamp(30px, 4vw, 48px);
}

/* Home return button spacing */
.page-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: clamp(70px, 8vw, 112px);
  margin-bottom: clamp(30px, 4vw, 56px);
  padding-inline: clamp(8px, 1.2vw, 18px);
}
.home-return {
  padding: 13px 22px 14px;
  min-height: 50px;
  border-radius: 999px;
  gap: 12px;
}

@media (max-width: 760px) {
  .feature-square-media,
  .news-page .nl-feature-image {
    width: 100%;
    max-width: 100%;
  }
  .news-page .nl-card {
    width: 100%;
  }
  .page-actions {
    justify-content: center;
    padding-inline: 0;
  }
}


/* ===========================================================
   Vinovip static v5 — balance/layout polish
   =========================================================== */

/* Degustazioni page: more balanced layout and bigger image */
.deg-wrap {
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1.22fr);
  gap: clamp(34px, 5vw, 84px);
  border-radius: 18px;
}
.deg-intro {
  justify-content: flex-start;
}
.deg-intro h2 {
  font-size: clamp(2.25rem, 4.2vw, 4rem);
  line-height: 0.96;
  max-width: 9ch;
}
.deg-intro p {
  max-width: 26ch;
  font-size: 1.08rem;
}
.deg-intro .feature-square-media {
  width: min(100%, 600px);
  margin-top: clamp(30px, 4.5vw, 40px);
}
.deg-intro .feature-square-media img {
  aspect-ratio: 1 / 1;
  object-position: center;
}

/* Shop select visually aligned to inputs */
.deg-form .deg-field:first-of-type {
  margin-bottom: 2px;
}
.deg-form select.select-shop,
.deg-form select[name="negozio"],
.deg-form select[name="shop"] {
  min-height: 56px;
  height: 56px;
  padding: 0 48px 0 18px;
  border-radius: 14px;
  background-color: var(--surface);
  font-size: 1rem;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28);
}
.deg-form input:not([type="checkbox"]),
.nl-form input:not([type="checkbox"]) {
  min-height: 56px;
  height: 56px;
}

/* Consent row cleaner, smaller text, checkbox aligned */
.form-consent.compact-consent {
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  font-size: 0.72rem;
  line-height: 1.28;
}
.form-consent.compact-consent input {
  width: 16px !important;
  height: 16px;
  margin: 0;
  transform: translateY(-1px);
}
.form-consent.compact-consent span {
  display: inline;
}

/* Newsletter title balanced to one or two lines */
.news-page .nl-head {
  max-width: min(100%, 1040px);
}
.news-page .nl-head h2,
.nl-title-balance {
  font-size: clamp(2rem, 3.4vw, 3.45rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-wrap: balance;
  max-width: 20ch;
}

/* Newsletter card and consent block */
.news-page .nl-card {
  width: min(100%, 920px);
}
.nl-form .form-consent.compact-consent {
  margin-top: -2px;
}

/* Tasting page return button detached and stylized */
.page-actions {
  margin-top: clamp(84px, 9vw, 138px);
  margin-bottom: clamp(30px, 4vw, 60px);
  padding-inline: clamp(18px, 2vw, 28px);
}
.home-return {
  padding: 14px 24px 15px;
  min-height: 54px;
  border-radius: 999px;
  border-color: color-mix(in srgb, var(--accent) 20%, var(--line));
  background: color-mix(in srgb, var(--surface) 88%, var(--bg));
  box-shadow: 0 12px 30px color-mix(in srgb, var(--ink) 8%, transparent);
  font-size: 0.98rem;
  font-weight: 500;
}
.home-return:hover {
  box-shadow: 0 14px 34px color-mix(in srgb, var(--ink) 11%, transparent);
}

@media (max-width: 1024px) {
  .news-page .nl-head h2,
  .nl-title-balance {
    max-width: 24ch;
    font-size: clamp(2rem, 4vw, 3rem);
  }
}

@media (max-width: 860px) {
  .deg-wrap {
    grid-template-columns: 1fr;
  }
  .deg-intro h2 {
    max-width: none;
  }
  .deg-intro p {
    max-width: 100%;
  }
  .deg-intro .feature-square-media {
    width: min(100%, 620px);
  }
}

@media (max-width: 760px) {
  .news-page .nl-head h2,
  .nl-title-balance {
    max-width: none;
    font-size: clamp(1.95rem, 7.4vw, 2.8rem);
  }
  .form-consent.compact-consent {
    align-items: flex-start;
    font-size: 0.74rem;
    line-height: 1.34;
  }
  .home-return {
    font-size: 0.92rem;
  }
}


/* ===========================================================
   Vinovip static v6 — editorial/form redesign refinements
   =========================================================== */

/* Hidden anti-spam field: keep backend compatibility without visual field */
.hp-field,
input[name="website"][type="hidden"] {
  display: none !important;
}

/* Shared page rhythm */
.news-page .section,
.tasting-page .section {
  padding-top: clamp(56px, 8vw, 104px);
}

/* Newsletter: title must breathe and stay on 1–2 lines on desktop */
.news-page .nl-head {
  width: 100%;
  max-width: none;
  margin-bottom: clamp(34px, 5vw, 54px);
}
.news-page .nl-head h2,
.news-page .nl-head .nl-title-balance {
  width: 100%;
  max-width: 15.5ch;
  font-size: clamp(2.5rem, 4.2vw, 4.45rem);
  line-height: 0.96;
  letter-spacing: -0.018em;
  text-wrap: balance;
}
.news-page .nl-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
  gap: clamp(38px, 4.6vw, 72px);
  align-items: start;
}
.news-page .nl-text > p,
.news-page .nl-quote {
  max-width: 68ch;
}
.news-page .nl-card {
  width: 100%;
  max-width: 560px;
  margin: 0 0 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 18px 46px color-mix(in srgb, var(--ink) 10%, transparent);
}
.news-page .nl-card h3,
.tasting-page .deg-card-head h3 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--accent);
  margin: 0;
}
.news-page .nl-card-sub,
.tasting-page .deg-card-head p {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 10px;
  margin-bottom: 0;
}
.news-page .nl-feature-image,
.tasting-page .feature-square-media {
  width: min(100%, 620px);
}
.news-page .nl-feature-image img,
.tasting-page .feature-square-media img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* Tastings: make page visually coherent with newsletter */
.tasting-page .deg-wrap {
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
  gap: clamp(38px, 4.8vw, 78px);
  align-items: start;
  border-radius: 28px;
}
.tasting-page .deg-intro {
  align-self: start;
}
.tasting-page .deg-intro h2 {
  font-size: clamp(2.5rem, 4vw, 4.3rem);
  line-height: 0.96;
  letter-spacing: -0.016em;
  max-width: 10.5ch;
  text-wrap: balance;
  margin-top: 12px;
}
.tasting-page .deg-intro p {
  max-width: 34ch;
  font-size: 1.08rem;
  line-height: 1.65;
  margin-top: 18px;
}
.tasting-page .deg-intro .feature-square-media {
  width: min(100%, 620px);
  margin-top: clamp(32px, 4vw, 40px);
}
.tasting-page .deg-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 18px 46px color-mix(in srgb, var(--ink) 10%, transparent);
  padding: clamp(28px, 3.7vw, 42px);
  gap: 18px;
}
.tasting-page .deg-card-head {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 4px;
}

/* Inputs and select: same visual language */
.deg-form,
.nl-form {
  --field-h: 56px;
}
.deg-form input:not([type="checkbox"]),
.deg-form select,
.nl-form input:not([type="checkbox"]) {
  min-height: var(--field-h) !important;
  height: var(--field-h) !important;
  border-radius: 14px;
  font-size: 1rem;
}
.deg-form select,
.deg-form select.select-shop,
.deg-form select[name="negozio"] {
  font-family: var(--font-ui);
  line-height: 1.2;
  padding: 0 48px 0 16px !important;
  background-color: var(--surface);
  border: 1px solid color-mix(in srgb, var(--line) 92%, transparent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.24);
}
.deg-form textarea {
  min-height: 126px;
  border-radius: 16px;
}
.nl-form .nl-phone {
  gap: 10px;
}
.nl-form .nl-prefix {
  min-height: var(--field-h);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--line) 92%, transparent);
  background: var(--bg);
}

/* Consent rows: checkbox and text always on same line */
.form-consent.inline-consent,
.form-consent.compact-consent {
  display: grid !important;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start !important;
  column-gap: 12px;
  row-gap: 0;
  padding: 2px 0 0 !important;
  margin-top: 2px;
  border: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  font-size: 0.76rem !important;
  line-height: 1.35 !important;
  color: var(--muted);
}
.form-consent.inline-consent input,
.form-consent.compact-consent input {
  width: 16px !important;
  height: 16px !important;
  margin: 2px 0 0 0 !important;
  transform: none !important;
  align-self: start;
}
.form-consent.inline-consent span,
.form-consent.compact-consent span {
  display: block !important;
  margin: 0;
}

/* Stronger thank-you status */
.form-status {
  border-radius: 16px;
  padding: 13px 16px;
  font-size: 0.84rem;
  line-height: 1.45;
}
.form-status.ok {
  color: #1f5f36;
}
.form-status.warn {
  color: #82520e;
}
.form-status.err {
  color: #8a1d25;
}

/* Return button: more detached, more refined */
.page-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: clamp(94px, 10vw, 154px) !important;
  margin-bottom: clamp(30px, 4vw, 58px);
  padding-inline: clamp(22px, 2.8vw, 44px) !important;
}
.home-return {
  min-height: 56px;
  padding: 15px 28px 16px;
  border-radius: 999px;
  font-size: 1rem !important;
  font-weight: 500;
  letter-spacing: -.01em;
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--line));
  box-shadow: 0 12px 34px color-mix(in srgb, var(--ink) 8%, transparent);
}
.home-return:hover {
  transform: translateY(-2px);
  color: var(--accent);
}

@media (max-width: 1100px) {
  .news-page .nl-grid,
  .tasting-page .deg-wrap {
    grid-template-columns: 1fr;
  }
  .news-page .nl-head h2,
  .news-page .nl-head .nl-title-balance {
    max-width: 18ch;
  }
  .news-page .nl-card,
  .tasting-page .deg-form {
    max-width: none;
    margin-left: 0;
  }
  .tasting-page .deg-intro p {
    max-width: 52ch;
  }
}

@media (max-width: 760px) {
  .news-page .nl-head h2,
  .news-page .nl-head .nl-title-balance,
  .tasting-page .deg-intro h2 {
    max-width: none;
    font-size: clamp(2.2rem, 8vw, 3.3rem);
  }
  .news-page .nl-feature-image,
  .tasting-page .feature-square-media {
    width: 100%;
    max-width: 100%;
  }
  .page-actions {
    justify-content: center;
    padding-inline: 0 !important;
  }
  .home-return {
    font-size: 0.94rem !important;
  }
}


/* ===========================================================
   Vinovip static v7 — premium editorial refinement
   =========================================================== */

:root {
  --premium-radius: 28px;
  --premium-shadow: 0 26px 70px -34px rgba(45, 28, 20, .34);
}

/* Premium page rhythm */
.news-page .section,
.tasting-page .section {
  padding-top: clamp(66px, 8vw, 116px);
  padding-bottom: clamp(72px, 9vw, 128px);
}

/* FULL-WIDTH editorial headings: no narrow left column */
.news-page .nl-head,
.tasting-page .tasting-head {
  display: block;
  width: 100%;
  max-width: none !important;
  margin: 0 0 clamp(42px, 5vw, 68px);
}
.news-page .nl-head h2,
.news-page .nl-head .nl-title-balance,
.tasting-page .tasting-head h2 {
  display: block;
  width: 100%;
  max-width: none !important;
  margin: 14px 0 0;
  font-size: clamp(3.05rem, 5.2vw, 5.9rem);
  line-height: .94;
  letter-spacing: -.025em;
  text-wrap: initial;
}
.news-page .nl-head h2 .headline-line,
.tasting-page .tasting-head h2 .headline-line {
  display: block;
  width: 100%;
}
.news-page .nl-head h2 .headline-line:first-child {
  white-space: nowrap;
}
.news-page .nl-head h2 .headline-line:last-child {
  white-space: nowrap;
}

/* Newsletter premium layout */
.news-page .nl-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr);
  gap: clamp(50px, 5.4vw, 88px);
  align-items: start;
}
.news-page .nl-text {
  padding-top: 4px;
}
.news-page .nl-text > p {
  max-width: 66ch;
  font-size: 1.04rem;
  line-height: 1.8;
}
.news-page .nl-quote {
  max-width: 66ch;
  margin-top: 32px;
  padding: 24px 30px;
  border-left-width: 2px;
  border-radius: 0 16px 16px 0;
  box-shadow: 0 12px 34px -28px rgba(45, 28, 20, .34);
}
.news-page .nl-feature-image {
  width: min(100%, 660px);
  margin-top: 34px;
  border-radius: var(--premium-radius);
  box-shadow: var(--premium-shadow);
}
.news-page .nl-feature-image img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.news-page .nl-card {
  width: 100%;
  max-width: 590px;
  margin: 0 0 0 auto;
  padding: clamp(34px, 4vw, 52px);
  border-radius: var(--premium-radius);
  box-shadow: var(--premium-shadow);
}
.news-page .nl-card h3 {
  font-size: clamp(2.15rem, 3vw, 3.15rem);
  letter-spacing: -.025em;
}
.news-page .nl-card-sub {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: 46ch;
}

/* Tastings now mirrors newsletter architecture */
.tasting-page .deg-wrap.premium-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr);
  gap: clamp(50px, 5.4vw, 88px);
  align-items: start;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.tasting-page .premium-copy {
  padding-top: 4px;
}
.tasting-page .premium-copy > p {
  max-width: 58ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.04rem;
  line-height: 1.8;
}
.tasting-page .premium-copy .feature-square-media {
  width: min(100%, 660px);
  margin-top: 34px;
  border-radius: var(--premium-radius);
  box-shadow: var(--premium-shadow);
}
.tasting-page .premium-copy .feature-square-media img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.tasting-page .premium-form-card {
  width: 100%;
  max-width: 590px;
  margin: 0 0 0 auto;
  padding: clamp(34px, 4vw, 52px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--premium-radius);
  box-shadow: var(--premium-shadow);
}
.tasting-page .deg-card-head h3 {
  font-size: clamp(2.15rem, 3vw, 3.15rem);
  letter-spacing: -.025em;
}

/* Forms: one premium language */
.deg-form,
.nl-form {
  gap: 19px;
}
.deg-field,
.nl-field-group {
  gap: 9px;
}
.deg-field label,
.nl-label {
  font-size: .69rem;
  letter-spacing: .14em;
}
.deg-form input:not([type="checkbox"]),
.deg-form select,
.nl-form input:not([type="checkbox"]) {
  height: 58px !important;
  min-height: 58px !important;
  padding-inline: 18px;
  border-radius: 15px;
  border-color: rgba(26, 22, 19, .13);
  background: #fbfaf7;
  font-size: .96rem;
}
.deg-form textarea {
  min-height: 132px;
  border-radius: 17px;
  background: #fbfaf7;
}
.deg-form select,
.deg-form select.select-shop,
.deg-form select[name="negozio"] {
  height: 58px !important;
  min-height: 58px !important;
  padding: 0 52px 0 18px !important;
  border: 1px solid rgba(26, 22, 19, .13) !important;
  border-radius: 15px !important;
  background-color: #fbfaf7 !important;
  color: var(--ink) !important;
  font-size: .96rem !important;
  line-height: normal !important;
  box-shadow: none !important;
}
.nl-phone .nl-prefix {
  min-height: 58px;
  border-radius: 15px;
  background: #fbfaf7;
}

/* Consent stays compact and aligned with checkbox */
.form-consent.inline-consent,
.form-consent.compact-consent {
  grid-template-columns: 16px minmax(0, 1fr);
  column-gap: 10px;
  align-items: center !important;
  padding: 4px 0 0 !important;
  font-size: .70rem !important;
  line-height: 1.3 !important;
}
.form-consent.inline-consent input,
.form-consent.compact-consent input {
  width: 15px !important;
  height: 15px !important;
  margin: 0 !important;
  align-self: center;
}
.form-consent.inline-consent span,
.form-consent.compact-consent span {
  margin: 0 !important;
}

/* Premium primary buttons */
.nl-submit,
.deg-submit {
  min-height: 56px;
  border-radius: 999px;
  font-size: .82rem;
  letter-spacing: .02em;
  box-shadow: 0 14px 34px -22px rgba(122, 34, 48, .55);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
.nl-submit:hover,
.deg-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px -22px rgba(122, 34, 48, .65);
  filter: brightness(.98);
}

/* Success feedback */
.form-status.show {
  display: block;
  margin-top: 2px;
  padding: 14px 16px;
  border-radius: 15px;
  font-size: .82rem;
  font-weight: 500;
}
.form-status.ok::before {
  content: "✓";
  display: inline-block;
  margin-right: 8px;
  font-weight: 700;
}

/* Premium return-home button, with enforced spacing */
.page-actions {
  width: 100%;
  margin-top: clamp(110px, 11vw, 180px) !important;
  margin-bottom: clamp(38px, 5vw, 70px) !important;
  padding-inline: clamp(22px, 3vw, 46px) !important;
}
.page-actions a.home-return {
  display: inline-flex !important;
  align-items: center;
  gap: 11px;
  min-height: 54px;
  padding: 13px 23px 14px !important;
  border: 1px solid rgba(122, 34, 48, .22) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .72) !important;
  backdrop-filter: blur(8px);
  color: var(--ink) !important;
  font-size: .86rem !important;
  font-weight: 600 !important;
  letter-spacing: .01em !important;
  box-shadow: 0 14px 36px -28px rgba(45, 28, 20, .48) !important;
}
.page-actions a.home-return svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}
.page-actions a.home-return:hover {
  color: var(--accent) !important;
  transform: translateY(-2px);
  border-color: rgba(122, 34, 48, .42) !important;
}

/* Landing motion: refined and subtle */
@media (prefers-reduced-motion: no-preference) {
  .feature-square-media.reveal {
    transform: translateY(34px) scale(.985);
    transition: opacity .9s ease, transform .9s cubic-bezier(.2,.75,.2,1);
  }
  .feature-square-media.reveal.in {
    transform: translateY(0) scale(1);
  }
}

/* Responsive */
@media (max-width: 1180px) {
  .news-page .nl-head h2,
  .news-page .nl-head .nl-title-balance,
  .tasting-page .tasting-head h2 {
    font-size: clamp(2.75rem, 5.6vw, 4.9rem);
  }
  .news-page .nl-head h2 .headline-line:first-child,
  .news-page .nl-head h2 .headline-line:last-child {
    white-space: normal;
  }
}

@media (max-width: 980px) {
  .news-page .nl-grid,
  .tasting-page .deg-wrap.premium-two-col {
    grid-template-columns: 1fr;
    gap: 54px;
  }
  .news-page .nl-card,
  .tasting-page .premium-form-card {
    max-width: none;
    margin-left: 0;
  }
  .news-page .nl-feature-image,
  .tasting-page .premium-copy .feature-square-media {
    width: min(100%, 720px);
  }
}

@media (max-width: 760px) {
  .news-page .nl-head h2,
  .news-page .nl-head .nl-title-balance,
  .tasting-page .tasting-head h2 {
    font-size: clamp(2.3rem, 10vw, 3.55rem);
    line-height: .98;
  }
  .news-page .nl-head h2 .headline-line,
  .tasting-page .tasting-head h2 .headline-line {
    white-space: normal !important;
  }
  .news-page .nl-card,
  .tasting-page .premium-form-card {
    padding: 28px 22px;
    border-radius: 22px;
  }
  .page-actions {
    justify-content: center;
    margin-top: 86px !important;
    padding-inline: 0 !important;
  }
}


/* ===========================================================
   Vinovip static v7.1 — compact return-home spacing
   =========================================================== */

/* Riduce il "vuoto" dopo il contenuto delle due pagine form. */
.news-page .section,
.tasting-page .section {
  padding-bottom: clamp(44px, 5vw, 72px);
}

/* Il pulsante resta elegante ma torna vicino al contenuto. */
.page-actions {
  margin-top: clamp(38px, 4.2vw, 62px) !important;
  margin-bottom: clamp(22px, 2.8vw, 36px) !important;
}

@media (max-width: 760px) {
  .news-page .section,
  .tasting-page .section {
    padding-bottom: 38px;
  }

  .page-actions {
    margin-top: 34px !important;
    margin-bottom: 24px !important;
  }
}


/* ===========================================================
   Vinovip static v8 — final public-site polish
   =========================================================== */

/* Active page in navigation */
.nav a.is-active,
.drawer nav a.is-active {
  color: var(--accent);
}
.nav a.is-active::after {
  right: 0;
}
.drawer nav a.is-active {
  padding-left: 10px;
}

/* Semantic internal page headings */
.section-head h1 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.018em;
  font-size: clamp(2.7rem, 5vw, 5rem);
}
.news-page .nl-head h1,
.tasting-page .tasting-head h1 {
  display: block;
  width: 100%;
  max-width: none !important;
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3.05rem, 5.2vw, 5.9rem);
  line-height: .94;
  letter-spacing: -.025em;
}
.news-page .nl-head h1 .headline-line,
.tasting-page .tasting-head h1 .headline-line {
  display: block;
  width: 100%;
}
.news-page .nl-head h1 .headline-line:first-child,
.news-page .nl-head h1 .headline-line:last-child {
  white-space: nowrap;
}

/* Product cards: restrained premium hover */
.prodotto .p-media {
  border-radius: 22px;
  transition: transform .34s cubic-bezier(.2,.7,.2,1), box-shadow .34s ease, border-color .34s ease;
}
.prodotto .p-media img {
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
}
.prodotto h3 {
  transition: color .25s ease, transform .25s ease;
}
@media (hover:hover) {
  .prodotto:hover .p-media {
    transform: translateY(-5px);
    border-color: color-mix(in srgb, var(--accent) 20%, var(--line));
    box-shadow: 0 24px 60px -42px rgba(45,28,20,.48);
  }
  .prodotto:hover .p-media img {
    transform: scale(1.025);
  }
  .prodotto:hover h3 {
    transform: translateX(3px);
  }
}

/* Coming soon: more editorial, less generic */
.coming-soon {
  border-radius: 26px;
  border-color: color-mix(in srgb, var(--accent) 12%, var(--line));
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(122,34,48,.07), transparent 54%),
    var(--bg-2);
}
.coming-soon h3 {
  font-size: clamp(2.25rem, 4.2vw, 4rem);
}

/* Shops: Google Maps links */
.shop-item.map-link {
  position: relative;
  padding-right: 38px;
  border-radius: 12px;
  transition: background .22s ease, padding-left .22s ease, color .22s ease;
}
.shop-item.map-link .map-arrow {
  position: absolute;
  right: 10px;
  top: 17px;
  color: var(--accent);
  opacity: .55;
  font-size: 1rem;
  transition: transform .22s ease, opacity .22s ease;
}
@media (hover:hover) {
  .shop-item.map-link:hover {
    background: color-mix(in srgb, var(--accent) 4%, transparent);
    padding-left: 10px;
  }
  .shop-item.map-link:hover .map-arrow {
    transform: translate(2px,-2px);
    opacity: 1;
  }
}
.boutique-solo {
  border-radius: 24px;
  box-shadow: 0 26px 70px -48px rgba(45,28,20,.42);
}

/* Clean success state */
.form-thankyou {
  min-height: 290px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(20px, 3vw, 34px) 0;
}
.thankyou-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  margin-bottom: 22px;
  background: color-mix(in srgb, #2f7d4a 10%, var(--surface));
  border: 1px solid color-mix(in srgb, #2f7d4a 28%, var(--line));
  color: #2f7d4a;
  font-size: 1.35rem;
  font-weight: 700;
}
.form-thankyou h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1;
  font-weight: 500;
  color: var(--accent);
}
.form-thankyou p {
  margin: 16px 0 0;
  color: var(--ink-soft);
  max-width: 48ch;
}
.form-thankyou .thankyou-sub {
  margin-top: 8px;
  color: var(--muted);
  font-size: .9rem;
}

/* Footer slightly tighter and quieter */
.site-foot {
  padding-top: clamp(48px, 6vw, 72px);
}
.foot-bottom {
  margin-top: clamp(32px, 4vw, 50px);
}

/* 404 */
.error-page {
  min-height: 70vh;
  display: grid;
  align-items: center;
}
.error-card {
  padding-block: clamp(80px, 10vw, 140px);
}
.error-card h1 {
  margin: 14px 0 0;
  font-size: clamp(3rem, 7vw, 6rem);
  max-width: 12ch;
}
.error-card p {
  max-width: 56ch;
  margin: 22px 0 0;
  color: var(--ink-soft);
}

/* Better focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent) 70%, white);
  outline-offset: 3px;
}

@media (max-width:1180px) {
  .news-page .nl-head h1,
  .tasting-page .tasting-head h1 {
    font-size: clamp(2.75rem, 5.6vw, 4.9rem);
  }
  .news-page .nl-head h1 .headline-line {
    white-space: normal !important;
  }
}

@media (max-width:760px) {
  .section-head h1 {
    font-size: clamp(2.35rem, 10vw, 3.5rem);
  }
  .news-page .nl-head h1,
  .tasting-page .tasting-head h1 {
    font-size: clamp(2.3rem, 10vw, 3.55rem);
    line-height: .98;
  }
}

/* Vinovip v8.1 — footer logo aspect ratio fix */
.foot-brand .logo {
  display: block;
  width: auto !important;
  height: 42px !important;
  max-width: min(100%, 230px);
  object-fit: contain;
  object-position: left center;
}


/* ===========================================================
   Vinovip static v8.2 — favicon + tasting image proportion
   =========================================================== */

/* Degustazioni: immagine sinistra meno alta, più equilibrata col form. */
.tasting-page .premium-copy .feature-square-media {
  width: min(100%, 660px);
  aspect-ratio: 4 / 3;
}
.tasting-page .premium-copy .feature-square-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto !important;
  object-fit: cover;
  object-position: center;
}

/* Su tablet/mobile mantiene il taglio orizzontale senza diventare troppo alta. */
@media (max-width: 980px) {
  .tasting-page .premium-copy .feature-square-media {
    width: min(100%, 720px);
    aspect-ratio: 4 / 3;
  }
}

/* ===========================================================
   Vinovip static v8.3 — header logo aspect-ratio fix
   =========================================================== */

/*
  Il vecchio header usava height fisso + width:auto insieme alla regola
  globale img{max-width:100%}. Su alcuni viewport mobili il flexbox poteva
  comprimere la larghezza dell'immagine lasciando invariata l'altezza,
  deformando il marchio. Qui la dimensione principale è la larghezza e
  l'altezza resta sempre automatica, quindi il rapporto 694:212 è preservato.
*/
.brand {
  min-width: 0;
}
.brand .logo {
  display: block;
  width: 124px !important;
  height: auto !important;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}
.head-tools {
  flex-shrink: 0;
}

/* Anche il logo nel drawer mobile conserva sempre le proporzioni. */
.drawer-top .logo {
  display: block;
  width: 111px !important;
  height: auto !important;
  max-width: 52vw;
  object-fit: contain;
  object-position: left center;
}

@media (max-width: 420px) {
  .head-inner { gap: 14px; }
  .brand .logo { width: 116px !important; }
  .head-tools { gap: 12px; }
}

/* ===========================================================
   Vinovip static v8.4 — header theme-logo visibility fix
   =========================================================== */
/*
  v8.3 proteggeva correttamente il rapporto d'aspetto, ma la regola finale
  .brand .logo { display:block } aveva priorità sulla vecchia regola che
  nasconde il logo crema. Risultato: in tema chiaro venivano renderizzati
  entrambi i loghi uno sotto l'altro, spostando quello visibile verso l'alto.
  Queste regole ripristinano una sola variante alla volta.
*/
.brand .logo-bordeaux {
  display: block !important;
}
.brand .logo-cream {
  display: none !important;
}
[data-theme='noir'] .brand .logo-bordeaux {
  display: none !important;
}
[data-theme='noir'] .brand .logo-cream {
  display: block !important;
}

/* Drawer: stessa logica, una sola variante visibile. */
.drawer-top .logo-bordeaux {
  display: block !important;
}
.drawer-top .logo-cream {
  display: none !important;
}
[data-theme='noir'] .drawer-top .logo-bordeaux {
  display: none !important;
}
[data-theme='noir'] .drawer-top .logo-cream {
  display: block !important;
}



/* ===========================================================
   Vinovip static v8.5 — new 2026 logo
   =========================================================== */

/*
  New transparent PNG trimmed to the artwork bounds.
  The height is controlled and width is always automatic.
  max-width:none prevents flexbox/global img rules from squeezing only
  the horizontal axis on narrow mobile screens.
*/
.brand .logo {
  display: block;
  width: auto !important;
  height: 34px !important;
  max-width: none !important;
  object-fit: contain;
  object-position: left center;
  flex: 0 0 auto;
}

.drawer-top .logo {
  display: block;
  width: auto !important;
  height: 31px !important;
  max-width: min(54vw, 150px) !important;
  object-fit: contain;
  object-position: left center;
  flex: 0 0 auto;
}

.foot-brand .logo {
  display: block;
  width: auto !important;
  height: 38px !important;
  max-width: min(100%, 180px) !important;
  object-fit: contain;
  object-position: left center;
}

/* One colour variant at a time. */
.brand .logo-bordeaux,
.drawer-top .logo-bordeaux {
  display: block !important;
}
.brand .logo-cream,
.drawer-top .logo-cream {
  display: none !important;
}
[data-theme='noir'] .brand .logo-bordeaux,
[data-theme='noir'] .drawer-top .logo-bordeaux {
  display: none !important;
}
[data-theme='noir'] .brand .logo-cream,
[data-theme='noir'] .drawer-top .logo-cream {
  display: block !important;
}

@media (max-width: 760px) {
  .brand .logo {
    height: 31px !important;
    width: auto !important;
    max-width: none !important;
  }

  .drawer-top .logo {
    height: 30px !important;
    width: auto !important;
  }
}

@media (max-width: 390px) {
  .brand .logo {
    height: 29px !important;
  }
}
