/* ==========================================================================
   Vagón 58 - Menú Digital (Landing Page Design System)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:ital,wght@0,300;0,400;0,600;0,700;1,400&family=Playfair+Display:wght@600;700&display=swap');

:root {
  --bg-parchment: #F8F4EC;
  --bg-card: #FFFFFF;
  --bg-card-alt: #F4EFE6;
  --color-primary-red: #7A201C;
  --color-primary-red-hover: #922722;
  --color-dark-brown: #2A211D;
  --color-gold: #B88230;
  --color-gold-light: #DFB269;
  --color-gold-bg: #FFF8EE;
  --color-cream: #FAF6EE;
  --color-gray-muted: #6B625B;
  --color-border: #E5DDD0;
  
  /* Flag accents */
  --flag-yellow: #F4B41A;
  --flag-blue: #1D4ED8;
  --flag-red: #DC2626;

  --font-heading: 'Bebas Neue', sans-serif;
  --font-serif: 'Playfair Display', serif;
  --font-body: 'Montserrat', sans-serif;
  
  --shadow-sm: 0 2px 8px rgba(42, 33, 29, 0.06);
  --shadow-md: 0 6px 18px rgba(42, 33, 29, 0.1);
  --shadow-lg: 0 12px 32px rgba(42, 33, 29, 0.15);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

/* Base resets & paper texture background */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-parchment);
  background-image: 
    radial-gradient(rgba(184, 130, 48, 0.04) 1px, transparent 1px),
    radial-gradient(rgba(122, 32, 28, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
  color: var(--color-dark-brown);
  line-height: 1.5;
  min-height: 100vh;
  padding-bottom: 90px; /* Space for sticky order bar */
}

/* Container */
.container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   Header & Hero
   ========================================================================== */
.hero-header {
  position: relative;
  text-align: center;
  padding: 2.5rem 1rem 1.5rem;
  background: linear-gradient(180deg, #F3EBDD 0%, var(--bg-parchment) 100%);
  border-bottom: 2px dashed var(--color-border);
  overflow: hidden;
}

.hero-bg-accent {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 600px;
  height: 6px;
  background: linear-gradient(90deg, 
    var(--flag-yellow) 0% 33%, 
    var(--flag-blue) 33% 66%, 
    var(--flag-red) 66% 100%);
}

.logo-wrapper {
  display: inline-block;
  position: relative;
  margin-bottom: 1rem;
}

.logo-img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--color-cream);
  background: var(--color-cream);
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.03);
}

.restaurant-tagline {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  letter-spacing: 2px;
  color: var(--color-primary-red);
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.sabor-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-gold-bg);
  border: 1px solid var(--color-gold-light);
  color: var(--color-gold);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sabor-badge svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.status-pills {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.pill {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  color: var(--color-dark-brown);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #22C55E;
}

/* ==========================================================================
   Sticky Nav & Search Bar
   ========================================================================== */
.sticky-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 244, 236, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  padding: 0.75rem 0;
  box-shadow: var(--shadow-sm);
}

.search-box {
  position: relative;
  margin-bottom: 0.75rem;
}

.search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.8rem;
  border-radius: 50px;
  border: 1.5px solid var(--color-border);
  background: var(--bg-card);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-dark-brown);
  outline: none;
  transition: all 0.2s ease;
}

.search-input:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(184, 130, 48, 0.15);
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-gray-muted);
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.nav-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  padding-bottom: 0.2rem;
}

.nav-tabs::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.tab-btn {
  white-space: nowrap;
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  border: 1px solid var(--color-border);
  background: var(--bg-card);
  color: var(--color-dark-brown);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  background: var(--bg-card-alt);
  border-color: var(--color-gold);
}

.tab-btn.active {
  background: var(--color-primary-red);
  color: #FFFFFF;
  border-color: var(--color-primary-red);
  box-shadow: 0 4px 12px rgba(122, 32, 28, 0.25);
}

/* ==========================================================================
   Hero Visual Showcase / Combo Ticket Section (Estilo Boleto/Cupón Vintage)
   ========================================================================== */
