/* Terry's Burgers – B/N interactive SPA */

@font-face {
  font-family: "Bernard MT Condensed";
  src: url("assets/fonts/BernardMTCondensed.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root{
  --bg:#0a0a0a;
  --fg:#f5f5f5;
  --muted:rgba(245,245,245,.72);
  --muted2:rgba(245,245,245,.52);
  --line:rgba(245,245,245,.16);
  --line2:rgba(245,245,245,.10);
  --shadow: 0 16px 60px rgba(0,0,0,.55);
  --radius: 22px;
  --radius2: 14px;
  --pad: clamp(16px, 3vw, 28px);
  --max: 1100px;
  --font-display: "Bernard MT Condensed", "Impact", "Arial Black", sans-serif;
  --font-body: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

*{box-sizing:border-box}
html,body{height:100%}
html{scroll-behavior:smooth}
[hidden]{display:none !important;}

body{
  margin:0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  letter-spacing: .2px;
  overflow-x:hidden;
}

/* Todos los headings usan Montserrat excepto los que llevan Bernard explícito */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
}

code{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Courier New", monospace; }

/* ---- Grain overlay ---- */
#grain{
  position:fixed; inset:0;
  pointer-events:none;
  opacity:.10;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

/* ---- Topbar ---- */
.topbar{
  position:fixed; top:0; left:0; right:0;
  padding: 14px var(--pad);
  display:flex; align-items:center; justify-content:space-between;
  gap:16px;
  z-index:50;
  background: linear-gradient(to bottom, rgba(10,10,10,.86), rgba(10,10,10,.0));
  backdrop-filter: blur(10px);
}

.brand{ text-decoration:none; color:inherit; display:flex; align-items:baseline; gap:10px }
.brand-title{
  font-family: "Bernard MT Condensed", "Impact", "Arial Black", sans-serif;
  font-weight: normal;
  letter-spacing: 0.5px;
  font-size: 20px;
  text-transform: uppercase;
}

.topnav{ display:flex; gap:8px; align-items:center }
.navlink{
  text-decoration:none; color: var(--muted);
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  font-size: 13px;
}
.navlink:hover{
  background: rgba(245,245,245,.06);
  border-color: var(--line2);
  color: var(--fg);
  transform: translateY(-1px);
}

/* Burger icon button (mobile) */
.burger{
  display:none;
  width:44px; height:44px;
  border-radius: 12px;
  border:1px solid var(--line2);
  background: rgba(245,245,245,.03);
  color: var(--fg);
  align-items:center; justify-content:center;
  flex-direction:column;
  gap:6px;
  cursor:pointer;
}
.burger span{
  display:block; width:18px; height:2px;
  background: var(--fg);
  opacity:.9;
  border-radius: 2px;
}
.burger span:last-child{ opacity:.6 }

/* Mobile menu dropdown */
.mobileMenu{
  position: fixed;
  top: 64px;
  right: var(--pad);
  width: min(280px, calc(100vw - 2*var(--pad)));
  border:1px solid var(--line2);
  border-radius: var(--radius);
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  padding: 10px;
  z-index: 60;
}
.mLink{
  display:block;
  padding: 12px 14px;
  text-decoration:none;
  color: var(--muted);
  border-radius: 14px;
  font-size: 14px;
}
.mLink:hover{ background: rgba(245,245,245,.06); color: var(--fg) }

/* ---- Section base ---- */
.section{
  min-height: 100svh;
  padding: 80px var(--pad) 56px;
  border-top: 1px solid rgba(245,245,245,.06);
  scroll-margin-top: 56px;
}

/* Historia también necesita scroll-margin para el header fijo */
#historia { scroll-margin-top: 0; }

/* Carta: full-screen flex para que el menu-grid llene el espacio */
#carta.section{
  height: 100svh;
  min-height: unset;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 68px var(--pad) 16px;
}
#carta .wrap{
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
}
#carta .h2{ flex-shrink: 0; }
#carta .carta-tabs{ flex-shrink: 0; }
#carta .tabPanels{
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
/* Quita el margin-top genérico del panel para que el grid no deje espacio vacío abajo */
#carta .panel{ margin-top: 0; }

.wrap{ max-width: var(--max); margin: 0 auto; }

/* ---- Eyebrow label ---- */
.eyebrow{
  display: inline-block;
  margin-bottom: 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted2);
}

