/* ==========================================================================
   GRM CRACKERS - Official Festive E-Commerce Theme
   Contact: 8667589291 | Sivakasi Direct Factory Fireworks
   ========================================================================== */

:root {
  --primary-color: #8f0e0e;
  --primary-dark: #650707;
  --primary-light: #b91c1c;
  --accent-gold: #f59e0b;
  --accent-gold-light: #fef3c7;
  --festive-green: #0f766e;
  --festive-green-dark: #134e4a;
  --festive-green-light: #d1fae5;
  --success-color: #16a34a;
  --danger-color: #dc2626;
  --dark-color: #1f2937;
  --light-bg: #fdfaf6;
  --card-bg: #ffffff;
  --border-color: #e5e7eb;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background-color: var(--light-bg);
  color: var(--dark-color);
  line-height: 1.5;
  overflow-x: hidden;
}

/* Announcement Bar */
.announcement-bar {
  background: linear-gradient(90deg, #650707 0%, #8f0e0e 50%, #650707 100%);
  color: #fff;
  font-size: 0.88rem;
  padding: 8px 0;
  overflow: hidden;
  position: relative;
  z-index: 100;
  border-bottom: 2px solid var(--accent-gold);
}

.ticker-wrap {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-move {
  display: inline-block;
  white-space: nowrap;
  animation: ticker 35s linear infinite;
}

.ticker-move:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-block;
  padding: 0 25px;
  font-weight: 500;
}

.ticker-item b {
  color: #fbbf24;
}

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

/* Header & Navbar */
.main-header {
  background: #ffffff;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 990;
}

.navbar-brand-custom {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  height: 58px;
  max-width: 180px;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.brand-logo-img:hover {
  transform: scale(1.03);
}

.brand-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.brand-subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
  letter-spacing: 0.3px;
}

.nav-link-custom {
  font-weight: 600;
  color: #374151 !important;
  padding: 8px 14px !important;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.nav-link-custom:hover,
.nav-link-custom.active {
  color: var(--primary-color) !important;
  background-color: #fee2e2;
}

.header-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.header-call-btn {
  background: #fee2e2;
  color: var(--primary-color);
  border: 1px solid #fca5a5;
}

.header-call-btn:hover {
  background: var(--primary-color);
  color: #fff;
}

.header-wa-btn {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #86efac;
}

.header-wa-btn:hover {
  background: #15803d;
  color: #fff;
}

.header-cart-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

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

/* Hero Poster Showcase */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #2e0505 0%, #4a0c0c 50%, #1f0404 100%);
  padding: 30px 0 40px;
  color: #fff;
  overflow: hidden;
}

.hero-poster-container {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  border: 3px solid rgba(251, 191, 36, 0.5);
  background: #000;
  transition: transform 0.3s ease;
}

.hero-poster-container:hover {
  transform: translateY(-3px);
}

.hero-poster-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  display: block;
}

.hero-badge {
  background: var(--accent-gold);
  color: #000;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.hero-highlight {
  color: #fbbf24;
}

.hero-desc {
  font-size: 1.05rem;
  color: #f3f4f6;
  margin-bottom: 22px;
  line-height: 1.6;
}

.hero-cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 25px;
}

.btn-festive-primary {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #000;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
  border: none;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
}

.btn-festive-primary:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
}

.btn-festive-cart {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
}

.btn-festive-cart:hover {
  background: #047857;
  color: #fff;
  transform: translateY(-2px);
}

/* Feature Badges */
.feature-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 15px;
}

.feature-pill {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(5px);
  padding: 8px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Sticky Category Filter Toolbar */
.category-toolbar {
  background: #ffffff;
  position: sticky;
  top: 74px;
  z-index: 900;
  box-shadow: var(--shadow-sm);
  border-bottom: 2px solid #fee2e2;
  padding: 12px 0;
}

.category-scroll-container {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 4px;
}

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

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

.cat-btn {
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  color: #374151;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 7px 14px;
  border-radius: 20px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cat-btn:hover {
  background: #fee2e2;
  color: var(--primary-color);
  border-color: #fca5a5;
}

.cat-btn.active {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-dark);
  box-shadow: 0 2px 6px rgba(143, 14, 14, 0.3);
}

.cat-btn-badge {
  background: rgba(0, 0, 0, 0.15);
  padding: 1px 6px;
  border-radius: 10px;
  font-size: 0.75rem;
}

.cat-btn.active .cat-btn-badge {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
}

/* Search and Controls Bar */
.controls-bar {
  background: #fff;
  padding: 14px 18px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

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

.search-input-wrap input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s;
}

.search-input-wrap input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(143, 14, 14, 0.1);
}

