/* ─────────────────────────────────────────────────────────────
 * MENU PAGE — Bodega Latina, Internautica 2026
 * Mobile-first standalone page (no iOS frame, no canvas wrapper).
 * Body itself is the scroller; .m-chips is sticky to viewport.
 * ─────────────────────────────────────────────────────────── */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bl-white); }
body {
  font-family: var(--font-body);
  color: var(--bl-ink);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

.menu-root {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  background: var(--bl-white);
  color: var(--bl-ink);
  min-height: 100vh;
}

/* ── Hero ───────────────────────────────────────────────────── */
.m-hero {
  background: var(--bl-amber);
  color: #fff;
  padding: 56px 24px 36px;
  text-align: center;
  position: relative;
}
.m-hero::after {
  content: "";
  position: absolute;
  inset: 8px 8px 8px 8px;
  border: 2px solid #fff;
  pointer-events: none;
}
.m-hero > * { position: relative; }

.m-hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-label);
  font-weight: 800;
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: #fff;
}

.m-hero-mark {
  margin: 0 auto 14px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: 0.06em;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
}

.m-hero-strap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-label);
  font-weight: 700;
  font-style: italic;
  font-size: 10px;
  letter-spacing: 0.22em;
  margin-bottom: 16px;
  color: #fff;
}
.m-hero-strap-line {
  flex: 0 0 28px;
  height: 1px;
  background: #fff;
}

.m-hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: 84px;
  line-height: 0.85;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  color: #fff;
}

.m-hero-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.01em;
  line-height: 1.2;
  max-width: 280px;
  margin: 0 auto;
  color: #fff;
}

/* ── Sticky chip nav ────────────────────────────────────────── */
.m-chips {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bl-white);
  border-bottom: 1px solid var(--bl-ink);
  box-shadow: 0 1px 0 var(--bl-ink);
}
.m-chips-inner {
  display: flex;
  gap: 6px;
  padding: 10px 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.m-chips-inner::-webkit-scrollbar { display: none; }

.m-chip {
  flex: 0 0 auto;
  appearance: none;
  border: 1px solid var(--bl-ink);
  background: var(--bl-white);
  color: var(--bl-ink);
  padding: 7px 12px 6px;
  border-radius: 999px;
  font-family: var(--font-label);
  font-weight: 800;
  font-style: italic;
  font-size: 11px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out);
}
.m-chip.is-active {
  background: var(--bl-amber);
  color: #fff;
}
.m-chip:hover { background: var(--bl-amber-soft); }
.m-chip.is-active:hover { background: var(--bl-amber); }

/* ── Body ───────────────────────────────────────────────────── */
.m-body { padding: 0 24px; }

.m-section {
  scroll-margin-top: 60px;
  padding: 40px 0 8px;
}
.m-section:first-child { padding-top: 28px; }

.m-section-header { margin-bottom: 22px; }

.m-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--bl-ink);
  margin-bottom: 22px;
}
.m-rule-line { flex: 1; height: 1.5px; background: var(--bl-ink); }

.m-eyebrow {
  font-family: var(--font-label);
  font-weight: 800;
  font-style: italic;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bl-ink);
  text-align: center;
  margin-bottom: 8px;
}

.m-section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: 44px;
  letter-spacing: -0.025em;
  line-height: 0.95;
  margin: 0;
  text-align: center;
}

.m-section-en {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  text-align: center;
  margin-top: 6px;
  color: var(--bl-mute);
  letter-spacing: 0.01em;
}

/* ── List rows ──────────────────────────────────────────────── */
.m-list { list-style: none; padding: 0; margin: 0; }

.m-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(29,29,27,0.18);
}
.m-row:last-child { border-bottom: 0; }

.m-row-main { flex: 1; min-width: 0; }
.m-row-name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 19px;
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--bl-ink);
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.m-row-size {
  font-family: var(--font-label);
  font-weight: 800;
  font-style: italic;
  font-size: 10px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--bl-mute);
}

