/* 
   Marcos Andrade Food — Sistema de Diseño y Estilos Premium 
   Aesthetic: Dark Gourmet (Default) & Warm Cream (Light Theme)
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Montserrat:wght@400;500;600;700&family=Roboto:wght@500;700&display=swap');

/* Variables de Tema */
:root {
  /* Tema Dark Gourmet (Por Defecto) */
  --bg-main: #1A0F08;
  --bg-card: #25160E;
  --bg-card-hover: #2F1D13;
  --bg-accent: #3E2416;
  --bg-glass: rgba(26, 15, 8, 0.75);
  --border-color: #5A3A22;
  --border-light: rgba(90, 58, 34, 0.4);
  --text-main: #F5EDE0;
  --text-muted: #BFAEA2;
  --text-dark: #2A1A0A;
  
  --primary: #FF6B1A;
  --primary-hover: #E05810;
  --secondary: #FFB347;
  --secondary-hover: #FFA21F;
  --accent-green: #4CAF50;
  --accent-red: #E53935;
  --shadow-color: rgba(0, 0, 0, 0.6);
  --shadow-glow: rgba(255, 107, 26, 0.15);
  
  --font-title: 'Playfair Display', Georgia, serif;
  --font-body: 'Nunito', 'Inter', sans-serif;
  --font-price: 'Montserrat', sans-serif;
  --font-badge: 'Roboto', sans-serif;
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Tema Warm Cream (Modo Claro) */
body.light-theme {
  --bg-main: #FFF8F2;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFF3E6;
  --bg-accent: #F5EDE0;
  --bg-glass: rgba(255, 248, 242, 0.85);
  --border-color: #EADCCE;
  --border-light: rgba(234, 220, 206, 0.6);
  --text-main: #2A1A0A;
  --text-muted: #614D3C;
  --text-dark: #F5EDE0;
  
  --primary: #FF6B1A;
  --primary-hover: #E05810;
  --secondary: #E69A35;
  --secondary-hover: #CD7F1D;
  --shadow-color: rgba(42, 26, 10, 0.08);
  --shadow-glow: rgba(255, 107, 26, 0.08);
}

/* Reset y Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  transition: var(--transition-smooth);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: 0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

button, input, textarea, select {
  font-family: inherit;
  outline: none;
  border: none;
}

button {
  cursor: pointer;
  background: none;
  transition: var(--transition-smooth);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Principal */
.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex-grow: 1;
  padding-bottom: 80px; /* Para el nav flotante en móvil */
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Logo */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  padding: 15px 0;
  transition: var(--transition-smooth);
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px var(--shadow-glow));
  transition: var(--transition-bounce);
}

.brand-logo:hover .logo-img {
  transform: rotate(-10deg) scale(1.1);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 11px;
  font-family: var(--font-title);
  color: var(--primary);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.1;
}

.logo-subtitle {
  font-size: 24px;
  font-family: var(--font-title);
  color: var(--text-main);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 900;
  line-height: 1.0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.logo-subtitle::after {
  content: '.';
  color: var(--primary);
}

/* Navegación de Escritorio */
.desktop-nav {
  display: flex;
  gap: 25px;
}

.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 5px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Botones Icono */
.btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-accent);
  color: var(--text-main);
  border: 1px solid var(--border-light);
  position: relative;
  box-shadow: 0 4px 6px var(--shadow-color);
}

.btn-icon:hover {
  transform: translateY(-2px);
  background-color: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}

.badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--primary);
  color: #FFFFFF;
  font-family: var(--font-badge);
  font-size: 11px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-main);
}

/* Navegación Flotante Móvil */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-glass);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-top: 1px solid var(--border-light);
  z-index: 99;
  padding: 10px 0;
  box-shadow: 0 -8px 24px var(--shadow-color);
}

.mobile-nav-wrapper {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.mobile-nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 600;
  gap: 4px;
  width: 55px;
}

.mobile-nav-link i {
  font-size: 18px;
}

