/* ===========================
   MIRU — Tienda de Comida
   styles.css
   =========================== */

/* ===== VARIABLES ===== */
:root {
  --negro: #0e0c0a;
  --crema: #f0ead8;
  --crema2: #e5dcc6;
  --crema3: #d4c9ae;
  --marron: #5c3d1e;
  --marron-claro: #8b6340;
  --rojo: #c0392b;
  --rojo-hover: #a93226;
  --gris: #7a7060;
  --blanco: #faf8f3;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Barlow', sans-serif;
  background: var(--crema);
  color: var(--negro);
  cursor: default;
  overflow-x: hidden;
}

/* ===== GRAIN OVERLAY ===== */
body::before {
  content: '';
  position: fixed;
  inset: 0;  
  pointer-events: none;
  z-index: 9999;
  opacity: 0.35;
}

/* ===== MARQUEE BANNER ===== */
.marquee-wrap {
  background: var(--negro);
  overflow: hidden;
  padding: 0.6rem 0;
  border-bottom: 2px solid var(--marron);
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}

.marquee-track span {
  color: var(--crema);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 0 2rem;
}

.marquee-track span.sep {
  color: var(--marron-claro);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== HEADER ===== */
header {
  background: var(--negro);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1.2rem 2.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(240,234,216,0.08);
}

.nav-left,
.nav-right {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-right {
  justify-content: flex-end;
}

.nav-link {
  color: rgba(240,234,216,0.6);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--crema);
}

.logo-img {
  height: 45px;          /* ajustá el tamaño que más te guste */
  width: auto;
  object-fit: contain;
  display: block;
}

.logo-dot {
  color: var(--rojo);
}

.btn-carrito-hdr {
  background: var(--rojo);
  border: none;
  color: white;
  padding: 0.5rem 1.2rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
}

.btn-carrito-hdr:hover {
  background: var(--rojo-hover);
}

.badge {
  background: white;
  color: var(--rojo);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 0.68rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-admin-hdr {
  background: none;
  border: 1px solid rgba(240,234,216,0.2);
  color: rgba(240,234,216,0.5);
  padding: 0.45rem 0.9rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-admin-hdr:hover {
  border-color: var(--crema);
  color: var(--crema);
}

/* ===== HERO ===== */
.hero {  
  background: transparent;
  padding: 6rem 2.5rem 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 2rem;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--marron);
}

/* VIDEO BACKGROUND */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;  
}

/* Overlay oscuro encima del video */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(14, 12, 10, 0.6);   /* oscurece el video para que el texto se lea */
  z-index: 1;
}

/* El contenido queda encima del video */
.hero-left,
.hero-right,
.hero-line {
  position: relative;
  z-index: 2;
}

.hero::after {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92,61,30,0.25) 0%, transparent 70%);
  pointer-events: none;
}

.hero-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--marron-claro);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.hero-tag::before {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--marron-claro);
}

.hero-h1-seo {
  font-family: 'Barlow', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--marron-claro);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.hero-h1-seo::before {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--marron-claro);
  flex-shrink: 0;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(5rem, 10vw, 9rem);
  color: var(--crema);
  line-height: 0.9;
  letter-spacing: 2px;
}

.hero-title .outline {
  -webkit-text-stroke: 2px var(--crema);
  color: transparent;
}

.hero-title .rojo {
  color: var(--rojo);
}

.hero-right {
  text-align: right;
  padding-bottom: 0.5rem;
}

.hero-desc {
  color: rgba(240,234,216,0.55);
  font-size: 1rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.6;
  max-width: 280px;
  margin-left: auto;
  margin-bottom: 2rem;
}

.hero-cta {
  background: var(--rojo);
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-block;
}

.hero-cta:hover {
  background: var(--crema);
  color: var(--negro);
}

.hero-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--marron), transparent);
}

/* ===== FILTROS ===== */
.filtros-bar {
  background: var(--negro);
  display: flex;
  align-items: center;
  padding: 0 2.5rem;
  border-bottom: 1px solid rgba(240,234,216,0.08);
  overflow-x: auto;
  scrollbar-width: none;
}

.filtros-bar::-webkit-scrollbar {
  display: none;
}

.filtro-btn {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  color: rgba(240,234,216,0.4);
  padding: 1.1rem 1.5rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.filtro-btn:hover {
  color: var(--crema);
}

.filtro-btn.activo {
  color: var(--crema);
  border-bottom-color: var(--rojo);
}

/* ===== MAIN ===== */
main {
  padding: 4rem 2.5rem;
  max-width: 1300px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 2px solid var(--negro);
  padding-bottom: 1rem;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  color: var(--negro);
  letter-spacing: 3px;
}

.section-count {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gris);
  text-transform: uppercase;
}

/* ===== GRID PRODUCTOS ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1px;
  background: var(--crema3);
  border: 1px solid var(--crema3);
}

.card {
  background: var(--crema);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background 0.2s, box-shadow 0.2s;
  animation: fadeIn 0.4s ease both;
  overflow: hidden;
  cursor: pointer;
}

.card:hover {
  background: var(--blanco);
  box-shadow: 0 8px 32px rgba(14,12,10,0.10);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.card-emoji-wrap,
.card-img-wrap {
  background: var(--crema2);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  position: relative;
  overflow: hidden;
  transition: background 0.2s;
}

.card:hover .card-emoji-wrap,
.card:hover .card-img-wrap {
  background: var(--crema3);
}

/* Imagen real del producto */
.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.card:hover .card-img {
  transform: scale(1.05);
}

/* Fallback al emoji si la imagen no carga */
.card-emoji-fallback {
  font-size: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.card-cat-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--negro);
  color: var(--crema);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
}

.card-body {
  padding: 1.2rem 1.4rem 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-nombre {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 1.5px;
  color: var(--negro);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.card-desc {
  font-size: 0.82rem;
  color: var(--gris);
  font-style: italic;
  line-height: 1.5;
  flex: 1;
  margin-bottom: 1.2rem;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--crema3);
  padding-top: 1rem;
}

.precio {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem;
  color: var(--negro);
  letter-spacing: 1px;
}

.precio-unit {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gris);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
  margin-top: -4px;
}

.btn-agregar {
  background: transparent;
  color: var(--marron-claro);
  border: 1px solid var(--crema3);
  padding: 0.45rem 0.9rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.btn-agregar:hover {
  background: var(--negro);
  border-color: var(--negro);
  color: var(--crema);
}

/* ── AGOTADO ── */
.card-agotado {
  opacity: 0.55;
  pointer-events: none;
  filter: grayscale(40%);
}
.card-agotado .card-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(14,12,10,0.4);
  z-index: 2;
}
.card-agotado-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
  z-index: 3;
  background: var(--rojo);
  color: #fff;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 4px;
  padding: 0.4rem 1.6rem;
  border-radius: 4px;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.btn-agotado-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: var(--rojo);
  text-transform: uppercase;
}

.no-productos {
  grid-column: 1 / -1;
  text-align: center;
  padding: 5rem;
  color: var(--gris);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 3px;
}

/* ===== OVERLAY ===== */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(14,12,10,0.7);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.overlay.visible {
  opacity: 1;
  pointer-events: all;
}

/* ===== PANEL CARRITO ===== */
.panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(460px, 100vw);
  height: 100vh;
  background: var(--crema);
  z-index: 300;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -12px 0 60px rgba(0,0,0,0.3);
}

.panel.abierto {
  transform: translateX(0);
}

.panel-header {
  background: var(--negro);
  padding: 1.8rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-header h2 {
  font-family: 'Bebas Neue', sans-serif;
  color: var(--crema);
  font-size: 1.8rem;
  letter-spacing: 4px;
}

.btn-cerrar {
  background: none;
  border: 1px solid rgba(240,234,216,0.2);
  color: rgba(240,234,216,0.6);
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-cerrar:hover {
  border-color: var(--crema);
  color: var(--crema);
}

.panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 2rem;
}

.carrito-vacio {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--gris);
}

.carrito-vacio .icono {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 5rem;
  letter-spacing: 4px;
  color: var(--crema3);
  display: block;
  margin-bottom: 1rem;
}

.item-carrito {
  display: flex;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--crema3);
  align-items: flex-start;
}

.item-emoji {
  font-size: 2.2rem;
  min-width: 50px;
  text-align: center;
  background: var(--crema2);
  padding: 0.5rem;
  line-height: 1;
}

