/* ========================================
   FRITOS CHICKEN - MENU PAGE STYLES
   ======================================== */

/* ===== MENU HERO ===== */
.menu-hero {
  background: linear-gradient(135deg, #1a0000, #3b0a0a);
  padding: 120px 20px 60px;
  text-align: center;
}

.menu-hero h1 {
  color: #ffffff;
  font-size: 56px;
  font-weight: 900;
  margin-bottom: 16px;
}

.menu-hero-subtitle {
  color: #f3f4f6;
  font-size: 20px;
  margin-bottom: 12px;
}

.menu-hero-subtitle strong {
  color: #f59e0b;
}

.menu-hero-doordash {
  color: #9ca3af;
  font-size: 15px;
}

.menu-hero-doordash a {
  color: #f59e0b;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease;
}

.menu-hero-doordash a:hover {
  color: #ffffff;
}

/* ===== CATEGORY TABS ===== */
.menu-tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 30px 20px;
  background: #1a0a0a;
  position: sticky;
  top: 80px;
  z-index: 100;
  border-bottom: 1px solid rgba(239, 68, 68, 0.15);
}

.menu-tab {
  background: transparent;
  border: 2px solid rgba(239, 68, 68, 0.4);
  color: #f3f4f6;
  padding: 10px 24px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
}

.menu-tab:hover,
.menu-tab.active {
  background: #ef4444;
  border-color: #ef4444;
  color: #ffffff;
}

/* ===== MENU ITEMS SECTION ===== */
.menu-items-section {
  background: #0f172a;
  padding: 40px 20px 80px;
  min-height: 60vh;
}

/* ===== MENU GRID ===== */
.menu-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== MENU ITEM CARD ===== */
.menu-item-card {
  background: rgba(30, 10, 10, 0.8);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu-item-card:hover {
  border-color: #f59e0b;
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(245, 158, 11, 0.2);
}

.menu-item-card.hidden {
  display: none;
}

.menu-item-badge {
  display: inline-block;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f3f4f6;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

.menu-item-name {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.menu-item-description {
  color: #9ca3af;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.menu-item-price {
  color: #f59e0b;
  font-size: 24px;
  font-weight: 800;
}

/* ===== QUANTITY SELECTOR ===== */
.quantity-selector {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
}

.qty-btn {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid #ef4444;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  line-height: 1;
  padding: 0;
}

.qty-btn:hover {
  background: #ef4444;
}

.qty-number {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  min-width: 30px;
  text-align: center;
}

/* ===== ADD TO CART BUTTON ===== */
.add-to-cart-btn {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.add-to-cart-btn:hover {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
}

.add-to-cart-btn:active {
  transform: scale(0.97);
}

/* ===== COMING SOON BADGE ===== */
.combo-coming-soon {
  border-style: dashed;
  border-color: rgba(245, 158, 11, 0.3);
  opacity: 0.8;
}

.coming-soon-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #f59e0b;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  margin-top: 16px;
}

/* ===== FLOATING CART BUTTON ===== */
.floating-cart {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: #ffffff;
  padding: 16px 24px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 8px 25px rgba(239, 68, 68, 0.5);
  transition: all 0.3s ease;
  font-weight: 700;
  font-size: 16px;
}

.floating-cart:hover {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 12px 35px rgba(245, 158, 11, 0.6);
  transform: translateY(-3px);
}

.cart-icon {
  font-size: 20px;
}

.cart-count {
  background: #ffffff;
  color: #ef4444;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
}

.cart-total {
  font-size: 15px;
}

/* ===== CART NOTIFICATION TOAST ===== */
.cart-notification {
  position: fixed;
  bottom: 100px;
  right: 30px;
  background: #10b981;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1001;
  pointer-events: none;
}

.cart-notification.show {
  opacity: 1;
  transform: translateY(0);
}

/* ===== CART OVERLAY ===== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ===== CART SIDEBAR ===== */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 90vw;
  height: 100vh;
  background: #0f172a;
  border-left: 1px solid rgba(239, 68, 68, 0.3);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  transition: right 0.4s ease;
}

.cart-sidebar.active {
  right: 0;
}

.cart-sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid rgba(239, 68, 68, 0.2);
}

.cart-sidebar-header h2 {
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
}

.cart-close-btn {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.cart-close-btn:hover {
  background: #ef4444;
}

.cart-sidebar-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-empty-message {
  text-align: center;
  padding: 60px 20px;
}

.cart-empty-message p {
  color: #9ca3af;
  font-size: 18px;
}

.cart-empty-sub {
  font-size: 14px !important;
  margin-top: 8px;
  color: #6b7280 !important;
}

/* Cart Item Row */
.cart-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cart-item-info {
  flex: 1;
}

.cart-item-info h4 {
  color: #f3f4f6;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.cart-item-info p {
  color: #9ca3af;
  font-size: 13px;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-item-qty-btn {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ffffff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 0;
  font-family: 'Inter', sans-serif;
}

.cart-item-qty-btn:hover {
  background: #ef4444;
}

.cart-item-qty {
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  min-width: 20px;
  text-align: center;
}

.cart-item-price {
  color: #f59e0b;
  font-weight: 700;
  font-size: 15px;
  min-width: 65px;
  text-align: right;
}

.cart-item-remove {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  font-size: 16px;
  padding: 4px;
  transition: opacity 0.3s ease;
  opacity: 0.7;
}

.cart-item-remove:hover {
  opacity: 1;
}

/* Cart Sidebar Footer */
.cart-sidebar-footer {
  padding: 20px 24px;
  border-top: 1px solid rgba(239, 68, 68, 0.2);
  background: rgba(15, 23, 42, 0.95);
}

.cart-sidebar-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 800;
  color: #f59e0b;
}

.checkout-btn {
  display: block;
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: #ffffff;
  text-align: center;
  padding: 16px 24px;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(239, 68, 68, 0.4);
  margin-bottom: 10px;
}

.checkout-btn:hover {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.5);
  transform: translateY(-2px);
  color: #ffffff;
}

.clear-cart-btn {
  background: transparent;
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #9ca3af;
  padding: 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.clear-cart-btn:hover {
  border-color: #ef4444;
  color: #ef4444;
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 1024px) {
  .menu-hero h1 {
    font-size: 44px;
  }

  .menu-items-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .menu-hero {
    padding: 100px 20px 40px;
  }

  .menu-hero h1 {
    font-size: 36px;
  }

  .menu-hero-subtitle {
    font-size: 17px;
  }

  .menu-tabs {
    top: 70px;
    padding: 20px 12px;
    gap: 8px;
  }

  .menu-tab {
    padding: 8px 16px;
    font-size: 13px;
  }

  .menu-items-section {
    padding: 30px 16px 80px;
  }

  .menu-items-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .menu-item-name {
    font-size: 18px;
  }

  .menu-item-price {
    font-size: 20px;
  }

  /* Floating Cart - mobile */
  .floating-cart {
    bottom: 20px;
    right: 16px;
    padding: 12px 18px;
    font-size: 14px;
  }

  .cart-notification {
    bottom: 80px;
    right: 16px;
    font-size: 14px;
  }

  /* Cart Sidebar - mobile */
  .cart-sidebar {
    width: 100%;
    max-width: 100vw;
    right: -100%;
  }
}

/* Small Mobile */
@media (max-width: 400px) {
  .menu-hero h1 {
    font-size: 30px;
  }

  .menu-tab {
    padding: 7px 12px;
    font-size: 12px;
  }

  .menu-item-card {
    padding: 18px;
  }
}
