/* ==============================================================================
   ÑAMGO - ESTILOS PRINCIPALES (CSS3 CON VARIABLES DINÁMICAS)
   ============================================================================== */

:root {
  /* Paleta Base de ÑamGo */
  --ng-primary: #FF4757;
  --ng-primary-hover: #E03747;
  --ng-secondary: #2F3542;
  --ng-accent: #FFA502;
  --ng-success: #2ED573;
  --ng-danger: #FF4757;
  --ng-warning: #FFA502;
  --ng-info: #1E90FF;
  
  /* Fondos y Neutros */
  --bg-main: #F8F9FD;
  --bg-card: #FFFFFF;
  --bg-dark: #1E2022;
  --text-main: #2F3542;
  --text-muted: #747D8C;
  --border-light: #E4E7EB;
  --border-focus: #FFA502;

  /* Variables Inyectables por Restaurante (Valores por Defecto) */
  --rest-primary: var(--ng-primary);
  --rest-secondary: var(--ng-secondary);
  --rest-accent: var(--ng-accent);
  --rest-primary-rgb: 255, 71, 87;

  /* Geometría y Sombras */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button, input, select, textarea {
  font: inherit;
}

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

/* ------------------------------------------------------------------------------
   NAVBAR & HEADER PRINCIPAL
   ------------------------------------------------------------------------------ */
.site-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--ng-primary);
  letter-spacing: -0.5px;
}

.brand-logo .logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(255, 71, 87, 0.25);
}

.brand-logo span {
  color: var(--ng-secondary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Botón flotante / disparador del carrito */
.cart-trigger-btn {
  background: var(--rest-primary);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(var(--rest-primary-rgb), 0.35);
  transition: var(--transition);
}

.cart-trigger-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.cart-counter {
  background: #FFFFFF;
  color: var(--rest-primary);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  min-width: 22px;
  text-align: center;
}

.admin-link-btn {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.admin-link-btn:hover {
  background: #EEF2F6;
  color: var(--text-main);
}

/* ------------------------------------------------------------------------------
   HERO BANNER - HOME DIRECTORY
   ------------------------------------------------------------------------------ */
.home-hero {
  background: linear-gradient(135deg, #2F3542 0%, #1E2022 100%);
  color: #ffffff;
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}

.home-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 71, 87, 0.25) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  max-width: 760px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--ng-accent);
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

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

.hero-subtitle {
  font-size: 1.15rem;
  color: #CED6E0;
  margin-bottom: 32px;
}

/* Barra de Búsqueda y Filtros */
.search-filter-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  align-items: center;
  flex-wrap: wrap;
}

.search-input-wrapper {
  flex: 1;
  min-width: 240px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
}

.search-input-wrapper input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 1rem;
  color: var(--text-main);
}

.filter-select {
  padding: 10px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: #F8F9FA;
  color: var(--text-main);
  font-weight: 600;
  outline: none;
  cursor: pointer;
}

.search-btn {
  background: var(--ng-primary);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.search-btn:hover {
  background: var(--ng-primary-hover);
}

/* ------------------------------------------------------------------------------
   DIRECTORIO DE RESTAURANTES (GRID)
   ------------------------------------------------------------------------------ */
.section-directory {
  padding: 60px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-main);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 4px;
}

.restaurant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
}

.restaurant-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.restaurant-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(var(--rest-primary-rgb), 0.3);
}

.card-banner {
  height: 180px;
  position: relative;
  overflow: hidden;
  background-color: #2F3542;
}

.card-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.card-status-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  backdrop-filter: blur(6px);
}

.badge-open {
  background: rgba(46, 213, 115, 0.92);
  color: #ffffff;
}

.badge-closed {
  background: rgba(255, 71, 87, 0.92);
  color: #ffffff;
}

.card-logo-overlap {
  position: absolute;
  bottom: -22px;
  left: 20px;
  width: 58px;
  height: 58px;
  border-radius: 14px;
  border: 3px solid #ffffff;
  box-shadow: var(--shadow-sm);
  object-fit: cover;
  background: #ffffff;
  z-index: 2;
}

.card-body {
  padding: 32px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.cuisine-tag {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--rest-primary);
  background: rgba(var(--rest-primary-rgb), 0.1);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.rating-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #D35400;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.card-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer-info {
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.info-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.btn-view-menu {
  background: var(--rest-primary);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--transition);
}

.btn-view-menu:hover {
  filter: brightness(1.1);
}

/* ------------------------------------------------------------------------------
   VISTA PERSONALIZADA DE RESTAURANTE (BRANDING DINÁMICO)
   ------------------------------------------------------------------------------ */
.rest-header-hero {
  position: relative;
  background-color: var(--rest-secondary);
  color: #ffffff;
  margin-bottom: 30px;
}

.rest-hero-banner {
  height: 280px;
  width: 100%;
  position: relative;
}

.rest-hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rest-hero-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}

.rest-header-bar {
  position: relative;
  margin-top: -60px;
  z-index: 10;
  padding-bottom: 24px;
}

.rest-profile-wrapper {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--text-main);
  border-top: 4px solid var(--rest-primary);
}

.rest-brand-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.rest-logo-large {
  width: 88px;
  height: 88px;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: var(--shadow-sm);
  border: 3px solid #ffffff;
}