.mobile-nav-link.active, .mobile-nav-link:hover {
  color: var(--primary);
}

.mobile-nav-link.active-cart {
  position: relative;
}

/* Switch de Tema */
.theme-toggle i {
  font-size: 16px;
}

.light-theme .theme-toggle i::before {
  content: "\f186"; /* Icono de luna */
}

/* Botones Premium */
.btn-primary {
  background-color: var(--primary);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px var(--shadow-glow);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 26, 0.3);
}

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

.btn-secondary {
  background-color: var(--bg-accent);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-secondary:hover {
  background-color: var(--border-color);
  color: var(--text-main);
  transform: translateY(-2px);
}

/* Badges */
.badge {
  font-family: var(--font-badge);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
  vertical-align: middle;
}

.badge-vegan {
  background-color: rgba(76, 175, 80, 0.15);
  color: var(--accent-green);
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.badge-picante {
  background-color: rgba(229, 57, 53, 0.15);
  color: var(--accent-red);
  border: 1px solid rgba(229, 57, 53, 0.3);
}

.badge-oferta {
  background-color: rgba(255, 179, 71, 0.15);
  color: var(--secondary);
  border: 1px solid rgba(255, 179, 71, 0.3);
}

.badge-nuevo {
  background-color: rgba(255, 107, 26, 0.15);
  color: var(--primary);
  border: 1px solid rgba(255, 107, 26, 0.3);
}

/* =========================================
   1. HOME PAGE
   ========================================= */
.hero-section {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 520px;
  display: flex;
  align-items: center;
  margin-bottom: 50px;
  border-radius: 0 0 40px 40px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow-color);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(26, 15, 8, 0.95) 40%, rgba(26, 15, 8, 0.5) 100%);
  z-index: 1;
}

body.light-theme .hero-overlay {
  background: linear-gradient(90deg, rgba(255, 248, 242, 0.98) 40%, rgba(255, 248, 242, 0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 40px 0;
}

.hero-tag {
  font-family: var(--font-badge);
  font-weight: 700;
  color: var(--secondary);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 15px;
  display: block;
}

.hero-title {
  font-size: 52px;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text-main);
}

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

.hero-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 35px;
}

/* Buscador de Dirección */
.search-location-bar {
  display: flex;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 6px;
  border-radius: 40px;
  box-shadow: 0 8px 24px var(--shadow-color);
  gap: 8px;
  margin-bottom: 20px;
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  flex-grow: 1;
  padding-left: 15px;
  gap: 10px;
}

.search-input-wrapper i {
  color: var(--primary);
  font-size: 16px;
}

.search-input-wrapper input {
  background: none;
  border: none;
  color: var(--text-main);
  width: 100%;
  font-size: 14px;
}

.search-input-wrapper input::placeholder {
  color: var(--text-muted);
}

.hero-buttons {
  display: flex;
  gap: 15px;
  align-items: center;
}

/* Categorías */
.section-title-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 25px;
}

.section-title {
  font-size: 32px;
  color: var(--text-main);
}

.section-subtitle {
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
  display: block;
}

.categories-grid {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding: 10px 0 20px 0;
  scrollbar-width: none; /* Firefox */
}

.categories-grid::-webkit-scrollbar {
  display: none; /* Safari/Chrome */
}

.category-card {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 18px;
  width: 105px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-bounce);
}

.category-card:hover, .category-card.active {
  background-color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px var(--shadow-glow);
}

.category-icon {
  font-size: 28px;
  margin-bottom: 10px;
  transition: var(--transition-bounce);
}

.category-card:hover .category-icon, .category-card.active .category-icon {
  transform: scale(1.15) rotate(5deg);
}

.category-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
}

.category-card:hover .category-name, .category-card.active .category-name {
  color: #FFFFFF;
}

/* Ofertas Banner */
.promos-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.promo-banner {
  background-size: cover;
  background-position: center;
  height: 180px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  box-shadow: 0 6px 15px var(--shadow-color);
  cursor: pointer;
}

