/* Atelier Patagónico — papel crema y tinta sepia, como su afiche de apertura. Una sola familia: Cormorant Garamond. */
:root {
  --paper: #eae3d6;
  --paper-2: #e2d9c9;
  --ink: #2a211b;
  --ink-2: rgba(42, 33, 27, .68);
  --line: rgba(42, 33, 27, .18);
  --white: #f8f4ec;
  --head: 76px;
  --gut: clamp(18px, 4vw, 56px);
  --max: 1480px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --serif: 'Cormorant Garamond', 'Cormorant', Georgia, serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--head); }
html.locked { overflow: hidden; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 500 20px/1.45 var(--serif); font-feature-settings: 'kern', 'liga', 'onum';
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before { /* grano de papel */
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .15 0 0 0 0 .1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ───────── botones ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 58px; padding: 0 30px; border-radius: 999px; text-decoration: none;
  font-size: 19px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  transition: transform .5s var(--ease), background .3s, color .3s;
  white-space: nowrap;
}
.btn--buy { background: var(--ink); color: var(--paper); }
.btn--buy:hover { background: #000; }
.btn--buy:disabled { background: var(--ink-2); }
.btn--line { border: 1.5px solid var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--add { border: 1.5px solid var(--ink); }
.btn--add:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.btn--add:disabled { opacity: .4; }
.btn--add b { font-weight: 600; letter-spacing: .04em; }
.btn--wide { width: 100%; }
.btn--grow { flex: 1; justify-content: space-between; }
.plus {
  width: 50px; height: 50px; flex: none; border-radius: 50%; border: 1.5px solid var(--ink);
  display: grid; place-items: center; transition: background .3s, color .3s, transform .5s var(--ease);
}
.plus svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.8; fill: none; transition: transform .5s var(--ease); }
.plus:hover { background: var(--ink); color: var(--paper); }
.plus:hover svg { transform: rotate(90deg); }
.badge {
  display: inline-block; padding: 6px 16px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 15px; letter-spacing: .16em; text-transform: uppercase;
}

/* ───────── cabecera ───────── */
.head {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--head);
  display: flex; align-items: center; gap: clamp(14px, 3vw, 40px); padding: 0 var(--gut);
  transition: background .4s, box-shadow .4s;
}
.head.scrolled { background: rgba(234, 227, 214, .92); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand__mtn { width: 56px; height: 20px; fill: var(--ink); }
.brand__name { font-size: 21px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }
.nav { display: flex; gap: clamp(16px, 2.4vw, 36px); }
.nav a {
  position: relative; text-decoration: none; font-size: 18px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; padding: 6px 0;
}
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--ink); transform: scaleX(0); transition: transform .5s var(--ease); }
.nav a:hover::after, .nav a.on::after { transform: scaleX(1); }
.lang { position: relative; display: flex; border: 1.5px solid var(--ink); border-radius: 999px; padding: 3px; }
.lang button { position: relative; z-index: 1; padding: 6px 12px; font-size: 15px; font-weight: 700; letter-spacing: .12em; border-radius: 999px; transition: color .35s; }
.lang button[aria-pressed="true"] { color: var(--paper); }
.lang__pill { position: absolute; left: 0; top: 3px; bottom: 3px; border-radius: 999px; background: var(--ink); transition: transform .5s var(--ease), width .5s var(--ease); }
.bagbtn {
  position: relative; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 8px 0 20px;
  border: 1.5px solid var(--ink); border-radius: 999px; font-size: 17px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  transition: background .3s, color .3s;
}
.bagbtn:hover { background: var(--ink); color: var(--paper); }
.bagbtn__n { min-width: 32px; height: 32px; padding: 0 8px; border-radius: 999px; display: grid; place-items: center; background: var(--ink); color: var(--paper); font-size: 16px; letter-spacing: 0; transition: background .3s, color .3s; }
.bagbtn:hover .bagbtn__n { background: var(--paper); color: var(--ink); }
.bagbtn.bump .bagbtn__n { animation: bump .6s var(--ease); }
@keyframes bump { 30% { transform: scale(1.45); } }
.flydot { position: fixed; z-index: 90; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); pointer-events: none; }