.item-info {
  flex: 1;
}

.item-nombre {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.15rem;
  letter-spacing: 1.5px;
  color: var(--negro);
  margin-bottom: 0.2rem;
}

.item-precio {
  font-size: 0.82rem;
  color: var(--gris);
  font-weight: 600;
}

.item-controles {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.btn-qty {
  background: var(--negro);
  border: none;
  color: var(--crema);
  width: 26px;
  height: 26px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.btn-qty:hover {
  background: var(--rojo);
}

.qty {
  font-weight: 900;
  min-width: 22px;
  text-align: center;
  font-size: 0.9rem;
}

.btn-eliminar {
  background: none;
  border: none;
  color: var(--crema3);
  cursor: pointer;
  font-size: 0.9rem;
  margin-left: 0.4rem;
  transition: color 0.2s;
}

.btn-eliminar:hover {
  color: var(--rojo);
}

.panel-footer {
  padding: 1.5rem 2rem;
  border-top: 2px solid var(--negro);
  background: var(--crema2);
}

.total-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.2rem;
  align-items: baseline;
}

.total-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gris);
}

.total-monto {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  letter-spacing: 2px;
  color: var(--negro);
}

.btn-whatsapp {
  width: 100%;
  background: var(--negro);
  color: var(--crema);
  border: none;
  padding: 1.1rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  transition: all 0.25s;
}

.btn-whatsapp:hover {
  background: #25d366;
  color: white;
}

/* ===== PANEL ADMIN ===== */
.admin-panel {
  position: fixed;
  inset: 0;
  background: rgba(14,12,10,0.85);
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.admin-panel.visible {
  opacity: 1;
  pointer-events: all;
}

.admin-box {
  background: var(--crema);
  width: min(580px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  border: 2px solid var(--negro);
  transform: translateY(20px);
  transition: transform 0.3s;
}

.admin-panel.visible .admin-box {
  transform: translateY(0);
}

.admin-header {
  background: var(--negro);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-header h2 {
  font-family: 'Bebas Neue', sans-serif;
  color: var(--crema);
  font-size: 1.6rem;
  letter-spacing: 4px;
}

.admin-inner {
  padding: 1.5rem 2rem 2rem;
}

.admin-tabs {
  display: flex;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--negro);
}

.tab-btn {
  background: none;
  border: none;
  padding: 0.7rem 1.2rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gris);
  cursor: pointer;
  transition: all 0.2s;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}

.tab-btn.activo {
  color: var(--negro);
  border-bottom-color: var(--rojo);
}

.form-grupo {
  margin-bottom: 1.1rem;
}

.form-grupo label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gris);
  margin-bottom: 0.4rem;
}

.form-grupo input,
.form-grupo select,
.form-grupo textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--crema3);
  border-radius: 0;
  font-family: 'Barlow', sans-serif;
  font-size: 0.92rem;
  color: var(--negro);
  background: var(--blanco);
  outline: none;
  transition: border-color 0.2s;
}

.form-grupo input:focus,
.form-grupo select:focus,
.form-grupo textarea:focus {
  border-color: var(--negro);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.btn-guardar {
  background: var(--negro);
  color: var(--crema);
  border: none;
  padding: 0.9rem 2rem;
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  width: 100%;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.2s;
}

.btn-guardar:hover {
  background: var(--rojo);
}

.lista-admin {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.item-admin {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: 1.5px solid var(--crema3);
  background: var(--blanco);
  transition: border-color 0.2s;
}

.item-admin:hover {
  border-color: var(--negro);
}

.item-admin-emoji {
  font-size: 1.6rem;
  min-width: 40px;
  text-align: center;
}

.item-admin-info {
  flex: 1;
}

.item-admin-nombre {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 1.5px;
  color: var(--negro);
}

.item-admin-sub {
  font-size: 0.78rem;
  color: var(--gris);
}

.btn-borrar-admin {
  background: none;
  border: 1.5px solid var(--crema3);
  color: var(--gris);
  padding: 0.3rem 0.7rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-borrar-admin:hover {
  background: var(--rojo);
  color: white;
  border-color: var(--rojo);
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--negro);
  color: var(--crema);
  padding: 0.9rem 2rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 9000;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  border-left: 4px solid var(--rojo);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
  white-space: nowrap;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* ===== FOOTER ===== */
footer {
  background: var(--negro);
  padding: 3rem 2.5rem;
  border-top: 3px solid var(--marron);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  color: var(--crema);
  letter-spacing: 6px;
}

.footer-logo span {
  color: var(--rojo);
}

.footer-tagline {
  color: rgba(240,234,216,0.4);
  font-style: italic;
  font-size: 0.85rem;
  margin-top: 0.3rem;
}

.footer-col-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--marron-claro);
  margin-bottom: 1rem;
}

.footer-info {
  font-size: 0.85rem;
  color: rgba(240,234,216,0.5);
  line-height: 2;
}

.footer-copy {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(240,234,216,0.08);
  padding-top: 1.5rem;
  font-size: 0.72rem;
  color: rgba(240,234,216,0.2);
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  header {
    grid-template-columns: auto 1fr auto;
    gap: 0.5rem;
    padding: 1rem;
  }

  .nav-left {
    display: none;
  }

  .logo {
    font-size: 2rem;
    text-align: left;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 3rem 1.5rem;
  }

  .hero-right {
    text-align: left;
  }

  .hero-desc {
    margin-left: 0;
  }

  main {
    padding: 2.5rem 1.2rem;
  }

  footer {
    grid-template-columns: 1fr;
  }

  .filtros-bar {
    padding: 0 1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   MARQUEE INTERMEDIO
   =========================== */

.marquee-mid {
  background: var(--crema);
  overflow: hidden;
  padding: 1.2rem 0;
  border-top: 3px solid var(--negro);
  border-bottom: 3px solid var(--negro);
}

.marquee-mid-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}

.marquee-mid-track span {
  color: var(--negro);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 5px;
  padding: 0 1.5rem;
}

.marquee-mid-track .sep-mid {
  color: var(--rojo);
  padding: 0 0.3rem;
  letter-spacing: 0;
}

/* ===========================
   MAIN CONTENIDO
   =========================== */

#main-contenido {
  padding: 0;
  max-width: none;
  margin: 0;
}

/* ===========================
   SECCIONES — INTRO HEADER
   =========================== */

.secciones-intro {
  padding: 4rem 2.5rem 2.5rem;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: baseline;
  gap: 2.5rem;
}

.secciones-intro-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gris);
  white-space: nowrap;
}

.secciones-intro-titulo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  letter-spacing: 2px;
  color: var(--negro);
  line-height: 0.9;
}

.secciones-intro-titulo em {
  color: var(--rojo);
  font-style: italic;
}

/* ===========================
   GRID DE SECCIONES
   =========================== */

.grid-secciones {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: 310px 310px;
  gap: 3px;
  padding: 0 2.5rem 4rem;
  max-width: 1300px;
  margin: 0 auto;
}

.card-seccion:nth-child(1) { grid-column: 1; grid-row: 1 / 3; }
.card-seccion:nth-child(2) { grid-column: 2; grid-row: 1; }
.card-seccion:nth-child(3) { grid-column: 3; grid-row: 1; }
.card-seccion:nth-child(4) { grid-column: 2; grid-row: 2; }
.card-seccion:nth-child(5) { grid-column: 3; grid-row: 2; }

.card-seccion {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  animation: fadeIn 0.5s ease both;
}

/* La imagen cubre toda la card */
.card-seccion-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card-seccion:hover .card-seccion-bg {
  transform: scale(1.05);
}

/* Gradiente oscuro permanente desde abajo */
.card-seccion-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(14,12,10,0.88) 0%,
    rgba(14,12,10,0.35) 50%,
    rgba(14,12,10,0.08) 100%
  );
  transition: background 0.4s;
  z-index: 1;
}

.card-seccion:hover .card-seccion-overlay {
  background: linear-gradient(
    to top,
    rgba(14,12,10,0.95) 0%,
    rgba(14,12,10,0.5) 55%,
    rgba(14,12,10,0.12) 100%
  );
}

/* Texto sobre la imagen — siempre visible */
.card-seccion-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.8rem 2rem;
  z-index: 2;
}

.card-seccion-emoji {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.6));
}

