/* Custom Festive Diwali Fireworks Styles */

:root {
  --primary-gold: #ffd700;
  --secondary-gold: #ffb703;
  --festive-red: #e63946;
  --dark-bg: #070b14;
  --card-bg: #111827;
  --table-border: #1f293d;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background-color: var(--dark-bg);
  color: #f3f4f6;
  overflow-x: hidden;
}

.festive-title {
  font-family: 'Rozha One', 'Plus Jakarta Sans', serif;
  letter-spacing: 0.5px;
}

/* Glowing text and borders */
.text-gold-gradient {
  background: linear-gradient(135deg, #ffe066 0%, #f59e0b 50%, #ea580c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-festive-red {
  color: #ef4444;
}

.bg-gold-gradient {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 60%, #d97706 100%);
}

.bg-red-gradient {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #991b1b 100%);
}

/* Sparkler animation */
@keyframes sparkGlow {
  0%, 100% {
    filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.7));
  }
  50% {
    filter: drop-shadow(0 0 16px rgba(239, 68, 68, 0.9));
  }
}

.animate-sparkle-glow {
  animation: sparkGlow 2.5s infinite ease-in-out;
}

/* Custom Table Styles for Price List */
.price-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}

.price-table th {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #0f172a;
  border-bottom: 2px solid #f59e0b;
}

.price-table tr:hover {
  background-color: rgba(30, 41, 59, 0.7);
}

.price-table td {
  border-bottom: 1px solid #1e293b;
}

/* Category header in table */
.category-header-row {
  background: linear-gradient(90deg, #1e293b 0%, #0f172a 100%);
  border-left: 4px solid #f59e0b;
}

/* Floating Bottom Cart Bar */
.floating-cart-bar {
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #0b0f19;
}

::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #f59e0b;
}

/* Quantity Stepper inputs */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}

/* Badge Ribbons */
.ribbon-bestseller {
  position: absolute;
  top: 10px;
  left: -8px;
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 0 4px 4px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  text-transform: uppercase;
}

/* Modal animation */
.modal-backdrop {
  background-color: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(5px);
}

/* Print Friendly Styles */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .no-print, header, footer, .floating-cart-bar, button {
    display: none !important;
  }
  .printable-area {
    display: block !important;
    color: #000 !important;
  }
}