/* ---- HERO ---- */
.hero{
  position:relative;
  padding: 0;
  border-top: none;
  overflow:hidden;
  padding-top: 74px;
}
.hero-media{
  position:absolute; inset:0;
  background-image: url("assets/img/local.jpg");
  background-size: cover;
  background-position: center;
  filter: grayscale(1) contrast(1.05) brightness(.95);
  transform: scale(1.10);
  animation: kenburns 12s ease-in-out infinite alternate;
}
@keyframes kenburns{
  from{ transform: scale(1.08) translateY(0px) }
  to{ transform: scale(1.14) translateY(10px) }
}
.hero-overlay{
  position:absolute; inset:0;
  background:
    radial-gradient(60% 60% at 50% 40%, rgba(10,10,10,.20) 0%, rgba(10,10,10,.72) 70%, rgba(10,10,10,.92) 100%),
    linear-gradient(to top, rgba(10,10,10,.86), rgba(10,10,10,.10));
}
.hero-content{
  position:relative;
  min-height: 100svh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding: 120px var(--pad) 200px;
  max-width: var(--max);
  margin: 0 auto;
}
.hero-kicker{
  color: var(--muted);
  letter-spacing: .6px;
  font-size: 13px;
  text-transform: uppercase;
  border: 1px solid var(--line2);
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(245,245,245,.03);
  margin: 0 0 24px;
}
.hero-title{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 4px;
  margin: 0 0 14px;
  font-family: "Bernard MT Condensed", "Impact", "Arial Black", sans-serif;
  letter-spacing: 2.2px;
}
.hero-title-top{
  font-family: "Bernard MT Condensed", "Impact", "Arial Black", sans-serif;
  font-size: clamp(64px, 10vw, 124px);
  line-height: .9;
}
.hero-title-bottom{
  font-family: "Bernard MT Condensed", "Impact", "Arial Black", sans-serif;
  font-size: clamp(35px, 6.4vw, 74px);
  line-height: .9;
  opacity: .98;
}
.hero-hint{
  color: var(--muted2);
  font-size: 13px;
  display:flex; align-items:center; gap:10px;
}
.dot{
  width:7px; height:7px;
  border-radius: 50%;
  background: var(--fg);
  opacity:.55;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse{
  0%,100%{ transform:scale(1); opacity:.35 }
  50%{ transform:scale(1.45); opacity:.75 }
}

/* Hero dock (pinned nav bar at bottom of hero) */
.heroDock{
  position: absolute;
  left: 50%;
  bottom: 100px;
  transform: translateX(-50%);
  width: min(var(--max), calc(100vw - 2*var(--pad)));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 2;
}
.hero-bottomnav{
  width: 100%;
  display:flex;
  justify-content:center;
  gap: 10px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--line2);
  background: rgba(10,10,10,.60);
  backdrop-filter: blur(10px);
}
.hero-bottomnav::-webkit-scrollbar{ display: none; }
.hero-navbtn{
  text-decoration:none;
  color: var(--fg);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: .3px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(245,245,245,.05);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.hero-navbtn:hover{
  transform: translateY(-1px);
  background: rgba(245,245,245,.08);
  border-color: rgba(245,245,245,.14);
}
.hero-actions{ display:none !important; }

/* ---- Typography helpers ---- */
.h2{
  margin: 0 0 16px;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: .3px;
}
.h3{ margin: 0; font-size: 22px }
.h4{ margin: 0; font-size: 18px; font-weight: 700 }
.lead{ font-size: 16px; color: var(--fg); opacity: .92; line-height: 1.6 }
.muted{ color: var(--muted) }
.small{ font-size: 12px; color: var(--muted2) }

/* ---- Card ---- */
.card{
  border:1px solid var(--line2);
  border-radius: var(--radius);
  background: rgba(245,245,245,.03);
  box-shadow: 0 20px 80px rgba(0,0,0,.30);
  padding: var(--pad);
}

/* ---- Grids ---- */
.grid2{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items: start;
}
.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.ctaRow{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 16px }

/* ---- Pill button ---- */
.pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  color: var(--fg);
  border: 1px solid var(--line2);
  background: rgba(245,245,245,.05);
  padding: 12px 14px;
  border-radius: 999px;
  gap: 10px;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
  font-weight: 600;
  font-size: 13px;
  cursor:pointer;
  font-family: inherit;
}
.pill:hover{ transform: translateY(-1px); background: rgba(245,245,245,.08); border-color: var(--line) }
.pill.small{ padding: 10px 12px; font-size: 12px }
.ghost{ background: transparent; }

/* ---- Note ---- */
.note{
  color: var(--muted2);
  font-size: 12px;
  border-left: 2px solid rgba(245,245,245,.22);
  padding-left: 10px;
  line-height: 1.5;
}

.sectionHead{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 12px;
  margin-bottom: 20px;
}

/* ---- HISTORIA – editorial moderno (full-screen) ---- */
.history-editorial {
  height: 100svh;
  overflow: hidden;
  padding: 56px 40px 40px;
  background: #050505;
  color: #fff;
  border-top: 1px solid rgba(245,245,245,.06);
  display: flex;
  align-items: center;
  scroll-margin-top: 0;
}

.hist-wrap {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

/* Encabezado */
.hist-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Eyebrow con línea */
.hist-eyebrow-line {
  display: flex;
  align-items: center;
  gap: 16px;
}
.hist-eyebrow-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  white-space: nowrap;
}
.hist-eyebrow-rule {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.12);
  max-width: 200px;
}

/* Título grande e impactante */
.hist-title {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1.5rem, 2.6vw, 2.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-transform: none;
  text-align: left;
  max-width: 18ch;
  color: rgba(255,255,255,0.96);
}

/* Filas alternas */
.hist-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}

.hist-row--reverse {
  grid-template-columns: 0.85fr 1.15fr;
}

/* Chapter marker */
.hist-chapter {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 4px;
}
.hist-chapter-num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.22);
}
.hist-chapter-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  padding-left: 14px;
  border-left: 1px solid rgba(255,255,255,0.16);
}

/* Texto */
.hist-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: rgba(255,255,255,0.65);
  font-size: clamp(0.78rem, 0.92vw, 0.92rem);
  line-height: 1.72;
}

.hist-text p {
  margin: 0;
}

/* Media (carrusel) */
.hist-media {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: 0 20px 60px rgba(0,0,0,.55);
}

.hist-media .histCarousel {
  width: 100%;
  margin: 0;
  border-radius: 0;
  border: none;
}

.hist-media .histSlide img {
  height: calc(22svh - 10px);
  border-radius: 0;
}

/* Cita cierre – dramática pero compacta */
.hist-quote {
  margin: 0 auto;
  padding: 20px 0 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: clamp(1rem, 1.8vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-transform: none;
  text-align: center;
  color: rgba(255,255,255,0.88);
  font-style: normal;
  max-width: 26ch;
}

.history-editorial__container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}

.history-editorial__eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: rgba(255,255,255,0.45);
}

.history-editorial__title {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  max-width: 11ch;
}

.history-editorial__lead {
  margin-top: 18px;
  max-width: 760px;
  font-size: clamp(1.1rem, 2vw, 1.7rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.7);
}

.history-editorial__content {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
}

/* Carousel wrapper inside editorial */
.history-editorial__carousel-wrap {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}

.history-editorial__carousel-wrap .histCarousel {
  width: 100%;
  margin: 0;
  border-radius: 0;
  border: none;
}

.history-editorial__carousel-wrap .histSlide img {
  height: 420px;
}

.history-editorial__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 4;
  padding: 40px 24px 18px;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.86);
}

/* Dots need to be above gradient caption */
.history-editorial__carousel-wrap .histDots {
  position: relative;
  z-index: 5;
}

.history-editorial__text {
  display: grid;
  gap: 16px;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  font-size: 1rem;
}

