:root {
  --primary: #f59e0b;       /* Gold / Amber */
  --primary-hover: #d97706;
  --secondary: #dc2626;     /* Deep Festive Crimson */
  --secondary-hover: #b91c1c;
  --accent: #10b981;        /* Success Emerald */
  --bg-dark: #0f172a;       /* Deep Midnight */
  --bg-card: #1e293b;       /* Card Navy */
  --bg-light: #f8fafc;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-dark: #f8fafc;
  --border: #e2e8f0;
  --border-dark: #334155;
  --radius: 12px;
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 20px rgba(245, 158, 11, 0.25);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

body {
  background-color: #f8fafc;
  color: var(--text-main);
  line-height: 1.5;
  padding-bottom: 85px;
}

/* ----------------- TOP BANNER ----------------- */
.top-notice-bar {
  background: linear-gradient(90deg, #991b1b, #dc2626, #ea580c, #d97706, #dc2626, #991b1b);
  background-size: 200% auto;
  animation: festiveGlow 6s linear infinite;
  color: #fff;
  padding: 8px 16px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 10px rgba(185, 28, 28, 0.25);
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

@keyframes festiveGlow {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ----------------- NAVBAR ----------------- */
.navbar {
  background: linear-gradient(135deg, #881337 0%, #991b1b 45%, #b91c1c 100%);
  border-bottom: 3px solid #fbbf24;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 18px rgba(153, 27, 27, 0.35);
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.brand-icon {
  font-size: 2.1rem;
  animation: pulse 2s infinite ease-in-out;
  filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.6));
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.brand-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.brand-sub {
  font-size: 0.78rem;
  color: #fef08a;
  font-weight: 700;
  letter-spacing: 0.2px;
}

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

.btn-contact {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #25D366;
  color: white;
  padding: 8px 14px;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.btn-contact:hover {
  background: #1eb855;
  transform: translateY(-1px);
}

.btn-cart-nav {
  position: relative;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #78350f;
  border: 2px solid #ffffff;
  padding: 8px 16px;
  border-radius: 9999px;
  font-weight: 900;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
  transition: all 0.2s;
}

.btn-cart-nav:hover {
  background: linear-gradient(135deg, #fde68a, #fbbf24);
  transform: translateY(-1px);
}

.cart-count-badge {
  background: #dc2626;
  color: #ffffff;
  border-radius: 9999px;
  padding: 2px 8px;
  font-size: 0.78rem;
  font-weight: 900;
  border: 1.5px solid #ffffff;
}

/* ----------------- HERO SECTION ----------------- */
.hero-section {
  background: radial-gradient(circle at top right, #311b92, #0f172a, #1a0b2e);
  color: white;
  padding: 40px 20px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '✨ 🎆 🎇 🧨 💥';
  position: absolute;
  top: 10px;
  left: 5%;
  opacity: 0.15;
  font-size: 3rem;
  letter-spacing: 20px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid #f59e0b;
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 10px;
}

.hero-title span {
  color: #fbbf24;
}

.hero-desc {
  font-size: 1rem;
  color: #cbd5e1;
  margin-bottom: 20px;
}

.features-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.feature-pill {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ----------------- CONTAINER & CONTROLS ----------------- */
.main-container {
  max-width: 1240px;
  margin: 24px auto;
  padding: 0 16px;
}

.store-controls {
  background: white;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.search-row {
  display: flex;
  gap: 12px;
}

.search-box {
  flex: 1;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.search-box input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
}

.category-scroll-container {
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 4px;
}

.category-scroll-container::-webkit-scrollbar {
  height: 4px;
}

.category-scroll-container::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}

.category-tabs {
  display: flex;
  gap: 8px;
}

.cat-btn {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s;
}

.cat-btn.active, .cat-btn:hover {
  background: var(--bg-dark);
  color: #fbbf24;
  border-color: var(--bg-dark);
}

/* ----------------- PRODUCTS GRID ----------------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.product-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.08);
}

.product-img-wrapper {
  position: relative;
  width: 100%;
  height: 180px;
  background: #f1f5f9;
  overflow: hidden;
}

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

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

.badge-float {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--secondary);
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.discount-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #fef08a;
  color: #854d0e;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #facc15;
}

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

.product-cat {
  font-size: 0.75rem;
  color: var(--primary-hover);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.product-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 4px;
}

.product-pieces {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 14px;
}

.current-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--secondary);
}

.mrp-price {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.cart-action-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-add-cart {
  width: 100%;
  background: var(--bg-dark);
  color: #fbbf24;
  border: 1px solid var(--bg-dark);
  padding: 10px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-add-cart:hover {
  background: #1e293b;
  color: #f59e0b;
}

.qty-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: #f1f5f9;
  border-radius: 8px;
  padding: 4px;
}

.qty-btn {
  background: white;
  border: 1px solid #cbd5e1;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: all 0.15s;
}

.qty-btn:hover {
  background: #e2e8f0;
}

.qty-number {
  font-weight: 800;
  font-size: 1rem;
}

/* ----------------- FLOATING CART BAR (MOBILE/DESKTOP) ----------------- */
.bottom-cart-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  padding: 12px 20px;
  z-index: 99;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-bar-inner {
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.cart-bar-total-info {
  display: flex;
  flex-direction: column;
}

.cart-bar-items {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.cart-bar-amount {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--secondary);
}

.cart-bar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-checkout-primary {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #111827;
  padding: 12px 24px;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-checkout-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.5);
}

.btn-checkout-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ----------------- CART DRAWER / MODAL ----------------- */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2500 !important;
  display: none;
  justify-content: flex-end;
}

.cart-drawer-overlay.active {
  display: flex;
}

.cart-drawer {
  background: white;
  width: 100%;
  max-width: 440px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
  animation: slideInRight 0.25s ease-out;
}

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

.cart-drawer-header {
  padding: 16px 20px;
  background: var(--bg-dark);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.btn-close-drawer {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}

.cart-min-notice {
  background: #fef3c7;
  border: 1px solid #fde68a;
  color: #92400e;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-item-row {
  display: flex;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.cart-item-thumb {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
  background: #f1f5f9;
  flex-shrink: 0;
}

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

.cart-item-title {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
}

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

.cart-item-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}

.cart-item-price {
  font-weight: 800;
  color: var(--secondary);
  font-size: 0.95rem;
}

.cart-drawer-footer {
  padding: 16px 20px;
  padding-bottom: max(20px, calc(16px + env(safe-area-inset-bottom, 0px)));
  background: #f8fafc;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}

.bill-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: #475569;
}

.bill-row.total-row {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  border-top: 2px dashed #cbd5e1;
  padding-top: 10px;
  margin-top: 10px;
}

/* ----------------- CHECKOUT & PAYMENT PAGE (MODERN & MOBILE-FRIENDLY) ----------------- */
.checkout-container {
  max-width: 620px;
  margin: 20px auto 40px;
  padding: 0 16px;
}

.checkout-card {
  background: white;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 22px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  margin-bottom: 20px;
}

.checkout-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.checkout-step-badge {
  background: #0f172a;
  color: #fbbf24;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 800;
  flex-shrink: 0;
}

.checkout-card-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.checkout-card-subtitle {
  font-size: 0.82rem;
  color: #64748b;
  margin-top: 2px;
}

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

@media (max-width: 500px) {
  .checkout-form-grid-2 {
    grid-template-columns: 1fr;
  }
}

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

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #334155;
}

.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid #cbd5e1;
  font-size: 16px; /* Prevents mobile browser auto-zoom */
  outline: none;
  background-color: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.form-group input:focus, .form-group textarea:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.input-error {
  border-color: #ef4444 !important;
  background-color: #fff5f5 !important;
}

/* Order Summary Box */
.checkout-items-summary {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.checkout-item-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid #f1f5f9;
}

.checkout-item-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1e293b;
}

.checkout-item-sub {
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 2px;
}

.checkout-item-price {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
}

.checkout-totals-box {
  background: #f8fafc;
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
}

/* Dual Payment Action Buttons */
.payment-action-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.btn-pay-action {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  width: 100%;
  position: relative;
  text-decoration: none;
  font-family: inherit;
  box-sizing: border-box;
}

.btn-pay-icon-col {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.btn-pay-content {
  flex: 1;
}

.btn-pay-header-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-pay-name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.btn-pay-desc {
  font-size: 0.82rem;
  margin-top: 4px;
  line-height: 1.35;
}

.btn-pay-action-arrow {
  font-size: 1.3rem;
  font-weight: 800;
  opacity: 0.5;
  transition: transform 0.2s, opacity 0.2s;
  flex-shrink: 0;
}

.btn-pay-action:hover .btn-pay-action-arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* Button 1: Cash on Delivery (Green Theme) */
.btn-pay-cod {
  background: #f0fdf4;
  border-color: #16a34a;
  color: #14532d;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.12);
}

.btn-pay-cod .btn-pay-icon-col {
  background: #dcfce7;
}

.btn-pay-cod:hover {
  background: #dcfce7;
  border-color: #15803d;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.22);
}

.badge-cod {
  background: #16a34a;
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 9999px;
  text-transform: uppercase;
}

/* Button 2: Pay Online UPI (Amber / Gold Theme) */
.btn-pay-online {
  background: #fffbeb;
  border-color: #f59e0b;
  color: #78350f;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}

.btn-pay-online .btn-pay-icon-col {
  background: #fef3c7;
}

.btn-pay-online:hover {
  background: #fef3c7;
  border-color: #d97706;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.25);
}

.badge-online {
  background: #f59e0b;
  color: #1e293b;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 9999px;
}

/* Online UPI Drawer Box */
.online-upi-box {
  background: #fafaf9;
  border: 2px dashed #f59e0b;
  border-radius: 14px;
  padding: 20px;
  margin-top: 18px;
  animation: fadeIn 0.3s ease-in-out;
}

.qr-code-img {
  width: 220px;
  height: 220px;
  border-radius: 10px;
  background: white;
  padding: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  margin: 12px auto;
  display: block;
}

.qr-amount-callout {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--secondary);
  margin-bottom: 4px;
}

.qr-merchant-info {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.upi-apps-button-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0;
}

.btn-gpay-direct {
  display: flex;
  width: 100%;
  background: #ffffff;
  color: #1f2937;
  border: 2px solid #e5e7eb;
  padding: 13px 20px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.98rem;
  text-decoration: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.btn-gpay-direct:hover {
  background: #f9fafb;
  border-color: #4285f4;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(66, 133, 244, 0.2);
}

.btn-phonepe-direct {
  display: flex;
  width: 100%;
  background: linear-gradient(135deg, #5f259f, #4a1d7c);
  color: #ffffff;
  border: none;
  padding: 13px 20px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.98rem;
  text-decoration: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(95, 37, 159, 0.3);
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.btn-phonepe-direct:hover {
  background: linear-gradient(135deg, #4a1d7c, #3b1664);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(95, 37, 159, 0.4);
}

.mobile-upi-btn {
  display: inline-flex;
  width: 100%;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  padding: 13px 20px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  margin: 8px auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  box-sizing: border-box;
}

.mobile-upi-btn:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

.payment-steps-list {
  background: #fffbeb;
  border: 1px solid #fef08a;
  padding: 14px;
  border-radius: 10px;
  margin: 16px 0;
  font-size: 0.85rem;
}

.payment-steps-list ol {
  padding-left: 18px;
  margin: 6px 0 0;
}

.payment-steps-list li {
  margin-bottom: 4px;
  color: #78350f;
}

/* ----------------- INVOICE / RECEIPT ----------------- */
.invoice-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 30px;
  box-shadow: var(--shadow);
  max-width: 680px;
  margin: 30px auto;
}

.status-badge-lg {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
}

.status-pending {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.status-confirmed {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.status-shipped {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

/* ----------------- ADMIN DASHBOARD ----------------- */
.admin-navbar {
  background: var(--bg-dark);
  color: white;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat-box {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 20px;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.stat-val {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 4px;
}

.orders-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.orders-table th, .orders-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.orders-table th {
  background: #f8fafc;
  font-weight: 700;
  color: #475569;
}

.orders-table tr:hover {
  background: #f8fafc;
}

/* ----------------- HERO BANNER ----------------- */
.hero-banner-container {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.16);
  border: 2px solid #fde047;
  background: #110e1b;
  margin-bottom: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hero-banner-container:hover {
  box-shadow: 0 8px 28px rgba(234, 179, 8, 0.28);
}
.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ----------------- FESTIVE DELIVERY MARQUEE TICKER ----------------- */
.festive-ticker-wrap {
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, #1e1b4b 0%, #3b0764 50%, #1e1b4b 100%);
  border: 1.5px solid #f59e0b;
  border-radius: 9999px;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.22);
  padding: 8px 0;
  display: flex;
  align-items: center;
  position: relative;
  margin-bottom: 12px;
  mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
  user-select: none;
}

.festive-ticker-track {
  display: flex;
  white-space: nowrap;
  width: max-content;
  will-change: transform;
  animation: festiveTickerScroll 30s linear infinite;
}

.festive-ticker-wrap:hover .festive-ticker-track {
  animation-play-state: paused;
}

@keyframes festiveTickerScroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.ticker-item-group {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 16px;
}

.ticker-text {
  color: #fef08a;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ticker-city-highlight {
  color: #ffffff;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.16);
  padding: 2px 7px;
  border-radius: 6px;
  letter-spacing: 0.4px;
}

.ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.ticker-badge-free {
  background: #16a34a;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.45);
}

.ticker-badge-cod {
  background: #ea580c;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.45);
}

.ticker-badge-closing {
  background: #dc2626;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.45);
}

.ticker-cracker-pill {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.24), rgba(239, 68, 68, 0.24));
  border: 1px solid rgba(253, 224, 71, 0.5);
  color: #fde047;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.ticker-sep {
  color: #f59e0b;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .festive-ticker-wrap {
    padding: 7px 0;
  }
  .festive-ticker-track {
    animation-duration: 25s;
  }
  .ticker-text {
    font-size: 0.78rem;
  }
  .ticker-badge {
    font-size: 0.68rem;
    padding: 3px 7px;
  }
  .ticker-cracker-pill {
    font-size: 0.7rem;
    padding: 2px 8px;
  }
}

/* ----------------- 3 PACKAGE TIER CARDS ----------------- */
.delivery-cities-bar {
  background: #fef3c7;
  border: 1px solid #fde68a;
  color: #78350f;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
  text-align: center;
  font-size: 0.92rem;
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.package-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
  margin-bottom: 30px;
}

.package-card {
  background: white;
  border-radius: 14px;
  border: 2px solid #fed7aa;
  padding: 16px 14px 14px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.08);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.package-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.16);
  border-color: #f59e0b;
}

.pkg-img-wrapper {
  width: 100%;
  height: 140px;
  border-radius: 10px;
  overflow: hidden;
  background: #f1f5f9;
  position: relative;
  margin-bottom: 10px;
}

.pkg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.pkg-img-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #fef08a;
  color: #854d0e;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 6px;
  border-radius: 5px;
  border: 1px solid #facc15;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  z-index: 2;
}

.package-card.popular {
  border: 2.5px solid #ea580c;
  background: linear-gradient(180deg, #fffaf5 0%, #ffffff 120px);
}

.popular-ribbon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #ea580c, #dc2626);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 4px 14px;
  border-radius: 9999px;
  border: 2px solid #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
  white-space: nowrap;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pkg-header-price {
  font-size: 1.45rem;
  font-weight: 900;
  color: #1e293b;
  margin-top: 4px;
  line-height: 1;
}

.pkg-shots-free-badge {
  background: #dc2626;
  color: white;
  font-weight: 900;
  font-size: 0.85rem;
  padding: 5px 10px;
  border-radius: 6px;
  margin: 8px 0 6px;
  text-align: center;
  letter-spacing: 0.5px;
  animation: pulse 2s infinite ease-in-out;
}

.pkg-contents-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  font-size: 0.88rem;
  color: #475569;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.pkg-contents-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.pkg-contents-list li span.check {
  color: #16a34a;
  font-weight: 900;
}

/* ----------------- MOBILE FIRST & RESPONSIVE PERFECTION ----------------- */

/* Base Mobile Enhancements */
body {
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

input, select, textarea, button {
  font-family: inherit;
  font-size: 16px !important; /* Prevents auto-zoom on iOS Safari */
}

button:active, .btn-checkout-primary:active {
  transform: scale(0.97) !important;
}

/* Tablet & Mobile Screens (<= 860px) */
@media (max-width: 860px) {
  .package-tier-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    max-width: 480px;
    margin: 0 auto 30px !important;
  }
  
  .checkout-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

/* Mobile Screens (<= 640px) */
@media (max-width: 640px) {
  body {
    padding-bottom: 95px; /* Space for bottom floating bar */
  }

  .top-notice-bar {
    font-size: 0.78rem;
    padding: 6px 10px;
    line-height: 1.35;
  }

  /* Compact Mobile Navbar */
  .nav-container {
    padding: 10px 12px;
    gap: 8px;
  }

  .brand-logo {
    gap: 8px;
  }

  .brand-icon {
    font-size: 1.6rem;
  }

  .brand-title {
    font-size: 1.05rem;
    line-height: 1.1;
  }

  .brand-sub {
    font-size: 0.65rem;
  }

  .nav-actions {
    gap: 6px;
  }

  .nav-actions a {
    font-size: 0.78rem !important;
    padding: 6px 10px !important;
  }

  .btn-cart-nav {
    padding: 6px 12px;
    font-size: 0.85rem;
  }

  .cart-count-badge {
    padding: 1px 6px;
    font-size: 0.7rem;
  }

  /* Delivery cities bar */
  .delivery-cities-bar {
    font-size: 0.8rem;
    padding: 10px 12px;
    line-height: 1.4;
    text-align: center;
    border-radius: 8px;
  }

  /* Package Cards Mobile */
  .package-card {
    padding: 16px 12px 12px !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06) !important;
  }

  .pkg-header-price {
    font-size: 1.35rem !important;
  }

  .pkg-shots-free-badge {
    font-size: 0.78rem !important;
    padding: 4px 8px !important;
    margin: 6px 0 6px !important;
  }

  .pkg-contents-list {
    margin: 12px 0 !important;
    gap: 6px !important;
    font-size: 0.82rem !important;
  }

  /* Cart Drawer Mobile */
  .cart-drawer {
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Floating Bottom Cart Bar Mobile */
  .bottom-cart-bar {
    padding: 10px 14px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  }

  .cart-bar-items {
    font-size: 0.75rem;
  }

  .cart-bar-amount {
    font-size: 1.15rem;
  }

  .btn-checkout-primary {
    padding: 10px 20px !important;
    font-size: 0.9rem !important;
  }

  /* Checkout Mobile */
  .checkout-wrapper {
    margin: 16px auto;
    padding: 0 10px;
  }

  .card-panel {
    padding: 16px !important;
    border-radius: 12px !important;
  }

  .dynamic-qr-card {
    padding: 16px 12px !important;
  }

  .qr-code-img {
    width: 190px !important;
    height: 190px !important;
  }

  .qr-amount-callout {
    font-size: 1.35rem !important;
  }

  /* Invoice / Success Mobile */
  .invoice-card {
    padding: 18px 14px !important;
    margin: 14px auto !important;
    border-radius: 12px !important;
  }

  /* My Orders Mobile */
  .order-history-card {
    padding: 16px 12px !important;
    border-radius: 12px !important;
  }

  .profile-card {
    padding: 16px 14px !important;
    border-radius: 12px !important;
  }
}

/* Extra Small Phones (<= 380px) */
@media (max-width: 380px) {
  .brand-title {
    font-size: 0.95rem;
  }
  
  .brand-sub {
    display: none;
  }

  .nav-actions a span:last-child {
    display: none; /* Show only icon on micro screens */
  }

  .btn-cart-nav span:first-child + span {
    display: none;
  }

  .pkg-header-price {
    font-size: 1.65rem !important;
  }
}



/* ============================================================
   GMR STYLE PRICE LIST TABLE & COMBO SECTIONS
   ============================================================ */
.view-tabs-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 18px auto 16px;
  padding: 0 16px;
  max-width: 860px;
}

.view-tab-btn {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  font-size: 0.95rem;
  font-weight: 800;
  border-radius: 12px;
  background: #ffffff;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.view-tab-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}

.view-tab-btn .tab-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.view-tab-btn .tab-title {
  font-weight: 900;
  letter-spacing: 0.2px;
}

.view-tab-btn .tab-count-badge {
  font-size: 0.76rem;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 9999px;
  line-height: 1.3;
}

/* Tab 1: All Items (Royal Indigo / Violet) */
.view-tab-btn.tab-all {
  border: 2.5px solid #6366f1;
  color: #4338ca;
}
.view-tab-btn.tab-all .tab-count-badge {
  background: #e0e7ff;
  color: #3730a3;
}
.view-tab-btn.tab-all.active {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  border-color: #3730a3;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.4);
}
.view-tab-btn.tab-all.active .tab-count-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Tab 2: Combos (Vibrant Sunset Orange & Flame Red) */
.view-tab-btn.tab-combos {
  border: 2.5px solid #f97316;
  color: #c2410c;
}
.view-tab-btn.tab-combos .tab-count-badge {
  background: #ffedd5;
  color: #9a3412;
}
.view-tab-btn.tab-combos.active {
  background: linear-gradient(135deg, #ea580c, #dc2626);
  border-color: #9a3412;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.4);
}
.view-tab-btn.tab-combos.active .tab-count-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Tab 3: Single Items (Vibrant Emerald & Teal) */
.view-tab-btn.tab-single {
  border: 2.5px solid #10b981;
  color: #047857;
}
.view-tab-btn.tab-single .tab-count-badge {
  background: #d1fae5;
  color: #065f46;
}
.view-tab-btn.tab-single.active {
  background: linear-gradient(135deg, #059669, #0d9488);
  border-color: #065f46;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.4);
}
.view-tab-btn.tab-single.active .tab-count-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Category Quick Jump Chips & Search */
.category-filter-nav {
  position: sticky;
  top: 62px;
  z-index: 95;
  background: #ffffff;
  padding: 12px 16px;
  border-top: 3px solid #f59e0b;
  border-bottom: 2px solid #fed7aa;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.12);
  margin-bottom: 20px;
}

.category-filter-scroll {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.category-filter-scroll::-webkit-scrollbar {
  height: 4px;
}
.category-filter-scroll::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.cat-filter-btn {
  white-space: nowrap;
  padding: 7px 15px;
  border-radius: 9999px;
  font-size: 0.84rem;
  font-weight: 800;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.cat-filter-btn:hover {
  background: #fff7ed;
  color: #c2410c;
  border-color: #ea580c;
  transform: translateY(-1px);
}

.cat-filter-btn.active {
  background: linear-gradient(135deg, #ea580c, #dc2626);
  color: #ffffff;
  border-color: #dc2626;
  box-shadow: 0 3px 10px rgba(234, 88, 12, 0.35);
}

/* Section Header */
.section-headline-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 24px 0 16px;
  padding: 12px 18px;
  background: linear-gradient(135deg, #fffbeb, #ffffff);
  border-left: 5px solid #dc2626;
  border-top: 1px solid #fed7aa;
  border-right: 1px solid #fed7aa;
  border-bottom: 1px solid #fed7aa;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.12);
  flex-wrap: wrap;
  gap: 10px;
}

.section-headline-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: #7f1d1d;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-headline-subtitle {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 600;
}

/* Category Table Card */
.category-table-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1.5px solid #fed7aa;
  margin-bottom: 24px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.08);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.category-table-card:hover {
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.15);
  border-color: #f59e0b;
}

.category-table-header {
  background: linear-gradient(135deg, #7f1d1d, #991b1b, #b45309);
  color: #ffffff;
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.category-table-header .cat-name {
  display: flex;
  align-items: center;
  gap: 8px;
}

.category-table-header .cat-count {
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
  padding: 3px 10px;
  border-radius: 9999px;
  border: 1px solid rgba(251, 191, 36, 0.4);
}

/* Colorful Distinct Gradients for Each Category */
.cat-theme-sound { background: linear-gradient(135deg, #dc2626, #b91c1c) !important; }
.cat-theme-chakkars { background: linear-gradient(135deg, #ea580c, #c2410c) !important; }
.cat-theme-flower { background: linear-gradient(135deg, #d97706, #b45309) !important; }
.cat-theme-sparklers { background: linear-gradient(135deg, #7c3aed, #6d28d9) !important; }
.cat-theme-rockets { background: linear-gradient(135deg, #0d9488, #0f766e) !important; }
.cat-theme-bombs { background: linear-gradient(135deg, #be123c, #9f1239) !important; }
.cat-theme-shots { background: linear-gradient(135deg, #2563eb, #1d4ed8) !important; }
.cat-theme-garlands { background: linear-gradient(135deg, #16a34a, #15803d) !important; }
.cat-theme-kids { background: linear-gradient(135deg, #e11d48, #be123c) !important; }

.table-qty-btn.minus-btn {
  background: #fee2e2 !important;
  color: #dc2626 !important;
  border-right: 1px solid #fecaca;
}
.table-qty-btn.minus-btn:hover {
  background: #fca5a5 !important;
}
.table-qty-btn.plus-btn {
  background: #dcfce7 !important;
  color: #16a34a !important;
  border-left: 1px solid #bbf7d0;
}
.table-qty-btn.plus-btn:hover {
  background: #bbf7d0 !important;
}

/* Price List Table */
.price-list-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.price-list-table th {
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 14px;
  border-bottom: 2px solid #e2e8f0;
}

.price-list-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.price-list-table tr:hover td {
  background-color: #fafbfc;
}

.price-list-table tr.has-qty td {
  background-color: #f0fdf4 !important;
}

/* Table cells */
.table-img-thumb {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: transform 0.15s ease;
  display: block;
}

.table-img-thumb:hover {
  transform: scale(1.08);
}

.table-item-name {
  font-weight: 800;
  color: #1e293b;
  font-size: 0.92rem;
  margin-bottom: 2px;
}

.table-item-desc {
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.2;
}

.table-item-pack {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0369a1;
  background: #e0f2fe;
  padding: 2px 7px;
  border-radius: 4px;
  margin-top: 4px;
}

.table-mrp {
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 600;
  font-size: 0.85rem;
}

.mobile-mrp {
  display: none;
}

.table-rate {
  font-weight: 900;
  color: #dc2626;
  font-size: 1.05rem;
}

.table-discount-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  color: #16a34a;
  background: #dcfce7;
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 4px;
}

/* Interactive Direct Qty Stepper in Table */
.table-qty-control {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.table-qty-btn {
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #334155;
  cursor: pointer;
  transition: background 0.15s;
  user-select: none;
}

.table-qty-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.table-qty-btn:active {
  background: #cbd5e1;
}

.table-qty-input {
  width: 44px;
  height: 32px;
  border: none;
  text-align: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: #0f172a;
  outline: none;
  -moz-appearance: textfield;
}

.table-qty-input::-webkit-outer-spin-button,
.table-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.table-total-amt {
  font-weight: 900;
  font-size: 1rem;
  color: #94a3b8;
  white-space: nowrap;
}

.table-total-amt.active {
  color: #15803d;
  font-size: 1.05rem;
}

/* Combo Package Included Items Checklist */
.pkg-items-list {
  background: #f8fafc;
  border-radius: 8px;
  padding: 10px 12px;
  margin: 12px 0;
  font-size: 0.8rem;
  color: #334155;
  border: 1px dashed #cbd5e1;
  text-align: left;
}

.pkg-items-list h5 {
  font-size: 0.8rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 4px;
}

.pkg-items-list ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pkg-items-list li {
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.3;
}

.pkg-items-list li::before {
  content: "✓";
  color: #16a34a;
  font-weight: 800;
}

/* Live Product Image Preview Modal */
.image-preview-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.image-preview-modal.active {
  display: flex;
}

.modal-content-card {
  background: #ffffff;
  border-radius: 16px;
  max-width: 460px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  position: relative;
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  background: rgba(0, 0, 0, 0.55);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.15s;
}

.modal-close-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.modal-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.modal-body {
  padding: 16px 20px;
}

/* Sticky Summary Floating Bar Enhancements */
.bottom-cart-bar {
  background: #0f172a;
  color: #ffffff;
  border-top: 3px solid #f59e0b;
}

.summary-savings-chip {
  background: rgba(22, 163, 74, 0.2);
  color: #4ade80;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 9999px;
  margin-left: 8px;
  border: 1px solid rgba(74, 222, 128, 0.3);
}

.btn-whatsapp-order {
  background: #25d366;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 10px 16px;
  border-radius: 8px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, background 0.15s;
}

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

/* ============================================================
   RESPONSIVE MOBILE VIEW ENHANCEMENTS (<= 768px)
   ============================================================ */
@media (max-width: 768px) {
  body {
    padding-bottom: 95px !important;
  }

  .main-container {
    padding: 0 10px !important;
  }

  /* Compact Navbar for Mobile */
  .navbar {
    padding: 6px 0;
  }

  .nav-container {
    padding: 6px 12px !important;
    gap: 8px;
  }

  .brand-icon {
    font-size: 1.5rem;
  }

  .brand-title {
    font-size: 1.05rem !important;
  }

  .brand-sub {
    font-size: 0.68rem !important;
  }

  .hide-mobile {
    display: none !important;
  }

  .btn-cart-nav {
    padding: 6px 10px !important;
    font-size: 0.8rem !important;
    gap: 4px;
  }

  /* Delivery Cities Alert Bar on Mobile */
  .delivery-cities-bar {
    font-size: 0.75rem !important;
    padding: 8px 10px !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 5px !important;
    border-radius: 8px;
    text-align: center;
  }

  /* Segmented View Switcher Tabs on Mobile */
  .view-tabs-container {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 6px !important;
    padding: 0 4px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    margin: 10px auto 12px !important;
    max-width: 100% !important;
    box-shadow: none !important;
  }

  .view-tab-btn {
    padding: 8px 3px !important;
    font-size: 0.78rem !important;
    border-radius: 10px !important;
    gap: 4px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06) !important;
  }

  .view-tab-btn .tab-icon {
    font-size: 0.95rem !important;
  }

  .view-tab-btn .tab-title {
    font-size: 0.75rem !important;
    font-weight: 900 !important;
  }

  .view-tab-btn .tab-count-badge {
    font-size: 0.65rem !important;
    padding: 1px 5px !important;
  }

  .view-tab-btn.active {
    background: linear-gradient(135deg, #b91c1c, #d97706) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(185, 28, 28, 0.3) !important;
  }

  /* Sticky Category & Search Navigation on Mobile */
  .category-filter-nav {
    top: 50px !important;
    padding: 8px 10px !important;
    margin-bottom: 14px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 2px solid #fed7aa !important;
  }

  #liveSearchInput {
    padding: 7px 12px 7px 32px !important;
    font-size: 0.82rem !important;
    border: 1.5px solid #fed7aa !important;
    background: #fffdfa !important;
  }

  .category-filter-scroll {
    gap: 6px !important;
    padding-bottom: 2px !important;
  }

  .cat-filter-btn {
    padding: 5px 11px !important;
    font-size: 0.75rem !important;
    background: #fff7ed !important;
    border: 1px solid #fed7aa !important;
    color: #9a3412 !important;
  }

  .cat-filter-btn.active {
    background: linear-gradient(135deg, #b91c1c, #ea580c) !important;
    color: #ffffff !important;
    border-color: #b91c1c !important;
  }

  /* Section Headlines */
  .section-headline-box {
    margin: 14px 0 10px !important;
    padding-bottom: 6px !important;
  }

  .section-headline-title {
    font-size: 1.1rem !important;
  }

  .section-headline-subtitle {
    font-size: 0.75rem !important;
  }

  /* ==========================================================
     MOBILE PRICE LIST ROWS (CSS Grid Card Rows)
     ========================================================== */
  .price-list-table {
    display: block !important;
    width: 100% !important;
  }

  .price-list-table thead {
    display: none !important;
  }

  .price-list-table tbody {
    display: block !important;
    width: 100% !important;
  }

  .price-list-table tr {
    display: grid !important;
    grid-template-columns: 46px 1fr auto !important;
    grid-template-areas: 
      "img info qty"
      "img price total" !important;
    align-items: center !important;
    gap: 3px 8px !important;
    padding: 8px 6px !important;
    border-bottom: 1px solid #fed7aa !important;
    background: #ffffff !important;
    transition: background 0.15s, border-left 0.15s;
    border-left: 3px solid transparent;
  }

  .price-list-table tr.has-qty {
    background: #f0fdf4 !important;
    border-left: 3px solid #16a34a !important;
  }

  .price-list-table td {
    display: block !important;
    padding: 0 !important;
    border: none !important;
  }

  /* Thumbnail cell */
  .price-list-table td.td-img {
    grid-area: img !important;
    width: 46px !important;
    height: 46px !important;
  }

  .table-img-thumb {
    width: 46px !important;
    height: 46px !important;
    border-radius: 6px !important;
    object-fit: cover !important;
    border: 1px solid #fed7aa;
  }

  /* Info cell */
  .price-list-table td.td-info {
    grid-area: info !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .table-item-name {
    font-size: 0.85rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    line-height: 1.25 !important;
    margin-bottom: 2px !important;
    white-space: normal !important;
  }

  .table-item-desc {
    display: none !important; /* Hide long description in mobile row */
  }

  .table-item-pack {
    font-size: 0.68rem !important;
    padding: 1px 5px !important;
    border-radius: 4px !important;
    display: inline-block !important;
  }

  /* Pricing cell */
  .price-list-table td.td-mrp-col {
    display: none !important;
  }

  .price-list-table td.td-rate-col {
    grid-area: price !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
  }

  .mobile-mrp {
    display: inline-block !important;
    font-size: 0.75rem !important;
    color: #94a3b8 !important;
    text-decoration: line-through !important;
  }

  .table-mrp {
    font-size: 0.75rem !important;
    color: #94a3b8 !important;
  }

  .table-rate {
    font-size: 0.98rem !important;
    font-weight: 900 !important;
    color: #dc2626 !important;
  }

  .table-discount-tag {
    font-size: 0.65rem !important;
    padding: 1px 4px !important;
  }

  /* Quantity Stepper cell */
  .price-list-table td.td-qty {
    grid-area: qty !important;
    display: flex !important;
    justify-content: flex-end !important;
  }

  .table-qty-control {
    height: 32px !important;
    border-radius: 6px !important;
    border: 1px solid #cbd5e1 !important;
  }

  .table-qty-btn {
    width: 28px !important;
    height: 30px !important;
    font-size: 1.1rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .table-qty-input {
    width: 32px !important;
    height: 30px !important;
    font-size: 0.88rem !important;
    font-weight: 800 !important;
  }

  /* Total cell */
  .price-list-table td.td-total {
    grid-area: total !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
  }

  .table-total-amt {
    font-size: 0.88rem !important;
    font-weight: 900 !important;
  }

  .table-total-amt.active {
    color: #16a34a !important;
    font-size: 0.92rem !important;
  }

  /* Category Table Header */
  .category-table-header {
    padding: 9px 12px !important;
    font-size: 0.88rem !important;
  }

  .category-table-header .cat-count {
    font-size: 0.7rem !important;
    padding: 2px 7px !important;
  }

  /* ==========================================================
     MOBILE COMBO PACKAGES CARDS
     ========================================================== */
  .package-tier-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin-top: 14px !important;
  }

  .package-card {
    padding: 16px 12px 12px !important;
    border-radius: 12px !important;
    position: relative !important;
  }

  .popular-ribbon {
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    padding: 3px 12px !important;
    font-size: 0.68rem !important;
    border-radius: 9999px !important;
    border: 2px solid #ffffff !important;
    margin-bottom: 0 !important;
    white-space: nowrap !important;
    z-index: 10 !important;
    display: inline-flex !important;
  }

  .pkg-img-wrapper {
    height: 115px !important;
    border-radius: 8px !important;
  }

  .pkg-header-price {
    font-size: 1.35rem !important;
  }

  .pkg-shots-free-badge {
    font-size: 0.75rem !important;
    padding: 4px 8px !important;
  }

  .pkg-items-list {
    padding: 8px 10px !important;
    font-size: 0.74rem !important;
    margin: 8px 0 !important;
  }

  /* ==========================================================
     MOBILE BOTTOM STICKY ORDER BAR
     ========================================================== */
  .bottom-cart-bar {
    padding: 8px 12px !important;
    padding-bottom: max(10px, env(safe-area-inset-bottom, 10px)) !important;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.25) !important;
    z-index: 1000 !important;
  }

  .cart-bar-inner {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .cart-bar-total-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 1px !important;
    min-width: 0 !important;
  }

  .cart-bar-amount {
    font-size: 1.25rem !important;
    font-weight: 900 !important;
    color: #fbbf24 !important;
  }

  .summary-savings-chip {
    font-size: 0.68rem !important;
    padding: 1px 6px !important;
    margin-left: 4px !important;
  }

  .cart-bar-actions {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }

  .btn-whatsapp-order {
    padding: 8px 10px !important;
    font-size: 0.78rem !important;
    border-radius: 8px !important;
    gap: 4px !important;
  }

  .btn-checkout-primary {
    padding: 8px 14px !important;
    font-size: 0.82rem !important;
    border-radius: 8px !important;
  }

  /* Slide-over Cart Drawer full screen on mobile */
  .cart-drawer {
    width: 100% !important;
    max-width: 100% !important;
  }
}



/* ============================================================
   WHATSAPP ORDER MODAL & STATIC STORE ENHANCEMENTS
   ============================================================ */
.btn-whatsapp-header {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 800;
  color: #15803d;
  padding: 7px 12px;
  border-radius: 9999px;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s;
}

.btn-whatsapp-header:hover {
  background: #bbf7d0;
  transform: translateY(-1px);
}

.delivery-cities-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 9px 16px;
  background: linear-gradient(135deg, #ffffff, #fffbeb);
  border: 1.5px solid #fde68a;
  border-radius: 9999px;
  font-size: 0.82rem;
  color: #78350f;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.12);
}

.badge-free-del {
  background: #16a34a;
  color: white;
  padding: 3px 9px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.badge-cod {
  background: #ea580c;
  color: white;
  padding: 3px 9px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.badge-closing {
  background: #ef4444;
  color: white;
  padding: 3px 9px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.search-row-box {
  max-width: 1240px;
  margin: 0 auto 8px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.search-input-wrap {
  flex: 1;
  min-width: 240px;
  position: relative;
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.95rem;
  color: #94a3b8;
  pointer-events: none;
}

#liveSearchInput {
  width: 100%;
  padding: 8px 36px 8px 36px;
  border-radius: 9999px;
  border: 1px solid #cbd5e1;
  font-size: 0.88rem;
  outline: none;
  background: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

#liveSearchInput:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

#clearSearchBtn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.1rem;
  color: #94a3b8;
  cursor: pointer;
}

.calc-indicator-pill {
  font-size: 0.8rem;
  font-weight: 700;
  color: #16a34a;
  background: #dcfce7;
  padding: 5px 12px;
  border-radius: 9999px;
  white-space: nowrap;
}

.free-shots-banner-pill {
  background: #fef3c7;
  color: #b45309;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 800;
  border: 1px solid #fde68a;
}

/* ============================================================
   DIRECT WHATSAPP ORDER POPUP MODAL
   ============================================================ */
.order-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(5px);
  z-index: 3000 !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.order-modal-overlay.active {
  display: flex;
}

.order-modal-card {
  background: #ffffff;
  border-radius: 16px;
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 45px rgba(0,0,0,0.3);
  animation: modalPop 0.22s ease-out;
}

.order-modal-header {
  background: linear-gradient(135deg, #15803d, #16a34a);
  color: #ffffff;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.order-modal-body {
  padding: 18px 20px;
}

.modal-bill-summary {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.form-group-modal {
  margin-bottom: 12px;
}

.form-group-modal label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 4px;
}

.form-group-modal input,
.form-group-modal select,
.form-group-modal textarea {
  width: 100%;
  padding: 9px 12px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  font-size: 0.88rem;
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.15s;
}

.form-group-modal input:focus,
.form-group-modal select:focus,
.form-group-modal textarea:focus {
  border-color: #16a34a;
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.15);
}

.btn-send-whatsapp-final {
  width: 100%;
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 14px;
  font-size: 1.05rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.4);
  transition: transform 0.15s, box-shadow 0.15s;
  margin-top: 16px;
}

.btn-send-whatsapp-final:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.5);
}


/* Compact Combo Package Add Button & Stepper */
.btn-combo-add {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid #dc2626;
  color: #dc2626;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.15s ease;
}

.btn-combo-add:hover {
  background: #dc2626;
  color: #ffffff;
}

.combo-stepper-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f0fdf4;
  border: 1.5px solid #16a34a;
  border-radius: 8px;
  height: 34px;
  padding: 2px 4px;
}

.combo-stepper-btn {
  width: 28px;
  height: 26px;
  background: #ffffff;
  border: 1px solid #bbf7d0;
  border-radius: 6px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #15803d;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.combo-stepper-btn:hover {
  background: #dcfce7;
}

.combo-stepper-qty {
  font-weight: 800;
  font-size: 0.82rem;
  color: #15803d;
}


/* Direct Call Header Button */
.btn-call-header {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
  padding: 7px 14px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #16a34a, #15803d);
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(22, 163, 74, 0.3);
  transition: all 0.2s ease;
}

.btn-call-header:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.45);
}

.show-mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .show-mobile-only {
    display: inline !important;
  }
  .btn-call-header {
    padding: 6px 11px !important;
    font-size: 0.8rem !important;
  }
}

/* ============================================================
   COMBO ITEMS DETAILS MODAL & VIEW BUTTON
   ============================================================ */
.btn-view-combo-items {
  width: 100%;
  background: #fff7ed;
  border: 1.5px dashed #ea580c;
  color: #c2410c;
  font-weight: 800;
  font-size: 0.86rem;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 8px 0;
  transition: all 0.2s ease;
}

.btn-view-combo-items:hover {
  background: #ffedd5;
  border-color: #dc2626;
  color: #9a3412;
  transform: translateY(-1px);
}

.combo-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(5px);
  z-index: 3000 !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.combo-modal-overlay.open {
  display: flex !important;
}

.combo-modal-card {
  background: #ffffff;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  animation: modalScaleIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.combo-modal-header {
  background: linear-gradient(135deg, #7f1d1d, #991b1b, #c2410c);
  color: #ffffff;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.combo-modal-tag {
  background: rgba(254, 240, 138, 0.2);
  color: #fef08a;
  border: 1px solid rgba(254, 240, 138, 0.4);
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  display: inline-block;
}

.combo-modal-search-box {
  padding: 10px 18px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.combo-modal-search-box input {
  width: 100%;
  padding: 9px 14px;
  border-radius: 8px;
  border: 1.5px solid #cbd5e1;
  font-size: 0.88rem;
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
}

.combo-modal-search-box input:focus {
  border-color: #ea580c;
  box-shadow: 0 0 0 2px rgba(234, 88, 12, 0.15);
}

.combo-modal-body {
  padding: 16px 20px;
  overflow-y: auto;
  max-height: 55vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
}

@media (max-width: 640px) {
  .combo-modal-body {
    grid-template-columns: 1fr !important;
    max-height: 50vh !important;
  }
}

.combo-item-chip {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 8px;
}

.combo-item-chip.free-item {
  background: #f0fdf4;
  border: 1.5px solid #16a34a;
  color: #15803d;
  font-weight: 900;
  grid-column: 1 / -1;
  box-shadow: 0 2px 6px rgba(22, 163, 74, 0.15);
}

.combo-close-btn {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
  flex-shrink: 0;
  margin-left: 12px;
}

.combo-close-btn:hover {
  background: #ffffff;
  color: #dc2626;
  transform: rotate(90deg);
}