.card-seccion-nombre {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  letter-spacing: 3px;
  color: var(--crema);
  line-height: 1;
  margin-bottom: 0.3rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.card-seccion:nth-child(1) .card-seccion-nombre {
  font-size: 3rem;
}

.card-seccion-sub {
  font-size: 0.72rem;
  color: rgba(240,234,216,0.6);
  font-style: italic;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 0.9rem;
}

.card-seccion-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(240,234,216,0.2);
}

.card-seccion-cant {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(240,234,216,0.45);
}

.card-seccion-arrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--crema);
  transition: transform 0.2s, color 0.2s;
}

.card-seccion:hover .card-seccion-arrow {
  transform: translateX(5px);
  color: var(--rojo);
}

/* ===========================
   BOTÓN VOLVER
   =========================== */

.btn-volver {
  background: none;
  border: none;
  color: var(--gris);
  font-family: 'Barlow', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0;
  margin-bottom: 0.5rem;
  display: block;
  transition: color 0.2s;
}

.btn-volver:hover { color: var(--rojo); }

#vista-productos {
  padding: 4rem 2.5rem;
  max-width: 1300px;
  margin: 0 auto;
}

/* ===========================
   NOSOTROS
   =========================== */

.nosotros {
  background: var(--negro);
  border-top: 3px solid var(--marron);
  padding: 6rem 2.5rem;
}

.nosotros-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.nosotros-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--marron-claro);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nosotros-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--marron-claro);
}

.nosotros-titulo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 5vw, 5rem);
  color: var(--crema);
  letter-spacing: 2px;
  line-height: 0.92;
  margin-bottom: 2rem;
}

.rojo-txt { color: var(--rojo); }

.nosotros-parrafo {
  font-size: 0.95rem;
  color: rgba(240,234,216,0.5);
  line-height: 1.85;
  margin-bottom: 1.2rem;
  max-width: 440px;
}

.nosotros-stats {
  display: flex;
  gap: 3rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(240,234,216,0.1);
}

.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.8rem;
  letter-spacing: 2px;
  color: var(--crema);
  line-height: 1;
}

.stat-lbl {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(240,234,216,0.3);
  margin-top: 0.2rem;
}

.nosotros-imagenes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 340px 180px;
  gap: 4px;
}

.nosotros-img-grande {
  grid-column: 1 / 3;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.nosotros-img-tag {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(14,12,10,0.72);
  color: rgba(240,234,216,0.7);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  backdrop-filter: blur(4px);
}

.nosotros-img-chica {
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 1024px) {
  .grid-secciones {
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-template-rows: 270px 270px;
  }
}

@media (max-width: 900px) {
  .nosotros-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .nosotros-imagenes {
    grid-template-rows: 240px 140px;
  }
}

@media (max-width: 700px) {
  .grid-secciones {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    padding: 0 0 3rem;
  }
  .card-seccion:nth-child(1),
  .card-seccion:nth-child(2),
  .card-seccion:nth-child(3),
  .card-seccion:nth-child(4),
  .card-seccion:nth-child(5) {
    grid-column: 1;
    grid-row: auto;
    height: 220px;
  }
  .card-seccion:nth-child(1) .card-seccion-nombre,
  .card-seccion-nombre {
    font-size: 2rem;
  }
  .secciones-intro {
    flex-direction: column;
    gap: 0.4rem;
    padding: 2.5rem 1.5rem 1.5rem;
  }
  .nosotros {
    padding: 4rem 1.5rem;
  }
  .nosotros-stats { gap: 1.5rem; }
  .marquee-mid-track span { font-size: 1.1rem; }
}

/* ===========================
   LANDING / PÁGINA ENTRADA
   =========================== */

/* ═══════════════════════════════════════════════════
   LANDING PORTAL — Bienvenida con fuego de fondo
   ═══════════════════════════════════════════════════ */

.landing-page {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: #0a0705;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 1.5rem 1rem;
  transition: opacity 0.7s ease, transform 0.7s ease;
  animation: landingFadeIn 1.2s ease;
}

@keyframes landingFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.landing-page.oculta {
  opacity: 0;
  pointer-events: none;
  transform: scale(1.03);
}

/* Video de fondo */
.landing-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  filter: saturate(1.15) contrast(1.08);
  opacity: 0;
  animation: videoReveal 3s ease 0.3s forwards;
}

@keyframes videoReveal {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

/* Capa negra inicial que cubre cualquier flash de poster o fondo */
.landing-blackout {
  position: absolute;
  inset: 0;
  background: #000;
  z-index: 3;
  pointer-events: none;
  animation: blackoutFade 3.2s ease 0.1s forwards;
}

@keyframes blackoutFade {
  0%   { opacity: 1; }
  80%  { opacity: 0.5; }
  100% { opacity: 0; }
}

/* Overlay mínimo — solo para legibilidad del texto */
.landing-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.603);
  z-index: 4;
}

/* Viñeteo sutil para efecto cinematográfico */
.landing-video-vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 120px 20px rgba(0,0,0,0.35);
  z-index: 5;
  pointer-events: none;
}

/* Contenido central */
.landing-contenido {
  position: relative;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 540px;
  width: 100%;
  animation: landingContentRise 1.3s ease 0.2s both;
}

@keyframes landingContentRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Marco superior: "Desde 2020 · Lomas" */
.landing-marco-superior {
  margin-bottom: 1.8rem;
  animation: landingItemRise 1s ease 0.4s both;
}

.landing-desde {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(240, 234, 216, 0.692);
  margin-top: 1rem;
  display: inline-block;
}

/* Logo MIRU imagen */
.landing-logo {
  display: block;
  width: 22rem;
  margin: 0;
  animation: landingItemRise 1s ease 0.5s both;
  filter: drop-shadow(0 4px 20px rgb(0, 0, 0));
}

/* Pizza · Pasta — pegado al logo */
.landing-pizza-pasta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(0.7rem, 2.2vw, 0.95rem);
  letter-spacing: 5px;
  color: #e8dfc8;
  margin-bottom: 2rem;
  text-shadow:
    0 1px 8px rgb(0, 0, 0),
    0 0 20px rgb(0, 0, 0);
  animation: landingItemRise 1s ease 0.55s both;
}

.landing-pp-sep {
  font-size: 1em;
  color: #e8dfc8;
}

/* Subtagline descriptivo */
.landing-subtagline {
  font-size: clamp(0.8rem, 2.2vw, 0.95rem);
  color: rgba(240,234,216,0.55);
  font-style: italic;
  letter-spacing: 0.5px;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  animation: landingItemRise 1s ease 0.8s both;
}

/* Botón principal "Entrar" */
.landing-entrar {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--rojo);
  border: none;
  color: white;
  padding: 1.1rem 2.4rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1rem, 2.6vw, 1.15rem);
  letter-spacing: 5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(.2,.9,.3,1.1);
  margin-bottom: 2.2rem;
  box-shadow:
    0 6px 20px rgba(192, 57, 43, 0.3),
    0 0 40px rgba(192, 57, 43, 0.15);
  animation: landingItemRise 1s ease 0.9s both, landingBtnGlow 3.2s ease-in-out 2s infinite;
}

.landing-entrar::before {
  content: '';
  position: absolute;
  inset: -3px;
  border: 1px solid rgba(192, 57, 43, 0.4);
  pointer-events: none;
  transition: inset 0.3s ease;
}

.landing-entrar:hover {
  background: var(--rojo-hover);
  transform: translateY(-2px);
  box-shadow:
    0 10px 30px rgba(192, 57, 43, 0.5),
    0 0 60px rgba(192, 57, 43, 0.25);
  letter-spacing: 6px;
}

.landing-entrar:hover::before {
  inset: -6px;
}

.landing-entrar-flecha {
  font-size: 1.3em;
  transition: transform 0.3s ease;
}

.landing-entrar:hover .landing-entrar-flecha {
  transform: translateX(5px);
}

@keyframes landingBtnGlow {
  0%, 100% {
    box-shadow: 0 6px 20px rgba(192, 57, 43, 0.3), 0 0 40px rgba(192, 57, 43, 0.15);
  }
  50% {
    box-shadow: 0 6px 24px rgba(192, 57, 43, 0.5), 0 0 70px rgba(192, 57, 43, 0.35);
  }
}

/* Redes sociales */
.landing-redes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  animation: landingItemRise 1s ease 1.05s both;
}

.landing-redes-label {
  font-size: 0.65rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(240, 234, 216, 0.61);
  font-weight: 600;
}