/* ───────── portada ───────── */
.hero {
  position: relative; min-height: 100svh; max-width: var(--max); margin: 0 auto;
  padding: calc(var(--head) + 48px) var(--gut) 72px;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(32px, 5vw, 96px);
}
.hero__condor {
  position: absolute; z-index: 2; left: 0; top: calc(var(--head) - 6px); width: clamp(180px, 24vw, 380px); pointer-events: none;
  transform: translateX(-110%) rotate(12deg); opacity: 0; transition: transform 2.2s var(--ease) .4s, opacity 1.2s .4s;
}
.ready .hero__condor { transform: none; opacity: 1; }
.hero__condor img { width: 100%; }
.hero__copy { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; text-align: center; }
.seal { position: relative; width: clamp(150px, 15vw, 210px); aspect-ratio: 1; display: grid; place-items: center; margin-bottom: clamp(14px, 2vw, 26px); }
.seal__ring { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--ink); stroke-width: 2.2; transform: rotate(-90deg); }
.seal__ring circle { stroke-dasharray: 604; stroke-dashoffset: 604; transition: stroke-dashoffset 1.8s var(--ease); }
.seal__mtn { width: 74%; fill: var(--ink); margin-top: -10%; clip-path: inset(0 100% 0 0); transition: clip-path 1.6s var(--ease) .5s; }
.ready .seal__ring circle, .seal.in .seal__ring circle { stroke-dashoffset: 0; }
.ready .seal__mtn, .seal.in .seal__mtn { clip-path: inset(0 0 0 0); }
.hero__title { margin: 0; font-weight: 500; line-height: .9; text-transform: uppercase; }
.hero__l1, .hero__l2 { display: block; }
.hero__l1 { font-size: clamp(64px, 10.5vw, 168px); letter-spacing: .1em; margin-right: -.1em; }
.hero__l2 { font-size: clamp(22px, 3vw, 46px); letter-spacing: .42em; margin-right: -.42em; margin-top: .5em; font-weight: 600; }
.hero__l1, .hero__l2 { clip-path: inset(0 -5% 100% -5%); transform: translateY(30%); transition: clip-path 1.2s var(--ease), transform 1.2s var(--ease); }
.hero__l1 { transition-delay: .7s; } .hero__l2 { transition-delay: .9s; }
.ready .hero__l1, .ready .hero__l2 { clip-path: inset(-40% -5% -20% -5%); transform: none; }
.hero__sprig { width: 92px; height: 36px; fill: var(--ink); margin: clamp(16px, 2vw, 26px) 0 0; opacity: 0; transition: opacity 1s 1.3s; }
.ready .hero__sprig { opacity: 1; }
.hero__lead { max-width: 31ch; margin: clamp(18px, 2.4vw, 30px) 0 0; font-size: clamp(22px, 2.1vw, 30px); line-height: 1.3; font-style: italic; font-weight: 500; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: clamp(24px, 3vw, 40px); }
.hero__lead, .hero__cta { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease) 1.2s, transform 1s var(--ease) 1.2s; }
.ready .hero__lead, .ready .hero__cta { opacity: 1; transform: none; }
.hero__photo {
  --rx: 0deg; --ry: 0deg; --lift: 0px;
  margin: 0; position: relative; z-index: 1; justify-self: center; width: min(100%, 520px);
  transform: perspective(1200px) translateY(var(--lift)) rotateX(var(--rx)) rotateY(var(--ry)) rotate(2.5deg);
  transition: transform .6s var(--ease);
}
.hero__photo img { width: 100%; border-radius: 6px; box-shadow: 0 30px 60px -30px rgba(42, 33, 27, .45); clip-path: inset(100% 0 0 0); transition: clip-path 1.6s var(--ease) .3s; }
.ready .hero__photo img { clip-path: inset(0 0 0 0); }