.search-icon-pos {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  pointer-events: none;
}

.view-toggle-btns {
  display: flex;
  background: #f3f4f6;
  border-radius: 8px;
  padding: 3px;
  gap: 2px;
}

.view-btn {
  border: none;
  background: transparent;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  color: #4b5563;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.view-btn.active {
  background: #fff;
  color: var(--primary-color);
  box-shadow: var(--shadow-sm);
}

/* Minimum Order Notice Banner */
.min-order-alert {
  background: linear-gradient(90deg, #fffbeb 0%, #fef3c7 100%);
  border-left: 5px solid var(--accent-gold);
  padding: 12px 18px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  gap: 10px;
}

.min-order-alert strong {
  color: #92400e;
}

/* Category Section Header */
.category-section-title {
  background: linear-gradient(90deg, #8f0e0e 0%, #b91c1c 100%);
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  margin: 30px 0 16px;
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(143, 14, 14, 0.2);
}

.category-section-title span.badge {
  background: rgba(255, 255, 255, 0.25);
  font-weight: 600;
  font-size: 0.85rem;
}

/* Product Card Grid View */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 25px;
}

.product-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e5e7eb;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #fca5a5;
}

.product-img-wrapper {
  position: relative;
  background: #f9fafb;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
}

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

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

.zoom-hint {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 0.72rem;
  backdrop-filter: blur(2px);
}

.sno-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--primary-color);
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.savings-tag {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: #16a34a;
  color: #fff;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 3px 7px;
  border-radius: 4px;
}

.product-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 6px;
  line-height: 1.3;
  min-height: 2.6em;
}

.product-cat-name {
  font-size: 0.75rem;
  color: #6b7280;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.product-pricing {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}

.price-actual {
  font-size: 0.9rem;
  color: #9ca3af;
  text-decoration: line-through;
}

.price-discounted {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-color);
}

.qty-control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  gap: 8px;
  background: #f9fafb;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.qty-stepper {
  display: flex;
  align-items: center;
  gap: 4px;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  background: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  color: #374151;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
}

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

.qty-input {
  width: 44px;
  height: 32px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  outline: none;
}

.qty-input:focus {
  border-color: var(--primary-color);
}

.item-subtotal-val {
  font-weight: 700;
  font-size: 0.92rem;
  color: #15803d;
}

/* Product Table View (Quick Order List - Sivakasi Favorite!) */
.quick-order-table-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e5e7eb;
  margin-bottom: 24px;
}

.order-table {
  width: 100%;
  border-collapse: collapse;
}

.order-table th {
  background: #f8fafc;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px 14px;
  border-bottom: 2px solid #e2e8f0;
  text-align: left;
}

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

.order-table tr:hover {
  background-color: #fef2f2;
}

.table-thumb {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: transform 0.2s;
}

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

.table-prod-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: #1f2937;
}

.table-prod-cat {
  font-size: 0.75rem;
  color: #64748b;
}

/* Floating Action Dock */
.floating-actions-dock {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 998;
}

.floating-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
  position: relative;
  border: none;
  cursor: pointer;
}

.floating-btn:hover {
  transform: scale(1.1);
}

.floating-call-btn {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  color: #fff;
}

.floating-wa-btn {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #fff;
}

.floating-cart-btn-pill {
  width: auto;
  height: 54px;
  border-radius: 30px;
  padding: 0 20px;
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 18px rgba(5, 150, 105, 0.4);
}

.floating-cart-btn-pill:hover {
  background: #065f46;
}

.cart-count-badge {
  background: #dc2626;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 12px;
}