.promo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(26, 15, 8, 0.9) 30%, rgba(26, 15, 8, 0.1) 100%);
  z-index: 1;
}

body.light-theme .promo-overlay {
  background: linear-gradient(90deg, rgba(255, 248, 242, 0.92) 30%, rgba(255, 248, 242, 0.2) 100%);
}

.promo-content {
  position: relative;
  z-index: 2;
  padding: 30px;
  max-width: 70%;
}

.promo-tag {
  font-family: var(--font-badge);
  font-size: 10px;
  font-weight: 700;
  background-color: var(--primary);
  color: #FFFFFF;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: inline-block;
}

.promo-title {
  font-size: 22px;
  margin-bottom: 8px;
  line-height: 1.2;
}

.promo-desc {
  font-size: 13px;
  color: var(--text-muted);
}

/* Platos más pedidos (Cards) */
.dishes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.dish-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  transition: var(--transition-bounce);
  box-shadow: 0 6px 18px var(--shadow-color);
}

.dish-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-color);
  box-shadow: 0 12px 30px var(--shadow-color), 0 0 15px var(--shadow-glow);
}

.dish-img-wrapper {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.dish-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.dish-card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.dish-card-rating {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background-color: var(--bg-glass);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 4px 8px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--secondary);
  border: 1px solid var(--border-light);
  z-index: 2;
}

.dish-overlay-cta {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(26, 15, 8, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 1;
}

.dish-card:hover .dish-overlay-cta {
  opacity: 1;
}

.dish-info {
  padding: 18px;
}

.dish-meta-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.dish-meta-time {
  font-family: var(--font-badge);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.dish-name {
  font-size: 19px;
  margin-bottom: 8px;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dish-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
  height: 40px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dish-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dish-price {
  font-family: var(--font-price);
  font-size: 20px;
  font-weight: 700;
  color: var(--secondary);
}

/* Sección Rápido y delicioso */
.fast-delivery-section {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 32px;
  padding: 40px;
  margin: 50px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  box-shadow: 0 8px 24px var(--shadow-color);
}

.fast-delivery-info {
  max-width: 50%;
}

.fast-delivery-badge {
  color: var(--primary);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 15px;
}

.fast-delivery-badge i {
  animation: pulse 1.5s infinite;
}

.fast-delivery-title {
  font-size: 38px;
  margin-bottom: 15px;
}

.fast-delivery-desc {
  color: var(--text-muted);
  margin-bottom: 25px;
}

.fast-delivery-stats {
  display: flex;
  gap: 30px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-price);
  font-size: 28px;
  font-weight: 700;
  color: var(--secondary);
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
}

/* Testimonios */
.testimonials-section {
  margin: 50px 0;
}

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

.testimonial-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 25px;
  border-radius: 24px;
  box-shadow: 0 4px 15px var(--shadow-color);
}

.testi-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.testi-name {
  font-weight: 700;
  font-size: 14px;
}

.testi-stars {
  color: var(--secondary);
  font-size: 11px;
}

.testi-quote {
  font-size: 13.5px;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.5;
}

.testi-dish-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  background-color: var(--bg-accent);
  padding: 3px 8px;
  border-radius: 4px;
  margin-top: 12px;
}

/* =========================================
   2. CATÁLOGO / MENÚ
   ========================================= */
.catalog-layout {
  padding: 40px 0;
}

.filter-bar {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 15px 20px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  box-shadow: 0 4px 15px var(--shadow-color);
}

.filter-row-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.catalog-search-box {
  display: flex;
  align-items: center;
  background-color: var(--bg-accent);
  border: 1px solid var(--border-light);
  border-radius: 30px;
  padding: 8px 15px;
  width: 320px;
  max-width: 100%;
}

.catalog-search-box i {
  color: var(--text-muted);
  margin-right: 10px;
}