/* ───────── cinta ───────── */
.band { overflow: hidden; border-block: 1.5px solid var(--ink); padding: 18px 0; }
.band__track { display: flex; align-items: center; gap: 36px; width: max-content; will-change: transform; }
.band__track span { font-size: clamp(26px, 3.4vw, 46px); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.band__track svg { width: 14px; height: 14px; fill: var(--ink); flex: none; }

/* ───────── cabeceras de sección ───────── */
section { position: relative; }
.sec-head { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 0 var(--gut); margin-bottom: clamp(40px, 6vw, 80px); }
.sec-title { margin: 0; font-size: clamp(48px, 8.4vw, 136px); line-height: .95; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; text-align: center; }
.sec-title--left { text-align: left; font-size: clamp(42px, 6vw, 96px); }
.split .w { display: inline-block; white-space: nowrap; }
.split .ch { display: inline-block; transform: translateY(70%) rotate(6deg); opacity: 0; transition: transform 1s var(--ease), opacity .8s; transition-delay: calc(var(--i) * 32ms); }
.split.in .ch { transform: none; opacity: 1; }
.rule { position: relative; display: block; width: min(240px, 50vw); height: 14px; }
.rule::before, .rule::after { content: ''; position: absolute; top: 50%; width: calc(50% - 16px); height: 1.5px; background: var(--ink); transform: scaleX(0); transition: transform 1.2s var(--ease) .3s; }
.rule::before { left: 0; transform-origin: right; } .rule::after { right: 0; transform-origin: left; }
.rule i { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; background: var(--ink); transform: translate(-50%, -50%) rotate(45deg) scale(0); transition: transform .8s var(--ease) .2s; }
.rule.in::before, .rule.in::after { transform: scaleX(1); }
.rule.in i { transform: translate(-50%, -50%) rotate(45deg) scale(1); }
[data-rv] { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
[data-rv].in { opacity: 1; transform: none; }

/* ───────── vitrina ───────── */
.vitrina { padding: clamp(90px, 12vw, 170px) 0 clamp(60px, 8vw, 110px); overflow: hidden; }
.vit__pin { width: 100%; }
.vit__track { display: flex; align-items: flex-end; gap: clamp(36px, 5vw, 90px); padding: 0 var(--gut); width: max-content; will-change: transform; }
.vcard { flex: none; display: flex; flex-direction: column; gap: 22px; width: calc(min(58vh, 560px) * var(--r)); min-width: 300px; }
.vcard__img { margin: 0; height: min(58vh, 560px); display: flex; align-items: flex-end; justify-content: center; }
.vcard__img img { max-height: 100%; width: auto; border-radius: 6px; transition: transform .8s var(--ease); }
.vcard:hover .vcard__img img { transform: translateY(-10px); }
.vcard__meta { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 6px; align-items: baseline; max-width: 520px; }
.vcard__n { grid-row: 1 / span 2; font-size: 20px; font-weight: 600; letter-spacing: .1em; }
.vcard h3 { margin: 0; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.05; font-weight: 600; }
.vcard p { margin: 0; color: var(--ink-2); font-size: 20px; line-height: 1.4; }
.vcard__buy, .vcard .badge { grid-column: 2; margin-top: 10px; justify-self: start; }
.vcard__buy { display: flex; align-items: center; gap: 18px; }
.vcard__buy b { font-size: 26px; font-weight: 600; }
.vit__bar { margin: clamp(36px, 5vw, 64px) var(--gut) 0; height: 1.5px; background: var(--line); }
.vit__bar i { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }

/* ───────── barra de café ───────── */
.cafe { max-width: var(--max); margin: 0 auto; padding: clamp(90px, 12vw, 170px) var(--gut); }
.cafe__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 110px); align-items: start; }
.cafe__stage { position: sticky; top: calc(var(--head) + 30px); display: flex; flex-direction: column; align-items: center; gap: 26px; }
.cup { --liq: #c39264; --size: 1; --cx: 0deg; --cy: 0deg; width: min(100%, 500px); perspective: 900px; }
.cup svg { width: 100%; height: auto; overflow: visible; transform: rotateY(var(--cx)) rotateX(var(--cy)); transition: transform .6s var(--ease); }
.cup__shadow { fill: rgba(42, 33, 27, .12); }
.cup__saucer { fill: var(--white); stroke: var(--ink); stroke-width: 2; }
.cup__saucer-in { fill: none; stroke: var(--line); stroke-width: 1.5; }
.cup__handle { fill: var(--white); stroke: var(--ink); stroke-width: 2; }
.cup__body { fill: var(--white); stroke: var(--ink); stroke-width: 2.4; }
.cup__liq-g { transform-origin: 200px 200px; transform: scale(var(--size)); transition: transform .8s var(--ease); }
.cup__liq { fill: var(--liq); transition: fill .7s var(--ease); }
.cup__crema { fill: none; stroke: rgba(0, 0, 0, .12); stroke-width: 6; }
.cup__ice rect { fill: rgba(255, 255, 255, .28); stroke: rgba(255, 255, 255, .75); stroke-width: 2; }
.cup__ice .ice { animation: bob 4s ease-in-out infinite; animation-delay: var(--d); transform-box: fill-box; transform-origin: center; }
@keyframes bob { 50% { transform: translate(4px, -5px) rotate(6deg); } }
.cafe__now { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.cafe__name { margin: 0; font-size: clamp(32px, 3.4vw, 50px); line-height: 1.05; font-weight: 600; }
.cafe__price { margin: 0 0 14px; font-size: 26px; }
.drinks { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.drink {
  width: 100%; display: grid; grid-template-columns: 44px 1fr auto; align-items: baseline; gap: 14px;
  padding: 20px 6px; border-bottom: 1px solid var(--line); text-align: left; position: relative;
  transition: padding .5s var(--ease);
}
.drink::before { content: ''; position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); z-index: -1; }
.drinks li { position: relative; z-index: 0; }
.drink__n { font-size: 17px; font-weight: 600; letter-spacing: .1em; opacity: .55; }
.drink__name { font-size: clamp(24px, 2.2vw, 31px); font-weight: 600; line-height: 1.15; }
.drink__name em { margin-left: 12px; font-size: 15px; font-style: normal; letter-spacing: .14em; text-transform: uppercase; border: 1px solid currentColor; border-radius: 999px; padding: 2px 10px; vertical-align: 3px; }
.drink__price { font-size: 23px; }
.drink[aria-pressed="true"] { color: var(--paper); padding-left: 20px; padding-right: 20px; }
.drink[aria-pressed="true"]::before { transform: scaleY(1); }
.drink[aria-pressed="true"] .drink__n { opacity: .8; }

/* ───────── carta ───────── */
.carta { max-width: var(--max); margin: 0 auto; padding: clamp(90px, 12vw, 170px) var(--gut); }
.tabs { position: relative; display: flex; gap: 6px; width: max-content; max-width: 100%; margin: 0 auto clamp(40px, 5vw, 70px); padding: 5px; border: 1.5px solid var(--ink); border-radius: 999px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; z-index: 1; flex: none; padding: 12px 24px; border-radius: 999px; font-size: 18px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; transition: color .35s; }
.tab[aria-selected="true"] { color: var(--paper); }
.tabs__pill { position: absolute; left: 0; top: 5px; bottom: 5px; border-radius: 999px; background: var(--ink); transition: transform .55s var(--ease), width .55s var(--ease); }
.carta__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 110px); align-items: start; }
.carta__photo { position: sticky; top: calc(var(--head) + 30px); margin: 0; display: grid; place-items: center; min-height: 300px; opacity: 0; transform: translateY(20px) scale(.97); transition: opacity .5s, transform .7s var(--ease); }
.carta__photo.in { opacity: 1; transform: none; }
.carta__photo img { max-height: 70vh; width: auto; border-radius: 6px; box-shadow: 0 30px 60px -30px rgba(42, 33, 27, .45); }
.seal--big { width: min(70%, 320px); }
.seal--big .seal__ring circle { stroke-dashoffset: 0; }
.seal--big .seal__mtn { clip-path: none; }
.menu { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.row { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.row__txt { max-width: 34ch; }
.row__name { margin: 0; font-size: clamp(25px, 2.3vw, 33px); font-weight: 600; line-height: 1.1; }
.row__desc { margin: 6px 0 0; font-size: 19px; color: var(--ink-2); line-height: 1.35; }
.row__dots { align-self: end; margin-bottom: 14px; height: 0; border-bottom: 2px dotted var(--line); }
.row__price { font-size: 25px; font-weight: 600; }
.menu .row { opacity: 0; transform: translateY(18px); }
.menu.in .row { animation: rowin .7s var(--ease) forwards; animation-delay: calc(var(--i) * 55ms); }
@keyframes rowin { to { opacity: 1; transform: none; } }

/* ───────── historia ───────── */
.story { max-width: var(--max); margin: 0 auto; padding: clamp(90px, 12vw, 170px) var(--gut); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 110px); align-items: center; }
.story__photo { --rx: 0deg; --ry: 0deg; margin: 0; overflow: hidden; border-radius: 6px; transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry)) rotate(-1.5deg); transition: transform .6s var(--ease); box-shadow: 0 30px 60px -30px rgba(42, 33, 27, .45); }
.story__photo img { width: 100%; transform: scale(1.14); }
.story__copy p { margin: 26px 0 0; font-size: clamp(22px, 1.9vw, 27px); line-height: 1.45; max-width: 36ch; }
.story__copy p:first-of-type { font-style: italic; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.3; }

