/* ==========================================================
   Sri Krishna Fireworks - Master Modern Design System
   Sivakasi Premier Cracker E-Commerce & Estimation Platform
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ==========================================================
   1. Theme Variables: Festive Dark (Default) & Clean Light
   ========================================================== */
:root, [data-theme="dark"] {
  /* Surface & Background Hierarchy */
  --bg-app: #070b14;
  --bg-main: #070b14;
  --bg-dark: #070b14;
  --bg-surface: #0e1726;
  --bg-card: #0e1726;
  --bg-elevated: #162032;
  --bg-input: #0b111e;
  --bg-card-hover: #162032;
  --bg-surface-secondary: #162032;
  --bg-card-secondary: #162032;
  --bg-nav: rgba(7, 11, 20, 0.92);

  /* Accent & CTAs: Festive Amber-Red Radiant Gradient */
  --primary-gradient: linear-gradient(135deg, #ef4444 0%, #f59e0b 100%);
  --cta-gradient: linear-gradient(135deg, #ef4444 0%, #f59e0b 100%);
  --cta-gradient-hover: linear-gradient(135deg, #dc2626 0%, #d97706 100%);
  --primary-accent: #f59e0b;
  --primary-accent-hover: #d97706;
  --gold-primary: #f59e0b;
  --gold-light: #fbbf24;
  --gold-shimmer: #fef08a;
  --accent-glow: rgba(245, 158, 11, 0.28);
  --danger-crimson: #ef4444;
  --crimson-primary: #ef4444;
  --crimson-hover: #dc2626;
  --success-emerald: #10b981;
  --emerald-primary: #10b981;
  --emerald-dark: #059669;
  --warning-amber: #f59e0b;

  /* Strict High-Contrast Typography (Eliminate Low-Contrast Fading) */
  --text-primary: #ffffff;                    /* 100% crisp pure white */
  --text-main: #ffffff;
  --text-secondary: #e2e8f0;                  /* Bright slate body copy */
  --text-sub: #e2e8f0;
  --text-muted: #94a3b8;                      /* Accessible muted text */
  --text-dim: #94a3b8;
  --text-inverse: #070b14;
  --text-gold-highlight: #fbbf24;

  /* Crisp Borders & Elevated Shadows */
  --border-subtle: 1px solid rgba(255, 255, 255, 0.12);
  --border-active: 1px solid rgba(245, 158, 11, 0.5);
  --border-color: rgba(255, 255, 255, 0.12);
  --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.45);
  --shadow-modal: 0 25px 50px -12px rgba(0, 0, 0, 0.85);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 35px -5px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 25px rgba(245, 158, 11, 0.35);

  /* Pricing */
  --price-mrp: #94a3b8;
  --price-selling: #f59e0b;

  /* Controls */
  --theme-toggle-bg: rgba(255, 255, 255, 0.08);
  --theme-toggle-border: rgba(255, 255, 255, 0.16);
  --theme-toggle-color: #fbbf24;

  /* Structure */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --header-height: 72px;
  --topbar-height: 38px;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

[data-theme="light"] {
  /* Clean Light Palette */
  --bg-app: #f8fafc;
  --bg-main: #f8fafc;
  --bg-dark: #f8fafc;
  --bg-card: #ffffff;
  --bg-surface: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-surface-secondary: #f1f5f9;
  --bg-card-secondary: #f1f5f9;
  --bg-nav: rgba(255, 255, 255, 0.92);
  --bg-elevated: #ffffff;
  --bg-input: #ffffff;

  /* Accent & CTAs */
  --cta-gradient: linear-gradient(135deg, #e11d48 0%, #d97706 100%);
  --cta-gradient-hover: linear-gradient(135deg, #be123c 0%, #b45309 100%);
  --gold-primary: #d97706;
  --gold-light: #b45309;
  --gold-shimmer: #78350f;
  --crimson-primary: #dc2626;
  --crimson-hover: #b91c1c;
  --emerald-primary: #059669;
  --emerald-dark: #047857;

  /* Deep Slate Text (Never faint gray) */
  --text-primary: #0f172a;
  --text-main: #0f172a;
  --text-secondary: #334155;
  --text-sub: #334155;
  --text-muted: #64748b;
  --text-dim: #64748b;
  --text-inverse: #ffffff;
  --text-gold-highlight: #b45309;

  /* Borders & Shadows */
  --border-color: #e2e8f0;
  --border-subtle: #e2e8f0;
  --border-accent: rgba(217, 119, 6, 0.4);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 20px -4px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 30px -4px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 20px rgba(217, 119, 6, 0.2);

  /* Pricing */
  --price-mrp: #64748b;
  --price-selling: #d97706;

  /* Controls */
  --theme-toggle-bg: #f1f5f9;
  --theme-toggle-border: #cbd5e1;
  --theme-toggle-color: #4f46e5;
}

/* ==========================================================
   2. Base Reset & Global Styles
   ========================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color 0.3s ease, color 0.3s ease;
  position: relative;
}

/* Background fireworks canvas: Detached & locked behind content */
#fireworks,
.fireworks-canvas {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  pointer-events: none !important;
  z-index: -1 !important;
  opacity: 0.65;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

p {
  color: var(--text-sub);
  margin-bottom: 1rem;
}

a {
  color: var(--gold-primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--gold-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container & Navigation Container */
.container,
.container-nav {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-gold {
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold-light);
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.badge-crimson {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

/* Primary Festive CTA Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.btn-primary, .btn-gold {
  background: var(--cta-gradient);
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover, .btn-gold:hover {
  background: var(--cta-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
  color: #ffffff !important;
}

.btn-primary:active, .btn-gold:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--bg-surface-secondary);
  color: var(--text-primary) !important;
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--gold-primary);
  color: var(--text-primary) !important;
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-light) !important;
  border: 1px solid var(--gold-primary);
}

.btn-outline-gold:hover {
  background: rgba(245, 158, 11, 0.12);
  color: var(--text-primary) !important;
  border-color: var(--gold-light);
}

/* ==========================================================
   3. Header & Top Utility Strip (Refactored Responsive Architecture)
   ========================================================== */

/* Top Utility Bar */
.top-utility-bar,
.top-bar {
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: var(--text-secondary);
  position: relative;
  z-index: 1001;
  padding: 0.4rem 0;
  min-height: 38px;
  display: flex;
  align-items: center;
}

[data-theme="light"] .top-utility-bar,
[data-theme="light"] .top-bar {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  color: #475569;
}

.top-utility-bar .container-nav,
.top-bar .top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  width: 100%;
}

.utility-left,
.top-contacts {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.utility-left a,
.top-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #94a3b8;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.82rem;
  transition: color 0.2s ease;
}

.utility-left a:hover,
.top-item:hover {
  color: #fbbf24;
}

.utility-left a i,
.top-item svg {
  color: #f59e0b;
  fill: #f59e0b;
  font-size: 0.85rem;
  width: 14px;
  height: 14px;
}

[data-theme="light"] .utility-left a,
[data-theme="light"] .top-item {
  color: #475569;
}

[data-theme="light"] .utility-left a:hover,
[data-theme="light"] .top-item:hover {
  color: #d97706;
}

.utility-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.upi-badge,
.top-gpay {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.78rem;
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
}

.upi-badge i,
.top-gpay svg {
  color: #10b981;
  fill: #10b981;
  font-size: 0.82rem;
}

[data-theme="light"] .upi-badge,
[data-theme="light"] .top-gpay {
  background: rgba(16, 185, 129, 0.08);
  color: #059669;
  border-color: rgba(16, 185, 129, 0.3);
}

.sale-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  animation: pulseGlow 2.5s infinite;
}

[data-theme="light"] .sale-badge {
  background: rgba(245, 158, 11, 0.1);
  color: #b45309;
  border-color: rgba(245, 158, 11, 0.3);
}

/* Main Sticky Header */
.main-site-header,
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 72px;
  background: rgba(7, 11, 18, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color 0.3s ease, border-color 0.3s ease;
  display: flex;
  align-items: center;
}

[data-theme="light"] .main-site-header,
[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid #e2e8f0;
}

.main-site-header .header-inner,
.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
  width: 100%;
}

/* Brand Logo */
.brand-logo,
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon,
.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff4d4d 0%, #f59e0b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.brand-logo:hover .logo-icon,
.brand:hover .brand-icon {
  transform: scale(1.06) rotate(6deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-title {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

[data-theme="light"] .brand-title {
  color: #0f172a;
}

.brand-sub,
.brand-subtitle {
  font-size: 0.72rem;
  font-weight: 700;
  color: #f59e0b;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* Desktop Navigation (Inline Horizontal Row) */
.desktop-nav {
  display: flex;
  align-items: center;
}

.nav-links-list {
  display: flex !important;
  flex-direction: row !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: center;
  gap: 0.35rem;
}

.nav-links-list li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-block;
}

.nav-item,
.nav-link {
  display: inline-block;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #94a3b8;
  padding: 0.55rem 1rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  position: relative;
}

.nav-item:hover,
.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
}

.nav-item.active,
.nav-link.active {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.35);
  font-weight: 700;
}

[data-theme="light"] .nav-item,
[data-theme="light"] .nav-link {
  color: #475569;
}

[data-theme="light"] .nav-item:hover,
[data-theme="light"] .nav-link:hover {
  color: #0f172a;
  background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .nav-item.active,
[data-theme="light"] .nav-link.active {
  color: #d97706;
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.35);
}

/* Header Actions */
.header-actions,
.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.theme-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fbbf24;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.theme-toggle-btn:hover {
  background: rgba(245, 158, 11, 0.16);
  border-color: #f59e0b;
  transform: rotate(15deg) scale(1.06);
}

[data-theme="light"] .theme-toggle-btn {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
}

[data-theme="light"] .theme-toggle-btn:hover {
  background: #e2e8f0;
  border-color: #f59e0b;
  color: #d97706;
}

.theme-toggle-btn .icon-moon { display: none; }
.theme-toggle-btn .icon-sun  { display: block; }
[data-theme="light"] .theme-toggle-btn .icon-sun  { display: none; }
[data-theme="light"] .theme-toggle-btn .icon-moon { display: block; }

.btn-cta-calculate,
.nav-order-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: linear-gradient(135deg, #ff4d4d 0%, #f59e0b 100%);
  color: #ffffff;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.6rem 1.25rem;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-cta-calculate:hover,
.nav-order-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
  color: #ffffff;
}

.btn-cta-calculate i,
.btn-cta-calculate svg,
.nav-order-cta svg {
  font-size: 0.95rem;
  width: 15px;
  height: 15px;
}

/* Hamburger Toggle (Mobile Only) */
.mobile-menu-toggle,
.mobile-nav-toggle,
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-menu-toggle:hover,
.mobile-nav-toggle:hover,
.mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #f59e0b;
}

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

[data-theme="light"] .mobile-menu-toggle,
[data-theme="light"] .mobile-nav-toggle,
[data-theme="light"] .mobile-toggle {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

[data-theme="light"] .mobile-menu-toggle span {
  background-color: #0f172a;
}

/* Mobile Navigation Drawer (Off-canvas, strictly hidden on desktop) */
.mobile-drawer-overlay,
.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.mobile-nav-drawer,
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: #0f172a;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  box-shadow: 10px 0 35px rgba(0, 0, 0, 0.6);
  overflow-y: auto;
  visibility: hidden;
  pointer-events: none;
}

/* Active State (Mobile Drawer) */
.mobile-drawer-overlay.is-active,
.mobile-drawer-overlay.active,
.drawer-overlay.active {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-drawer.is-active,
.mobile-nav-drawer.open,
.mobile-drawer.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.25rem;
}

.drawer-title {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: #fbbf24;
  letter-spacing: 1px;
}

.drawer-close-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.drawer-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #f59e0b;
  transform: scale(1.05);
}

.mobile-links-list,
.drawer-links {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.mobile-links-list li,
.drawer-links li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.mobile-links-list li a,
.drawer-links li a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  color: #cbd5e1;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.mobile-links-list li a:hover,
.drawer-links li a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  transform: translateX(4px);
}

.mobile-links-list li a.active,
.drawer-links li a.active {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
  font-weight: 700;
}

[data-theme="light"] .mobile-nav-drawer,
[data-theme="light"] .mobile-drawer {
  background: #ffffff;
  border-right-color: #e2e8f0;
  box-shadow: 10px 0 35px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .drawer-header {
  border-bottom-color: #f1f5f9;
}

[data-theme="light"] .drawer-close-btn {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #0f172a;
}

[data-theme="light"] .mobile-links-list li a,
[data-theme="light"] .drawer-links li a {
  color: #334155;
}

[data-theme="light"] .mobile-links-list li a:hover,
[data-theme="light"] .drawer-links li a:hover {
  background: #f8fafc;
  color: #0f172a;
}

[data-theme="light"] .mobile-links-list li a.active,
[data-theme="light"] .drawer-links li a.active {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
  border-color: rgba(245, 158, 11, 0.3);
}

/* STRICT DESKTOP RULE: Mobile drawer MUST be completely hidden on desktop */
@media (min-width: 992px) {
  .mobile-nav-drawer,
  .mobile-drawer,
  .mobile-drawer-overlay,
  .drawer-overlay,
  .mobile-menu-toggle,
  .mobile-nav-toggle,
  .mobile-toggle {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

/* ==========================================================
   4. Hero Banner & Full-Width Slider Module
   ========================================================== */

/* Full-Width Slider Section */
.hero-slider-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #070b12;
  margin: 0;
  padding: 0;
}

.slider-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: auto;
  max-height: 520px;
}

.slider-track {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.slider-slide {
  position: relative;
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
  overflow: hidden;
  background-color: #070b12;
  display: block;
}

.slider-slide-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  cursor: pointer;
}

/* Clear unoccluded banner display (No dark vignette) */
.slider-slide::after {
  display: none !important;
}

.slide-image {
  position: relative;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.slide-content-overlay {
  display: none !important;
}

.slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fbbf24;
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.slide-heading {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin: 0 0 1rem 0;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.7);
}

.slide-subheading {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: #cbd5e1;
  line-height: 1.6;
  margin: 0 0 1.85rem 0;
  max-width: 620px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.slide-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #ff4d4d 0%, #f59e0b 100%);
  color: #ffffff !important;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.slide-cta-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.65);
  color: #ffffff !important;
}

/* Slider Navigation Arrows (Centered vertically on the sides) */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  padding: 0;
  line-height: 1;
}

.slider-arrow:hover {
  background: rgba(245, 158, 11, 0.95);
  border-color: #f59e0b;
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 22px rgba(245, 158, 11, 0.6);
}

.slider-arrow-prev {
  left: 1.75rem;
}

.slider-arrow-next {
  right: 1.75rem;
}

/* Slide Indicator Dots (Centered at bottom) */
.slider-dots-container {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  outline: none;
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.slider-dot.active {
  width: 34px;
  background: linear-gradient(135deg, #ff4d4d 0%, #f59e0b 100%);
  border-color: #f59e0b;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.7);
}

/* Legacy Hero & Sivakasi Trust Highlights */
.hero-wrapper, .hero-section {
  position: relative;
  overflow: hidden;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.hero-banner {
  position: relative;
  width: 100%;
  border-radius: 0;
  overflow: hidden;
  min-height: 280px;
  background-color: #070b12;
}

.hero-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 11, 18, 0.2) 0%, rgba(7, 11, 18, 0.85) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 1.5rem;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #cbd5e1;
  margin-bottom: 1.75rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.sivakasi-trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 0.85rem 1.5rem;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

/* Responsive Slider Breakpoints */
@media (max-width: 991px) {
  .slider-viewport {
    min-height: 440px;
    height: 55vh;
  }
  .slide-content-overlay {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    padding: 2.5rem 1.5rem;
  }
  .slider-arrow {
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
  }
  .slider-arrow-prev {
    left: 1rem;
  }
  .slider-arrow-next {
    right: 1rem;
  }
}

@media (max-width: 768px) {
  .slider-viewport {
    min-height: 420px;
    height: auto;
  }
  .slider-slide {
    min-height: 420px;
    justify-content: center;
  }
  .slider-slide::after {
    background: linear-gradient(
      180deg,
      rgba(7, 11, 18, 0.35) 0%,
      rgba(7, 11, 18, 0.85) 100%
    );
  }
  .slide-content-overlay {
    margin: 0 auto;
    text-align: center;
    padding: 3rem 1.25rem 4rem 1.25rem;
  }
  .slide-subheading {
    margin: 0 auto 1.5rem auto;
  }
  .slider-arrow {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  .slider-arrow-prev {
    left: 0.5rem;
  }
  .slider-arrow-next {
    right: 0.5rem;
  }
}

@media (max-width: 480px) {
  .slider-viewport {
    min-height: 400px;
  }
  .slider-slide {
    min-height: 400px;
  }
  .slide-heading {
    font-size: 1.75rem;
  }
  .slide-subheading {
    font-size: 0.9rem;
  }
  .slide-cta-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.92rem;
  }
}

/* ==========================================================
   5. Pricelist Page & Product Cards Grid
   ========================================================== */
.pricelist-toolbar {
  position: sticky;
  top: var(--header-height);
  z-index: 90;
  background: var(--bg-nav);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.85rem 0;
  box-shadow: var(--shadow-sm);
}

.toolbar-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 240px;
}

.search-box input {
  width: 100%;
  background: var(--bg-surface-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 0.65rem 1rem 0.65rem 2.4rem;
  color: var(--text-primary);
  font-size: 0.92rem;
  transition: all 0.2s ease;
}

.search-box input:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
  background: var(--bg-card);
}

.search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  fill: var(--text-muted);
  pointer-events: none;
}

/* Category Filter Horizontal Scroll Pills */
.category-filters-wrapper {
  overflow-x: auto;
  white-space: nowrap;
  padding: 0.75rem 0;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.category-tabs {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.tab-btn:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  border-color: var(--gold-primary);
}

.tab-btn.active {
  background: var(--cta-gradient);
  color: #ffffff !important;
  border-color: transparent;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.35);
}

/* Category Group Sections */
.category-group {
  margin-bottom: 2.5rem;
}

.category-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1.25rem;
  font-size: 1.35rem;
  color: var(--text-primary);
}

/* Responsive Product Grid: 2 Items Side-by-Side */
.products-grid, .product-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

@media (max-width: 640px) {
  .products-grid, .product-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

/* Individual Product Card */
.product-row {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.product-row:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(245, 158, 11, 0.35);
}

/* Top Corner Green Discount Tag */
.discount-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--emerald-primary);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  z-index: 3;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.4);
}

/* Product Thumbnail */
.product-left {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.product-thumb-container {
  width: 100%;
  height: 140px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #070b12;
  position: relative;
  cursor: pointer;
}

@media (max-width: 640px) {
  .product-thumb-container {
    height: 95px;
  }
}

.product-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-row:hover .product-thumb {
  transform: scale(1.05);
}

/* Product Info */
.product-code-tag {
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--gold-light);
  font-weight: 700;
}

.product-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

@media (max-width: 640px) {
  .product-name {
    font-size: 0.88rem;
  }
}

.product-pack {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Pricing Display */
.product-pricing {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin: 0.5rem 0 0.85rem 0;
  flex-wrap: wrap;
}

.mrp-strike {
  font-size: 0.85rem;
  text-decoration: line-through;
  color: var(--price-mrp);
}

.discount-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--price-selling);
  font-family: monospace;
}

/* Modern Numeric Stepper Controls */
.qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  background: var(--bg-surface-secondary);
  overflow: hidden;
  height: 38px;
}

.qty-btn {
  width: 38px;
  height: 38px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease, color 0.15s ease;
  user-select: none;
}

.qty-btn:hover {
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold-primary);
}

