/* ==========================================================================
   MANLY The Office — estilos compartidos (index.html y menu.html)
   Paleta tomada de la vidriera de Via Pisana: ocre de la fachada,
   gris de la piedra, verde de las persianas.
   ========================================================================== */

/* Tipografías alojadas en la web (sin Google Fonts). Subconjunto latino: IT/EN. */
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300 500; font-display: swap; src: url("fonts/jost-latin.woff2") format("woff2"); }
@font-face { font-family: "DM Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/dmmono-400-latin.woff2") format("woff2"); }
@font-face { font-family: "DM Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/dmmono-500-latin.woff2") format("woff2"); }

:root {
  color-scheme: light;

  --paper: #F6F2E8;
  --paper-2: #EFE9DB;
  --ink: #1E1D1A;
  --ink-2: #4A4740;
  --muted: #67635A;
  --line: #DCD5C5;
  --ochre: #DCCE95;
  --ochre-deep: #B89B45;
  --stone: #ADABA6;
  --shutter: #5E6B5B;
  --open: #4F8A4B;
  --closing: #C08A2A;

  --font: "Jost", "Helvetica Neue", Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: 20px;
  --max: 1280px;
  --header-h: 60px;
  --topbar-h: 34px;
  --radius: 2px;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 768px) {
  :root { --gutter: 40px; --space-6: 8rem; }
}
@media (min-width: 1100px) {
  :root { --gutter: 64px; --header-h: 72px; }
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-weight: 400; line-height: 1.1; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 200;
  padding: 0.6rem 1rem; background: var(--ink); color: var(--paper);
}
.skip-link:focus { top: 8px; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
}

/* ===== Tipografía utilitaria ===== */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.mono { font-family: var(--mono); }

.h-xl {
  font-size: clamp(2.6rem, 1.6rem + 4.5vw, 5.6rem);
  font-weight: 300;
  letter-spacing: -0.01em;
}
.h-lg {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.6rem);
  font-weight: 300;
  letter-spacing: -0.005em;
}
.h-md {
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem);
  font-weight: 400;
}

.lead {
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.3rem);
  font-weight: 300;
  line-height: 1.55;
  color: var(--ink-2);
}

/* ===== Botones ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 50px;
  padding: 0 1.6rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--outline { background: transparent; color: var(--ink); }
.btn--block { width: 100%; }
@media (hover: hover) {
  .btn:hover { background: transparent; color: var(--ink); }
  .btn--outline:hover { background: var(--ink); color: var(--paper); }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
@media (hover: hover) { .link-arrow:hover svg { transform: translateX(4px); } }

/* ===== Barra superior (estado + dirección) ===== */
.topbar {
  background: var(--ochre-deep);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}
.topbar__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: var(--topbar-h);
  padding-top: env(safe-area-inset-top);
}
.topbar a { text-decoration: none; opacity: .85; white-space: nowrap; }
.topbar__address { justify-self: end; }
.topbar__announce { font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
@media (max-width: 899px) {
  .topbar__inner { grid-template-columns: 1fr auto; }
  .topbar__announce { display: none; }
}
.topbar .status { white-space: nowrap; min-width: 0; }
@media (max-width: 420px) {
  .topbar { font-size: 0.66rem; letter-spacing: 0; }
  .topbar__city { display: none; }
}
@media (hover: hover) { .topbar a:hover { opacity: 1; } }

.status { display: inline-flex; align-items: center; gap: 0.5rem; }
.status__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--stone);
  flex: none;
}
.status[data-state="open"] .status__dot { background: #7FC27A; box-shadow: 0 0 0 3px rgba(127, 194, 122, .25); }
.status[data-state="closing"] .status__dot { background: #E5B04F; box-shadow: 0 0 0 3px rgba(229, 176, 79, .25); }

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.header.is-scrolled { border-bottom-color: var(--line); }

/* Inicio: header transparente sobre el ocre del hero; sólido al bajar o con el menú abierto */
.header--overlay { transition: background-color .3s, border-color .3s; }
.header--overlay:not(.is-scrolled) {
  background: color-mix(in srgb, var(--ochre) 72%, transparent);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  backdrop-filter: blur(10px) saturate(1.1);
}
.is-locked .header--overlay { background: var(--paper); }
.header--overlay:not(.is-scrolled) .brand__sub,
.header--overlay:not(.is-scrolled) .lang button:not([aria-pressed="true"]) { color: var(--ink-2); }
.header--overlay + .drawer + main .hero { margin-top: calc(-1 * var(--header-h)); }

/* Links visibles en escritorio (como D612); la hamburguesa queda para celular */
.header__nav { display: none; }
@media (min-width: 1100px) {
  .header__inner { grid-template-columns: auto 1fr auto; gap: var(--space-4); }
  .header .burger { display: none; }
  .header__nav {
    display: flex;
    justify-content: center;
    gap: clamp(1.25rem, 2.5vw, 2.5rem);
  }
  .header__nav a {
    position: relative;
    padding-block: 0.4rem;
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
  }
  .header__nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
  }
  .header__nav a:hover::after,
  .header__nav a:focus-visible::after { transform: scaleX(1); }
}
.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-h);
}