.landing-redes-lista {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.landing-red-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(240,234,216,0.05);
  border: 1px solid rgba(240,234,216,0.18);
  color: rgba(240, 234, 216, 0.856);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.landing-red-btn:hover {
  background: rgba(192, 57, 43, 0.15);
  border-color: rgba(192, 57, 43, 0.5);
  color: var(--crema);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(192, 57, 43, 0.25);
}

.landing-red-btn svg {
  flex-shrink: 0;
}

@keyframes landingItemRise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive: ajustes finos para móviles pequeños */
@media (max-width: 480px) {
  .landing-page { padding: 1rem 0.8rem; }
  .landing-marco-superior { margin-bottom: 1.3rem; }
  .landing-desde { letter-spacing: 3.5px; padding: 0.4rem 0.9rem; font-size: 0.58rem; }  
  .landing-subtagline { margin-bottom: 1.8rem; }
  .landing-entrar { padding: 1rem 2rem; letter-spacing: 4px; margin-bottom: 1.8rem; }
  .landing-red-btn { width: 40px; height: 40px; }
  .landing-separador-lineas { margin: 0.2rem 0 0.8rem; }
}

@media (max-height: 680px) and (min-width: 481px) {
  /* Pantallas anchas pero cortas (landscape en móvil, laptops con UI pegada) */
  .landing-marco-superior { margin-bottom: 1rem; }
  .landing-logo { margin-bottom: 0.5rem; }
  .landing-tagline { margin-bottom: 0.5rem; }
  .landing-subtagline { margin-bottom: 1.3rem; }
  .landing-entrar { margin-bottom: 1.3rem; }
}

/* ===========================
   ICONOS REDES EN HEADER
   =========================== */

.nav-redes {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-red-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(240,234,216,0.45);
  transition: color 0.2s, transform 0.2s;
  text-decoration: none;
  width: 32px;
  height: 32px;
}

.nav-red-icon:hover {
  color: var(--crema);
  transform: scale(1.15);
}

/* ===========================
   EQUIPO — NOSOTROS
   =========================== */

.equipo {
  margin-top: 5rem;
  padding-top: 4rem;
  border-top: 1px solid rgba(240,234,216,0.08);
}

.equipo-titulo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  letter-spacing: 4px;
  color: var(--crema);
  margin-bottom: 0.4rem;
}

.equipo-sub {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(240,234,216,0.3);
  margin-bottom: 2.5rem;
}

.equipo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}

.equipo-card {
  position: relative;
  overflow: hidden;
}

.equipo-card-img {
  height: 320px;
  background-size: cover;
  background-position: center top;
  position: relative;
  transition: transform 0.5s ease;
}

.equipo-card:hover .equipo-card-img { transform: scale(1.04); }

.equipo-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,12,10,0.9) 0%, rgba(14,12,10,0.1) 60%);
}

.equipo-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.2rem;
  z-index: 2;
}

.equipo-card-rol {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--rojo);
  margin-bottom: 0.3rem;
}

.equipo-card-nombre {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 2px;
  color: var(--crema);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.equipo-card-desc {
  font-size: 0.72rem;
  color: rgba(240,234,216,0.5);
  font-style: italic;
  line-height: 1.5;
  transform: translateY(6px);
  opacity: 0;
  transition: all 0.3s;
}

.equipo-card:hover .equipo-card-desc {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   ALMACÉN EN SECCIONES
   =========================== */

/* La seccion almacen ocupa 2 cols en mobile */
@media (max-width: 700px) {
  .equipo-grid {
    grid-template-columns: 1fr 1fr;
  }
  .equipo-card-img { height: 240px; }
  .nav-redes { gap: 0.6rem; }
}

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

/* ===========================
   MODAL EQUIPO
   =========================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 8000;
  background: rgba(14,12,10,0.82);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.modal-equipo {
  background: var(--negro);
  border: 1px solid rgba(240,234,216,0.1);
  display: grid;
  grid-template-columns: 340px 1fr;
  max-width: 780px;
  width: 100%;
  position: relative;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  max-height: 90vh;
  overflow: hidden;
}

.modal-overlay.visible .modal-equipo {
  transform: translateY(0) scale(1);
}

.modal-foto {
  background-size: cover;
  background-position: center top;
  min-height: 460px;
}

.modal-info {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
}

.modal-rol {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--rojo);
  margin-bottom: 0.5rem;
}

.modal-nombre {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  letter-spacing: 4px;
  color: var(--crema);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.modal-bio {
  font-size: 0.9rem;
  color: rgba(240,234,216,0.65);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.modal-frase {
  font-family: 'Barlow', sans-serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--crema);
  border-left: 2px solid var(--rojo);
  padding-left: 1rem;
  line-height: 1.5;
}

.modal-cerrar {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(240,234,216,0.08);
  border: 1px solid rgba(240,234,216,0.15);
  color: rgba(240,234,216,0.6);
  width: 36px;
  height: 36px;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.2s;
}

.modal-cerrar:hover {
  background: rgba(240,234,216,0.15);
  color: var(--crema);
}

.equipo-card {
  cursor: pointer;
}

@media (max-width: 640px) {
  .modal-equipo {
    grid-template-columns: 1fr;
    max-height: 88vh;
    overflow-y: auto;
  }
  .modal-foto {
    min-height: 260px;
  }
  .modal-info {
    padding: 2rem 1.5rem;
  }
  .modal-nombre { font-size: 2.2rem; }
}

/* ===== MODAL DETALLE PRODUCTO ===== */
.modal-producto-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14,12,10,0.75);
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  backdrop-filter: blur(4px);
}
.modal-producto-overlay.visible { opacity: 1; pointer-events: all; }

.modal-producto {
  background: var(--crema);
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.2,0,0,1);
  box-shadow: 0 32px 80px rgba(14,12,10,0.35);
}
.modal-producto-overlay.visible .modal-producto { transform: translateY(0) scale(1); }

.modal-prod-cerrar {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--negro);
  color: var(--crema);
  border: none;
  width: 36px;
  height: 36px;
  font-size: 1rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.modal-prod-cerrar:hover { background: var(--rojo); }

.modal-prod-galeria { position: relative; background: var(--crema2); overflow: hidden; }

.modal-prod-foto-principal {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  transition: opacity 0.25s;
}
.modal-prod-foto-principal.cambiando { opacity: 0; }

.modal-prod-miniaturas {
  display: flex;
  gap: 0.4rem;
  padding: 0.6rem;
  background: var(--crema2);
  overflow-x: auto;
}

.modal-prod-miniatura {
  width: 56px;
  height: 56px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.5;
  border: 2px solid transparent;
  transition: all 0.2s;
  flex-shrink: 0;
}
.modal-prod-miniatura.activa,
.modal-prod-miniatura:hover { opacity: 1; border-color: var(--negro); }

.modal-prod-emoji-grande {
  font-size: 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1;
}

.modal-prod-info {
  padding: 2.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.modal-prod-categoria {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--marron-claro);
}

.modal-prod-nombre {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.4rem;
  letter-spacing: 2px;
  color: var(--negro);
  line-height: 1;
}

.modal-prod-precio {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: var(--rojo);
  letter-spacing: 1px;
}

.modal-prod-precio-unit {
  font-size: 0.68rem;
  color: var(--gris);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: -4px;
}

.modal-prod-desc {
  font-size: 0.88rem;
  color: var(--gris);
  font-style: italic;
  line-height: 1.7;
  border-top: 1px solid var(--crema3);
  padding-top: 1rem;
}

.modal-prod-cantidad-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--negro);
}

.modal-prod-cantidad {
  display: flex;
  align-items: center;
  width: fit-content;
  border: 1.5px solid var(--negro);
}

.modal-prod-qty-btn {
  width: 42px;
  height: 42px;
  background: var(--negro);
  color: var(--crema);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.modal-prod-qty-btn:hover { background: var(--marron); }

.modal-prod-qty-num {
  width: 52px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  color: var(--negro);
  letter-spacing: 1px;
}

.modal-prod-btn-agregar {
  width: 100%;
  background: var(--negro);
  color: var(--crema);
  border: none;
  padding: 1.1rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: auto;
}
.modal-prod-btn-agregar:hover { background: var(--rojo); }

/* ===== MODAL CONFIRMACIÓN AGREGADO ===== */
.modal-agregado-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14,12,10,0.55);
  z-index: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  backdrop-filter: blur(2px);
}
.modal-agregado-overlay.visible { opacity: 1; pointer-events: all; }