.combo-ticket-card {
  margin: 1.5rem 0 2rem;
  background: #631613; /* Rojo Vino Borgoña Profundo */
  color: #FFFFFF;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(99, 22, 19, 0.25);
  display: flex;
  flex-direction: row; /* SIEMPRE HORIZONTAL (Móvil y Escritorio) */
  align-items: stretch;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.combo-main {
  padding: 1.15rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

@media (min-width: 640px) {
  .combo-main {
    padding: 1.75rem 2rem;
  }
}

.combo-badge-tag {
  display: inline-block;
  align-self: flex-start;
  background: #B5842B; /* Dorado Cupón */
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  letter-spacing: 0.8px;
  padding: 0.2rem 0.65rem;
  border-radius: 5px;
  margin-bottom: 0.5rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

@media (min-width: 640px) {
  .combo-badge-tag {
    font-size: 1.2rem;
    padding: 0.25rem 0.9rem;
    border-radius: 6px;
    margin-bottom: 0.85rem;
  }
}

.combo-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  letter-spacing: 1px;
  line-height: 1;
  color: #FFFFFF;
  margin-bottom: 0.35rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@media (min-width: 640px) {
  .combo-title {
    font-size: 2.8rem;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
  }
}

.combo-subtitle {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

@media (min-width: 640px) {
  .combo-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.4;
  }
}

.combo-price-tag {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: #D3A548; /* Dorado Brillante */
  line-height: 1;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (min-width: 640px) {
  .combo-price-tag {
    font-size: 3.2rem;
    letter-spacing: 1px;
  }
}

.combo-disclaimer {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.25rem;
  font-style: italic;
  font-weight: 300;
}

@media (min-width: 640px) {
  .combo-disclaimer {
    font-size: 0.85rem;
    margin-top: 0.4rem;
  }
}

/* Talón de boleto derecho (Right Ticket Stub) */
.combo-stub {
  background: #440D0A; /* Fondo más oscuro para el talón */
  padding: 0.75rem 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  border-left: 2px dashed rgba(255, 255, 255, 0.35);
  min-width: 72px;
  width: 72px;
}

@media (min-width: 640px) {
  .combo-stub {
    padding: 1.5rem;
    min-width: 140px;
    width: 140px;
  }
}

.combo-stub-text-vertical {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  letter-spacing: 4px;
  color: #FFFFFF;
  line-height: 1;
  transform: rotate(-90deg);
  white-space: nowrap;
  text-transform: uppercase;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
  user-select: none;
}

@media (min-width: 640px) {
  .combo-stub-text-vertical {
    font-size: 2.8rem;
    letter-spacing: 5px;
  }
}

/* Muescas semicirculares de boleto cortado (Ticket Cutout Notches) */
.combo-ticket-card::before,
.combo-ticket-card::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: var(--bg-parchment);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  box-shadow: inset 0 0 4px rgba(0,0,0,0.15);
}
.combo-ticket-card::before {
  left: -10px;
}
.combo-ticket-card::after {
  right: -10px;
}

@media (min-width: 640px) {
  .combo-ticket-card::before,
  .combo-ticket-card::after {
    width: 24px;
    height: 24px;
  }
  .combo-ticket-card::before { left: -12px; }
  .combo-ticket-card::after { right: -12px; }
}

/* ==========================================================================
   Category Section & Menu Cards
   ========================================================================== */
.category-section {
  margin-bottom: 2.5rem;
  scroll-margin-top: 100px;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.category-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  letter-spacing: 1.5px;
  color: var(--color-primary-red);
  white-space: nowrap;
}

.category-line {
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--color-primary-red) 0%, transparent 100%);
  opacity: 0.3;
}

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

@media (min-width: 640px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Individual Menu Item Card */
.menu-item-card {
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.25 ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.menu-item-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-gold-light);
}

.menu-item-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--color-primary-red);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.menu-item-card:hover::before {
  opacity: 1;
}

.item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}

.item-name {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  letter-spacing: 1px;
  color: var(--color-dark-brown);
  line-height: 1.1;
}