.catalog-search-box input {
  background: none;
  border: none;
  color: var(--text-main);
  width: 100%;
  font-size: 14px;
}

.filter-tags-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-tags-scroll::-webkit-scrollbar {
  display: none;
}

.filter-tag {
  background-color: var(--bg-accent);
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-tag:hover, .filter-tag.active {
  background-color: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}

/* =========================================
   3. FICHA DE PLATO (MODAL / PAGE)
   ========================================= */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(26, 15, 8, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
  padding: 20px;
}

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

.dish-detail-modal {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 28px;
  max-width: 850px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(30px) scale(0.95);
  transition: var(--transition-bounce);
  box-shadow: 0 15px 40px var(--shadow-color);
}

.modal-overlay.active .dish-detail-modal {
  transform: translateY(0) scale(1);
}

.btn-close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  background-color: var(--bg-accent);
  color: var(--text-main);
  border: 1px solid var(--border-light);
}

.modal-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 500px;
}

.modal-gallery-side {
  position: relative;
  background-color: var(--bg-accent);
}

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

.modal-details-side {
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.modal-dish-header {
  margin-bottom: 15px;
}

.modal-dish-name {
  font-size: 30px;
  margin-bottom: 8px;
  line-height: 1.2;
}

.modal-dish-desc {
  color: var(--text-muted);
  font-size: 13.5px;
  margin-bottom: 15px;
}

.nutritional-info {
  display: flex;
  background-color: var(--bg-accent);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 10px 15px;
  gap: 15px;
  margin-bottom: 18px;
}

.nutri-item {
  flex: 1;
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
}

.nutri-val {
  font-weight: 700;
  color: var(--secondary);
  font-size: 13px;
}

.allergen-alerts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.allergen-badge {
  background-color: rgba(229, 57, 53, 0.08);
  color: var(--accent-red);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(229, 57, 53, 0.2);
}

/* Personalizaciones en Ficha */
.customization-section {
  border-top: 1px solid var(--border-light);
  padding: 15px 0;
}

.customization-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
}

.customization-title span {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: none;
  font-weight: normal;
}

.options-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.option-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  border-radius: 8px;
  background-color: var(--bg-accent);
  border: 1px solid var(--border-light);
  cursor: pointer;
  font-size: 13.5px;
}

.option-row:hover {
  background-color: var(--bg-card-hover);
}

.option-row input {
  margin-right: 8px;
  accent-color: var(--primary);
}

.option-label {
  display: flex;
  align-items: center;
}

.option-price {
  font-family: var(--font-price);
  font-size: 13px;
  font-weight: 600;
  color: var(--secondary);
}

/* Footer de Ficha */
.modal-details-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.modal-price-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-summary-label {
  font-size: 14px;
  color: var(--text-muted);
}

.price-summary-val {
  font-family: var(--font-price);
  font-size: 26px;
  font-weight: 700;
  color: var(--secondary);
}

.quantity-add-wrapper {
  display: flex;
  gap: 15px;
}

.quantity-selector {
  display: flex;
  align-items: center;
  background-color: var(--bg-accent);
  border: 1px solid var(--border-light);
  border-radius: 30px;
  padding: 4px;
}

.btn-qty {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  background-color: var(--bg-card);
}

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

.qty-val {
  width: 40px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
}

/* =========================================
   4. CARRITO DRAWER Y CHECKOUT
   ========================================= */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(26, 15, 8, 0.7);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.cart-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 420px;
  max-width: 100%;
  background-color: var(--bg-card);
  border-left: 1px solid var(--border-color);
  z-index: 151;
  box-shadow: -10px 0 30px var(--shadow-color);
  transform: translateX(100%);
  transition: var(--transition-bounce);
  display: flex;
  flex-direction: column;
}

.cart-drawer-overlay.active .cart-drawer {
  transform: translateX(0);
}

