:root {
  /* Brand — Italy Import */
  --bg:           #F2F1ED;   /* PANTONE 11-0601 — creme institucional */
  --paper:        #FFFFFF;
  --paper-warm:   #FBF8F0;
  --ink:          #212226;   /* PANTONE BLACK 6C */
  --green:        #3F8F50;   /* PANTONE 7739 C — verde principal */
  --green-dark:   #2D6A3A;
  --green-soft:   #82B894;
  --green-pale:   #D6E5DA;
  --cream:        #FFF5DB;   /* PANTONE 7499 U — apoio */
  --salmon:       #FFA68A;   /* PANTONE 1565 U — apoio */
  --wine:         #6A4552;   /* PANTONE 690 U — apoio */

  --line:         #DCD7CC;
  --line-soft:    #E8E3D6;
  --muted:        #6F6A60;

  /* Cores dos tipos de vinho */
  --c-tinto:           #6A4552;
  --c-branco:          #D4B96B;
  --c-rose:            #FFA68A;
  --c-espumante:       #E8D27A;
  --c-espumante-rose:  #F2BFA9;
  --c-doce:            #3D1E22;

  --sans: "Montserrat", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* Faixa verde institucional no topo da página */
body::before {
  content: "";
  display: block;
  width: 100%;
  height: 5px;
  background: var(--green);
}

a { color: inherit; }
::selection { background: var(--green); color: var(--paper); }

/* ---------- Header ---------- */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 40px 32px 36px;
  text-align: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--green);
  margin-bottom: 24px;
}
.brand-logo {
  display: block;
  height: 110px;
  width: auto;
  max-width: 100%;
}

.brand-eyebrow {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.brand-title {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(26px, 3.8vw, 40px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
  text-transform: uppercase;
}
.brand-title em {
  font-style: normal;
  font-weight: 800;
  color: var(--green);
}
.brand-tagline {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-top: 14px;
}
.brand-tagline em {
  font-style: italic;
  color: var(--green);
  font-weight: 600;
}

/* Faixa verde institucional com a tagline da marca */
.brand-band {
  background: var(--green);
  color: var(--paper);
  text-align: center;
  padding: 18px 24px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  position: relative;
}
.brand-band::before,
.brand-band::after {
  content: "✦";
  display: inline-block;
  margin: 0 18px;
  color: var(--cream);
  font-weight: 400;
  vertical-align: 1px;
}

/* ---------- Toolbar ---------- */
.toolbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(242, 241, 237, 0.95);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
  padding: 14px 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-items: center;
}
.search {
  flex: 1 1 280px;
  min-width: 220px;
  position: relative;
}
.search input {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 11px 14px 11px 38px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 400;
  color: var(--ink);
  border-radius: 2px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.search input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(63, 143, 80, 0.12);
}
.search::before {
  content: "";
  position: absolute;
  left: 14px; top: 50%;
  width: 14px; height: 14px;
  transform: translateY(-50%);
  border: 1.5px solid var(--muted);
  border-radius: 50%;
  pointer-events: none;
}
.search::after {
  content: "";
  position: absolute;
  left: 25px; top: 50%;
  width: 6px; height: 1.5px;
  background: var(--muted);
  transform: rotate(45deg);
  margin-top: 4px;
  pointer-events: none;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.filter-chip {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0 18px;
  height: 36px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  border-radius: 999px;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
}
.filter-chip:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--paper-warm);
}
.filter-chip.active {
  background: var(--green);
  color: var(--paper);
  border-color: var(--green);
}
.filter-chip.active:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--paper);
}

.producer-select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.producer-select-wrap::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  color: var(--ink);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
  transition: color 0.15s, transform 0.15s;
}
.producer-select-wrap:hover::after { color: var(--green); }
.producer-select-wrap:has(.producer-select.is-active)::after { color: var(--paper); }

.producer-select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 9px 36px 9px 18px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  border-radius: 999px;
  outline: none;
  transition: all 0.15s;
  max-width: 260px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  background-image: none;
  line-height: 1.4;
  height: 36px;
}
.producer-select::-ms-expand { display: none; }
.producer-select:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--paper-warm);
}
.producer-select:focus-visible {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(63, 143, 80, 0.18);
}
.producer-select.is-active {
  background: var(--green);
  color: var(--paper);
  border-color: var(--green);
}
.producer-select.is-active:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--paper);
}
.producer-select option {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  color: var(--ink);
  background: var(--paper);
  padding: 8px;
}

.count {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-pale);
  padding: 8px 14px;
  border-radius: 999px;
  margin-left: auto;
  white-space: nowrap;
}