.modal-agregado {
  background: var(--crema);
  max-width: 440px;
  width: 100%;
  padding: 2rem;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.2,0,0,1);
  box-shadow: 0 24px 60px rgba(14,12,10,0.28);
}
.modal-agregado-overlay.visible .modal-agregado { transform: translateY(0); }

.modal-agregado-check {
  width: 48px;
  height: 48px;
  background: var(--negro);
  color: var(--crema);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.modal-agregado-titulo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 2px;
  color: var(--negro);
  margin-bottom: 0.2rem;
}

.modal-agregado-producto {
  font-size: 0.85rem;
  color: var(--gris);
  font-style: italic;
  margin-bottom: 1.2rem;
}

.modal-agregado-resumen {
  background: var(--crema2);
  padding: 0.8rem 1rem;
  margin-bottom: 1.4rem;
  border-left: 3px solid var(--marron);
}

.modal-agregado-resumen-titulo {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--marron-claro);
  margin-bottom: 0.5rem;
}

.modal-agregado-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--negro);
  padding: 0.2rem 0;
}
.modal-agregado-item span:last-child { font-weight: 700; color: var(--marron); }

.modal-agregado-total {
  display: flex;
  justify-content: space-between;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 1px;
  color: var(--negro);
  border-top: 1px solid var(--crema3);
  margin-top: 0.5rem;
  padding-top: 0.5rem;
}

.modal-agregado-acciones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.btn-seguir-comprando {
  background: transparent;
  color: var(--negro);
  border: 1.5px solid var(--negro);
  padding: 0.85rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-seguir-comprando:hover { background: var(--crema2); }

.btn-ir-carrito {
  background: var(--negro);
  color: var(--crema);
  border: 1.5px solid var(--negro);
  padding: 0.85rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-ir-carrito:hover { background: var(--rojo); border-color: var(--rojo); }

@media (max-width: 640px) {
  .modal-producto { grid-template-columns: 1fr; max-height: 95vh; }
  .modal-prod-foto-principal { aspect-ratio: 4/3; }
  .modal-agregado-acciones { grid-template-columns: 1fr; }
}

/* ===== MERCADO PAGO ===== */
.btn-mp {
  width: 100%;
  background: #009EE3;
  color: #fff;
  border: none;
  padding: 1.1rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  transition: all 0.25s;
  margin-bottom: 0.6rem;
}
.btn-mp:hover { background: #0086c3; }
.btn-mp:disabled { opacity: 0.6; cursor: not-allowed; }

.mp-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gris);
  padding: 0.5rem 0 0.8rem;
}

.mp-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(0,158,227,0.3);
  border-top-color: #009EE3;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.mp-error {
  font-size: 0.78rem;
  color: var(--rojo);
  text-align: center;
  padding: 0.4rem 0 0.8rem;
  font-weight: 600;
}

.pago-separador {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0.8rem 0;
  color: var(--gris);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.pago-separador::before,
.pago-separador::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(14,12,10,0.15);
}

.pago-seguro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  color: var(--gris);
  letter-spacing: 1px;
  margin-top: 0.9rem;
  opacity: 0.7;
}

/* ===== FOOTER MEDIOS DE PAGO ===== */
.footer-medios-pago {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.footer-mp-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #009EE3;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.footer-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.footer-chip {
  background: rgba(240,234,216,0.06);
  border: 1px solid rgba(240,234,216,0.12);
  color: rgba(240,234,216,0.55);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
}
.footer-mp-texto {
  font-size: 0.65rem;
  color: rgba(240,234,216,0.2);
  letter-spacing: 0.5px;
  margin-top: 0.2rem;
}

/* ===========================
   MODAL RETORNO MERCADO PAGO
   =========================== */