.cart-header {
  padding: 20px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-title {
  font-size: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-title i {
  color: var(--primary);
}

.cart-items-container {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.empty-cart-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 70%;
  color: var(--text-muted);
  gap: 15px;
  text-align: center;
}

.empty-cart-view i {
  font-size: 48px;
  color: var(--border-color);
}

.cart-item {
  display: flex;
  gap: 12px;
  background-color: var(--bg-accent);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 12px;
  position: relative;
  animation: slideIn 0.3s ease;
}

.cart-item-img {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  object-fit: cover;
}

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

.cart-item-name {
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 2px;
}

.cart-item-customizations {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.3;
  margin-bottom: 6px;
}

.cart-item-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-item-price {
  font-family: var(--font-price);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--secondary);
}

.btn-remove-item {
  color: var(--accent-red);
  font-size: 15px;
  position: absolute;
  top: 12px;
  right: 12px;
}

.cart-footer {
  border-top: 1px solid var(--border-light);
  padding: 20px;
  background-color: var(--bg-accent);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text-muted);
}

.cart-summary-row.total {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  border-top: 1px solid var(--border-light);
  padding-top: 10px;
  margin-top: 10px;
  margin-bottom: 18px;
}

.cart-summary-row.total .val {
  color: var(--secondary);
  font-family: var(--font-price);
}

/* checkout page */
.checkout-layout {
  padding: 40px 0;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 30px;
}

.checkout-section-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 25px;
  margin-bottom: 24px;
  box-shadow: 0 4px 15px var(--shadow-color);
}

.checkout-section-title {
  font-size: 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 12px;
}

.checkout-section-title i {
  color: var(--primary);
}

.segmented-control {
  display: flex;
  background-color: var(--bg-accent);
  border: 1px solid var(--border-light);
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.segment-btn {
  flex: 1;
  text-align: center;
  padding: 10px;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: 8px;
  color: var(--text-muted);
}

.segment-btn.active {
  background-color: var(--primary);
  color: #FFFFFF;
}

.checkout-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-group-full {
  grid-column: span 2;
}

.form-label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  background-color: var(--bg-accent);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 12px 15px;
  color: var(--text-main);
  font-size: 13.5px;
  transition: var(--transition-smooth);
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 8px var(--shadow-glow);
}

/* Propina */
.tip-selector {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.tip-btn {
  flex: 1;
  background-color: var(--bg-accent);
  border: 1px solid var(--border-light);
  padding: 10px;
  border-radius: 10px;
  text-align: center;
  font-family: var(--font-price);
  font-size: 14px;
  font-weight: 700;
}

.tip-btn.active {
  border-color: var(--primary);
  color: var(--primary);
  background-color: rgba(255, 107, 26, 0.08);
}

/* Cupones */
.coupon-input-wrapper {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.checkout-summary-box {
  position: sticky;
  top: 100px;
}

/* =========================================
   5. SEGUIMIENTO DE PEDIDO (TRACKING)
   ========================================= */
.tracking-layout {
  padding: 40px 0;
}

.tracking-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
}

.delivery-status-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 6px 20px var(--shadow-color);
}

.countdown-wrapper {
  text-align: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 25px;
}

.countdown-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 5px;
}

.countdown-timer {
  font-family: var(--font-price);
  font-size: 48px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
  text-shadow: 0 4px 10px var(--shadow-glow);
}

/* Timeline */
.tracking-timeline {
  position: relative;
  padding-left: 35px;
  margin-bottom: 30px;
}

.tracking-timeline::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 12px;
  bottom: 5px;
  width: 3px;
  background-color: var(--border-light);
}

.timeline-node {
  position: relative;
  margin-bottom: 25px;
}

.timeline-node:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -32px;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--bg-card);
  border: 3px solid var(--border-light);
  z-index: 2;
  transition: var(--transition-smooth);
}

.timeline-node.active .timeline-dot {
  border-color: var(--primary);
  background-color: var(--primary);
  box-shadow: 0 0 10px var(--primary);
}