.history-editorial__quote {
  margin: 34px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: clamp(1.5rem, 3vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  max-width: 920px;
}

.history-editorial__sidebar {
  padding-top: 48px;
  display: grid;
  gap: 14px;
}

.history-editorial__card {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
}

.history-editorial__card span {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.45);
}

.history-editorial__card p {
  margin: 0;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
}

/* ---- Carrusel Historia ---- */
.histCarousel{
  width: 100%;
  border-radius: 22px;
  border: 1px solid rgba(245,245,245,.10);
  background: rgba(0,0,0,.28);
  overflow: hidden;
  position: relative;
}

.histTrack{
  display:flex;
  transition: transform .55s cubic-bezier(.2,.8,.2,1);
}

.histSlide{
  flex-shrink: 0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 14px;
}

.histSlide img{
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 18px;
  filter: grayscale(1) contrast(1.06);
  display:block;
}

.histDots{
  display:flex;
  justify-content:center;
  gap: 10px;
  padding: 12px 12px 14px;
  background: rgba(0,0,0,.22);
}

.histDot{
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 1px solid rgba(245,245,245,.28);
  background: rgba(245,245,245,.10);
  padding: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.histDot .fill{
  position:absolute;
  left:0; top:0; bottom:0;
  width:0%;
  background: rgba(245,245,245,.86);
}

.histDot.isActive{
  background: rgba(245,245,245,.16);
  border-color: rgba(245,245,245,.55);
  transform: scale(1.05);
}

.histDot.isActive .fill{
  animation: histDotProgress 5s linear forwards;
}

@keyframes histDotProgress{
  from{ width:0%; }
  to{ width:100%; }
}

/* ---- PRODUCTOS ---- */
.products{
  display:grid;
  grid-template-columns: 320px 1fr;
  gap: 16px;
  align-items: stretch;
}
.plist{
  border:1px solid var(--line2);
  border-radius: var(--radius);
  background: rgba(245,245,245,.02);
  overflow:hidden;
}
.plist-inner{
  display:flex;
  flex-direction:column;
}
.pitem{
  padding: 14px 16px;
  border-bottom: 1px solid rgba(245,245,245,.06);
  color: var(--muted);
  cursor:pointer;
  user-select:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  transition: background .18s ease, color .18s ease;
  background: transparent;
  border-left: 0; border-right: 0; border-top: 0;
  font-family: inherit;
  font-size: 14px;
}
.pitem:hover{ background: rgba(245,245,245,.05); color: var(--fg) }
.pitem.isActive{ background: rgba(245,245,245,.08); color: var(--fg) }
.pbadge{
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line2);
  color: var(--muted2);
}

.pdetail{
  border:1px solid var(--line2);
  border-radius: var(--radius);
  background: rgba(245,245,245,.03);
  overflow:hidden;
  display:grid;
  grid-template-columns: .9fr 1.1fr;
  min-height: 420px;
}
.pimg{
  position:relative;
  padding: 18px;
  background: rgba(0,0,0,.35);
  border-right: 1px solid rgba(245,245,245,.06);
  display:flex;
  align-items:center;
  justify-content:center;
}
.pimg img{
  width: min(360px, 92%);
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 22px;
  filter: grayscale(1) contrast(1.08);
  box-shadow: 0 28px 90px rgba(0,0,0,.55);
  transform: translateY(0);
  transition: transform .35s ease, opacity .25s ease;
}
.pimg-shadow{
  position:absolute;
  bottom: 18px;
  width: 70%;
  height: 18px;
  background: rgba(0,0,0,.6);
  filter: blur(16px);
  opacity: .45;
}

.ptext{ padding: 18px; display:flex; flex-direction:column; gap: 12px }
.pnameRow{ display:flex; align-items:baseline; justify-content:space-between; gap: 12px; flex-wrap:wrap }
.tag{
  font-size: 12px;
  color: rgba(245,245,245,.78);
  border: 1px solid var(--line2);
  padding: 8.4px 14px;       /* ~20% más de padding que antes (6→7.2, 10→12) */
  border-radius: 999px;
  background: rgba(245,245,245,.04);
  display: inline-block;
  align-self: flex-start;
}
.bullets{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.65;
}
.sideBanner{
  margin-top: auto;
  border-top: 1px solid rgba(245,245,245,.08);
  padding-top: 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  border-radius: 14px;
}
.sideBanner-text{ display:flex; flex-direction:column; gap: 4px }

/* ---- Tabs genéricos (se mantienen por compatibilidad) ---- */
.tabs{
  display:inline-flex;
  gap: 10px;
  padding: 6px;
  border: 1px solid var(--line2);
  border-radius: 999px;
  background: rgba(245,245,245,.03);
  margin-bottom: 0;
}
.tab{
  border: 0;
  cursor:pointer;
  padding: 10px 14px;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-weight: 600;
  font-size: 13px;
}
.tab.isActive{
  background: rgba(245,245,245,.08);
  color: var(--fg);
  border: 1px solid rgba(245,245,245,.12);
}

/* ---- Carta tabs – mismo estilo visual que .tabs/.tab ---- */
.carta-tabs{
  display: inline-flex;
  gap: 10px;
  padding: 6px;
  border: 1px solid var(--line2);
  border-radius: 999px;
  background: rgba(245,245,245,.03);
  margin-bottom: 10px;
  flex-shrink: 0;
}
.carta-tab{
  border: 0;
  cursor: pointer;
  padding: 10px 22px;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-weight: 600;
  font-size: 13px;
  transition: color .18s, background .18s;
}
.carta-tab.isActive{
  background: rgba(245,245,245,.08);
  color: var(--fg);
  border: 1px solid rgba(245,245,245,.12);
}

.panel{ margin-top: 14px; display:none }
.panel.isActive{ display:block }

/* ---- Menu preview ---- */
.menuPreview{
  width:100%;
  border:0;
  background: transparent;
  cursor: zoom-in;
  padding: 0;
  position:relative;
}
.menuPreview img{
  width:100%;
  display:block;
  border-radius: 18px;
  border: 1px solid rgba(245,245,245,.08);
  filter: grayscale(1) contrast(1.05);
}
.menuZoom{
  position:absolute;
  right: 12px;
  bottom: 12px;
  width: 34px; height: 34px;
  border-radius: 999px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(10,10,10,.66);
  border: 1px solid rgba(245,245,245,.14);
  color: rgba(245,245,245,.9);
  font-weight: 800;
}