.qty-input {
  flex: 1;
  width: 45px;
  border: none;
  background: transparent;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  font-family: monospace;
  -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-input:focus {
  outline: none;
}

/* Product Subtotal Pill */
.product-subtotal-row {
  margin-top: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.product-subtotal-val {
  font-weight: 700;
  color: var(--emerald-primary);
  font-family: monospace;
}

/* ==========================================================
   6. Sticky Calculation Dock (Bottom Cart Ribbon)
   ========================================================== */
.pricelist-calc-dock {
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(245, 158, 11, 0.35);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.45);
  padding: 0.85rem 0;
  transition: all 0.3s ease;
}

[data-theme="light"] .pricelist-calc-dock {
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(217, 119, 6, 0.35);
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.1);
}

.calc-dock-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.calc-metrics-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.calc-metric-item {
  display: flex;
  flex-direction: column;
}

.calc-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  font-weight: 600;
}

.calc-value {
  font-family: monospace;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
}

.calc-value.savings {
  color: var(--emerald-primary);
}

.calc-value.net-amount {
  color: var(--gold-primary);
  font-size: 1.35rem;
}

/* Pulsing Order Now CTA Button */
#btn-open-order-modal {
  position: relative;
  overflow: hidden;
}

#btn-open-order-modal::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shine 2.5s infinite;
}