/* ───────── visita ───────── */
.visit { padding: clamp(90px, 12vw, 170px) 0 clamp(120px, 14vw, 200px); overflow: hidden; }
.visit__grid { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 100px); align-items: center; }
.visit__addr span { display: block; white-space: nowrap; }
.visit__addr { margin: 0; font-size: clamp(42px, 5.4vw, 86px); line-height: 1; font-weight: 500; letter-spacing: .02em; }
.visit__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.visit__map { aspect-ratio: 4 / 3; border: 1.5px solid var(--ink); border-radius: 6px; overflow: hidden; background: var(--paper-2); }
.visit__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) sepia(.45) contrast(.95) brightness(1.02); }
.visit__puma { position: absolute; right: 0; bottom: 0; width: clamp(160px, 20vw, 300px); pointer-events: none; }

/* ───────── pie ───────── */
.foot { border-top: 1.5px solid var(--ink); padding: 64px var(--gut) 48px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.foot__mtn { width: 120px; height: 42px; fill: var(--ink); }
.foot__name { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; margin-right: -.3em; }
.foot__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; }
.foot__links a { font-size: 20px; text-underline-offset: 5px; }
.foot__c { margin: 6px 0 0; font-size: 17px; }

/* ───────── pedido y ficha ───────── */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(42, 33, 27, .4); opacity: 0; transition: opacity .4s; }
.scrim.on { opacity: 1; }
.x { position: relative; width: 48px; height: 48px; border: 1.5px solid var(--ink); border-radius: 50%; flex: none; transition: transform .5s var(--ease); }
.x span { position: absolute; left: 50%; top: 50%; width: 18px; height: 1.8px; background: var(--ink); }
.x span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
.x span:last-child { transform: translate(-50%, -50%) rotate(-45deg); }
.x:hover { transform: rotate(90deg); }
.bag {
  position: fixed; z-index: 70; top: 0; right: 0; bottom: 0; width: min(520px, 100vw);
  background: var(--paper); border-left: 1.5px solid var(--ink); display: flex; flex-direction: column;
  transform: translateX(104%); transition: transform .65s var(--ease); overscroll-behavior: contain;
}
.bag.on { transform: none; }
.bag__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 26px; border-bottom: 1.5px solid var(--ink); }
.bag__head h2 { margin: 0; font-size: 34px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.bag__lines { list-style: none; margin: 0; padding: 0 26px; overflow-y: auto; flex: 1; overscroll-behavior: contain; }
.line { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); animation: rowin .5s var(--ease) both; }
.line__name { margin: 0; font-size: 24px; font-weight: 600; line-height: 1.15; }
.line__opts { margin: 4px 0 0; font-size: 18px; color: var(--ink-2); }
.line__flag { margin: 4px 0 0; font-size: 17px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.line.is-gone .line__name { text-decoration: line-through; opacity: .5; }
.line__price { font-size: 22px; min-width: 76px; text-align: right; }
.bag__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 26px; text-align: center; }
.bag__empty svg { width: 160px; height: 56px; fill: var(--ink); opacity: .85; }
.bag__empty p { margin: 0; font-size: 26px; font-style: italic; }
.bag__foot { padding: 22px 26px calc(22px + env(safe-area-inset-bottom)); border-top: 1.5px solid var(--ink); display: flex; flex-direction: column; gap: 18px; }
.bag__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 22px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.bag__total b { font-size: 34px; letter-spacing: 0; }
.qty { display: flex; align-items: center; border: 1.5px solid var(--ink); border-radius: 999px; height: 56px; }
.qty button { width: 50px; height: 100%; font-size: 26px; line-height: 1; }
.qty output { min-width: 26px; text-align: center; font-size: 22px; font-weight: 600; }
.qty--s { height: 42px; }
.qty--s button { width: 38px; font-size: 22px; }
.qty--s output { font-size: 19px; min-width: 20px; }
.sheet { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 20px; pointer-events: none; overscroll-behavior: contain; }
.sheet__card {
  position: relative; width: min(600px, 100%); max-height: calc(100svh - 40px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--paper); border: 1.5px solid var(--ink); border-radius: 10px; padding: 34px 34px 28px;
  opacity: 0; transform: translateY(40px) scale(.97); transition: opacity .35s, transform .55s var(--ease);
}
.sheet.on { pointer-events: auto; }
.sheet.on .sheet__card { opacity: 1; transform: none; }
.sheet__card > .x { position: absolute; top: 20px; right: 20px; }
.sheet__name { margin: 0 64px 0 0; font-size: clamp(34px, 4vw, 46px); line-height: 1.05; font-weight: 600; }
.sheet__desc { margin: 12px 0 0; font-size: 21px; color: var(--ink-2); }
.grp { border: 0; margin: 26px 0 0; padding: 0; }
.grp legend { display: flex; width: 100%; justify-content: space-between; align-items: baseline; padding: 0 0 12px; font-size: 19px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.grp legend em { font-style: italic; font-weight: 500; letter-spacing: 0; text-transform: none; font-size: 19px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: baseline; gap: 8px; padding: 11px 20px; border: 1.5px solid var(--ink); border-radius: 999px; font-size: 20px; font-weight: 600; transition: background .3s, color .3s, transform .3s var(--ease); }
.chip small { font-size: 16px; font-weight: 500; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.chip:active { transform: scale(.95); }
.sheet__buy { display: flex; gap: 12px; margin-top: 32px; }
.sheet__buy .btn { min-height: 56px; }

/* ───────── teléfonos y tabletas ───────── */
@media (max-width: 1180px) {
  .nav { display: none; }
}
@media (max-width: 899px) {
  :root { --head: 64px; }
  body { font-size: 19px; }
  .brand__name { font-size: 16px; letter-spacing: .14em; }
  .brand__mtn { width: 44px; height: 16px; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: calc(var(--head) + 36px); gap: 44px; text-align: center; }
  .hero__photo { width: min(82%, 420px); }
  .hero__condor { width: 46vw; top: calc(var(--head) - 10px); }
  .vit__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); scrollbar-width: none; overscroll-behavior-x: contain; align-items: flex-start; }
  .vit__track::-webkit-scrollbar { display: none; }
  .vit__track::after { content: ''; flex: none; width: 1px; }
  .vcard { scroll-snap-align: start; width: min(78vw, 400px); min-width: 0; }
  .vcard__img { height: auto; min-height: 0; display: block; }
  .vcard__img img { width: auto; max-width: 100%; max-height: 50svh; }
  .vitrina { padding-bottom: 40px; }
  .cafe__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .cafe__stage { top: calc(var(--head) - 1px); z-index: 2; background: var(--paper); padding: 10px 0 14px; flex-direction: row; gap: 18px; box-shadow: 0 1px 0 var(--line); }
  .cup { width: 38vw; max-width: 200px; flex: none; }
  .cafe__now { align-items: flex-start; text-align: left; }
  .cafe__name { font-size: 28px; }
  .cafe__price { margin-bottom: 8px; font-size: 22px; }
  .cafe__now .btn { min-height: 48px; padding: 0 22px; font-size: 16px; }
  .drink { padding: 17px 6px; grid-template-columns: 34px 1fr auto; }
  .carta__grid { grid-template-columns: minmax(0, 1fr); }
  .carta__photo { position: relative; top: 0; min-height: 0; }
  .carta__photo img { max-height: 46svh; }
  .seal--big { width: 150px; }
  .tabs { justify-content: flex-start; }
  .row { grid-template-columns: 1fr auto auto; }
  .row__dots { display: none; }
  .story { grid-template-columns: minmax(0, 1fr); }
  .visit__grid { grid-template-columns: minmax(0, 1fr); }
  .visit__puma { width: 42vw; }
  .bag { width: 100vw; border-left: 0; }
  .sheet { place-items: end center; padding: 0; }
  .sheet__card { border-radius: 16px 16px 0 0; border-bottom: 0; max-height: 88svh; padding: 28px 22px calc(22px + env(safe-area-inset-bottom)); transform: translateY(100%); }
}
@media (max-width: 520px) {
  .bagbtn { padding-left: 14px; font-size: 15px; height: 42px; letter-spacing: .1em; }
  .bagbtn__n { min-width: 28px; height: 28px; }
  .lang button { padding: 5px 9px; font-size: 14px; }
  .brand__name { display: none; }
  .btn { padding: 0 24px; font-size: 17px; min-height: 54px; }
  .tab { padding: 10px 16px; font-size: 16px; }
  .row { gap: 12px; }
  .row__price { font-size: 22px; }
  .plus { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; transition-delay: 0s !important; animation-delay: 0s !important; }
}

/* en pantallas táctiles el :hover se queda pegado después de tocar: solo el estado real pinta */
@media (hover: none) {
  .btn--line:hover, .btn--add:hover:not(:disabled), .plus:hover, .bagbtn:hover { background: none; color: var(--ink); }
  .bagbtn:hover .bagbtn__n { background: var(--ink); color: var(--paper); }
  .plus:hover svg { transform: none; }
  .btn--add:active, .btn--line:active, .plus:active { background: var(--ink); color: var(--paper); }
}