.burger {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.burger__lines { position: relative; width: 24px; height: 12px; }
.burger__lines::before,
.burger__lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.burger__lines::before { top: 0; }
.burger__lines::after { top: 10px; }
.burger[aria-expanded="true"] .burger__lines::before { top: 5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines::after { top: 5px; transform: rotate(-45deg); }
.burger__label { display: none; }
@media (min-width: 768px) { .burger__label { display: inline; } }

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}
.brand svg { width: 32px; height: 32px; }
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand__name { font-size: 1.05rem; font-weight: 400; letter-spacing: 0.32em; margin-right: -0.32em; }
.brand__sub { margin-top: 0.25rem; font-size: 0.68rem; letter-spacing: 0.12em; color: var(--muted); }
@media (min-width: 1100px) { .brand svg { width: 38px; height: 38px; } }

.lang {
  justify-self: end;
  display: flex;
  gap: 0.25rem;
  font-family: var(--mono);
  font-size: 0.75rem;
}
.lang button {
  min-width: 36px;
  min-height: 40px;
  padding: 0 0.3rem;
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
}
.lang button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }

/* ===== Menú hamburguesa ===== */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--header-h) + var(--topbar-h) + env(safe-area-inset-top));
  background: var(--paper);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transition: opacity .35s var(--ease), visibility 0s linear .35s;
}
.drawer.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity .35s var(--ease), visibility 0s;
}
.drawer__nav { flex: 1; padding-block: var(--space-4); }
.drawer__nav ol { padding: 0; list-style: none; counter-reset: nav; }
.drawer__nav li { counter-increment: nav; border-top: 1px solid var(--line); }
.drawer__nav li:last-child { border-bottom: 1px solid var(--line); }
.drawer__nav a {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  padding-block: 1rem;
  font-size: clamp(1.9rem, 1.3rem + 3vw, 3.4rem);
  font-weight: 300;
  line-height: 1.1;
  text-decoration: none;
}
.drawer__nav a::before {
  content: counter(nav, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
  transform: translateY(-0.4em);
}
.drawer__nav a small {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
}
@media (hover: hover) { .drawer__nav a:hover { color: var(--ochre-deep); } }

.drawer__nav li {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.drawer.is-open .drawer__nav li { opacity: 1; transform: none; }
.drawer.is-open .drawer__nav li:nth-child(2) { transition-delay: .05s; }
.drawer.is-open .drawer__nav li:nth-child(3) { transition-delay: .1s; }
.drawer.is-open .drawer__nav li:nth-child(4) { transition-delay: .15s; }
.drawer.is-open .drawer__nav li:nth-child(5) { transition-delay: .2s; }
.drawer.is-open .drawer__nav li:nth-child(6) { transition-delay: .25s; }

.drawer__info {
  display: grid;
  gap: var(--space-3);
  padding-block: var(--space-3) calc(var(--space-4) + env(safe-area-inset-bottom));
  font-size: 0.9rem;
}
.drawer__info p { color: var(--ink-2); }
.drawer__info a { text-decoration: none; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .drawer__info { grid-template-columns: repeat(3, 1fr); } }

/* ===== Secciones ===== */
.section { padding-block: var(--space-6); }
.section__head {
  display: grid;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}
.section__head .lead { max-width: 52ch; }
@media (min-width: 900px) {
  .section__head {
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: var(--space-4);
  }
  .section__head .eyebrow { grid-column: 1 / -1; }
}

/* ===== Hero ===== */
.hero {
  display: grid;
  background: var(--ochre);
}
.hero__media {
  position: relative;
  /* Nunca menos de 100vw visibles bajo el header: con la ilustración a todo el ancho
     (proporción 1008×1390) eso deja siempre a la vista el cartel MANLY y la firma,
     sin depender de cómo calcula cada navegador el alto de pantalla. */
  height: calc(max(clamp(300px, 54vh, 620px), 100vw) + var(--header-h));
  height: calc(max(clamp(300px, 54svh, 620px), 100vw) + var(--header-h));
  overflow: hidden;
  margin: 0;
}
/* Anclada abajo: así siempre se ve la firma de la autora (esquina inferior derecha) */
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 100%;
  transform-origin: 50% 100%;
}
.hero__art { display: block; height: 100%; color: inherit; }
.hero__credit {
  position: absolute;
  left: var(--gutter);
  bottom: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.6rem;
  background: rgba(246, 242, 232, .92);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.hero__credit svg { width: 12px; height: 12px; transform: rotate(-45deg); transition: transform .25s var(--ease); }
@media (hover: hover) { .hero__art:hover .hero__credit svg { transform: rotate(-45deg) translateX(3px); } }
.hero__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--gutter) var(--space-4);
}
.hero__title {
  display: flex;
  flex-direction: column;
  font-weight: 300;
  line-height: 0.95;
}
.hero__title span:first-child {
  font-size: clamp(2.8rem, 1.6rem + 6vw, 6.4rem);
  letter-spacing: 0.22em;
  margin-right: -0.22em;
}
.hero__title span:last-child {
  margin-top: 0.4rem;
  font-size: clamp(1.1rem, 0.9rem + 1vw, 1.7rem);
  letter-spacing: 0.08em;
}
.hero__lead { max-width: 34ch; font-size: 1.02rem; font-weight: 400; color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.hero__actions .btn { flex: 1 1 140px; }
.hero__rating {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink-2);
  text-decoration: none;
}
.hero__rating svg { width: 12px; height: 12px; }