.rest-main-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.rest-tagline {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.rest-chips-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.rest-chip {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.rest-quick-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn-whatsapp-direct {
  background: #25D366;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-whatsapp-direct:hover {
  background: #20BA5A;
}

.btn-schedule-modal {
  background: #F1F2F6;
  color: var(--text-main);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Barra de Categorías Sticky */
.category-sticky-nav {
  position: sticky;
  top: 72px;
  z-index: 900;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-light);
  padding: 12px 0;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
}

.category-nav-list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 0;
}

.category-nav-list::-webkit-scrollbar {
  display: none;
}

.category-tab-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: #F1F2F6;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.category-tab-btn.active,
.category-tab-btn:hover {
  background: var(--rest-primary);
  color: #ffffff;
}

/* Platillos / Menú Grid */
.menu-category-section {
  margin-bottom: 48px;
  scroll-margin-top: 150px;
}

.menu-category-heading {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(var(--rest-primary-rgb), 0.2);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(var(--rest-primary-rgb), 0.3);
}

.product-img-wrapper {
  height: 190px;
  position: relative;
  background-color: #2F3542;
  overflow: hidden;
}

.product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--rest-accent);
  color: #1E2022;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
}

.product-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text-main);
}

.product-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 14px;
  flex: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--border-light);
}

.product-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--rest-primary);
}

.btn-add-cart {
  background: var(--rest-primary);
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-add-cart:hover {
  filter: brightness(1.12);
  transform: scale(1.02);
}

.btn-disabled {
  background: #E4E7EB !important;
  color: #A4B0BE !important;
  cursor: not-allowed !important;
}

/* ------------------------------------------------------------------------------
   CARRITO DRAWER / MODAL LATERAL
   ------------------------------------------------------------------------------ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background: #ffffff;
  z-index: 2001;
  box-shadow: -8px 0 30px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-overlay.active .cart-drawer {
  right: 0;
}

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

.drawer-title {
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-close-drawer {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text-muted);
}

.drawer-restaurant-bar {
  padding: 10px 20px;
  background: rgba(var(--rest-primary-rgb), 0.08);
  border-bottom: 1px solid var(--border-light);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--rest-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

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

.cart-item-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.cart-item-img {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

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

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

.cart-item-price {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.cart-qty-ctrl {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #F1F2F6;
  border-radius: var(--radius-full);
  padding: 2px 6px;
}

.btn-qty {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  color: var(--text-main);
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-val {
  font-size: 0.85rem;
  font-weight: 700;
  min-width: 18px;
  text-align: center;
}

.drawer-footer {
  padding: 20px;
  background: #FAFBFC;
  border-top: 1px solid var(--border-light);
}

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

.summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  padding-top: 10px;
  border-top: 1px dashed var(--border-light);
  margin-bottom: 16px;
}

.btn-go-checkout {
  width: 100%;
  background: var(--rest-primary);
  color: #ffffff;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  text-align: center;
  display: block;
  transition: var(--transition);
}

.btn-go-checkout:hover {
  filter: brightness(1.1);
}

/* ------------------------------------------------------------------------------
   MODAL DE CONFIRMACIÓN DE CAMBIO DE RESTAURANTE
   ------------------------------------------------------------------------------ */
.custom-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.custom-modal-backdrop.show {
  display: flex;
}

.modal-box {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 26px;
  max-width: 460px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.modal-icon-alert {
  font-size: 3rem;
  color: var(--ng-warning);
  margin-bottom: 12px;
}

.modal-box h4 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.modal-box p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.modal-actions {
  display: flex;
  gap: 12px;
}

.btn-modal-cancel {
  flex: 1;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: #F1F2F6;
  border: none;
  font-weight: 700;
  cursor: pointer;
}

.btn-modal-confirm {
  flex: 1;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: var(--ng-danger);
  color: #fff;
  border: none;
  font-weight: 700;
  cursor: pointer;
}

/* ------------------------------------------------------------------------------
   VISTA DE CHECKOUT
   ------------------------------------------------------------------------------ */
.checkout-wrapper {
  padding: 50px 0;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
}

.checkout-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  margin-bottom: 24px;
}

.checkout-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-group {
  margin-bottom: 18px;
}

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

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
  background: #FAFBFC;
}

.form-control:focus {
  border-color: var(--rest-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(var(--rest-primary-rgb), 0.15);
}

.delivery-type-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

.type-option-card {
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 700;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.type-option-card.active {
  border-color: var(--rest-primary);
  background: rgba(var(--rest-primary-rgb), 0.05);
  color: var(--rest-primary);
}

.btn-whatsapp-order {
  width: 100%;
  background: #25D366;
  color: #ffffff;
  border: none;
  padding: 16px;
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}

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

/* ------------------------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------------------------ */
.site-footer {
  background: #1E2022;
  color: #CED6E0;
  padding: 40px 0 24px;
  margin-top: auto;
  border-top: 1px solid #2F3542;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom {
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #747D8C;
}

/* Notificaciones Toast */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #2F3542;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  animation: slideInToast 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 4px solid var(--ng-primary);
}

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

/* Responsive */
@media (max-width: 992px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.1rem;
  }
  .rest-profile-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .rest-brand-info {
    flex-direction: column;
  }
  .rest-chips-row {
    justify-content: center;
  }
  .cart-drawer {
    max-width: 100%;
  }
}