/* ==========================================================================
   CHECKOUT DRAWER / MODAL - MATCHING ATTACHED SCREENSHOT DESIGN
   ========================================================================== */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.checkout-drawer {
  position: fixed;
  top: 0;
  right: -520px;
  width: 100%;
  max-width: 490px;
  height: 100%;
  background: #ffffff;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.25);
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.checkout-drawer.active {
  right: 0;
}

/* Drawer Header - Deep Green as in uploaded screenshot */
.drawer-header {
  background: #0e4c3a;
  color: #ffffff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-header-text h3 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 800;
  color: #d1fae5;
  margin: 0;
}

.drawer-header-text h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.drawer-close-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.2s;
}

.drawer-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Drawer Content */
.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 20px;
}

.cart-items-box {
  margin-bottom: 18px;
}

.cart-empty-state {
  text-align: center;
  padding: 40px 10px;
  color: #6b7280;
}

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

.cart-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}

.cart-item-img {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid #e2e8f0;
}

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

.cart-item-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.2;
}

.cart-item-price-calc {
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 2px;
}

.cart-item-total {
  font-size: 0.95rem;
  font-weight: 800;
  color: #15803d;
}

.cart-item-del-btn {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 4px;
}

/* Summary Card */
.order-summary-box {
  background: #f8fafc;
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 18px;
  border: 1px solid #e2e8f0;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: #4b5563;
}

.summary-row.savings {
  color: #15803d;
  font-weight: 600;
}

.summary-row.grand-total {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-color);
  padding-top: 8px;
  margin-top: 8px;
  border-top: 2px dashed #cbd5e1;
}

/* Minimum Order Meter */
.min-order-meter {
  background: #fff;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 16px;
  border: 1px solid #e5e7eb;
}

.meter-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.meter-bar-track {
  height: 8px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
}

.meter-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b 0%, #10b981 100%);
  border-radius: 4px;
  transition: width 0.3s ease;
}

/* Customer Details Form - Identical to user uploaded screenshot */
.customer-details-section {
  margin-top: 20px;
  border-top: 2px solid #e2e8f0;
  padding-top: 18px;
}

.customer-details-heading {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0e4c3a;
  margin-bottom: 16px;
}

.form-group-custom {
  margin-bottom: 14px;
}

.form-group-custom label {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 6px;
}

.form-group-custom label span.required-star {
  color: #dc2626;
}

.form-control-custom {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.92rem;
  color: #1f2937;
  transition: all 0.2s ease;
  font-family: inherit;
}

.form-control-custom:focus {
  border-color: #0e4c3a;
  outline: none;
  box-shadow: 0 0 0 3px rgba(14, 76, 58, 0.12);
}

.form-control-custom::placeholder {
  color: #9ca3af;
}

textarea.form-control-custom {
  min-height: 85px;
  resize: vertical;
}

