/* =========================================================================
   Amor Pescado — fast food gourmet di pesce.
   Banco bianco, inchiostro nero, il rosa del marchio come unico colore pieno,
   turchese solo come segnale. Grotesk deciso, prezzi tabellari, foto vere.
   ========================================================================= */
@font-face { font-family: "Bricolage"; src: url(fonts/BricolageGrotesque.ttf) format("truetype"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Hanken"; src: url(fonts/HankenGrotesk.ttf) format("truetype"); font-weight: 100 900; font-display: swap; }

:root {
  --white: #ffffff;
  --counter: #f6f4f2;       /* un passo dal bianco, per le superfici */
  --ink: #141212;
  --ink-2: #4f4a48;          /* testo secondario, tinto dall'inchiostro (8:1) */
  --line: #e7e3e0;
  --pink: #f0679f;           /* il rosa del marchio */
  --pink-deep: #c93f78;
  --pink-wash: #fde4ee;
  --teal: #1d9fb3;

  --display: "Bricolage", "Hanken", system-ui, sans-serif;
  --text: "Hanken", system-ui, sans-serif;

  --t-small: 0.9375rem;
  --t-body: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem);
  --t-lead: clamp(1.25rem, 1.05rem + 0.8vw, 1.625rem);
  --t-h3: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --t-h2: clamp(2.25rem, 1.6rem + 2.2vw, 3.5rem);
  --t-hero: clamp(3.25rem, 1.4rem + 7vw, 6rem);

  --m: clamp(16px, 4vw, 64px);
  --r: 26px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --shadow: 0 18px 40px -18px rgba(20, 18, 18, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-color: var(--ink) var(--counter); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--text); font-size: var(--t-body); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 4px; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { background: var(--pink); color: var(--ink); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 8px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* --- pillole: l'unico componente d'azione ------------------------------------ */
.pill {
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 20px;
  border: 1.5px solid var(--ink); border-radius: 999px; background: var(--white);
  font-weight: 700; text-decoration: none; white-space: nowrap;
  transition: transform 0.3s var(--spring), background-color 0.2s, color 0.2s, box-shadow 0.3s var(--ease);
}
.pill:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.pill:active { transform: translateY(0) scale(0.97); }
.pill--big { min-height: 58px; padding: 0 28px; font-size: 1.0625rem; }
.pill--ink { background: var(--ink); color: var(--white); }
.pill--pink { background: var(--pink); border-color: var(--pink); color: var(--ink); }
.pill--pink:hover { background: var(--pink-deep); border-color: var(--pink-deep); color: var(--white); }
.pill .ic { transition: transform 0.35s var(--spring); }
.pill:hover .ic { transform: translateX(3px); }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--counter); transition: background-color 0.2s, transform 0.3s var(--spring); }
.icon-btn:hover { background: var(--pink-wash); transform: rotate(90deg); }

.h2 { font-family: var(--display); font-weight: 800; font-size: var(--t-h2); line-height: 0.95; letter-spacing: -0.035em; font-stretch: 90%; text-wrap: balance; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 40px; margin-bottom: 40px; }
.sec-head p { max-width: 42ch; color: var(--ink-2); }

/* --- avanzamento e barra -------------------------------------------------- */
.progress { position: fixed; inset: 0 0 auto; z-index: 60; height: 3px; }
.progress i { display: block; height: 100%; background: var(--pink); transform-origin: left; transform: scaleX(0); }
.top {
  position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 32px;
  padding: 14px var(--m); background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  transition: box-shadow 0.3s;
}
.top.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.top__logo { margin-right: auto; }
.top__back { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px 8px 8px; border-radius: 999px; background: var(--counter); font-size: 0.875rem; font-weight: 700; text-decoration: none; transition: background-color 0.2s; }
.top__back:hover { background: var(--pink-wash); }
.top__back .ic { width: 16px; height: 16px; }
.top__logo img { height: 42px; width: auto; transition: transform 0.4s var(--spring); }
.top__logo:hover img { transform: rotate(-3deg) scale(1.04); }
.top__nav { display: flex; gap: 28px; font-weight: 700; }
.top__nav a { position: relative; text-decoration: none; padding: 8px 0; }
.top__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 3px; border-radius: 3px; background: var(--pink); transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease); }
.top__nav a:hover::after { transform: scaleX(1); transform-origin: left; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; grid-template-rows: 1fr auto 1fr;
  grid-template-areas: ". show" "title show" "copy show";
  column-gap: clamp(32px, 5vw, 80px); row-gap: 28px;
  height: max(620px, calc(100svh - 74px - 100px)); padding: clamp(24px, 3vw, 40px) var(--m);
}
.hero__title { grid-area: title; align-self: end; }
.hero__copy { grid-area: copy; align-self: start; display: grid; gap: 26px; }
.show { grid-area: show; min-height: 0; }
.hero__title { font-family: var(--display); font-weight: 800; font-size: var(--t-hero); line-height: 0.9; letter-spacing: -0.04em; font-stretch: 85%; }
.ln { display: block; overflow: hidden; padding-bottom: 0.06em; }
.ln > span { display: block; }
.ln:nth-child(2) > span { color: var(--pink-deep); }
.hero__lead { max-width: 38ch; font-size: var(--t-lead); line-height: 1.4; color: var(--ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__where { display: flex; align-items: center; gap: 8px; font-size: var(--t-small); color: var(--ink-2); }

.show { position: relative; display: grid; grid-template-rows: 1fr auto; gap: 16px; }
.show__tile { position: relative; min-height: 0; border-radius: var(--r); overflow: hidden; background: var(--counter); box-shadow: 0 40px 80px -40px rgba(20, 18, 18, 0.55); }
.show__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 28% center; opacity: 0; transform: scale(1.12); transition: opacity 0.9s var(--ease), transform 4.2s linear; }
.show__img.is-on { opacity: 1; transform: scale(1.02); }
.flag {
  position: absolute; left: -18px; bottom: 72px; display: grid; gap: 2px; padding: 16px 22px 18px;
  background: var(--pink); border-radius: 18px; box-shadow: var(--shadow);
  transform-origin: left center; transition: transform 0.5s var(--spring), opacity 0.3s;
}
.flag.is-flip { transform: rotateX(90deg); opacity: 0; transition: transform 0.25s ease-in, opacity 0.2s; }
.flag__name { font-weight: 700; font-size: 1rem; max-width: 22ch; }
.flag__price { font-family: var(--display); font-weight: 800; font-size: 2.25rem; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.show__dots { display: flex; gap: 8px; }
.show__dots button { flex: 1; height: 4px; border: 0; padding: 0; border-radius: 4px; background: var(--line); position: relative; overflow: hidden; }
.show__dots button::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.show__dots button.is-done::after { transform: scaleX(1); }
.show__dots button.is-on::after { animation: fill var(--dur, 3.6s) linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }

/* --- nastro delle sezioni ------------------------------------------------- */
.ticker { overflow: hidden; background: var(--ink); color: var(--white); padding: 18px 0; }
.ticker__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: run 34s linear infinite; }
.ticker span { font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 1rem + 1.6vw, 2.5rem); letter-spacing: -0.02em; font-stretch: 85%; white-space: nowrap; }
.ticker i { width: 12px; height: 12px; border-radius: 50%; background: var(--pink); flex: none; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes run { to { transform: translateX(-50%); } }

/* =========================================================================
   VITRINA
   ========================================================================= */
.vitrina { padding: clamp(80px, 10vw, 140px) 0 clamp(60px, 8vw, 110px); }
.vitrina .sec-head { padding: 0 var(--m); }
.rail { display: flex; gap: 20px; overflow-x: auto; padding: 8px var(--m) 28px; scroll-snap-type: x mandatory; scroll-padding-inline: var(--m); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.dish { flex: none; width: clamp(240px, 24vw, 320px); scroll-snap-align: start; display: grid; gap: 12px; }
.dish__img { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: var(--counter); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.dish__img > button:not(.add) { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; }
.dish__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.dish:hover .dish__img { transform: translateY(-6px); box-shadow: var(--shadow); }
.dish:hover .dish__img img { transform: scale(1.07); }
.dish__row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: start; }
.dish__name { font-family: var(--display); font-weight: 700; font-size: var(--t-h3); line-height: 1.1; letter-spacing: -0.02em; }
.dish__price { font-family: var(--display); font-weight: 800; font-size: var(--t-h3); font-variant-numeric: tabular-nums; }
.dish__desc { grid-column: 1 / -1; font-size: var(--t-small); color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.add {
  position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 48px; height: 48px;
  border: 0; border-radius: 50%; background: var(--white); color: var(--ink); box-shadow: var(--shadow);
  transition: transform 0.35s var(--spring), background-color 0.2s;
}
.add:hover { background: var(--pink); transform: scale(1.08) rotate(90deg); }
.add.is-pop { animation: pop 0.5s var(--spring); }
@keyframes pop { 40% { transform: scale(1.3); background: var(--pink); } }

/* =========================================================================
   LA CARTA
   ========================================================================= */
.carta { padding: clamp(60px, 8vw, 110px) var(--m) clamp(80px, 10vw, 140px); background: var(--counter); }
.board-bar { position: sticky; top: 70px; z-index: 20; display: grid; gap: 12px; margin: 0 calc(-1 * var(--m)); padding: 14px var(--m); background: rgba(246, 244, 242, 0.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.cats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cats a { flex: none; padding: 10px 18px; border-radius: 999px; background: var(--white); font-weight: 700; text-decoration: none; transition: background-color 0.25s, color 0.25s, transform 0.3s var(--spring); }
.cats a:hover { transform: translateY(-2px); }
.cats a.is-on { background: var(--pink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { flex: none; padding: 7px 14px; border: 1.5px solid var(--ink); border-radius: 999px; background: transparent; font-size: var(--t-small); font-weight: 600; transition: background-color 0.2s, transform 0.3s var(--spring); }
.chip:hover { transform: translateY(-2px); }
.chip[aria-pressed="true"] { background: var(--pink); border-color: var(--pink); }

.board { display: grid; gap: 64px; margin-top: 40px; }
.sec { scroll-margin-top: 190px; }
.sec__title { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 14px; margin-bottom: 4px; border-bottom: 2px solid var(--ink); }
.sec__title h3 { font-family: var(--display); font-weight: 800; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem); letter-spacing: -0.03em; line-height: 1; font-stretch: 88%; }
.sec__title span { font-size: var(--t-small); color: var(--ink-2); }
.rows { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
.rows--plain { grid-template-columns: repeat(3, 1fr); }
.row { display: grid; grid-template-columns: 1fr auto 44px; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.row.is-out { display: none; }
.row__open { display: grid; grid-template-columns: 60px 1fr; gap: 16px; align-items: center; min-width: 0; padding: 0; border: 0; background: none; text-align: left; border-radius: 12px; }
.row__thumb { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; transition: transform 0.4s var(--spring); }
.row__thumb--blank { visibility: hidden; }
.row__open:hover .row__thumb { transform: scale(1.12) rotate(-6deg); }
.row__txt { display: grid; gap: 2px; min-width: 0; }
.row__name { font-weight: 800; font-size: 1.125rem; line-height: 1.25; }
.row__desc { font-size: 1rem; color: var(--ink-2); line-height: 1.45; }
.row__price { font-family: var(--display); font-weight: 800; font-size: 1.375rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.row .add { position: static; width: 44px; height: 44px; box-shadow: none; border: 1.5px solid var(--ink); }
.board__empty { margin-top: 32px; font-weight: 700; }
.note { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 56px; margin-top: 72px; padding-top: 28px; border-top: 2px solid var(--ink); }
.note p { max-width: 52ch; color: var(--ink-2); }
.note b { color: var(--ink); }

/* =========================================================================
   VINOS: il campo rosa
   ========================================================================= */
.vinos { padding: clamp(80px, 10vw, 140px) var(--m); background: var(--pink); }
.vinos .sec-head p { color: var(--ink); }
.vinos__grid { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 20px 48px; align-items: start; }
.vgroup--wide .vgroup__list { display: block; columns: 2; column-gap: 40px; }
.vgroup--wide .wine { break-inside: avoid; }
.vgroup h3 { font-family: var(--display); font-weight: 800; font-size: var(--t-h3); letter-spacing: -0.02em; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.wine { display: grid; align-content: start; gap: 6px; padding: 18px 0; border-bottom: 1px solid rgba(20, 18, 18, 0.25); }
.wine__top { display: flex; justify-content: space-between; gap: 16px; font-weight: 800; }
.wine__top b { font-family: var(--display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.wine p { font-size: 1rem; }
.wine__with { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.wine__with button { padding: 5px 12px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.72); font-size: 0.875rem; font-weight: 700; transition: background-color 0.2s, transform 0.3s var(--spring); }
.wine__with button:hover { background: var(--white); transform: translateY(-2px); }

/* =========================================================================
   VISITANOS
   ========================================================================= */
.visita { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; padding: clamp(80px, 10vw, 140px) var(--m); }
.visita__info { display: grid; gap: 28px; }
.visita__addr { font-family: var(--display); font-weight: 700; font-size: var(--t-lead); line-height: 1.3; letter-spacing: -0.02em; }
.visita__acts { display: flex; flex-wrap: wrap; gap: 12px; }
.visita__img { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; }
.visita__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.js .visita__img img { transform: scale(1.08); }
.js .visita__img.is-in img { transform: scale(1); }

/* --- piede --------------------------------------------------------------- */
.pie { display: grid; justify-items: center; gap: 12px; padding: 80px var(--m) 120px; background: var(--ink); color: var(--white); text-align: center; }
.pie__mark { width: 84px; animation: swim 5s ease-in-out infinite; }
@keyframes swim { 50% { transform: translateY(-8px) rotate(6deg); } }
.pie__claim { font-family: var(--display); font-weight: 800; font-size: var(--t-lead); letter-spacing: -0.02em; }
.pie__small { font-size: var(--t-small); color: #cfc9c6; }
.pie__small a { color: var(--pink); font-weight: 700; }

/* --- ritorno a Samedi ------------------------------------------------------- */
.back {
  position: fixed; left: max(16px, env(safe-area-inset-left, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); z-index: 55;
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px;
  border-radius: 999px; background: var(--ink); color: var(--white); font-size: 0.875rem; font-weight: 700; text-decoration: none;
  box-shadow: var(--shadow); transition: transform 0.3s var(--spring);
}
.back:hover { transform: translateX(-3px); }
.back.is-away { transform: translateY(160%); pointer-events: none; }
.back .ic { width: 18px; height: 18px; }

/* =========================================================================
   IL TUO ORDINE
   ========================================================================= */
.tray { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); z-index: 56; display: grid; justify-items: end; gap: 12px; }
.tray__pill { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--pink); font-weight: 800; box-shadow: var(--shadow); animation: arrive 0.6s var(--spring); }
.tray__pill b { font-family: var(--display); font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.tray.is-bump .tray__pill { animation: bump 0.5s var(--spring); }
@keyframes arrive { from { transform: translateY(140%); } }
@keyframes bump { 40% { transform: scale(1.08); } }
.tray__panel { width: min(380px, calc(100vw - 32px)); max-height: 62svh; overflow: auto; display: grid; gap: 16px; padding: 22px; background: var(--white); border-radius: var(--r); box-shadow: 0 30px 70px -20px rgba(20, 18, 18, 0.45); animation: up 0.4s var(--ease); }
@keyframes up { from { opacity: 0; transform: translateY(16px); } }
.tray__head { display: flex; justify-content: space-between; align-items: center; }
.tray__head h2 { font-family: var(--display); font-weight: 800; font-size: 1.75rem; letter-spacing: -0.02em; }
.tray__list { display: grid; gap: 10px; }
.tray__list li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; }
.qty { display: flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.qty button { display: grid; place-items: center; width: 32px; height: 32px; border: 1.5px solid var(--ink); border-radius: 50%; background: none; }
.qty .ic { width: 14px; height: 14px; }
.tray__list .tot { padding-top: 12px; border-top: 2px solid var(--ink); font-family: var(--display); font-weight: 800; font-size: 1.25rem; }
.tray__note { font-size: var(--t-small); color: var(--ink-2); }
.tray__acts { display: flex; flex-wrap: wrap; gap: 10px; }
.fly { position: fixed; z-index: 90; width: 54px; height: 54px; border-radius: 50%; object-fit: cover; pointer-events: none; box-shadow: var(--shadow); }

/* =========================================================================
   SCHEDA DEL PIATTO
   ========================================================================= */
.sheet { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px; background: rgba(20, 18, 18, 0.5); animation: fade 0.3s; }
@keyframes fade { from { opacity: 0; } }
.sheet__card { position: relative; width: min(560px, 100%); max-height: calc(100svh - 48px); overflow: auto; background: var(--white); border-radius: var(--r); animation: rise 0.5s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(40px) scale(0.97); } }
.sheet__close { position: absolute; top: 14px; right: 14px; z-index: 1; background: var(--white); }
.sheet__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.sheet__img.is-none { display: none; }
.sheet__body { display: grid; gap: 12px; justify-items: start; padding: 26px 28px 30px; }
.sheet__name { font-family: var(--display); font-weight: 800; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); line-height: 1.02; letter-spacing: -0.03em; }
.sheet__price { font-family: var(--display); font-weight: 800; font-size: 1.75rem; color: var(--pink-deep); font-variant-numeric: tabular-nums; }
.sheet__desc { color: var(--ink-2); }
.sheet__wine { padding: 12px 16px; border-radius: 14px; background: var(--pink-wash); font-size: var(--t-small); }

/* =========================================================================
   MOVIMENTO D'ENTRATA (contenuto visibile se il JS manca)
   ========================================================================= */
.js .ln > span { transform: translateY(105%); }
.js .is-ready .ln > span { transform: none; transition: transform 1.1s var(--ease); }
.js .is-ready .ln:nth-child(2) > span { transition-delay: 0.12s; }
.js .hero__lead, .js .hero__cta, .js .hero__where, .js .show { opacity: 0; transform: translateY(18px); }
.js .is-ready .hero__lead, .js .is-ready .hero__cta, .js .is-ready .hero__where, .js .is-ready .show { opacity: 1; transform: none; transition: opacity 0.8s var(--ease), transform 1s var(--ease); }
.js .is-ready .hero__lead { transition-delay: 0.35s; }
.js .is-ready .hero__cta { transition-delay: 0.45s; }
.js .is-ready .hero__where { transition-delay: 0.55s; }
.js .is-ready .show { transition-delay: 0.2s; }
.js .up { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.js .up.is-in { opacity: 1; transform: none; }
.js .vinos { clip-path: inset(5% 3% 5% 3% round 40px); transition: clip-path 1.2s var(--ease); }
.js .vinos.is-in { clip-path: inset(0 0 0 0 round 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .js .ln > span, .js .up, .js .hero__lead, .js .hero__cta, .js .hero__where, .js .show { opacity: 1 !important; transform: none !important; }
  .js .vinos { clip-path: none; }
}

/* =========================================================================
   TABLET E TELEFONO
   ========================================================================= */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: auto; grid-template-areas: "title" "show" "copy"; height: auto; row-gap: 22px; }
  .show { max-width: 560px; }
  .show__tile { aspect-ratio: 4 / 3; }
  .show__img { object-position: right center; }
  .rows, .rows--plain, .visita, .note { grid-template-columns: 1fr; }
  .vinos__grid { grid-template-columns: 1fr; }
  .vgroup--wide .vgroup__list { columns: 1; }
}
@media (max-width: 640px) {
  .top { gap: 12px; padding: 10px var(--m); }
  .top__nav { display: none; }
  .top__logo img { height: 36px; }
  .board-bar { top: 58px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .flag { left: 12px; bottom: 60px; }
  .flag__price { font-size: 1.75rem; }
  .row { grid-template-columns: 1fr 44px; gap: 6px 12px; }
  .row__open { grid-template-columns: 52px 1fr; gap: 12px; }
  .row__thumb { width: 52px; height: 52px; }
  .row__price { grid-column: 1; grid-row: 2; padding-left: 64px; font-size: 1.25rem; }
  .row .add { grid-column: 2; grid-row: 1; }
  .rows--plain .row { grid-template-columns: 1fr auto 44px; }
  .rows--plain .row__price { grid-column: auto; grid-row: auto; padding-left: 0; }
  .rows--plain .row .add { grid-column: auto; grid-row: auto; }
  .sheet { align-items: end; padding: 0; }
  .sheet__card { border-radius: var(--r) var(--r) 0 0; max-height: 90svh; }
  .pie { padding-bottom: 140px; }
  .back { padding: 10px 14px 10px 10px; font-size: 0.8125rem; }
}