@keyframes shine {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* ==========================================================
   7. Order Review Modal & Checkout Dialog
   ========================================================== */
.order-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}

.order-modal-dialog {
  background: var(--bg-card);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.75);
  animation: modalEnter 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalEnter {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.order-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
  border-radius: 4px;
}

.modal-close-btn:hover {
  color: var(--text-primary);
}

.order-modal-body {
  padding: 1.5rem;
}

.modal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
}

.modal-table th {
  text-align: left;
  padding: 0.6rem 0.75rem;
  background: var(--bg-surface-secondary);
  color: var(--text-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-color);
}

.modal-table td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
}

.modal-summary-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.25rem;
  background: var(--bg-surface-secondary);
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Form inputs in Modal */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input {
  background: var(--bg-surface-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.65rem 0.9rem;
  color: var(--text-primary);
  font-size: 0.92rem;
  transition: all 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
  background: var(--bg-card);
}

.modal-footer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

/* Toast Floating Notifications */
.order-toast-container {
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 360px;
}

.order-toast {
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  animation: toastSlide 0.25s ease forwards;
}

.order-toast.warning {
  background: #1e293b;
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.order-toast.success {
  background: #1e293b;
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

@keyframes toastSlide {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================
   8. Safety Tips Page (Do's & Don'ts Split Grid)
   ========================================================== */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.safety-card {
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.safety-card.dos, .dos-card {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.safety-card.dos h3, .dos-card h3 {
  color: #10b981;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.safety-card.donts, .donts-card {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.safety-card.donts h3, .donts-card h3 {
  color: #ef4444;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.safety-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.safety-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.safety-list .icon-check { color: #10b981; flex-shrink: 0; margin-top: 2px; }
.safety-list .icon-cross { color: #ef4444; flex-shrink: 0; margin-top: 2px; }

/* ==========================================================
   9. About Us & Contact Us Forms & Cards
   ========================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-accent);
}

.contact-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

/* ==========================================================
   10. Global Footer & Statutory Supreme Court Notice
   ========================================================== */
.site-footer {
  margin-top: auto;
  background: #04070c;
  border-top: 1px solid var(--border-color);
  padding: 3.5rem 0 1.5rem 0;
  color: var(--text-secondary);
}

[data-theme="light"] .site-footer {
  background: #0f172a;
  color: #cbd5e1;
  border-top: 1px solid #1e293b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 580px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col h5 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--gold-light);
  transform: translateX(3px);
  display: inline-block;
}

/* Distinct Legal Compliance Box */
.compliance-box {
  background: rgba(239, 68, 68, 0.08);
  border-left: 4px solid #ef4444;
  border-radius: 8px;
  padding: 14px 18px;
  margin: 1.5rem 0 2rem 0;
  font-size: 0.84rem;
  color: #cbd5e1;
  line-height: 1.6;
}

.compliance-box strong {
  color: #f87171;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ==========================================================
   11. Responsive Refinements
   ========================================================== */
@media (max-width: 991px) {
  .desktop-nav,
  .main-nav {
    display: none !important;
  }

  .mobile-menu-toggle,
  .mobile-nav-toggle,
  .mobile-toggle {
    display: flex !important;
  }

  .btn-cta-calculate,
  .nav-order-cta {
    padding: 0.5rem 0.9rem;
    font-size: 0.85rem;
  }

  .top-utility-bar .sale-badge {
    display: none;
  }
}

@media (max-width: 768px) {
  .main-site-header,
  .site-header {
    height: 64px;
  }

  .calc-dock-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .calc-metrics-group {
    justify-content: space-between;
    gap: 0.75rem;
  }

  .calc-value {
    font-size: 1rem;
  }

  .calc-value.net-amount {
    font-size: 1.15rem;
  }

  #btn-open-order-modal {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .top-utility-bar .utility-left a:last-child {
    display: none;
  }

  .btn-cta-calculate,
  .nav-order-cta {
    display: none !important;
  }

  .brand-title {
    font-size: 1.1rem;
  }

  .brand-sub {
    font-size: 0.65rem;
  }

  .logo-icon,
  .brand-icon {
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
  }
}