/* ---------- Region Index ---------- */
.region-index {
  padding: 26px 32px 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  justify-content: center;
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg);
}
.region-index a {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.15s;
  padding: 4px 8px;
  border-bottom: 2px solid transparent;
}
.region-index a:hover {
  color: var(--green);
  border-bottom-color: var(--green);
}

/* ---------- Catalog ---------- */
.catalog {
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px;
}
.region-block {
  padding: 56px 0;
  border-bottom: 1px solid var(--line-soft);
}
.region-block:last-child { border-bottom: none; }
.region-block.is-empty { display: none; }

.region-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--green);
}
.region-name {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(26px, 3.6vw, 36px);
  margin: 0;
  letter-spacing: -0.015em;
  color: var(--green);
  text-transform: uppercase;
}
.region-meta {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  white-space: nowrap;
  background: var(--green-pale);
  padding: 5px 14px;
  border-radius: 999px;
}

.producer-block { margin-top: 36px; }
.producer-block.is-empty { display: none; }
.producer-block:first-of-type { margin-top: 0; }

.producer-name {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 16px;
  color: var(--green);
  margin: 0 0 4px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.producer-rule {
  height: 1px;
  background: var(--line);
  margin-bottom: 14px;
}

.wine-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.wine-row {
  display: grid;
  grid-template-columns: 18px 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line-soft);
  transition: background 0.15s;
  cursor: pointer;
  outline: none;
}
.wine-row:last-child { border-bottom: none; }
.wine-row.is-hidden { display: none; }
.wine-row:hover { background: rgba(63, 143, 80, 0.05); }
.wine-row:focus-visible { background: rgba(63, 143, 80, 0.10); }

.wine-row.has-details .wine-name::after {
  content: "→";
  display: inline-block;
  margin-left: 10px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--green);
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.18s;
}
.wine-row.has-details:hover .wine-name::after,
.wine-row.has-details:focus-visible .wine-name::after {
  opacity: 1;
  transform: translateX(0);
}

.wine-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--c-tinto);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
  margin-left: 4px;
}
.wine-row[data-type="tinto"]          .wine-dot { background: var(--c-tinto); }
.wine-row[data-type="branco"]         .wine-dot { background: var(--c-branco); }
.wine-row[data-type="rose"]           .wine-dot { background: var(--c-rose); }
.wine-row[data-type="espumante"]      .wine-dot { background: var(--c-espumante); }
.wine-row[data-type="espumante-rose"] .wine-dot { background: var(--c-espumante-rose); }
.wine-row[data-type="doce"]           .wine-dot { background: var(--c-doce); }