/* ================================================================== */
/* MENU CARTA – HTML version                                          */
/* ================================================================== */

/* El panel de carta llena el espacio disponible */
#tabCarta.panel.isActive{
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

/* Grid de 3 columnas */
.menu-grid{
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.85fr;
  gap: 0;
  flex: 1;
  min-height: 0;
  max-height: 58svh;           /* ~30% menos que el espacio total disponible */
  overflow: hidden;
  border: 1px solid var(--line2);
  border-radius: var(--radius);
}

/* Cada columna */
.menu-col{
  display: flex;
  flex-direction: column;
  padding: 14px 18px;
  overflow-y: auto;
  border-right: 1px solid var(--line2);
}
.menu-col:last-child{ border-right: 0; }

/* Header de columna */
.menu-col-header{
  margin-bottom: 8px;
  flex-shrink: 0;
}
.menu-col-title{
  font-size: clamp(0.85rem, 1.1vw, 1.1rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--fg);
  margin: 0 0 2px;
}
.menu-col-sub{
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* Cabecera Simple / Doble */
.menu-price-headers{
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-right: 2px;
}

/* Lista de ítems */
.menu-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.menu-item{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(245,245,245,.06);
}
.menu-item:last-child{ border-bottom: 0; }

.menu-item-left{
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.menu-item-name{
  font-size: clamp(0.78rem, 0.9vw, 0.92rem);
  font-weight: 700;
  color: var(--fg);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.menu-item-name em{
  font-style: normal;
  font-weight: 400;
  font-size: 0.85em;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
}
.menu-item-desc{
  font-size: clamp(0.7rem, 0.78vw, 0.8rem);
  color: var(--muted);
  line-height: 1.4;
}
.menu-item-badge{
  font-size: 0.7em;
  vertical-align: super;
  color: var(--muted);
}

/* Precios doble columna (Simple/Doble) */
.menu-item-prices{
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  align-items: flex-start;
  padding-top: 1px;
}
.menu-item-prices span,
.menu-item-price-single{
  font-size: clamp(0.75rem, 0.85vw, 0.88rem);
  font-weight: 600;
  color: rgba(245,245,245,.65);
  white-space: nowrap;
  min-width: 32px;
  text-align: right;
}

/* Nota al pie de burgers */
.menu-col-note{
  font-size: 10px;
  color: var(--muted);
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(245,245,245,.06);
  flex-shrink: 0;
}

/* Tag de salsas */
.menu-salsas{
  font-size: 11px;
  color: var(--muted);
  margin-top: 10px;
  padding: 7px 10px;
  background: rgba(245,245,245,.04);
  border: 1px solid rgba(245,245,245,.08);
  border-radius: 8px;
  flex-shrink: 0;
}
.menu-salsas-label{
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 10px;
  color: rgba(245,245,245,.4);
  margin-right: 6px;
}

/* En la col derecha, la lista de bebidas no crece — Postres sube pegado */
.menu-col--right .menu-list{
  flex: none;
}

/* Separador entre bebidas y postres */
.menu-divider{
  height: 1px;
  background: rgba(245,245,245,.08);
  margin: 22px 0;
  flex-shrink: 0;
}

/* ---- Pedidos layout ---- */
#tabPedidos.panel.isActive{
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}
.pedidosLayout{
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 8px;
}
.pedidosGroup{
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pedidosGroupHead{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.pedidosGroupLabel{
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--muted2);
}
.pedidosDeliveryTag{
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--muted2);
  border: 1px solid var(--line2);
  border-radius: 20px;
  padding: 4px 10px;
  letter-spacing: .05em;
}
.deliveryTruckIcon{
  width: 13px;
  height: 13px;
  opacity: .55;
  flex-shrink: 0;
}

.linkCard{
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 110px;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
  color: var(--fg);
}
.linkCard:hover{
  transform: translateY(-2px);
  background: rgba(245,245,245,.05);
  border-color: rgba(245,245,245,.18);
}
.linkTitle{
  font-weight: 800;
  letter-spacing: .3px;
}

.deliveryCard{
  justify-content: flex-start;
}
.deliveryLogo{
  width: 48px;
  height: 48px;
  border: 1px solid var(--line2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  margin-bottom: 4px;
}
.deliveryLogo svg{
  width: 38px;
  height: 38px;
  color: var(--fg);
  opacity: .78;
}
.deliveryLogoImg{
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 4px;
}

.takeAway{
  min-height: 100px;
}
.takeAwayContent{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.takeAwayInfo{
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 160px;
}
.takeAwayQRWrap{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
#qrCanvas{
  background: #f5f5f5;
  border-radius: 8px;
  padding: 6px;
  line-height: 0;
}
#qrCanvas canvas,
#qrCanvas img{
  display: block;
  border-radius: 4px;
}
.qrLabel{
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted2);
  text-align: center;
}

/* ---- Contacto ---- */
.hours{
  margin-top: 14px;
  border: 1px solid rgba(245,245,245,.08);
  border-radius: 16px;
  overflow:hidden;
}
.hoursRow{
  display:flex;
  justify-content:space-between;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(245,245,245,.06);
  color: var(--muted);
  font-size: 13px;
}
.hoursRow:last-child{ border-bottom: 0 }

.contactInfo{ display:flex; flex-direction:column; gap:0; }
.contactAddress{
  display:flex;
  align-items:flex-start;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 8px 0 18px;
}
.contactIcon{
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  opacity: .55;
}
.hoursRow--title{
  display:flex;
  align-items:center;
  gap: 7px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(245,245,245,.06);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fg);
  font-weight: 600;
}
.hoursLabel{ color: var(--fg); font-weight:600; }

.mapBox{
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 300px;
  position: relative;
}
.mapIframe{
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
  display: block;
  filter: grayscale(30%) contrast(1.05);
}
.qrFake{
  width: 150px; height: 150px;
  border-radius: 18px;
  border: 1px solid rgba(245,245,245,.18);
  background:
    linear-gradient(90deg, rgba(245,245,245,.12) 1px, transparent 1px) 0 0/14px 14px,
    linear-gradient(0deg, rgba(245,245,245,.12) 1px, transparent 1px) 0 0/14px 14px;
  opacity: .65;
}
.footer{ margin-top: 28px; padding: 16px 0 0; border-top: 1px solid rgba(245,245,245,.06) }

/* ---- TRABAJA CON NOSOTROS ---- */
.joinHeader{
  margin-bottom: 40px;
}
.joinHeaderLead{
  max-width: 560px;
  margin-top: 8px;
  opacity: .8;
}

.joinGrid{
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 28px;
  align-items: start;
}

/* Values / info column */
.joinValues{
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.joinValue{
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.joinValueIcon{
  font-size: 20px;
  color: var(--muted2);
  flex-shrink: 0;
  width: 32px;
  text-align: center;
  margin-top: 2px;
}

.joinValueTitle{
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
}

.joinValueText{
  font-size: 13px;
  line-height: 1.55;
}

/* Open positions */
.joinPositions{
  margin-top: 0;
  border: 1px solid var(--line2);
  border-radius: var(--radius2);
  overflow: hidden;
}

.joinPositionsTitle{
  padding: 12px 14px 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--muted2);
  border-bottom: 1px solid var(--line2);
}

.joinPositionItem{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(245,245,245,.05);
  font-size: 13px;
  color: var(--muted);
}
.joinPositionItem:last-child{ border-bottom: 0 }

.joinBadge{
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(245,245,245,.14);
  color: var(--muted2);
  background: rgba(245,245,245,.04);
}

/* Form card */
.joinCard{
  display: flex;
  flex-direction: column;
  gap: 0;
}

.joinFormTitle{
  margin-bottom: 20px !important;
}

.joinFormEl{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.formGroup{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.formLabel{
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.formInput{
  background: rgba(245,245,245,.04);
  border: 1px solid var(--line2);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--fg);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color .18s ease, background .18s ease;
}
.formInput::placeholder{ color: var(--muted2) }
.formInput:focus{
  border-color: rgba(245,245,245,.28);
  background: rgba(245,245,245,.06);
}

.formSelect{
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(245,245,245,.5)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.formSelect option{
  background: #0a0a0a;
  color: var(--fg);
}

.formTextarea{
  resize: vertical;
  min-height: 90px;
  line-height: 1.5;
}

/* CV drop zone */
.cvDropZone{
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px dashed rgba(245,245,245,.22);
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease;
  font-size: 13px;
  color: var(--muted);
}
.cvDropZone:hover{
  border-color: rgba(245,245,245,.40);
  background: rgba(245,245,245,.04);
}
.cvDropZone.hasFile{
  border-color: rgba(245,245,245,.35);
  background: rgba(245,245,245,.05);
  color: var(--fg);
}
.cvDropZone input[type="file"]{
  display: none;
}
.cvDropIcon{
  font-size: 18px;
  opacity: .6;
  flex-shrink: 0;
}

/* Submit button */
.joinSubmit{
  width: 100%;
  padding: 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  margin-top: 4px;
  justify-content: center;
}
.joinSubmit:hover{
  background: rgba(245,245,245,.12);
}

/* Success state */
.joinSuccess{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 32px 16px;
  transition: opacity .3s ease;
}
.joinSuccessIcon{
  width: 56px; height: 56px;
  border-radius: 999px;
  border: 1px solid rgba(245,245,245,.2);
  background: rgba(245,245,245,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.joinNote{
  margin-top: 16px;
}

.mailLink{
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mailLink:hover{ opacity: .75 }

/* ---- Drawer personaje ---- */
.drawerOverlay{
  position:fixed; inset:0;
  background: rgba(0,0,0,.62);
  backdrop-filter: blur(6px);
  z-index: 80;
}
.drawer{
  position:fixed;
  top: 0; right: 0;
  height: 100svh;
  width: min(420px, 92vw);
  background: rgba(10,10,10,.92);
  border-left: 1px solid rgba(245,245,245,.10);
  z-index: 90;
  transform: translateX(100%);
  transition: transform .22s ease;
  display:flex;
  flex-direction:column;
}
.drawer.isOpen{ transform: translateX(0) }
.drawerHead{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  padding: 16px 16px 10px;
  border-bottom: 1px solid rgba(245,245,245,.08);
}
.drawerBody{ padding: 16px; display:flex; flex-direction:column; gap:12px; overflow-y:auto }
.drawerImg{
  width:100%;
  border-radius: 18px;
  border: 1px solid rgba(245,245,245,.10);
  filter: grayscale(1) contrast(1.06);
  background: rgba(255,255,255,.02);
}
.iconBtn{
  width: 40px; height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(245,245,245,.12);
  background: rgba(245,245,245,.04);
  color: var(--fg);
  cursor:pointer;
  flex-shrink: 0;
}

/* ---- Modal carta ---- */
.modal{
  position: fixed; inset: 0;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index: 120;
}
.modalOverlay{
  position:absolute; inset:0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(6px);
}
.modalCard{
  position:relative;
  width: min(980px, 92vw);
  max-height: 86svh;
  border-radius: var(--radius);
  border: 1px solid rgba(245,245,245,.14);
  background: rgba(10,10,10,.92);
  overflow: auto;
  box-shadow: var(--shadow);
}
.modalCard img{
  width:100%;
  display:block;
  filter: grayscale(1) contrast(1.05);
}
.modalClose{
  position: sticky;
  top: 10px;
  margin-left: auto;
  margin-right: 10px;
  margin-top: 10px;
  display:block;
}

/* ---- Placeholder fallback ---- */
.imgPlaceholder{
  width: min(360px, 92%);
  aspect-ratio: 1/1;
  border-radius: 22px;
  border: 1px dashed rgba(245,245,245,.22);
  display:flex;
  align-items:center;
  justify-content:center;
  color: rgba(245,245,245,.6);
  background: rgba(0,0,0,.22);
  text-align:center;
  padding: 14px;
}

/* ---- PRODUCTOS – rediseño moderno full-screen ---- */

/* Sección ocupa exactamente el viewport */
#productos.section {
  height: 100svh;
  min-height: unset;
  overflow: hidden;
  padding: 68px var(--pad) 16px;
  display: flex;
  flex-direction: column;
}
#productos .wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: visible;         /* tabs con scale no se recortan */
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
}

/* Eyebrow header – igual que Historia */
.prod-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 15px;
}
.prod-eyebrow-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(245,245,245,.38);
  white-space: nowrap;
}
.prod-eyebrow-rule {
  flex: 1;
  height: 1px;
  background: rgba(245,245,245,.1);
}

/* Tabs – grid full-width, 6 columnas iguales */
.prod-tabs{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-bottom: 12px;
  padding: 4px 2px;        /* absorbe el scale(1.04) del tab activo */
  overflow: visible;
}

.prod-tab{
  padding: 9px 8px;
  border: 1px solid var(--line2);
  border-radius: 999px;
  background: rgba(245,245,245,.03);
  color: var(--muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease, font-size .18s ease, padding .18s ease;
}
.prod-tab:hover{
  color: var(--fg);
  background: rgba(245,245,245,.06);
}
/* Activo: un poco más grande, más prominente */
.prod-tab.isActive{
  color: var(--fg);
  border-color: rgba(245,245,245,.30);
  background: rgba(245,245,245,.09);
  font-size: 14px;
  padding: 11px 8px;
  transform: scale(1.04);
  z-index: 1;
}

/* Stage: llena el espacio restante, limitado al 70% del viewport */
.prod-stage{
  flex: 1;
  min-height: 0;
  max-height: 62svh;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line2);
}

/* Cards: apiladas absolutas, llenan el stage */
.prod-card{
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  transition: transform .42s cubic-bezier(.22,.8,.22,1);
  will-change: transform;
}

#cardBurger{ transform: translateX(0%); }
#cardChar{   transform: translateX(100%); }

.prod-stage.showChar #cardBurger{ transform: translateX(-100%); }
.prod-stage.showChar #cardChar{   transform: translateX(0%); }

/* Columna izquierda: glow atmosférico */
.prod-left{
  position: relative;
  padding: 0;
  background: rgba(0,0,0,.30);
  border-right: 1px solid rgba(245,245,245,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Imagen burger – llena todo el recuadro */
.prod-img-btn{
  position: relative;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  border-radius: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.prod-img-btn img{
  width: 100%;
  height: 100%;
  aspect-ratio: unset;
  object-fit: cover;
  border-radius: 0;
  filter: none;
  display: block;
  transition: transform .22s ease, filter .22s ease;
}
.prod-img-btn:hover img{
  filter: brightness(1.06);
  transform: scale(1.02);
}
.prod-img-label{
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(245,245,245,.92);
  background: rgba(10,10,10,.72);
  border: 1px solid rgba(245,245,245,.14);
  border-radius: 999px;
  padding: 6px 14px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity .18s ease;
}
.prod-img-btn:hover .prod-img-label{ opacity: 1; }

/* Columna derecha */
.prod-right{
  position: relative;
  overflow: hidden;
}

/* Paneles con slide */
.prod-panel{
  position: absolute;
  inset: 0;
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;   /* centra verticalmente */
  align-items: flex-start;   /* alineado a la izquierda */
  text-align: left;
  gap: 20px;                 /* más separación entre título y descripción */
  transition: transform .34s cubic-bezier(.22,.8,.22,1);
  overflow-y: auto;
}

#panelDesc{ transform: translateX(0); }
#panelIng{
  transform: translateX(100%);
  justify-content: flex-start;   /* empieza desde arriba, no centrado */
  padding-top: 40px;             /* un poco más abajo que el borde */
}

.prod-right.showIng #panelDesc{ transform: translateX(-100%); }
.prod-right.showIng #panelIng{  transform: translateX(0); }

/* Nombre grande como display text */
.prod-name{
  margin: 0;
  font-size: clamp(1.6rem, 2.4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.0;
  color: var(--fg);
  text-transform: uppercase;
}

/* Descripción */
.prod-desc{
  margin: 0;
  font-size: clamp(0.88rem, 1vw, 1rem);
  color: rgba(245,245,245,.65);
  line-height: 1.7;
}

/* Etiqueta "Personaje" encima del nombre */
.prod-char-label{
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,245,245,.35);
}

/* Fila personaje al pie del panel descripción */
.prod-char-row{
  padding-top: 12px;
  border-top: 1px solid rgba(245,245,245,.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  width: 100%;               /* ocupa todo el ancho del panel aunque el padre use align-items:center */
}
.prod-char-hint-name{
  font-weight: 700;
  font-size: 15px;
  margin-top: 3px;
}

/* Panel ingredientes */
.prod-ing-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-shrink: 0;
  width: 100%;
  margin-bottom: 8px;
}
.prod-ing-title{
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,245,245,.55);
}
.prod-ing-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  flex: 1;
  overflow-y: auto;
}

/* Cada fila: imagen → flecha → nombre */
.prod-ing-item{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 4px;
  border-bottom: 1px solid rgba(245,245,245,.07);
}
.prod-ing-item:last-child{ border-bottom: 0; }

.prod-ing-img{
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
  background: rgba(245,245,245,.04);
}

.prod-ing-arrow{
  color: rgba(245,245,245,.28);
  font-size: 15px;
  flex-shrink: 0;
}

.prod-ing-name{
  font-size: 14px;
  font-weight: 500;
  color: rgba(245,245,245,.82);
  line-height: 1.3;
}

/* Tarjeta personaje – columna izquierda */
.prod-char-left{
  position: relative;
  background: rgba(0,0,0,.40);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-right: 1px solid rgba(245,245,245,.06);
  overflow: hidden;
}
.prod-char-left img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: unset;
  max-width: none;
  border-radius: 0;
  filter: grayscale(1) contrast(1.08);
  box-shadow: none;
  display: block;
}

/* ---- Responsive ---- */
@media (max-width: 980px){
  .history-editorial__container,
  .history-editorial__content{
    grid-template-columns: 1fr;
  }
  .history-editorial__sidebar{
    padding-top: 0;
  }
  /* En tablet/mobile volvemos a scroll libre */
  .history-editorial { height: auto; min-height: 100svh; overflow: visible; padding: 56px 24px 48px; }
  .hist-wrap { gap: 32px; }
  .hist-row,
  .hist-row--reverse {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .hist-row--reverse .hist-text { order: 2; }
  .hist-row--reverse .hist-media { order: 1; }
  .hist-media .histSlide img { height: 220px; }
  .histSlide img{ height: 220px; }
  .hist-title { font-size: clamp(1.8rem, 6vw, 2.8rem); }
  .hist-quote { font-size: clamp(1.1rem, 3.5vw, 1.8rem); }
}

@media (max-width: 920px){
  .topnav{ display:none }
  .burger{ display:inline-flex }
  .grid2{ grid-template-columns: 1fr; }
  .grid3{ grid-template-columns: 1fr 1fr; }
  .products{ grid-template-columns: 1fr; }
  .pdetail{ grid-template-columns: 1fr; }
  .pimg{ border-right:0; border-bottom: 1px solid rgba(245,245,245,.06); }
  .hero-content{ padding-bottom: 280px; }
  .heroDock{ bottom: max(80px, calc(env(safe-area-inset-bottom, 0px) + 74px)); gap: 8px; }
  .hero-bottomnav{ border-radius: 22px; justify-content: flex-start; }
  .hero-navbtn{ padding: 9px 11px; font-size: 11.5px; flex-shrink: 0; }
  .joinGrid{ grid-template-columns: 1fr; }
  /* Productos tablet – scroll libre, cards apiladas verticalmente */
  #productos.section{
    height: auto;
    min-height: 100svh;
    overflow: visible;
    padding: 70px var(--pad) 40px;
  }
  #productos .wrap{ overflow: visible; min-height: unset; }
  #productos.section{ padding-top: 42px; padding-bottom: 16px; }
  /* Stage llena el viewport disponible */
  .prod-stage{
    flex: none;
    max-height: unset;
    min-height: calc((100svh - 148px) * 0.85);
  }
  /* 1.ª fila = imagen (altura fija vw); 2.ª fila = descripción (resto) */
  .prod-card{ grid-template-columns: 1fr; grid-template-rows: 46vw 1fr; }
  .prod-left{
    border-right: 0;
    border-bottom: 1px solid rgba(245,245,245,.06);
    padding: 0;
    min-height: unset;
    overflow: hidden;
  }
  .prod-char-left{
    border-right: 0;
    border-bottom: 1px solid rgba(245,245,245,.06);
    padding: 0;
    min-height: unset;
    overflow: hidden;
  }
  /* Imagen burger rellena todo el recuadro */
  .prod-img-btn{ width: 100%; height: 100%; border-radius: 0; }
  .prod-img-btn img{ aspect-ratio: unset; height: 100%; border-radius: 0; }
  /* Imagen personaje rellena todo el recuadro */
  .prod-char-left img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: unset;
    max-width: none;
    border-radius: 0;
    box-shadow: none;
  }
  .prod-panel{ padding: 18px 20px; justify-content: flex-start; gap: 14px; }
  .prod-name{ font-size: clamp(1.8rem, 5vw, 2.8rem); }
  .prod-tabs{ justify-content: flex-start; flex-wrap: nowrap; }

  /* ---- Carta mobile: lista vertical ---- */
  #carta.section{
    height: auto;
    min-height: unset;
    overflow: visible;
    padding: 50px var(--pad) 28px;
  }
  #carta .wrap{ flex: none; min-height: unset; overflow: visible; }
  #carta .tabPanels{ flex: none; overflow: visible; min-height: unset; }
  #tabCarta.panel.isActive{ flex: none; overflow: visible; min-height: unset; }

  /* Grid → columna única */
  .menu-grid{
    display: flex;
    flex-direction: column;
    max-height: unset;
    overflow: visible;
    grid-template-columns: unset;
  }
  .menu-col{
    border-right: 0;
    border-bottom: 1px solid var(--line2);
    padding: 16px;
    width: 100%;
  }
  .menu-col:last-child{ border-bottom: 0; }
  .menu-col--right .menu-list{ flex: none; }

  /* Cabecera de precios (Simple / Doble) alineada a la derecha */
  .menu-price-headers{
    display: flex;
    justify-content: flex-end;
    margin-top: 6px;
    margin-bottom: 0;
  }
  .menu-price-headers span{
    width: 52px;
    text-align: right;
    font-size: 10px;
    letter-spacing: .08em;
    color: var(--muted2);
  }

  /* Cada ítem: nombre+desc a la izquierda, precio(s) a la derecha */
  .menu-item{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
  }
  .menu-item-left{ flex: 1; min-width: 0; }
  .menu-item-name{ display: block; font-size: 13px; font-weight: 700; }
  .menu-item-desc{ display: block; font-size: 11px; line-height: 1.35; }

  /* Doble precio (Simple / Doble) */
  .menu-item-prices{
    display: flex;
    flex-shrink: 0;
    align-items: flex-start;
  }
  .menu-item-prices span{
    width: 52px;
    text-align: right;
    font-size: 12px;
    font-weight: 600;
  }

  /* Precio único */
  .menu-item-price-single{
    width: 52px;
    text-align: right;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
  }

  .menu-divider{ margin: 12px 0; }
  .menu-salsas{ margin-top: 10px; }
}

@media (max-width: 620px){
  .grid3{ grid-template-columns: 1fr; }
}

/* ---- iPhone y móviles pequeños ---- */
@media (max-width: 480px){
  .history-editorial { padding: 40px 16px 32px; }
  .hist-wrap { gap: 18px; }
  .hist-title { font-size: 0.72rem; letter-spacing: 0.13em; }
  .hist-row, .hist-row--reverse {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .hist-row--reverse .hist-text { order: 2; }
  .hist-row--reverse .hist-media { order: 1; }
  .hist-media .histSlide img { height: 180px; }
  .hist-text { font-size: 0.84rem; gap: 8px; }
  .hist-quote { font-size: clamp(1rem, 4.5vw, 1.5rem); padding: 18px 0 0; }
  .hist-title { font-size: clamp(1.5rem, 7vw, 2.4rem); }
  .history-editorial { padding: 44px 18px 36px; }
  /* Hero mobile */
  .hero-content { padding-bottom: 220px; }
  .heroDock { bottom: max(68px, calc(env(safe-area-inset-bottom, 0px) + 62px)); }
  .hero-bottomnav { gap: 3px; padding: 6px 8px; justify-content: flex-start; }
  .hero-navbtn { font-size: 10.5px; padding: 7px 9px; flex-shrink: 0; }
  /* Productos mobile pequeño */
  .pdetail { min-height: auto; }
  .prod-stage{ min-height: calc((100svh - 132px) * 0.85); }
  .prod-card{ grid-template-rows: 50vw 1fr; }
  .prod-left{ min-height: unset; padding: 0; overflow: hidden; }
  .prod-char-left{ min-height: unset; padding: 0; overflow: hidden; }
  .prod-img-btn{ width: 100%; height: 100%; border-radius: 0; }
  .prod-img-btn img{ aspect-ratio: unset; height: 100%; border-radius: 0; }
  .prod-char-left img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: unset;
    max-width: none;
    border-radius: 0;
    box-shadow: none;
  }
  .prod-name{ font-size: clamp(1.6rem, 6vw, 2.4rem); }
  .prod-panel{ padding: 14px 16px; gap: 12px; justify-content: flex-start; }
  /* Join form mobile */
  .joinGrid { grid-template-columns: 1fr; }
  .joinCard { padding: 16px; }
}

/* ================================================================== */
/* v2 — Reservas, Eventos, Delivery & Take away                        */
/* ================================================================== */
.section--auto{ min-height: auto; padding-top: 96px; padding-bottom: 72px; }
.sectionLead{ max-width: 560px; margin: -6px 0 24px; line-height: 1.6; }

.navlink--cta,
.hero-navbtn--cta{
  background: var(--fg) !important;
  color: var(--bg) !important;
  border-color: var(--fg) !important;
  font-weight: 700;
}
.pill--solid{ background: var(--fg); color: var(--bg); border-color: var(--fg); }
.pill--solid:hover{ background: #fff; border-color: #fff; }
.pill:disabled{ opacity: .6; cursor: wait; transform: none; }

/* Formularios */
.formRow2{ display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.formRow3{ display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 12px; }
.optional{ text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted2); }
input[type=date].formInput{ color-scheme: dark; min-height: 46px; }
.formGroup.isError .formInput{ border-color: rgba(245,100,100,.6); }
.check{ display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--muted); line-height: 1.5; cursor: pointer; }
.check input{ margin-top: 2px; accent-color: #f5f5f5; width: 16px; height: 16px; flex-shrink: 0; }
.check.isError span{ color: rgba(245,120,120,.95); }
.formMsg{ margin: 0; min-height: 1em; font-size: 13px; color: rgba(245,140,140,.95); }
.formMsg:empty{ display: none; }
.hp{ position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.joinSuccess .pill{ margin-top: 10px; }

/* Reservas */
.resGrid{ display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; align-items: start; }
.resInfo .note{ margin-top: 14px; }
.infoList{ list-style: none; margin: 0; padding: 0; border: 1px solid var(--line2); border-radius: var(--radius2); overflow: hidden; }
.infoList li{ display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; font-size: 13px; color: var(--muted); border-bottom: 1px solid rgba(245,245,245,.05); }
.infoList li:last-child{ border-bottom: 0; }
.infoK{ font-size: 11px; text-transform: uppercase; letter-spacing: .18em; color: var(--fg); font-weight: 600; }

/* Eventos */
.evCards{ margin-bottom: 28px; }
.evCard{
  display: flex; flex-direction: column; gap: 8px; text-align: left;
  font: inherit; color: var(--fg); text-decoration: none; cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.evCard:hover{ transform: translateY(-2px); background: rgba(245,245,245,.05); border-color: rgba(245,245,245,.18); }
.evCard .muted{ font-size: 13px; line-height: 1.55; }
.evNum{ font-size: 11px; letter-spacing: .2em; color: var(--muted2); }
.evGo{ margin-top: auto; padding-top: 6px; font-size: 12px; font-weight: 600; }
.evGrid{ display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; }
#agenda, #evFormCard{ scroll-margin-top: 80px; }
.agendaList{ list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.agendaItem{
  display: grid; grid-template-columns: 58px 1fr auto; gap: 14px; align-items: start;
  padding: 14px; border: 1px solid var(--line2); border-radius: var(--radius2); background: rgba(245,245,245,.02);
}
.agendaDate{ display: flex; flex-direction: column; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 6px 0; }
.agendaDay{ font-family: var(--font-display); font-size: 26px; line-height: 1; }
.agendaMon{ font-size: 10px; text-transform: uppercase; letter-spacing: .15em; color: var(--muted2); }
.agendaTitle{ font-weight: 800; }
.agendaBody .muted{ margin: 6px 0 0; font-size: 13px; line-height: 1.5; }
.agendaImg{ width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }
.agendaEmpty{ font-size: 13px; line-height: 1.6; padding: 14px; border: 1px dashed var(--line2); border-radius: var(--radius2); }

/* Contacto y pie */
.contactLinks{ display: flex; flex-direction: column; gap: 6px; margin-top: 16px; font-size: 13px; }
.footerNav{ display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 10px; }
.footerNav a{ color: var(--muted); text-decoration: none; font-size: 13px; }
.footerNav a:hover{ color: var(--fg); }

@media (max-width: 920px){
  .resGrid, .evGrid{ grid-template-columns: 1fr; }
  .evCards{ grid-template-columns: 1fr; }
}
@media (max-width: 620px){
  .formRow2, .formRow3{ grid-template-columns: 1fr; }
  .section--auto{ padding-top: 80px; padding-bottom: 56px; }
  .agendaItem{ grid-template-columns: 52px 1fr; }
  .agendaImg{ display: none; }
}

/* Que nada (carruseles, paneles que entran de costado) ensanche la página en el celular */
html{ overflow-x: clip; }