.m-row-desc {
  font-family: var(--font-body);
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--bl-mute);
  margin-top: 5px;
  letter-spacing: 0.005em;
}
.m-row-producer {
  font-style: italic;
  color: var(--bl-ink);
  font-weight: 500;
  font-family: var(--font-display);
  font-size: 13px;
  margin-right: 6px;
}
.m-row-producer::after { content: " ◆ "; color: var(--bl-amber); font-style: normal; font-weight: 700; }

.m-row-leader {
  flex: 0 0 18px;
  height: 1px;
  border-bottom: 1.5px dotted var(--bl-ink);
  align-self: flex-end;
  margin-bottom: 7px;
  opacity: 0.55;
}

.m-row-price {
  font-family: var(--font-label);
  font-weight: 800;
  font-style: italic;
  font-size: 16px;
  letter-spacing: -0.03em;
  color: var(--bl-ink);
  white-space: nowrap;
  flex: 0 0 auto;
}

/* ── Glass | Bottle two-price layout ────────────────────────── */
.m-subsection { margin-top: 18px; padding-top: 8px; }
.m-subsection:first-of-type { margin-top: 4px; }

.m-sub-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--bl-ink);
}
.m-sub-title > span {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.m-sub-en {
  font-family: var(--font-label);
  font-weight: 800;
  font-style: italic;
  font-size: 9.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bl-mute);
  margin-left: auto;
}

.m-list-gb { padding-top: 4px; }

.m-gb-head {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 6px 0 10px;
}
.m-gb-head > span:first-child { flex: 1; }
.m-gb-head .m-row-prices > span {
  font-family: var(--font-label);
  font-weight: 800;
  font-style: italic;
  font-size: 9.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bl-mute);
}

.m-row-gb { padding: 11px 0; }
.m-row-gb .m-row-name { font-size: 17px; }
.m-row-prices {
  display: flex;
  gap: 22px;
  flex: 0 0 auto;
}
.m-row-prices > span {
  width: 44px;
  text-align: right;
  font-family: var(--font-label);
  font-weight: 800;
  font-style: italic;
  font-size: 15px;
  letter-spacing: -0.03em;
  color: var(--bl-ink);
}
.m-row-prices .is-mute { color: rgba(29,29,27,0.3); }

/* ── Footer ─────────────────────────────────────────────────── */
.m-footer {
  margin-top: 40px;
  padding: 24px 0 56px;
  text-align: center;
}
.m-footer .m-rule { margin-bottom: 18px; }
.m-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0 4px 6px;
}
.m-foot-label {
  font-family: var(--font-label);
  font-weight: 800;
  font-style: italic;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.m-footer-fine {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--bl-mute);
  padding-top: 6px;
  border-top: 1px solid rgba(29,29,27,0.1);
  margin-top: 4px;
}
.m-footer-mini {
  margin-top: 18px;
  font-family: var(--font-body);
  font-size: 10px;
  color: var(--bl-mute);
  letter-spacing: 0.01em;
  line-height: 1.5;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Legal block (firma, sedež, DDV, veljavnost, alkohol) ───── */
.m-legal {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(29,29,27,0.12);
  font-family: var(--font-body);
  font-size: 10.5px;
  line-height: 1.55;
  color: var(--bl-mute);
  letter-spacing: 0.01em;
  text-align: center;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}
.m-legal > div { margin: 0; }

.m-legal-title {
  font-family: var(--font-label);
  font-weight: 800;
  font-style: italic;
  font-size: 11px;
  color: var(--bl-ink);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 4px !important;
}

.m-legal-sep {
  margin: 10px 0 8px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.m-legal-sep span {
  color: var(--bl-amber);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 12px;
  line-height: 1;
}
.m-legal-sep::before,
.m-legal-sep::after {
  content: "";
  flex: 0 0 28px;
  height: 1px;
  background: rgba(29,29,27,0.18);
}

.m-legal-warn {
  margin-top: 12px !important;
  padding-top: 10px;
  border-top: 1px dashed rgba(29,29,27,0.18);
  font-size: 10px;
  line-height: 1.5;
  color: var(--bl-mute);
}

/* ── Wider viewport: keep menu narrow and centered ──────────── */
@media (min-width: 480px) {
  .menu-root {
    box-shadow: 0 0 0 1px rgba(29,29,27,0.06), 0 12px 48px rgba(29,29,27,0.08);
  }
}