.item-price {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--color-primary-red);
  font-weight: 700;
  white-space: nowrap;
  background: var(--color-gold-bg);
  padding: 0.1rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--color-gold-light);
}

.item-desc {
  font-size: 0.88rem;
  color: var(--color-gray-muted);
  line-height: 1.45;
  text-transform: lowercase;
}

.item-desc::first-letter {
  text-transform: uppercase;
}

.item-footer-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 0.6rem;
  border-top: 1px dashed var(--color-border);
}

.item-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-select,
.btn-add-cart {
  background: var(--color-primary-red);
  border: 1px solid var(--color-primary-red);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.45rem 0.9rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 2px 6px rgba(122, 32, 28, 0.2);
}

.btn-add-cart:hover {
  background: var(--color-primary-red-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(122, 32, 28, 0.3);
}

.btn-add-cart:active {
  transform: translateY(0);
}

.qty-counter-badge {
  background: var(--color-gold);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.2rem;
}

/* ==========================================================================
   Shopping Cart Drawer & Sticky Bar Integration
   ========================================================================== */
.sticky-order-bar {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: 520px;
  z-index: 999;
  background: var(--color-dark-brown);
  color: #FFFFFF;
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.cart-bar-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cart-icon-container {
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-count-bubble {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #25D366;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border: 2px solid var(--color-dark-brown);
}

.cart-bar-total-price {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-gold-light);
  line-height: 1;
}

.cart-bar-subtitle {
  font-size: 0.75rem;
  opacity: 0.8;
}

.cart-view-btn {
  background: #25D366;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}

.cart-view-btn:hover {
  transform: scale(1.03);
  background: #20BA5A;
}

/* Modal Carrito (Cart Modal) */
.cart-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(42, 33, 29, 0.75);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

@media (min-width: 640px) {
  .cart-modal-backdrop {
    align-items: center;
    padding: 1.5rem;
  }
}

.cart-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-modal-container {
  background: var(--bg-parchment);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 640px) {
  .cart-modal-container {
    border-radius: var(--radius-lg);
    transform: scale(0.95) translateY(20px);
  }
}

.cart-modal-backdrop.active .cart-modal-container {
  transform: translateY(0) scale(1);
}

.cart-modal-header {
  background: var(--color-dark-brown);
  color: #FFFFFF;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px dashed rgba(255, 255, 255, 0.15);
}

.cart-modal-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  letter-spacing: 1px;
  color: var(--color-gold-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-modal-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #FFFFFF;
  font-size: 1.4rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.cart-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.cart-modal-body {
  padding: 1.25rem 1.5rem;
  overflow-y: auto;
  flex: 1;
}

/* Lista de items en el carrito */
.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.cart-item-row {
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  box-shadow: var(--shadow-sm);
}

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

.cart-item-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-dark-brown);
  line-height: 1.1;
}

.cart-item-unit-price {
  font-size: 0.8rem;
  color: var(--color-gray-muted);
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card-alt);
  padding: 0.25rem 0.5rem;
  border-radius: 50px;
  border: 1px solid var(--color-border);
}

.btn-qty {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: var(--bg-card);
  color: var(--color-dark-brown);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: all 0.15s ease;
}

.btn-qty:hover {
  background: var(--color-primary-red);
  color: #FFFFFF;
}

.cart-item-qty {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

.cart-item-total {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-primary-red);
  min-width: 65px;
  text-align: right;
}

.btn-remove-item {
  background: transparent;
  border: none;
  color: #DC2626;
  cursor: pointer;
  padding: 0.2rem;
  display: flex;
  align-items: center;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.btn-remove-item:hover {
  opacity: 1;
}

/* Opciones de pedido */
.order-options-section {
  background: var(--color-gold-bg);
  border: 1px solid var(--color-gold-light);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-bottom: 1.25rem;
}

.order-options-title {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-dark-brown);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.order-type-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.order-type-option {
  position: relative;
}

.order-type-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.order-type-label {
  display: block;
  text-align: center;
  padding: 0.5rem 0.3rem;
  background: var(--bg-card);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-dark-brown);
  cursor: pointer;
  transition: all 0.2s ease;
}

.order-type-option input:checked + .order-type-label {
  background: var(--color-primary-red);
  color: #FFFFFF;
  border-color: var(--color-primary-red);
  box-shadow: 0 2px 8px rgba(122, 32, 28, 0.25);
}

.order-notes-input {
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.85rem;
  resize: none;
  height: 55px;
  outline: none;
}

.order-notes-input:focus {
  border-color: var(--color-gold);
}

/* Modal Footer & WhatsApp Action */
.cart-modal-footer {
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border-top: 1px solid var(--color-border);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.cart-summary-label {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-dark-brown);
}

.cart-summary-total {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--color-primary-red);
}