.wine-name {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.wine-note {
  display: inline-block;
  margin-left: 10px;
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid var(--green-pale);
  background: var(--paper-warm);
  padding: 3px 9px;
  border-radius: 999px;
  vertical-align: 2px;
}
.wine-type {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.wine-year {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  min-width: 52px;
  text-align: right;
  letter-spacing: 0.02em;
}

/* ---------- Empty state ---------- */
.empty-state {
  display: none;
  text-align: center;
  padding: 80px 24px;
  color: var(--muted);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 16px;
}
.empty-state.show { display: block; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 5px solid var(--green);
  background: var(--ink);
  color: var(--bg);
  text-align: center;
  padding: 44px 24px 48px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.site-footer .ornament {
  display: inline-block;
  margin: 0 14px;
  color: var(--green);
}

/* ---------- Gate (lead capture) ---------- */
body.gate-locked { overflow: hidden; }

.gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--green);
  background-image:
    radial-gradient(circle at 22% 18%, rgba(255,255,255,0.10), transparent 55%),
    radial-gradient(circle at 80% 85%, rgba(33, 34, 38, 0.18), transparent 55%);
}
.gate.open { display: flex; animation: gate-fade 0.3s ease-out; }
@keyframes gate-fade { from { opacity: 0; } to { opacity: 1; } }

.gate-card {
  width: min(460px, 100%);
  background: var(--bg);
  border-radius: 4px;
  padding: 48px 44px 38px;
  box-shadow: 0 30px 80px rgba(28, 20, 16, 0.25), 0 6px 20px rgba(28, 20, 16, 0.10);
  text-align: center;
  animation: gate-rise 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes gate-rise {
  from { transform: translateY(14px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.gate-card .brand {
  margin-bottom: 22px;
}
.gate-card .brand-logo { height: 52px; }

.gate-title {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.05;
  margin: 0 0 12px;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.gate-title em {
  font-style: normal;
  color: var(--green);
}

.gate-sub {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 28px;
  line-height: 1.5;
}

.gate-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.gate-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.gate-field span {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.gate-field input {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--line);
  padding: 8px 2px 10px;
  outline: none;
  transition: border-color 0.18s;
}
.gate-field input:focus { border-bottom-color: var(--green); }
.gate-field input:invalid:not(:placeholder-shown) { border-bottom-color: #b94a3a; }

.gate-error {
  min-height: 18px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  color: #b94a3a;
  letter-spacing: 0.02em;
  margin-top: 4px;
}
.gate-error:empty { min-height: 0; margin: 0; }

.gate-btn {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--green);
  border: none;
  padding: 16px 24px;
  margin-top: 14px;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.15s, transform 0.15s;
}
.gate-btn:hover  { background: var(--green-dark); }
.gate-btn:active { transform: translateY(1px); }

.gate-privacy {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  color: var(--muted);
  text-align: center;
  margin: 18px 0 0;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

/* ---------- Wine Detail Modal ---------- */
.wine-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.wine-modal.open { display: flex; animation: wm-fade 0.22s ease-out; }
@keyframes wm-fade { from { opacity: 0; } to { opacity: 1; } }

.wine-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(33, 34, 38, 0.62);
  backdrop-filter: blur(4px);
  cursor: pointer;
}
.wine-modal-card {
  position: relative;
  background: var(--paper);
  width: min(1100px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  border-radius: 4px;
  box-shadow: 0 30px 80px rgba(28, 20, 16, 0.30), 0 8px 24px rgba(28, 20, 16, 0.15);
  animation: wm-rise 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  border-top: 4px solid var(--green);
}
@keyframes wm-rise {
  from { transform: translateY(16px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.wine-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 50%;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.wine-modal-close:hover {
  background: var(--green);
  color: var(--paper);
  border-color: var(--green);
}

.wine-modal-content {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  padding: 56px 56px 48px;
}
.wine-modal-text { min-width: 0; }

.wine-modal-eyebrow {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}

.wine-modal-name {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 38px);
  line-height: 1.06;
  margin: 0 0 14px;
  color: var(--ink);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.wine-modal-desc {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 28px;
  max-width: 560px;
}

.wine-modal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px 28px;
  padding: 22px 0;
  border-top: 1px solid var(--line-soft);
}
.wine-modal-grid:empty { display: none; }
.wine-modal-grid + .wine-modal-grid { border-top: 1px solid var(--line-soft); padding-top: 22px; }

.wine-modal-field { min-width: 0; }
.wm-label {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.005em;
}
.wm-value {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.5;
  word-wrap: break-word;
}

.wine-modal-prose {
  margin-top: 14px;
  border-top: 1px solid var(--line-soft);
  padding-top: 8px;
}
.wine-modal-prose:empty { display: none; }
.wine-modal-section {
  padding: 18px 0;
  border-bottom: 1px dashed var(--line-soft);
}
.wine-modal-section:last-child { border-bottom: none; }
.wine-modal-section h4 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  color: var(--green);
  margin: 0 0 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.wine-modal-section p {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.65;
  margin: 0;
  max-width: 620px;
}

.wine-modal-image {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 12px;
}
.wine-modal-image img {
  max-width: 100%;
  max-height: 540px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(28, 20, 16, 0.22));
}
.wine-modal-image.is-empty { display: none; }
.wine-modal-card:has(.wine-modal-image.is-empty) .wine-modal-content {
  grid-template-columns: 1fr;
}

/* ---------- Print ---------- */
@media print {
  :root { --bg: #fff; --paper: #fff; }
  .toolbar, .region-index, .site-footer, .gate { display: none !important; }
  .site-header { padding: 24px 0; border-bottom: 2px solid var(--green); }
  .catalog { padding: 0; }
  .region-block { padding: 24px 0; page-break-inside: avoid; }
  .producer-block { page-break-inside: avoid; }
  .wine-row { padding: 8px 0; }
  body { font-size: 12px; }
  .wine-name { font-size: 13px; }
  .wine-year { font-size: 12px; }
}

/* ---------- Tablet ---------- */
@media (max-width: 880px) {
  .site-header { padding: 32px 24px 28px; }
  .brand-logo { height: 90px; }
  .brand-band { padding: 14px 20px; letter-spacing: 0.22em; font-size: 11px; }
  .brand-band::before, .brand-band::after { margin: 0 12px; }

  .region-index { padding: 20px 20px 18px; gap: 4px 16px; }

  .wine-modal { padding: 12px; }
  .wine-modal-content {
    grid-template-columns: 1fr;
    padding: 44px 28px 36px;
    gap: 20px;
  }
  .wine-modal-image { order: -1; padding-top: 0; }
  .wine-modal-image img { max-height: 280px; }
  .wine-modal-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 22px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  /* Header compacto */
  .site-header { padding: 26px 16px 22px; }
  .brand { margin-bottom: 16px; }
  .brand-logo { height: 64px; }
  .brand-tagline { font-size: 12px; margin-top: 10px; padding: 0 12px; }

  /* Faixa institucional compacta */
  .brand-band {
    padding: 11px 14px;
    font-size: 9.5px;
    letter-spacing: 0.16em;
  }
  .brand-band::before, .brand-band::after {
    margin: 0 8px;
    font-size: 11px;
  }

  /* Toolbar empilhado verticalmente */
  .toolbar {
    padding: 12px 14px;
    gap: 10px;
    flex-direction: column;
    align-items: stretch;
  }
  .search { flex: none; width: 100%; min-width: 0; }
  .search input {
    padding: 12px 14px 12px 38px;
    font-size: 14px;
  }

  /* Chips em scroll horizontal — sem barra visível */
  .filters {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 2px 0;
    margin: 0 -14px;
    padding-left: 14px;
    padding-right: 14px;
  }
  .filters::-webkit-scrollbar { display: none; }
  .filter-chip {
    flex-shrink: 0;
    height: 38px;
    font-size: 11px;
  }

  /* Dropdown ocupa largura total */
  .producer-select-wrap { width: 100%; }
  .producer-select {
    width: 100%;
    max-width: 100%;
    height: 42px;
    font-size: 11px;
    padding: 0 38px 0 18px;
  }

  /* Contador alinhado à esquerda */
  .count {
    width: auto;
    align-self: flex-start;
    margin-left: 0;
  }

  /* Índice de regiões scroll horizontal */
  .region-index {
    padding: 16px 14px;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: none;
    gap: 0 6px;
  }
  .region-index::-webkit-scrollbar { display: none; }
  .region-index a { flex-shrink: 0; padding: 6px 10px; }

  /* Catálogo */
  .catalog { padding: 12px 14px; }
  .region-block { padding: 32px 0; }

  /* Cabeçalho de região */
  .region-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 22px;
    padding-bottom: 14px;
  }
  .region-name { font-size: 28px; line-height: 1; }

  /* Bloco de produtor */
  .producer-name { font-size: 14px; }

  /* Linha de vinho — duas linhas */
  .wine-row {
    grid-template-columns: 14px 1fr auto;
    row-gap: 4px;
    padding: 14px 0;
  }
  .wine-name { font-size: 14px; }
  .wine-type { grid-column: 2 / -1; order: 3; font-size: 9.5px; }
  .wine-year { order: 2; font-size: 13px; }
  .wine-row.has-details .wine-name::after { display: none; }
  .wine-note {
    display: block;
    margin: 4px 0 0;
    width: fit-content;
  }

  /* Footer compacto */
  .site-footer {
    padding: 28px 16px 32px;
    font-size: 10px;
    letter-spacing: 0.18em;
  }
  .site-footer .ornament { margin: 0 8px; }

  /* Gate (popup de cadastro) */
  .gate { padding: 16px; align-items: stretch; }
  .gate-card {
    padding: 32px 22px 24px;
    width: 100%;
    margin: auto 0;
  }
  .gate-title { font-size: 24px; }
  .gate-sub { font-size: 13px; margin-bottom: 22px; }
  .gate-card .brand-logo { height: 48px; }
  .gate-field input { font-size: 16px; } /* 16px previne zoom no iOS */
  .gate-btn { padding: 17px 24px; font-size: 11px; }

  /* Modal de detalhes */
  .wine-modal { padding: 0; }
  .wine-modal-card {
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    border-top: none;
    border-left: 4px solid var(--green);
  }
  .wine-modal-content {
    padding: 28px 18px 24px;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .wine-modal-close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
  }
  .wine-modal-eyebrow {
    font-size: 9.5px;
    letter-spacing: 0.22em;
    margin-bottom: 10px;
  }
  .wine-modal-name { font-size: 24px; }
  .wine-modal-desc { font-size: 13.5px; margin-bottom: 22px; }
  .wine-modal-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px 18px;
    padding: 16px 0;
  }
  .wm-label { font-size: 12px; }
  .wm-value { font-size: 12px; }
  .wine-modal-section { padding: 14px 0; }
  .wine-modal-section h4 { font-size: 11px; letter-spacing: 0.2em; }
  .wine-modal-section p { font-size: 13px; line-height: 1.6; }
  .wine-modal-image img { max-height: 220px; }
}

/* ---------- Mobile pequeno (até 380px) ---------- */
@media (max-width: 380px) {
  .brand-logo { height: 56px; }
  .brand-title { font-size: 22px; }
  .brand-band { font-size: 9px; letter-spacing: 0.12em; padding: 10px; }
  .brand-band::before, .brand-band::after { display: none; }
  .region-name { font-size: 24px; }
  .wine-modal-grid { grid-template-columns: 1fr; }
}