/* "I am not a robot" reCAPTCHA box (Exact replica of Google reCAPTCHA widget in screenshot) */
.recaptcha-widget-box {
  background: #f9f9f9;
  border: 1px solid #d3d3d3;
  border-radius: 4px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px 0 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.recaptcha-left {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.recaptcha-checkbox {
  width: 26px;
  height: 26px;
  border: 2px solid #c1c1c1;
  border-radius: 3px;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.recaptcha-checkbox.checked {
  background: #0f9d58;
  border-color: #0f9d58;
  color: #fff;
}

.recaptcha-checkbox.spinner {
  border-color: #4285f4;
  border-top-color: transparent;
  animation: spin 0.8s linear infinite;
}

.recaptcha-text {
  font-size: 0.92rem;
  font-weight: 500;
  color: #282828;
  user-select: none;
}

.recaptcha-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.recaptcha-logo-icon {
  width: 32px;
  height: 32px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%234285F4' d='M24 4C12.95 4 4 12.95 4 24s8.95 20 20 20 20-8.95 20-20S35.05 4 24 4zm0 6c7.73 0 14 6.27 14 14 0 2.21-.52 4.3-1.44 6.16l-4.59-4.59c.66-.49 1.13-1.22 1.25-2.07h-9.22v-6.5h13.6c.26.96.4 1.97.4 3 0 7.73-6.27 14-14 14-7.73 0-14-6.27-14-14S16.27 10 24 10z'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

.recaptcha-brand-label {
  font-size: 0.65rem;
  color: #555;
  margin-top: 2px;
  font-weight: 600;
  letter-spacing: -0.2px;
}

/* Proceed to Order Button (Matching screenshot: light green with rocket icon) */
.btn-proceed-order {
  width: 100%;
  background: #5db985;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  padding: 14px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(93, 185, 133, 0.4);
  transition: all 0.25s ease;
}

.btn-proceed-order:hover:not(:disabled) {
  background: #48a672;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(72, 166, 114, 0.5);
}

.btn-proceed-order:disabled {
  background: #9ca3af;
  cursor: not-allowed;
  box-shadow: none;
  opacity: 0.7;
}

.delivery-charge-disclaimer {
  text-align: center;
  font-size: 0.82rem;
  color: #6b7280;
  margin-top: 10px;
  font-style: italic;
}

.delivery-charge-disclaimer b {
  color: var(--primary-color);
}

/* Image Preview Modal */
.image-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.image-modal-card {
  background: #fff;
  border-radius: 16px;
  max-width: 550px;
  width: 100%;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
  animation: zoomIn 0.25s ease;
}

@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.image-modal-header {
  padding: 14px 18px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e2e8f0;
}

.image-modal-body {
  padding: 16px;
  text-align: center;
  background: #fff;
}

.modal-preview-img {
  max-width: 100%;
  max-height: 380px;
  object-fit: contain;
  border-radius: 8px;
}

/* Footer */
.main-footer {
  background: #180303;
  color: #d1d5db;
  padding: 50px 0 25px;
  margin-top: 60px;
  border-top: 4px solid var(--accent-gold);
}

.footer-logo-img {
  max-height: 55px;
  margin-bottom: 14px;
}

.footer-heading {
  color: #fbbf24;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: #fbbf24;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.92rem;
}

.footer-bottom-bar {
  border-top: 1px solid #374151;
  padding-top: 20px;
  margin-top: 35px;
  font-size: 0.85rem;
  color: #9ca3af;
  text-align: center;
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1200;
  pointer-events: none;
}

.custom-toast {
  background: #1f2937;
  color: #fff;
  padding: 12px 22px;
  border-radius: 30px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideUpFade 0.3s ease;
  pointer-events: auto;
}

.custom-toast.success {
  background: #065f46;
  border: 1px solid #10b981;
}

.custom-toast.warning {
  background: #78350f;
  border: 1px solid #f59e0b;
}

@keyframes slideUpFade {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Enhanced Responsive adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 1.65rem;
  }
  .brand-title {
    font-size: 1.15rem;
  }
  .brand-logo-img {
    height: 44px;
  }
  .category-toolbar {
    top: 60px;
    padding: 8px 0;
  }
  .category-scroll-container {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    gap: 6px;
  }
  .cat-btn {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
  .checkout-drawer {
    width: 100% !important;
    max-width: 100% !important;
  }
  .drawer-body {
    padding: 14px 16px;
  }
  .form-control-custom,
  .form-control {
    font-size: 16px !important; /* Prevents auto-zoom in mobile Safari */
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .product-img-wrapper {
    height: 135px;
  }
  .product-title {
    font-size: 0.85rem;
    min-height: 2.4em;
  }
  .price-discounted {
    font-size: 1.1rem;
  }
  .qty-btn {
    width: 28px;
    height: 28px;
    font-size: 0.95rem;
  }
  .qty-input {
    width: 36px;
    height: 28px;
    font-size: 0.85rem;
  }
  .floating-actions-dock {
    bottom: 15px;
    right: 15px;
    gap: 8px;
  }
  .floating-btn {
    width: 46px;
    height: 46px;
    font-size: 1.3rem;
  }
  .floating-cart-btn-pill {
    height: 46px;
    padding: 0 14px;
    font-size: 0.85rem;
  }
  .admin-card {
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .product-body {
    padding: 10px;
  }
  .product-title {
    font-size: 0.82rem;
  }
  .hero-section {
    padding: 20px 0 30px;
  }
  .feature-pill {
    font-size: 0.78rem;
    padding: 6px 10px;
  }
}