.timeline-node.completed .timeline-dot {
  border-color: var(--accent-green);
  background-color: var(--accent-green);
}

.timeline-info {
  display: flex;
  flex-direction: column;
}

.timeline-title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-muted);
}

.timeline-node.active .timeline-title {
  color: var(--primary);
}

.timeline-node.completed .timeline-title {
  color: var(--accent-green);
}

.timeline-desc {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* Repartidor */
.courier-profile-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background-color: var(--bg-accent);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 15px;
  margin-bottom: 20px;
}

.courier-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.courier-info {
  flex-grow: 1;
}

.courier-name {
  font-weight: 700;
  font-size: 14.5px;
}

.courier-badge {
  font-size: 11px;
  color: var(--secondary);
}

.courier-actions {
  display: flex;
  gap: 10px;
}

/* Mapa */
.tracking-map-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 28px;
  overflow: hidden;
  height: 500px;
  position: relative;
  box-shadow: 0 6px 20px var(--shadow-color);
}

.simulated-map-canvas {
  width: 100%;
  height: 100%;
  background-color: #15100c;
  display: block;
}

.map-overlay-instructions {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--bg-glass);
  backdrop-filter: blur(8px);
  padding: 10px 15px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  font-size: 11.5px;
  z-index: 2;
}

/* =========================================
   6. MI CUENTA / PERFIL
   ========================================= */
.profile-layout {
  padding: 40px 0;
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  gap: 30px;
}

.profile-sidebar {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px var(--shadow-color);
}

.profile-avatar-big {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
  margin: 0 auto 15px auto;
}

.profile-name {
  font-size: 20px;
  margin-bottom: 5px;
}

.profile-joined {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.profile-nav-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.profile-nav-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  border-radius: 10px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 14px;
  text-align: left;
}

.profile-nav-btn:hover, .profile-nav-btn.active {
  background-color: var(--bg-accent);
  color: var(--primary);
}

.history-order-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 3px 10px var(--shadow-color);
}

.history-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 10px;
}

.history-id {
  font-weight: 700;
  font-size: 14.5px;
}

.history-date {
  font-size: 12.5px;
  color: var(--text-muted);
}

.history-items {
  font-size: 13.5px;
  margin-bottom: 15px;
}

.history-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* =========================================
   7. PROGRAMA DE FIDELIDAD (LOYALTY)
   ========================================= */
.loyalty-banner {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-accent) 100%);
  border: 1px solid var(--border-color);
  border-radius: 28px;
  padding: 30px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 20px var(--shadow-color);
}

.loyalty-info-left {
  z-index: 2;
  max-width: 60%;
}

.loyalty-tier-badge {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  color: #FFFFFF;
  font-family: var(--font-badge);
  font-weight: 700;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 30px;
  display: inline-block;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(255, 107, 26, 0.2);
}

.loyalty-points-title {
  font-size: 32px;
  margin-bottom: 10px;
}

.loyalty-points-title span {
  font-family: var(--font-price);
  color: var(--secondary);
  font-weight: 700;
}

.loyalty-progress-container {
  margin-top: 15px;
}

.loyalty-progress-bar-bg {
  height: 8px;
  background-color: var(--bg-main);
  border-radius: 4px;
  overflow: hidden;
}

.loyalty-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  width: 45%; /* Reactivo */
  transition: width 1s ease-out;
}

.loyalty-points-left {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
}

.loyalty-circle-progress {
  position: relative;
  width: 140px;
  height: 140px;
  z-index: 2;
}

/* =========================================
   8. PANEL DE ADMINISTRACIÓN
   ========================================= */
.admin-layout {
  padding: 30px 0;
}

.admin-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 25px;
}

.admin-sidebar {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 20px;
  height: fit-content;
}

.admin-nav-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-nav-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  border-radius: 10px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 13.5px;
  text-align: left;
}

.admin-nav-btn:hover, .admin-nav-btn.active {
  background-color: var(--bg-accent);
  color: var(--primary);
}