.modal-retorno-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 15, 10, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 1rem;
  animation: retornoFadeIn 0.3s ease;
}
.modal-retorno-overlay.visible { display: flex; }
@keyframes retornoFadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-retorno {
  background: #fdf6e9;
  color: #3a2a1a;
  border-radius: 20px;
  padding: 2.5rem 2rem 2rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  animation: retornoSlideUp 0.35s cubic-bezier(.2,.9,.3,1.1);
  border-top: 6px solid #8b6340;
}
@keyframes retornoSlideUp {
  from { transform: translateY(30px) scale(0.96); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.modal-retorno.retorno-exitoso { border-top-color: #2a8d4a; }
.modal-retorno.retorno-pendiente { border-top-color: #d19a2a; }
.modal-retorno.retorno-fallido { border-top-color: #c0392b; }

.modal-retorno-cerrar {
  position: absolute; top: 0.75rem; right: 0.9rem;
  background: transparent; border: none;
  font-size: 1.3rem; color: #8b6340;
  cursor: pointer; padding: 0.25rem 0.5rem; line-height: 1;
}
.modal-retorno-cerrar:hover { color: #3a2a1a; }

.modal-retorno-icono {
  font-size: 3.5rem; line-height: 1;
  margin-bottom: 0.8rem; font-weight: 300;
}
.retorno-exitoso .modal-retorno-icono { color: #2a8d4a; }
.retorno-pendiente .modal-retorno-icono { color: #d19a2a; }
.retorno-fallido .modal-retorno-icono { color: #c0392b; }

.modal-retorno-titulo {
  font-size: 1.6rem; margin: 0 0 0.8rem;
  font-weight: 600; letter-spacing: 0.5px; color: #3a2a1a;
}
.modal-retorno-mensaje {
  font-size: 0.95rem; line-height: 1.55;
  color: #5c4530; margin: 0 0 1.5rem;
}
.modal-retorno-btn-wa {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  background: #25d366; color: white;
  padding: 0.95rem 1.2rem; border-radius: 12px;
  font-weight: 600; font-size: 0.95rem;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-bottom: 0.8rem; letter-spacing: 0.3px;
}
.modal-retorno-btn-wa:hover { background: #1fb855; transform: translateY(-1px); }
.modal-retorno-btn-wa:active { transform: translateY(0); }
.modal-retorno-btn-cerrar {
  background: transparent; color: #8b6340;
  border: 1px solid rgba(139, 99, 64, 0.3);
  padding: 0.7rem 1.2rem; border-radius: 10px;
  font-size: 0.85rem; font-weight: 500; cursor: pointer;
  width: 100%; letter-spacing: 0.5px; text-transform: uppercase;
  transition: background 0.2s, border-color 0.2s;
}
.modal-retorno-btn-cerrar:hover {
  background: rgba(139, 99, 64, 0.08);
  border-color: rgba(139, 99, 64, 0.5);
}
@media (max-width: 480px) {
  .modal-retorno { padding: 2rem 1.3rem 1.5rem; }
  .modal-retorno-titulo { font-size: 1.35rem; }
  .modal-retorno-icono { font-size: 3rem; }
}

/* ===========================================================
   REGISTRO / LOGIN / USUARIO — Header + Modales
   =========================================================== */

/* Botón usuario en el header — armonizado con btn-carrito-hdr */
.btn-usuario-hdr {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid rgba(240, 234, 216, 0.25);
  color: rgba(240, 234, 216, 0.85);
  padding: 0.5rem 1rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  margin-right: 0.6rem;
  white-space: nowrap;
  height: 36px;
}
.btn-usuario-hdr:hover {
  background: rgba(240, 234, 216, 0.08);
  border-color: rgba(240, 234, 216, 0.5);
  color: var(--crema);
}
.btn-usuario-hdr.logueado {
  background: rgba(240, 234, 216, 0.08);
  border-color: rgba(240, 234, 216, 0.4);
  color: var(--crema);
}
.btn-usuario-hdr .avatar-usuario {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.btn-usuario-hdr .icono-usuario { flex-shrink: 0; }

/* Ajustes al botón carrito existente: también ícono + texto */
.btn-carrito-hdr {
  height: 36px;
}
.btn-carrito-hdr .icono-carrito {
  flex-shrink: 0;
}

/* En mobile: ambos botones pasan a solo ícono */
@media (max-width: 768px) {
  /* Ocultar redes sociales en mobile — liberar espacio */
  .nav-right .nav-redes { display: none; }

  .btn-usuario-hdr {
    padding: 0;
    width: 38px;
    height: 38px;
    justify-content: center;
    margin-right: 0.4rem;
    border-radius: 50%;
  }
  .btn-usuario-hdr .nombre-usuario { display: none; }
  .btn-usuario-hdr .avatar-usuario { width: 26px; height: 26px; }

  .btn-carrito-hdr {
    padding: 0;
    width: 38px;
    height: 38px;
    justify-content: center;
    border-radius: 50%;
    position: relative;
  }
  .btn-carrito-hdr .texto-carrito { display: none; }
  .btn-carrito-hdr .badge {
    position: absolute;
    top: -4px;
    right: -4px;
    border: 2px solid var(--negro);
    width: 20px;
    height: 20px;
  }
  .nav-right { gap: 0; }
}

/* Aviso emprendimiento en sección Nosotros */
.nosotros-aviso-casero {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(139, 99, 64, 0.08);
  border-left: 3px solid #8b6340;
  padding: 1rem 1.2rem;
  border-radius: 8px;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #5c4530;
}
.nosotros-aviso-casero strong {
  color: #3a2a1a;
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}
.nosotros-aviso-icono {
  flex-shrink: 0;
  color: #8b6340;
  margin-top: 0.15rem;
}

/* ===========================================================
   MODAL CHECKOUT (3 pasos)
   =========================================================== */
.modal-checkout-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 15, 10, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9998;
  padding: 1rem;
  animation: retornoFadeIn 0.3s ease;
  overflow-y: auto;
}
.modal-checkout-overlay.visible { display: flex; }

.modal-checkout {
  background: #fdf6e9;
  color: #3a2a1a;
  border-radius: 20px;
  padding: 2rem 1.8rem;
  max-width: 520px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  animation: retornoSlideUp 0.35s cubic-bezier(.2,.9,.3,1.1);
  border-top: 6px solid #8b6340;
}
.modal-checkout-cerrar {
  position: absolute;
  top: 0.75rem;
  right: 0.9rem;
  background: transparent;
  border: none;
  font-size: 1.3rem;
  color: #8b6340;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  line-height: 1;
  z-index: 2;
}
.modal-checkout-cerrar:hover { color: #3a2a1a; }

/* Indicador de pasos */
.checkout-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  gap: 0.5rem;
  padding: 0 0.5rem;
}
.checkout-step {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(58, 42, 26, 0.4);
  font-weight: 600;
}
.checkout-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(139, 99, 64, 0.15);
  color: rgba(58, 42, 26, 0.5);
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.checkout-step.activo { color: #3a2a1a; }
.checkout-step.activo span { background: #8b6340; color: #fdf6e9; }
.checkout-step.completado span { background: #2a8d4a; color: #fdf6e9; }
.checkout-step.completado span::before { content: '✓'; }
.checkout-step.completado span > * { display: none; }

/* Títulos */
.checkout-titulo {
  font-size: 1.4rem;
  margin: 0 0 0.5rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.checkout-subtitulo {
  font-size: 0.88rem;
  color: #5c4530;
  margin: 0 0 1.2rem;
  line-height: 1.5;
}

/* Opciones de modalidad */
.checkout-opcion {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  background: white;
  border: 2px solid rgba(139, 99, 64, 0.2);
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
  margin-bottom: 0.9rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
  font-family: inherit;
}
.checkout-opcion:hover {
  border-color: #8b6340;
  background: #fffaf0;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139, 99, 64, 0.15);
}
.checkout-opcion-icono {
  font-size: 2rem;
  flex-shrink: 0;
}
.checkout-opcion-texto { flex: 1; min-width: 0; }
.checkout-opcion-titulo {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.2rem;
  color: #3a2a1a;
}
.checkout-opcion-desc {
  font-size: 0.82rem;
  color: #5c4530;
  line-height: 1.4;
}
.checkout-opcion-flecha {
  font-size: 1.2rem;
  color: #8b6340;
  flex-shrink: 0;
}

/* Placeholder mapa */
.checkout-mapa-placeholder {
  margin-top: 1.2rem;
  padding: 1rem;
  background: rgba(139, 99, 64, 0.05);
  border: 1px dashed rgba(139, 99, 64, 0.3);
  border-radius: 10px;
}
.checkout-mapa-titulo {
  font-size: 0.8rem;
  font-weight: 600;
  color: #5c4530;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}
.checkout-mapa-hint {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(92, 69, 48, 0.5);
  font-size: 0.85rem;
  font-style: italic;
  border-radius: 6px;
}
.checkout-mapa-hint img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}

/* Login sugerido en paso 2 */
.checkout-login-sugerido {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(139, 99, 64, 0.08);
  padding: 0.85rem 1rem;
  border-radius: 10px;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}
.checkout-login-texto {
  font-size: 0.82rem;
  color: #5c4530;
  line-height: 1.4;
}
.btn-google-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  border: 1px solid rgba(139, 99, 64, 0.3);
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #3a2a1a;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn-google-inline:hover {
  background: #fffaf0;
  border-color: #8b6340;
}

/* Usuario logueado en checkout */
.checkout-usuario-logueado {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(42, 141, 74, 0.08);
  border: 1px solid rgba(42, 141, 74, 0.2);
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  margin-bottom: 1.2rem;
}
.checkout-usuario-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #8b6340 center/cover no-repeat;
  color: #fdf6e9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.checkout-usuario-info { min-width: 0; flex: 1; }
.checkout-usuario-nombre { font-weight: 600; font-size: 0.9rem; color: #3a2a1a; }
.checkout-usuario-email {
  font-size: 0.78rem;
  color: #5c4530;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Formulario */
.checkout-form { display: flex; flex-direction: column; gap: 0.9rem; }
.checkout-label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #3a2a1a;
  letter-spacing: 0.3px;
}
.checkout-label small {
  font-weight: 400;
  color: #8b6340;
  font-size: 0.75rem;
  margin-left: 0.3rem;
}
.checkout-label input,
.checkout-label textarea {
  background: white;
  border: 1px solid rgba(139, 99, 64, 0.25);
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: #3a2a1a;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.checkout-label input:focus,
.checkout-label textarea:focus {
  outline: none;
  border-color: #8b6340;
  box-shadow: 0 0 0 3px rgba(139, 99, 64, 0.15);
}
.checkout-label textarea { resize: vertical; min-height: 60px; }

/* Botones de navegación del checkout */
.checkout-form-botones {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.2rem;
}
.checkout-btn-atras {
  flex: 0 0 auto;
  background: transparent;
  color: #8b6340;
  border: 1px solid rgba(139, 99, 64, 0.3);
  padding: 0.85rem 1.1rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.3px;
  font-family: inherit;
  transition: background 0.2s, border-color 0.2s;
}
.checkout-btn-atras:hover {
  background: rgba(139, 99, 64, 0.08);
  border-color: rgba(139, 99, 64, 0.5);
}
.checkout-btn-siguiente,
.checkout-btn-confirmar {
  flex: 1;
  background: #8b6340;
  color: #fdf6e9;
  border: none;
  padding: 0.95rem 1.1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.5px;
  font-family: inherit;
  transition: background 0.2s, transform 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.checkout-btn-siguiente:hover,
.checkout-btn-confirmar:hover { background: #6b4a2f; transform: translateY(-1px); }
.checkout-btn-confirmar:disabled { opacity: 0.6; cursor: wait; transform: none; }

.btn-confirmar-mp { background: #009EE3 !important; }
.btn-confirmar-mp:hover { background: #007cb3 !important; }
.btn-confirmar-wa { background: #25d366 !important; }
.btn-confirmar-wa:hover { background: #1fb855 !important; }

/* Resumen del paso 3 */
.checkout-resumen {
  background: white;
  border-radius: 12px;
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(139, 99, 64, 0.15);
}
.checkout-resumen-seccion { margin-bottom: 0.8rem; }
.checkout-resumen-seccion:last-child { margin-bottom: 0; }
.checkout-resumen-label {
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #8b6340;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.checkout-resumen-valor {
  font-size: 0.88rem;
  color: #3a2a1a;
  white-space: pre-wrap;
  line-height: 1.5;
}
.checkout-resumen-items {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.5rem;
}
.checkout-resumen-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #3a2a1a;
  padding: 0.2rem 0;
  border-bottom: 1px dashed rgba(139, 99, 64, 0.15);
}
.checkout-resumen-item:last-child { border-bottom: none; }
.checkout-resumen-total {
  font-size: 1.15rem;
  font-weight: 700;
  color: #3a2a1a;
  text-align: right;
  padding-top: 0.5rem;
  border-top: 2px solid rgba(139, 99, 64, 0.3);
}

/* Aviso casero en checkout */
.checkout-aviso-casero {
  display: flex;
  gap: 0.9rem;
  background: linear-gradient(135deg, rgba(209, 154, 42, 0.15), rgba(209, 154, 42, 0.08));
  border: 1.5px solid rgba(209, 154, 42, 0.5);
  border-left: 4px solid #d19a2a;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  margin-bottom: 1.1rem;
  font-size: 0.83rem;
  line-height: 1.55;
  box-shadow: 0 2px 10px rgba(209, 154, 42, 0.12);
}
.checkout-aviso-icono { font-size: 1.6rem; flex-shrink: 0; margin-top: 0.1rem; }
.checkout-aviso-contenido { color: #4a3520; }
.checkout-aviso-contenido strong {
  display: block;
  color: #2e1f0e;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  letter-spacing: 0.01em;
}

.checkout-error {
  background: rgba(192, 57, 43, 0.1);
  border: 1px solid rgba(192, 57, 43, 0.3);
  color: #c0392b;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-top: 0.8rem;
}

/* ===========================================================
   MODAL LOGIN
   =========================================================== */
.modal-login-overlay,
.modal-usuario-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 15, 10, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  padding: 1rem;
  animation: retornoFadeIn 0.3s ease;
}
.modal-login-overlay.visible,
.modal-usuario-overlay.visible { display: flex; }

.modal-login,
.modal-usuario {
  background: #fdf6e9;
  color: #3a2a1a;
  border-radius: 20px;
  padding: 2.3rem 1.8rem 1.8rem;
  max-width: 400px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  animation: retornoSlideUp 0.35s cubic-bezier(.2,.9,.3,1.1);
  border-top: 6px solid #8b6340;
}
.modal-login-cerrar {
  position: absolute;
  top: 0.75rem;
  right: 0.9rem;
  background: transparent;
  border: none;
  font-size: 1.3rem;
  color: #8b6340;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  line-height: 1;
}
.modal-login-cerrar:hover { color: #3a2a1a; }

.modal-login-icono { font-size: 2.5rem; margin-bottom: 0.5rem; }
.modal-login-titulo {
  font-size: 1.4rem;
  margin: 0 0 0.7rem;
  font-weight: 600;
}
.modal-login-mensaje {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #5c4530;
  margin: 0 0 1.5rem;
}
.btn-google-login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  width: 100%;
  background: white;
  border: 1.5px solid rgba(139, 99, 64, 0.25);
  color: #3a2a1a;
  padding: 0.95rem 1.2rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  font-family: inherit;
}
.btn-google-login:hover {
  border-color: #8b6340;
  background: #fffaf0;
  transform: translateY(-1px);
}
.modal-login-error {
  background: rgba(192, 57, 43, 0.1);
  color: #c0392b;
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  font-size: 0.82rem;
  margin-top: 0.8rem;
}
.modal-login-disclaimer {
  margin-top: 0.8rem;
  font-size: 0.75rem;
  color: #8b6340;
  font-style: italic;
}

/* Separador "o" */
.modal-login-separador {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0 0.9rem;
  color: #b89a7a;
  font-size: 0.8rem;
}
.modal-login-separador::before,
.modal-login-separador::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(139, 99, 64, 0.2);
}

/* Formulario manual */
.modal-login-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.login-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid rgba(139, 99, 64, 0.25);
  border-radius: 10px;
  font-size: 0.92rem;
  font-family: inherit;
  background: white;
  color: #3a2a1a;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.login-input:focus {
  border-color: #8b6340;
}
.login-input::placeholder {
  color: #b89a7a;
}
.btn-login-manual {
  width: 100%;
  background: #8b6340;
  color: #fdf6e9;
  border: none;
  padding: 0.9rem 1.2rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, transform 0.15s;
  margin-top: 0.2rem;
}
.btn-login-manual:hover {
  background: #6b4a2c;
  transform: translateY(-1px);
}
.btn-login-manual:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Toggle login/registro */
.modal-login-toggle {
  margin-top: 0.9rem;
  font-size: 0.82rem;
  color: #5c4530;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
.login-toggle-btn {
  background: none;
  border: none;
  color: #8b6340;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  font-family: inherit;
  text-decoration: underline;
  padding: 0;
}
.login-toggle-btn:hover { color: #3a2a1a; }

/* Modal de usuario logueado */
.modal-usuario-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
}
.modal-usuario-avatar-grande {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #8b6340 center/cover no-repeat;
  color: #fdf6e9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 0.7rem;
}
.modal-usuario-nombre-grande {
  font-size: 1.15rem;
  font-weight: 600;
  color: #3a2a1a;
}
.modal-usuario-email-grande {
  font-size: 0.82rem;
  color: #5c4530;
}
.modal-usuario-acciones { display: flex; flex-direction: column; gap: 0.5rem; }
.modal-usuario-btn-secundario {
  background: transparent;
  color: #8b6340;
  border: 1px solid rgba(139, 99, 64, 0.3);
  padding: 0.75rem 1.2rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: inherit;
  transition: background 0.2s, border-color 0.2s;
}
.modal-usuario-btn-secundario:hover {
  background: rgba(139, 99, 64, 0.08);
  border-color: rgba(139, 99, 64, 0.5);
}

/* Responsive */
@media (max-width: 640px) {
  .modal-checkout {
    padding: 1.5rem 1.1rem;
    max-height: 96vh;
  }
  .checkout-titulo { font-size: 1.2rem; }
  .checkout-steps { padding: 0; }
  .checkout-step { font-size: 0.65rem; gap: 0.35rem; }
  .checkout-step span { width: 22px; height: 22px; font-size: 0.7rem; }
  .checkout-opcion { padding: 0.9rem 1rem; }
  .checkout-opcion-icono { font-size: 1.6rem; }
  .checkout-opcion-titulo { font-size: 0.92rem; }
  .checkout-opcion-desc { font-size: 0.78rem; }
  .checkout-login-sugerido { flex-direction: column; align-items: stretch; text-align: center; }
  .btn-google-inline { justify-content: center; }
}

/* Botón intermedio "Ir a MP" (post-await, garantiza user gesture en móvil) */
.checkout-mp-listo {
  text-align: center;
  padding: 1.2rem 1rem;
  background: rgba(0, 158, 227, 0.08);
  border: 1px solid rgba(0, 158, 227, 0.25);
  border-radius: 12px;
  margin-top: 0.5rem;
}
.checkout-mp-listo-titulo {
  font-size: 1rem;
  font-weight: 700;
  color: #009EE3;
  margin-bottom: 0.4rem;
}
.checkout-mp-listo-desc {
  font-size: 0.85rem;
  color: #5c4530;
  margin-bottom: 1rem;
  line-height: 1.45;
}
.checkout-btn-ir-mp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  background: #009EE3;
  color: white;
  padding: 1rem 1.2rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: background 0.2s, transform 0.15s;
  animation: mpListoPulse 1.8s ease-in-out;
}
.checkout-btn-ir-mp:hover {
  background: #007cb3;
  transform: translateY(-1px);
}
@keyframes mpListoPulse {
  0%   { transform: scale(1); box-shadow: 0 0 0 0 rgba(0,158,227,0.5); }
  50%  { transform: scale(1.02); box-shadow: 0 0 0 10px rgba(0,158,227,0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0,158,227,0); }
}

/* ═══════════════════════════════════════════════════
   HERO — Botones CTAs dobles (Tienda / Comida Lista)
   ═══════════════════════════════════════════════════ */
.hero-ctas {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 0.9rem 1.6rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.hero-cta span { font-size: 1.2em; line-height: 1; }

.hero-cta-primary {
  background: var(--rojo);
  color: white;
  box-shadow: 0 4px 16px rgba(192,57,43,0.25);
}
.hero-cta-primary:hover {
  background: var(--rojo-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(192,57,43,0.4);
}

.hero-cta-secondary {
  background: transparent;
  color: var(--crema);
  border: 1.5px solid rgba(240,234,216,0.35);
}
.hero-cta-secondary:hover {
  background: rgba(240,234,216,0.08);
  border-color: var(--crema);
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .hero-ctas { gap: 0.5rem; }
  .hero-cta {
    padding: 0.75rem 1.1rem;
    font-size: 0.85rem;
    letter-spacing: 2px;
    flex: 1;
    justify-content: center;
    min-width: 140px;
  }
}

/* ═══════════════════════════════════════════════════
   COMIDA LISTA — Sección galería estilo Instagram
   ═══════════════════════════════════════════════════ */
.comida-lista {
  background: #14100b;
  padding: 5rem 2.5rem 4rem;
  color: var(--crema);
  scroll-margin-top: 80px;
}

.comida-lista-intro {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.comida-lista-label {
  font-size: 0.72rem;
  letter-spacing: 5px;
  font-weight: 700;
  color: var(--rojo);
  margin-bottom: 1rem;
}

.comida-lista-titulo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: 2px;
  line-height: 1;
  margin: 0 0 1.2rem;
  color: var(--crema);
}
.comida-lista-titulo em {
  color: var(--rojo);
  font-style: italic;
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  letter-spacing: 0;
}

.comida-lista-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(240,234,216,0.6);
  max-width: 560px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════
   COMIDA LISTA — Cards de categorías (estilo tienda)
   ═══════════════════════════════════════════════════ */
.comida-grid-categorias {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  max-width: 1100px;
  margin: 0 auto 2rem;
}

.comida-card-cat {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  height: 340px;
  animation: fadeIn 0.5s ease both;
}

.comida-card-cat-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.comida-card-cat:hover .comida-card-cat-bg {
  transform: scale(1.05);
}

.comida-card-cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(14,12,10,0.92) 0%,
    rgba(14,12,10,0.4) 50%,
    rgba(14,12,10,0.1) 100%
  );
  transition: background 0.4s;
  z-index: 1;
}
.comida-card-cat:hover .comida-card-cat-overlay {
  background: linear-gradient(
    to top,
    rgba(14,12,10,0.96) 0%,
    rgba(14,12,10,0.55) 55%,
    rgba(14,12,10,0.15) 100%
  );
}

.comida-card-cat-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.8rem 2rem;
  z-index: 2;
}

.comida-card-cat-emoji {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.6));
}

.comida-card-cat-nombre {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.8rem;
  letter-spacing: 3px;
  color: var(--crema);
  line-height: 1;
  margin-bottom: 0.35rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.comida-card-cat-sub {
  font-size: 0.72rem;
  color: rgba(240,234,216,0.65);
  font-style: italic;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 1rem;
}

.comida-card-cat-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(240,234,216,0.22);
}

.comida-card-cat-count {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(240,234,216,0.5);
}

.comida-card-cat-arrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--crema);
  transition: transform 0.2s, color 0.2s;
}
.comida-card-cat:hover .comida-card-cat-arrow {
  transform: translateX(5px);
  color: var(--rojo);
}

@media (max-width: 620px) {
  .comida-grid-categorias { grid-template-columns: 1fr; }
  .comida-card-cat { height: 260px; }
  .comida-card-cat-nombre { font-size: 2.2rem; }
}

/* Header de la vista de platos (volver + título + count) */
.comida-platos-header {
  max-width: 1100px;
  margin: 0 auto 1.4rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0 0.2rem;
  flex-wrap: wrap;
}
.comida-platos-header .btn-volver {
  background: transparent;
  border: 1px solid rgba(240,234,216,0.18);
  color: rgba(240,234,216,0.75);
  padding: 0.55rem 1rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  border-radius: 4px;
}
.comida-platos-header .btn-volver:hover {
  border-color: var(--rojo);
  color: var(--rojo);
}
.comida-platos-titulo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 3px;
  color: var(--crema);
  margin: 0;
  flex: 1;
}
.comida-platos-count {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(240,234,216,0.45);
}
@media (max-width: 480px) {
  .comida-platos-titulo { font-size: 1.3rem; flex-basis: 100%; order: -1; }
}

/* Grilla estilo Instagram */
.comida-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  max-width: 1100px;
  margin: 0 auto;
}

.comida-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  color: rgba(240,234,216,0.4);
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.comida-card {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  background: #0a0705;
  animation: comidaCardFadeIn 0.6s ease both;
}
@keyframes comidaCardFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}

.comida-card-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.3s ease;
}
.comida-card:hover .comida-card-media {
  transform: scale(1.06);
  filter: brightness(0.75);
}

.comida-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.comida-card:hover .comida-card-overlay {
  opacity: 1;
}
/* En mobile: nombre siempre visible */
@media (hover: none) {
  .comida-card-overlay { opacity: 1; }
}

.comida-card-nombre {
  color: white;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 2px;
  line-height: 1.1;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.comida-card-no-disp { opacity: 0.55; }
.comida-card-no-disp-tag {
  margin-top: 0.4rem;
  background: rgba(192,57,43,0.85);
  color: white;
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  font-weight: 700;
}

/* CTA final de la sección */
.comida-cta-final {
  max-width: 620px;
  margin: 2.8rem auto 0;
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(240,234,216,0.03);
  border: 1px solid rgba(240,234,216,0.08);
  border-radius: 12px;
}
.comida-cta-final-texto {
  font-size: 0.92rem;
  color: rgba(240,234,216,0.65);
  margin: 0 0 1.2rem;
  line-height: 1.5;
}
.comida-cta-final-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--rojo);
  color: white;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(192,57,43,0.35);
}
.comida-cta-final-btn:hover {
  background: #a5311f;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192,57,43,0.5);
}
.comida-cta-final-btn.comida-cta-wa {
  background: #25d366;
  box-shadow: 0 4px 14px rgba(37,211,102,0.35);
}
.comida-cta-final-btn.comida-cta-wa:hover {
  background: #1ebe5d;
  box-shadow: 0 6px 20px rgba(37,211,102,0.5);
}

/* Responsive grilla */
@media (max-width: 768px) {
  .comida-lista { padding: 3.5rem 1rem 3rem; }
  .comida-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .comida-card-nombre { font-size: 0.9rem; letter-spacing: 1.5px; }
}

/* ═══════════════════════════════════════════════════
   MODAL DETALLE COMIDA LISTA
   ═══════════════════════════════════════════════════ */
.modal-comida-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 15, 10, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 1rem;
  animation: retornoFadeIn 0.3s ease;
  overflow-y: auto;
}
.modal-comida-overlay.visible { display: flex; }

.modal-comida {
  background: #fdf6e9;
  color: #3a2a1a;
  border-radius: 16px;
  max-width: 480px;
  width: 100%;
  max-height: 92vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  animation: retornoSlideUp 0.35s cubic-bezier(.2,.9,.3,1.1);
}

.modal-comida-cerrar {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  background: rgba(0,0,0,0.5);
  border: none;
  font-size: 1.1rem;
  color: white;
  cursor: pointer;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  line-height: 1;
  z-index: 3;
  transition: background 0.2s;
}
.modal-comida-cerrar:hover { background: rgba(0,0,0,0.75); }

.modal-comida-media {
  width: 100%;
  aspect-ratio: 1;
  background: #0a0705;
  overflow: hidden;
  flex-shrink: 0;
}
.modal-comida-img,
.modal-comida-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal-comida-body {
  padding: 1.5rem 1.5rem 1.3rem;
  overflow-y: auto;
}

.modal-comida-badge {
  display: inline-block;
  background: rgba(139,99,64,0.12);
  color: #8b6340;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.7rem;
}

.modal-comida-nombre {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 1.5px;
  line-height: 1;
  margin: 0 0 0.7rem;
  color: #3a2a1a;
}

.modal-comida-desc {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #5c4530;
  margin: 0 0 1.1rem;
}

.modal-comida-precio-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.7rem 0;
  border-top: 1px dashed rgba(139,99,64,0.2);
  border-bottom: 1px dashed rgba(139,99,64,0.2);
  margin-bottom: 1.1rem;
}
.modal-comida-precio-label {
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #8b6340;
  font-weight: 600;
}
.modal-comida-precio {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  color: #3a2a1a;
  letter-spacing: 1px;
}

.modal-comida-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.3rem;
}
.modal-comida-info-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: #5c4530;
}
.modal-comida-info-icono { font-size: 1rem; flex-shrink: 0; }

.modal-comida-btn-fudo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  width: 100%;
  background: var(--rojo);
  color: white;
  padding: 1rem 1.3rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(192,57,43,0.35);
}
.modal-comida-btn-fudo:hover {
  background: #a5311f;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(192,57,43,0.5);
}

@media (max-width: 480px) {
  .modal-comida { max-height: 95vh; border-radius: 14px; }
  .modal-comida-body { padding: 1.2rem 1.2rem 1rem; }
  .modal-comida-nombre { font-size: 1.55rem; }
}