.btn-whatsapp-checkout {
  width: 100%;
  background: #25D366;
  color: #FFFFFF;
  border: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.95rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-whatsapp-checkout:hover {
  background: #20BA5A;
  transform: translateY(-2px);
}

/* Empty Cart State inside Modal */
.empty-cart-view {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--color-gray-muted);
}

.empty-cart-icon {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
  opacity: 0.6;
}


/* Category Featured Showcase Banner */
.category-showcase-banner {
  width: 100%;
  height: 180px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.25rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.category-showcase-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(42, 33, 29, 0.8) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1rem 1.25rem;
  color: #FFFFFF;
}

.category-showcase-caption {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: 1px;
}

/* No results state */
.no-results {
  text-align: center;
  padding: 3rem 1rem;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px dashed var(--color-border);
  grid-column: 1 / -1;
}

.no-results-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  opacity: 0.5;
}

.no-results-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-primary-red);
}

/* ==========================================================================
   Footer Discreto & Centrado (Sin recuadros blancos)
   ========================================================================== */
.main-footer {
  text-align: center;
  padding: 3rem 1rem 3rem;
  margin-top: 3.5rem;
  border-top: 2px dashed var(--color-border);
  background: var(--color-cream);
}

.footer-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-sm);
  border: 3px solid var(--bg-card);
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--color-primary-red);
  letter-spacing: 1.5px;
  line-height: 1;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--color-gray-muted);
  margin-top: 0.25rem;
  margin-bottom: 1.5rem;
}

.footer-schedule-box {
  max-width: 480px;
  margin: 0 auto 1.5rem;
  text-align: center;
}

.footer-schedule-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  letter-spacing: 1px;
  color: var(--color-primary-red);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.footer-schedule-item {
  font-size: 0.92rem;
  color: var(--color-dark-brown);
  margin-bottom: 0.35rem;
  line-height: 1.4;
}

.footer-schedule-item strong {
  font-weight: 700;
}

.footer-schedule-item span {
  color: var(--color-primary-red);
  font-weight: 600;
  margin-left: 0.3rem;
}

.footer-location-text {
  font-size: 0.85rem;
  color: var(--color-gray-muted);
  margin-top: 1rem;
  line-height: 1.4;
}

.sticky-order-bar {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: 480px;
  z-index: 999;
  background: var(--color-dark-brown);
  color: #FFFFFF;
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.order-bar-text {
  font-size: 0.85rem;
}

.order-bar-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  letter-spacing: 1px;
  color: var(--color-gold-light);
  line-height: 1;
}

.order-bar-btn {
  background: #25D366;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.55rem 1.1rem;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  transition: transform 0.2s ease;
}

.order-bar-btn:hover {
  transform: scale(1.04);
}

/* Modal for item preview */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(42, 33, 29, 0.7);
  backdrop-filter: blur(5px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--bg-parchment);
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-backdrop.active .modal-content {
  transform: translateY(0);
}

.modal-header {
  position: relative;
  height: 180px;
  background: var(--color-dark-brown);
}

.modal-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #FFFFFF;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-body {
  padding: 1.5rem;
}

.modal-item-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-primary-red);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.modal-item-price {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.modal-item-desc {
  font-size: 0.95rem;
  color: var(--color-dark-brown);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.modal-whatsapp-btn {
  width: 100%;
  background: #25D366;
  color: #FFFFFF;
  border: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

/* Micro animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.4s ease forwards;
}