.admin-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}

.admin-metric-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 4px 12px var(--shadow-color);
}

.metric-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: var(--bg-accent);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.metric-info {
  display: flex;
  flex-direction: column;
}

.metric-label {
  font-size: 12px;
  color: var(--text-muted);
}

.metric-val {
  font-family: var(--font-price);
  font-size: 22px;
  font-weight: 700;
}

/* Kanban Board */
.kanban-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  min-height: 450px;
}

.kanban-column {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 15px;
  display: flex;
  flex-direction: column;
}

.kanban-col-header {
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--border-light);
  padding-bottom: 8px;
}

.kanban-col-count {
  font-family: var(--font-badge);
  font-size: 11px;
  font-weight: 700;
  background-color: var(--bg-accent);
  padding: 2px 8px;
  border-radius: 10px;
  color: var(--text-muted);
}

.kanban-cards-list {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  max-height: 500px;
}

.kanban-card {
  background-color: var(--bg-accent);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 12px;
  cursor: grab;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: var(--transition-smooth);
}

.kanban-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-color);
}

.kanban-card:active {
  cursor: grabbing;
}

.kanban-card-id {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.kanban-card-items {
  font-size: 12.5px;
  line-height: 1.4;
  margin-bottom: 8px;
}

.kanban-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  color: var(--text-muted);
}

.btn-kanban-action {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10.5px;
  color: var(--primary);
  font-weight: 700;
}

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

/* =========================================
   9. BLOG / CONTENIDO
   ========================================= */
.blog-layout {
  padding: 40px 0;
}

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

.blog-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 15px var(--shadow-color);
  transition: var(--transition-bounce);
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-color);
}

.blog-img-wrapper {
  height: 170px;
  overflow: hidden;
}

.blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.blog-info {
  padding: 20px;
}

.blog-date {
  font-family: var(--font-badge);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.blog-title {
  font-size: 19px;
  margin-bottom: 10px;
  line-height: 1.3;
}

.blog-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-readmore {
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* =========================================
   10. MODAL DE NOTIFICACIONES
   ========================================= */
.notification-toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast-card {
  pointer-events: auto;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 5px solid var(--primary);
  border-radius: 12px;
  padding: 15px;
  width: 320px;
  box-shadow: 0 8px 24px var(--shadow-color);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  animation: slideInRight 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 107, 26, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.toast-icon-box.whatsapp {
  background-color: rgba(76, 175, 80, 0.08);
  color: var(--accent-green);
}

.toast-content {
  flex-grow: 1;
}

.toast-title {
  font-weight: 700;
  font-size: 13.5px;
  margin-bottom: 2px;
}

.toast-message {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.4;
}

.btn-toast-close {
  color: var(--text-muted);
  font-size: 12px;
}

/* Footer de la App */
.main-footer {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: 40px 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-col-brand {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-desc {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 300px;
}

.footer-col-title {
  font-size: 16px;
  margin-bottom: 15px;
  color: var(--primary);
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 3px;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--text-muted);
}

/* Animaciones Keyframes */
@keyframes slideIn {
  from { transform: translateY(15px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title { font-size: 40px; }
  .promos-container { grid-template-columns: 1fr; }
  .fast-delivery-section { flex-direction: column; align-items: stretch; text-align: center; }
  .fast-delivery-info { max-width: 100%; }
  .fast-delivery-stats { justify-content: center; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .tracking-grid { grid-template-columns: 1fr; }
  .profile-grid { grid-template-columns: 1fr; }
  .admin-grid { grid-template-columns: 1fr; }
  .admin-metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .kanban-board { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .btn-primary { width: 100%; }
  .hero-section { min-height: auto; padding: 40px 0; }
  .dish-detail-modal { max-height: 95vh; }
  .modal-grid { grid-template-columns: 1fr; }
  .modal-gallery-side { height: 240px; }
  .modal-details-side { padding: 20px; }
  .kanban-board { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
}