@media (max-width: 767px) {
  .hero__panel { gap: 0.6rem; padding-top: 1rem; }
  .hero__title span:first-child { font-size: 2.5rem; }
  .hero__title span:last-child { margin-top: 0.25rem; }
  .hero__panel > .eyebrow { display: none; }
  .hero__lead { font-size: 0.95rem; }
  .hero__actions .btn { min-height: 46px; padding-inline: 1rem; }
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    min-height: min(calc(100svh - var(--topbar-h)), 980px);
  }
  /* La columna la define el hero; la imagen la llena sin estirarlo */
  .hero__media { height: auto; min-height: 0; }
  .hero__art { position: absolute; inset: 0; }
  .hero__panel { padding: calc(var(--space-5) + var(--header-h)) var(--gutter) var(--space-5); gap: var(--space-3); }
  .hero__actions .btn { flex: 0 0 auto; }
}

/* ===== Producto: L’Australiano ===== */
/* minmax(0, 1fr): la columna no se ensancha por el contenido (si no, en celular se pasaba del margen) */
.product__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
.product__media {
  position: relative;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  background: var(--paper-2);
}
.product__media img { width: 100%; height: 100%; object-fit: cover; }
/* Etiqueta: se muestra entera, con el marrón de la etiqueta como fondo */
.product__media--label { aspect-ratio: 1284 / 1400; background: #6B4C20; }
.product__tag {
  position: absolute;
  left: 1rem;
  top: 1rem;
  padding: 0.35rem 0.6rem;
  background: var(--paper);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product__info { display: flex; flex-direction: column; gap: var(--space-3); }
.product__name { font-size: clamp(2.4rem, 1.6rem + 3.5vw, 4.4rem); font-weight: 300; line-height: 1; }
.product__by { font-family: var(--mono); font-size: 0.78rem; color: var(--muted); }

.specs {
  display: grid;
  border-top: 1px solid var(--line);
}
.specs div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1rem;
  padding-block: 0.8rem;
  border-bottom: 1px solid var(--line);
}
.specs dt {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.15rem;
}
.specs dd { margin: 0; }

.ratio { display: flex; height: 4px; margin-top: 0.55rem; background: var(--line); }
.ratio span:first-child { width: 80%; background: var(--ink); }
.ratio span:last-child { width: 20%; background: var(--ochre-deep); }

.choice { min-width: 0; padding: 0; margin: 0; border: 0; }
.choice legend,
.qty__label {
  margin-bottom: 0.6rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.choice__options { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt__box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s, background-color .2s;
}
.opt__main { font-weight: 500; }
.opt__sub { font-family: var(--mono); font-size: 0.78rem; color: var(--muted); }
.opt input:checked + .opt__box { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.opt input:checked + .opt__box .opt__sub { color: var(--stone); }
.opt input:focus-visible + .opt__box { outline: 2px solid var(--ink); outline-offset: 2px; }

.buy {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: stretch;
}
/* En celulares angostos el texto del botón entra en una línea; si no, pasa a dos sin salirse */
.buy .btn { padding-inline: 1rem; letter-spacing: 0.1em; white-space: normal; text-align: center; line-height: 1.3; }
@media (max-width: 400px) { .qty button { width: 40px; } }
.qty__label { display: block; }
.qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.qty button {
  width: 46px;
  min-height: 50px;
  border: 0;
  background: none;
  font-size: 1.2rem;
  cursor: pointer;
}
.qty button:disabled { opacity: .3; cursor: default; }
.qty output { min-width: 2ch; text-align: center; font-family: var(--mono); }

.total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-block: 0.6rem;
  border-top: 1px solid var(--line);
}
.total output {
  font-family: var(--mono);
  font-size: 1.6rem;
  font-weight: 400;
}
.total output.bump { display: inline-block; animation: bump .35s var(--ease); }
@keyframes bump { 40% { transform: translateY(-3px); } }

.product__fine { font-size: 0.85rem; color: var(--muted); }
.product__preview {
  font-size: 0.85rem;
  color: var(--muted);
  border-left: 2px solid var(--ochre-deep);
  padding-left: 0.8rem;
}
.product__preview q { color: var(--ink-2); }

@media (min-width: 900px) {
  .product__grid {
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(3rem, 7vw, 7rem);
    align-items: start;
  }
  .product__media { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* ===== Cinta ===== */
.marquee {
  overflow: hidden;
  background: var(--ochre);
  border-block: 1px solid rgba(30, 29, 26, .12);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee__track span {
  padding: 1rem 0;
  padding-right: 2.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== Al banco ===== */
.cards { display: grid; gap: var(--space-4); }
.card { display: grid; gap: var(--space-2); }
.card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  background: var(--paper-2);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
@media (hover: hover) { .card:hover .card__media img { transform: scale(1.04); } }
.card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.card__meta { font-family: var(--mono); font-size: 0.75rem; color: var(--muted); }
.card p { color: var(--ink-2); }
.offer__more { margin-top: var(--space-5); }

@media (min-width: 768px) {
  .cards { grid-template-columns: 1fr 1fr; gap: var(--space-3); }
}

/* ===== Orari e indirizzo ===== */
.visit { background: var(--paper-2); }
.visit__grid { display: grid; gap: var(--space-5); }

.hours { padding: 0; list-style: none; border-top: 1px solid var(--line); }
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}
.hours__time { font-family: var(--mono); font-size: 0.9rem; }
.hours .is-closed .hours__time { color: var(--muted); }
.hours .is-today { font-weight: 500; }
.hours .is-today .hours__day::after {
  content: attr(data-today);
  margin-left: 0.6rem;
  padding: 0.1rem 0.4rem;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: 0.15em;
}
.hours__kitchen {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-2);
  font-size: 0.9rem;
  color: var(--muted);
}
.hours__kitchen strong { font-family: var(--mono); font-weight: 400; color: var(--ink); }

.place { font-style: normal; display: grid; gap: 0.25rem; margin-block: var(--space-4) var(--space-3); }
.place__street { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); font-weight: 300; line-height: 1.15; }
.place__area { color: var(--muted); }
.place__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.place__actions .btn { flex: 1 1 180px; }

.map {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--line);
  filter: grayscale(.35) contrast(1.02);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (min-width: 900px) {
  .visit__grid { grid-template-columns: 1fr 1.1fr; gap: clamp(3rem, 7vw, 7rem); align-items: start; }
  .map { aspect-ratio: 1 / 1; }
}

/* ===== Contatti ===== */
.contact { background: var(--paper-2); }
.contact__grid { display: grid; gap: var(--space-5); }
.contact__list { padding: 0; list-style: none; border-top: 1px solid var(--line); }
.contact__list li { display: grid; gap: 0.3rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact__value {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  font-weight: 300;
  color: var(--ink);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact__value span { border-bottom: 1px solid var(--line); transition: border-color .25s; }
.contact__icon { width: 20px; height: 20px; flex: none; color: var(--ink-2); }
@media (hover: hover) { .contact__value:hover span { border-bottom-color: var(--ink); } }
.contact__copy {
  justify-self: start;
  padding: 0.2rem 0;
  border: 0;
  background: none;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.contact__form { display: grid; gap: var(--space-3); }
.contact__fine { font-size: 0.85rem; color: var(--muted); }

.field { display: grid; gap: 0.4rem; }
.field label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}
/* 16px como mínimo: así el iPhone no hace zoom al tocar el campo */
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}
.field textarea { min-height: 150px; line-height: 1.5; resize: vertical; }
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2.6rem;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231E1D1A' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 0.9rem center;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: #A3432F; }
.field__error { font-size: 0.85rem; color: #A3432F; }

@media (min-width: 900px) {
  .contact__grid { grid-template-columns: 1fr 1.1fr; gap: clamp(3rem, 7vw, 7rem); align-items: start; }
}

/* ===== Storia ===== */
.story__intro { display: grid; gap: var(--space-4); margin-bottom: var(--space-6); }
.story__intro-media { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.story__intro-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.story__intro-text { display: grid; gap: var(--space-3); align-content: center; }
@media (min-width: 900px) {
  .story__intro { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
}

.chapters { display: grid; gap: var(--space-5); padding: 0; list-style: none; counter-reset: chapter; }
.chapter {
  counter-increment: chapter;
  display: grid;
  gap: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
}
.chapter__media {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-2);
}
.chapter__media img,
.chapter__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.chapter__meta {
  display: flex;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.chapter__meta::before { content: counter(chapter, decimal-leading-zero); color: var(--ink); }
.chapter__title { margin-block: 0.6rem 1rem; font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem); font-weight: 300; }
.chapter__body p { color: var(--ink-2); max-width: 52ch; }
.chapter__body p + p { margin-top: 0.8rem; }

@media (min-width: 768px) {
  .chapter { grid-template-columns: 5fr 7fr; gap: var(--space-4); align-items: start; }
  .chapter--text { grid-template-columns: 5fr 7fr; }
  .chapter--text .chapter__body { grid-column: 2; }
  .chapter__media { aspect-ratio: 4 / 5; }
}

.welcome {
  margin-block: var(--space-6);
  padding-block: var(--space-5);
  border-block: 1px solid var(--ink);
  text-align: center;
}
.welcome p {
  font-size: clamp(2rem, 1.2rem + 4vw, 4.6rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.welcome span { display: block; margin-top: var(--space-2); font-family: var(--mono); font-size: 0.75rem; color: var(--muted); }

.pillars { display: grid; gap: var(--space-4); padding: 0; list-style: none; counter-reset: pillar; }
.pillar { counter-increment: pillar; padding-top: var(--space-2); border-top: 1px solid var(--line); }
.pillar::before {
  content: counter(pillar, decimal-leading-zero);
  display: block;
  margin-bottom: var(--space-2);
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
}
.pillar h3 { margin-bottom: 0.6rem; font-size: 1.35rem; font-weight: 400; }
.pillar p { color: var(--ink-2); }
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); } }

.press {
  display: grid;
  gap: 0.4rem;
  margin-top: var(--space-6);
  padding: var(--space-3) 0;
  border-block: 1px solid var(--line);
  text-decoration: none;
}
/* Logo de la revista tal cual (sin recolorear); el PNG es 2x para pantallas retina */
.press__logo { display: block; width: 150px; height: auto; }
.press__title { font-size: clamp(1.2rem, 1rem + 1vw, 1.7rem); font-weight: 300; }
.press__meta { font-family: var(--mono); font-size: 0.75rem; color: var(--muted); }
@media (min-width: 900px) {
  .press { grid-template-columns: 14rem 1fr auto; align-items: center; gap: var(--space-3); }
}

/* ===== Footer ===== */
.footer {
  padding-block: var(--space-5) calc(var(--space-3) + env(safe-area-inset-bottom));
  background: var(--ink);
  color: var(--paper);
}
.footer a { text-decoration: none; }
@media (hover: hover) { .footer a:hover { text-decoration: underline; text-underline-offset: 4px; } }
.footer__cols { display: grid; gap: var(--space-4); }
.footer__col h2 {
  margin-bottom: 0.8rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
}
.footer__col p { font-size: 0.95rem; line-height: 1.7; }
.footer__item { display: flex; align-items: flex-start; gap: 0.65rem; }
.footer__item + .footer__item { margin-top: 0.35rem; }
/* El ícono se alinea con la primera línea de texto (line-height 1.7 × 0.95rem) */
.footer__icon { width: 18px; height: 18px; flex: none; margin-top: 0.3rem; color: var(--stone); }
.footer__item a { overflow-wrap: anywhere; }
.footer__mark {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  margin-block: var(--space-5) var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(246, 242, 232, .15);
}
.footer__mark svg { width: clamp(56px, 8vw, 110px); height: auto; aspect-ratio: 1; flex: none; }
.footer__mark span {
  font-size: clamp(2.6rem, 1rem + 8vw, 9rem);
  font-weight: 300;
  letter-spacing: 0.2em;
  line-height: 1;
}
.footer__legal {
  display: grid;
  gap: 0.3rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--stone);
}
@media (min-width: 768px) {
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
  .footer__legal { grid-auto-flow: column; justify-content: space-between; }
}

/* ===== Página del menú ===== */
.menu-head { padding-block: var(--space-5) var(--space-4); }
.menu-head__grid { display: grid; gap: var(--space-3); }
.menu-head__facts { display: grid; gap: 0.4rem; color: var(--ink-2); }
.menu-head__facts strong { font-family: var(--mono); font-weight: 400; }
@media (min-width: 900px) { .menu-head__grid { grid-template-columns: 1fr 1fr; align-items: end; } }

.legend { margin-top: var(--space-2); font-size: 0.9rem; }
.legend summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.legend ol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.2rem 1.5rem;
  padding: var(--space-2) 0 0 1.5rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ink-2);
}
@media (min-width: 768px) { .legend ol { grid-template-columns: repeat(4, 1fr); } }

.menu-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: var(--paper);
  border-block: 1px solid var(--line);
}
.menu-nav ul {
  display: flex;
  gap: 1.75rem;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.menu-nav ul::-webkit-scrollbar { display: none; }
.menu-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: var(--muted);
  border-bottom: 1.5px solid transparent;
}
.menu-nav a[aria-current="true"] { color: var(--ink); border-bottom-color: var(--ink); }

.menu-list { padding-block: var(--space-4) var(--space-6); }
.menu-cat {
  padding-top: var(--space-5);
  scroll-margin-top: calc(var(--header-h) + 64px);
}
.menu-cat__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: var(--space-2); }
.menu-cat__title { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); font-weight: 300; }
.menu-cat__note { font-family: var(--mono); font-size: 0.75rem; color: var(--muted); }
.menu-group__title {
  margin-top: var(--space-3);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.items { padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.15rem 1.5rem;
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--line);
}
.item__name { font-weight: 500; }
.item__price { font-family: var(--mono); font-size: 0.9rem; white-space: nowrap; }
.item__desc, .item__adds, .item__meta { grid-column: 1 / -1; font-size: 0.9rem; color: var(--muted); }
.item__meta { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; font-family: var(--mono); font-size: 0.7rem; }
.allergens { letter-spacing: 0.04em; }
.badge {
  padding: 0.05rem 0.4rem;
  border: 1px solid var(--shutter);
  color: var(--shutter);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.extras { margin-top: var(--space-2); font-size: 0.9rem; }
.extras__title { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.3rem; }
.extras ul { display: grid; gap: 0.2rem; padding: 0; list-style: none; }
.extras li { display: flex; justify-content: space-between; gap: 1rem; color: var(--ink-2); }
.extras li span:last-child { font-family: var(--mono); font-size: 0.85rem; }

@media (min-width: 900px) {
  .menu-columns { columns: 2; column-gap: clamp(3rem, 6vw, 6rem); }
  .menu-cat { break-inside: avoid; }
}

/* ===== Animaciones ===== */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--delay, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

.js .reveal-media { clip-path: inset(8% 0 0 0); transition: clip-path 1.3s var(--ease); }
.js .reveal-media > img,
.js .reveal-media > video { transform: scale(1.08); transition: transform 1.8s var(--ease); }
.js .reveal-media.is-in { clip-path: inset(0 0 0 0); }
.js .reveal-media.is-in > img,
.js .reveal-media.is-in > video { transform: none; }

.js .hero__panel > * { opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .is-loaded .hero__panel > * { opacity: 1; transform: none; }
.js .is-loaded .hero__panel > :nth-child(2) { transition-delay: .1s; }
.js .is-loaded .hero__panel > :nth-child(3) { transition-delay: .2s; }
.js .is-loaded .hero__panel > :nth-child(4) { transition-delay: .3s; }
.js .is-loaded .hero__panel > :nth-child(5) { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .drawer__nav li { opacity: 1; transform: none; transition: none; }
  .js .reveal, .js .reveal-media, .js .reveal-media > img, .js .reveal-media > video,
  .js .hero__panel > * {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    transition: none !important;
  }
}

.product__form { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
.product__media--label .product__tag { top: auto; bottom: 1rem; }

/* Una sola opción (formato o macinatura): ocupa todo el ancho */
.choice__options.is-single { grid-template-columns: 1fr; }
.choice__note { margin-top: 0.5rem; font-size: 0.85rem; color: var(--muted); }
.blend { display: block; white-space: nowrap; }

/* ===== Carrusel de fotos (Al banco) =====
   Deslizable con el dedo (scroll-snap), flechas y contador. */
.slider { position: relative; }
.slider__track {
  display: flex;
  height: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.slider__slide img { width: 100%; height: 100%; object-fit: cover; }
.slider__ui {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.25rem 0.25rem 0.7rem;
  background: rgba(246, 242, 232, .92);
}
.slider__count { font-family: var(--mono); font-size: 0.7rem; margin-right: 0.35rem; }
.slider__btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.slider__btn svg { width: 16px; height: 16px; }
.slider__btn[data-slider-prev] svg { transform: rotate(180deg); }
.slider__btn:disabled { opacity: .3; cursor: default; }
@media (hover: hover) { .slider__btn:not(:disabled):hover { background: var(--ink); color: var(--paper); } }
@media (prefers-reduced-motion: reduce) { .slider__track { scroll-behavior: auto; } }

/* ===== Botón flotante de WhatsApp ===== */
.wa {
  position: fixed;
  left: max(16px, env(safe-area-inset-left));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.wa.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }
.wa__button {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(30, 29, 26, .25);
  transition: transform .2s var(--ease);
}
.wa__button svg { width: 28px; height: 28px; }
@media (hover: hover) { .wa__button:hover { transform: scale(1.06); } }

.wa__bubble {
  position: relative;
  display: flex;
  align-items: flex-start;
  width: min(280px, calc(100vw - 32px));
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(30, 29, 26, .15);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.wa__bubble.is-open { opacity: 1; transform: none; }
.wa__bubble::after {
  content: "";
  position: absolute;
  left: 22px;
  bottom: -6px;
  width: 10px;
  height: 10px;
  background: var(--paper);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: rotate(45deg);
}
.wa__msg {
  flex: 1;
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 0 0.85rem 1rem;
  font-size: 0.9rem;
  line-height: 1.4;
  text-decoration: none;
}
.wa__msg strong { font-weight: 500; }
.wa__msg span { color: var(--ink-2); }
.wa__close {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
}
.wa__close svg { width: 16px; height: 16px; }
@media (hover: hover) { .wa__close:hover { color: var(--ink); } }

/* Que el botón no tape el final del footer */
.footer { padding-bottom: calc(var(--space-3) + 72px + env(safe-area-inset-bottom)); }

@media (prefers-reduced-motion: reduce) {
  .wa, .wa__bubble { transition: none; }
}

/* ===== I nostri caffè ===== */
.coffees__grid { display: grid; gap: var(--space-3); }
.coffee {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: var(--space-3);
  border: 1px solid var(--line);
  background: var(--paper);
}
.coffee__top { display: flex; align-items: center; justify-content: space-between; }
.coffee__num { font-family: var(--mono); font-size: 0.75rem; color: var(--muted); }
.coffee__badge {
  padding: 0.15rem 0.5rem;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.coffee__badge.is-fixed { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.coffee__use { font-family: var(--mono); font-size: 0.75rem; color: var(--ink-2); }
.coffee__name { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 300; line-height: 1.15; }
.coffee__ask { color: var(--ink-2); }
.coffee__specs { display: grid; margin-top: auto; border-top: 1px solid var(--line); }
.coffee__specs div {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.75rem;
  padding-block: 0.55rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.coffee__specs dt {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.15rem;
}
.coffee__specs dd { margin: 0; }
.coffee .link-arrow { align-self: flex-start; }
@media (min-width: 900px) {
  .coffees__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ===== Instagram =====
   Mosaico fijo de fotos propias que lleva al perfil */
.ig__mosaic { position: relative; display: block; }
.ig__mosaic ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.ig__mosaic li { aspect-ratio: 1; overflow: hidden; background: var(--paper-2); }
.ig__mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ig__badge {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(246, 242, 232, .92);
  color: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease);
}
.ig__badge svg { width: 28px; height: 28px; }
@media (hover: hover) {
  .ig__mosaic:hover img { transform: scale(1.04); }
  .ig__mosaic:hover .ig__badge { transform: translate(-50%, -50%) scale(1.08); }
}
.ig__cta { margin-top: var(--space-3); }
@media (max-width: 599px) { .ig__cta { width: 100%; } }
@media (min-width: 900px) { .ig__mosaic ul { grid-template-columns: repeat(6, 1fr); } }

/* ===== Frase grande ===== */
.statement {
  padding-block: var(--space-5);
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.statement__text {
  max-width: 28ch;
  margin-inline: auto;
  font-size: clamp(1.5rem, 1.1rem + 2vw, 2.6rem);
  font-weight: 300;
  line-height: 1.25;
}

.link-arrow svg.is-out { transform: rotate(-45deg); }
@media (hover: hover) { .link-arrow:hover svg.is-out { transform: rotate(-45deg) translateX(3px); } }

/* Nombre del plato en el carrusel de brunch */
.slider__caption {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  padding: 0.35rem 0.6rem;
  background: rgba(246, 242, 232, .92);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* Historia: capítulos con foto, alternando lados en escritorio */
.chapter__media--square { aspect-ratio: 1 / 1; }
.chapter__media--wide { aspect-ratio: 823 / 373; align-self: center; }
@media (min-width: 768px) {
  .chapter:nth-child(even) { grid-template-columns: 7fr 5fr; }
  .chapter:nth-child(even) .chapter__media { order: 2; }
  .chapter__media--square { aspect-ratio: 1 / 1; }
  .chapter__media--wide { aspect-ratio: 823 / 373; }
}

.shop-notice {
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  background: var(--paper-2);
  font-size: 0.9rem;
  word-break: break-word;
}
.shop-notice.is-ok { border-color: var(--shutter); color: var(--shutter); }

/* Aviso de cierre especial en «Orari» */
.closure-note {
  margin-bottom: var(--space-2);
  padding: 0.75rem 0.9rem;
  border-left: 3px solid var(--closing);
  background: var(--paper);
  font-weight: 500;
}

/* ===== Consentimiento de cookies ===== */
.consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.9rem;
}
.consent__inner {
  display: grid;
  gap: 0.75rem;
  padding-block: 1rem;
}
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.consent__actions { display: flex; gap: 0.5rem; }
.consent__actions .btn { flex: 1; min-height: 44px; }
.consent .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.consent .btn--outline { background: transparent; color: var(--paper); }
@media (min-width: 900px) {
  .consent__inner { grid-template-columns: 1fr auto; align-items: center; gap: var(--space-4); }
  .consent__actions .btn { flex: 0 0 auto; }
}
/* Con el aviso abierto, el botón de contacto sube para no quedar tapado */
.has-consent-bar .wa { bottom: calc(max(16px, env(safe-area-inset-bottom)) + 150px); }
@media (min-width: 900px) { .has-consent-bar .wa { bottom: 96px; } }

/* Mapa e Instagram antes del consentimiento */
.embed-gate {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.9rem;
  height: 100%;
  padding: var(--space-3);
  text-align: center;
  color: var(--ink-2);
  font-size: 0.92rem;
}
.embed-gate p { max-width: 32ch; }
.embed-gate__alt { font-size: 0.85rem; text-decoration: underline; text-underline-offset: 3px; }
.map .embed-gate { background: var(--paper); border: 1px solid var(--line); }
.map { filter: none; }
.map iframe { filter: grayscale(.35) contrast(1.02); }
.embed-gate--bar {
  grid-auto-flow: row;
  place-content: start;
  justify-items: start;
  height: auto;
  margin-bottom: var(--space-3);
  padding: 0;
  text-align: left;
}
.embed-gate--bar[hidden] { display: none; }
@media (min-width: 768px) {
  .embed-gate--bar { grid-auto-flow: column; align-items: center; gap: var(--space-3); }
  .embed-gate--bar p { max-width: none; }
}
.footer__link {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* ===== Página de privacidad ===== */
html[lang="en"] .lang-it,
html[lang="it"] .lang-en { display: none; }
.legal { padding-block: var(--space-5) var(--space-6); }
.legal__wrap { max-width: 760px; }
.legal h1 { margin-block: 0.5rem var(--space-4); }
.legal h2 {
  margin-block: var(--space-4) 0.75rem;
  font-size: 1.35rem;
  font-weight: 400;
}
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: 0.75rem; }
.legal ul { display: grid; gap: 0.5rem; padding-left: 1.2rem; margin-top: 0.75rem; }
.legal a { text-underline-offset: 3px; }
.legal .btn { margin-top: var(--space-4); }

/* Auditoría: contraste sobre ocre y espacio reservado para evitar saltos */
.hero .eyebrow,
.hero__rating { color: var(--ink-2); }
.menu-nav ul { min-height: 50px; }
/* La carta se dibuja con JS: reservar espacio para que lo de abajo no salte */
#menu-list:empty { min-height: 200vh; }
