/* =========================================================
   NirmanKendra - Ultra-Classy Luxury B2B Construction Mandi
   Fully Responsive Multi-Resolution Design System
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Royal Electric Blue & Sapphire Luxury Palette */
  --primary: #0062FF;
  --primary-hover: #004ECC;
  --primary-dark: #003AA8;
  --primary-light: #EFF6FF;
  --primary-border: #BFDBFE;
  --primary-gradient: linear-gradient(135deg, #0062FF 0%, #0045B5 100%);
  --primary-glow: rgba(0, 98, 255, 0.28);
  
  /* Canvas, Backgrounds & Frosted Glass */
  --bg-main: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #F1F5F9;
  --bg-surface-hover: #E8EEF5;
  --bg-glass: rgba(255, 255, 255, 0.92);
  --bg-glass-border: rgba(255, 255, 255, 0.6);

  /* High Contrast Deep Slate Typography */
  --text-heading: #0B132B;
  --text-main: #0F172A;
  --text-muted: #334155;
  --text-subtle: #64748B;
  --text-light: #94A3B8;
  
  /* Metallic Borders & Dividers */
  --border-color: #E2E8F0;
  --border-subtle: #F1F5F9;
  --border-card: rgba(226, 232, 240, 0.85);
  --border-focus: #0062FF;
  
  /* Status Accents */
  --success: #10B981;
  --success-bg: #ECFDF5;
  --success-border: #A7F3D0;
  --warning: #F59E0B;
  --warning-bg: #FFFBEB;
  --warning-border: #FDE68A;
  --info: #0284C7;
  --info-bg: #F0F9FF;
  --info-border: #BAE6FD;
  --danger: #EF4444;
  --danger-bg: #FEF2F2;
  --danger-border: #FECACA;
  
  /* Smooth Rounded Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 22px;
  --radius-2xl: 32px;
  --radius-pill: 9999px;
  
  /* Luxury Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 24px 50px -10px rgba(11, 19, 43, 0.12), 0 10px 20px -5px rgba(0, 0, 0, 0.04);
  --shadow-card-hover: 0 20px 40px -8px rgba(0, 98, 255, 0.12), 0 8px 20px -4px rgba(0, 0, 0, 0.04);
  --shadow-btn: 0 6px 20px rgba(0, 98, 255, 0.35);
  --shadow-btn-hover: 0 10px 28px rgba(0, 98, 255, 0.45);
  
  /* Fonts */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  background-image: radial-gradient(ellipse at 85% 15%, rgba(0, 98, 255, 0.04) 0%, transparent 60%),
                    radial-gradient(ellipse at 15% 75%, rgba(2, 132, 199, 0.03) 0%, transparent 60%);
  background-attachment: fixed;
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
}

/* =========================================================
   3-SECOND BRAND LOGO SPLASH OVERLAY
   ========================================================= */
.hero-logo-splash {
  position: fixed;
  inset: 0;
  background: #FFFFFF;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s ease;
}

.hero-logo-splash.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-container {
  text-align: center;
  max-width: 520px;
  width: 90%;
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.splash-logo-wrapper {
  position: relative;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.splash-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid transparent;
}

.ring-outer {
  width: 100%;
  height: 100%;
  border-top-color: var(--primary);
  border-right-color: var(--primary);
  animation: spinRing 2s linear infinite;
}

.ring-inner {
  width: 78%;
  height: 78%;
  border-bottom-color: #0284C7;
  border-left-color: #0284C7;
  animation: spinRingRev 1.5s linear infinite;
}

@keyframes spinRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spinRingRev {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

.splash-logo-box {
  width: 58px;
  height: 58px;
  background: var(--primary-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-size: 26px;
  box-shadow: var(--shadow-btn);
  z-index: 2;
}

.splash-pretitle {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--primary);
  text-transform: uppercase;
}

.splash-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 5vw, 34px);
  font-weight: 900;
  color: var(--text-heading);
  letter-spacing: -0.8px;
  margin-top: 4px;
}

.splash-title .highlight-blue {
  color: var(--primary);
}

.splash-tagline-hindi {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  font-style: italic;
  margin: 4px 0;
}

.splash-subtitle {
  font-size: 13px;
  color: var(--text-subtle);
  max-width: 440px;
}

.splash-progress-wrapper {
  width: 100%;
  margin-top: 8px;
}

.splash-progress-bar {
  width: 100%;
  height: 6px;
  background: #E2E8F0;
  border-radius: 6px;
  overflow: hidden;
}

.splash-progress-fill {
  height: 100%;
  background: var(--primary-gradient);
  width: 0%;
  transition: width 0.05s linear;
}

.splash-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  font-size: 11.5px;
  color: var(--text-muted);
}

.splash-countdown {
  font-weight: 800;
  color: var(--primary);
}

.splash-skip-btn {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-heading);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.splash-skip-btn:hover {
  background: #E2E8F0;
  color: var(--primary);
}

/* =========================================================
   TOP NAVIGATION BAR (Adaptive Multi-Resolution Header)
   ========================================================= */
.navbar {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 10px 24px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.03);
}

.nav-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
}

/* =========================================================
   UNIQUE LUXURY BRAND LOGO ("नींव से शिखर तक" NK Pinnacle Crest)
   ========================================================= */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon-box.unique-crest-box {
  width: 40px;
  height: 40px;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 98, 255, 0.12), 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  position: relative;
}

.brand-logo:hover .logo-icon-box.unique-crest-box {
  transform: translateY(-2px) scale(1.05);
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(0, 98, 255, 0.22);
}

.brand-unique-svg {
  width: 30px;
  height: 30px;
  display: block;
}

.brand-title-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 900;
  color: var(--text-heading);
  letter-spacing: -0.6px;
  display: flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
  line-height: 1.1;
}

.brand-title .brand-accent {
  color: var(--primary);
}

.brand-tagline-luxury {
  font-size: 9.5px;
  font-weight: 700;
  color: #64748B;
  letter-spacing: 0.3px;
  white-space: nowrap;
  line-height: 1.2;
}

.brand-tagline-luxury .tag-accent {
  color: var(--primary);
  font-weight: 800;
}

.brand-tagline-luxury .tag-trust {
  color: #D97706;
  font-weight: 800;
}

/* Splash Screen Unique Luxury Logo */
.splash-logo-box.unique-splash {
  width: 72px;
  height: 72px;
  background: #FFFFFF;
  border: 2px solid #BFDBFE;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 36px rgba(0, 98, 255, 0.2);
}

.splash-logo-box.unique-splash .brand-unique-svg {
  width: 52px;
  height: 52px;
}

/* Nav Menu Links (Framer Motion-style Fluid Sliding Pill) */
.nav-menu {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(241, 245, 249, 0.85);
  padding: 3px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
  gap: 2px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
  flex-shrink: 0;
}

/* Fluid Sliding Pill */
.nav-sliding-indicator {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 0;
  width: 0px;
  background: #FFFFFF;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 98, 255, 0.15);
  z-index: 1;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1),
              width 0.35s cubic-bezier(0.34, 1.4, 0.64, 1),
              opacity 0.2s ease;
  will-change: transform, width;
}

.nav-link {
  position: relative;
  z-index: 2;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-subtle);
  text-decoration: none;
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  transition: color 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.15s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  user-select: none;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--text-heading);
}

.nav-link:active {
  transform: scale(0.95);
}

.nav-link.active {
  color: var(--primary);
  font-weight: 800;
}

/* Right Corner Actions Container */
.nav-right-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* =========================================================
   LOCATION MODULE (Single-Line Crisp Horizontal Pill)
   ========================================================= */
.site-selector-pill {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: all 0.2s ease;
  flex-shrink: 0;
  white-space: nowrap;
  user-select: none;
}

.site-selector-pill:hover {
  border-color: var(--primary);
  background-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.site-icon {
  color: var(--primary);
  font-size: 14px;
  flex-shrink: 0;
}

.site-info-compact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.site-name {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-heading);
  white-space: nowrap;
}

.site-road-tag {
  font-size: 10px;
  font-weight: 800;
  color: #059669;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  display: inline-block;
}

.site-selector-pill .arrow-icon {
  font-size: 10px;
  color: var(--text-subtle);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.site-selector-pill:hover .arrow-icon {
  transform: translateY(1px);
}

/* Cart Trigger Action */
.cart-trigger-btn {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  color: var(--text-heading);
  font-size: 12.5px;
  font-weight: 800;
  padding: 6px 14px;
  height: 38px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: var(--shadow-xs);
  transition: all 0.2s ease;
  flex-shrink: 0;
  white-space: nowrap;
}

.cart-trigger-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.cart-badge {
  background: var(--primary-gradient);
  color: #FFF;
  font-size: 10.5px;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 6px rgba(0, 98, 255, 0.3);
}

.cart-tonnage {
  background: var(--bg-surface-elevated);
  color: var(--text-muted);
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
}

.portal-nav-btn {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 13px;
  height: 38px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-xs);
  flex-shrink: 0;
  white-space: nowrap;
}

.portal-nav-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.portal-nav-btn.admin-btn:hover {
  border-color: var(--warning);
  color: #B45309;
  background: var(--warning-bg);
}

.auth-pill-btn {
  background: var(--text-heading);
  color: #FFF;
  border: none;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 16px;
  height: 38px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 3px 10px rgba(11, 19, 43, 0.15);
  flex-shrink: 0;
  white-space: nowrap;
}

.auth-pill-btn:hover {
  background: var(--primary);
  box-shadow: var(--shadow-btn);
  transform: translateY(-1px);
}

/* Mobile Hamburger Button (Hidden on Desktop) */
.mobile-hamburger-btn {
  display: none;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  color: var(--text-heading);
  font-size: 16px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* =========================================================
   LIVE MANDI SPOT RATE TICKER (Classy Thin Strip)
   ========================================================= */
.ticker-bar {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  padding: 8px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.ticker-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
  letter-spacing: 0.5px;
  font-size: 11px;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 18px;
  animation: tickerScroll 40s linear infinite;
  white-space: nowrap;
}

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

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-surface-elevated);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
  transition: border-color 0.2s;
}

.ticker-name {
  color: var(--text-muted);
  font-weight: 600;
}

.ticker-price {
  color: var(--text-heading);
  font-weight: 800;
}

.ticker-change.up {
  color: var(--success);
  font-weight: 800;
}

.ticker-change.down {
  color: var(--danger);
  font-weight: 800;
}

.ticker-change.neutral {
  color: var(--text-subtle);
  font-weight: 600;
}

/* =========================================================
   HERO SECTION (Luxury Classy Layout Matching Screenshot)
   ========================================================= */
.hero-section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 44px 24px 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 40px;
  align-items: center;
}

/* Left Hero Column */
.hero-left-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Category Badge Pill */
.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  width: fit-content;
  box-shadow: 0 2px 6px rgba(0, 98, 255, 0.08);
}

.pill-dot {
  width: 7px;
  height: 7px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary-glow);
}

/* Hero Main Title */
.hero-main-title {
  font-family: var(--font-heading);
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 900;
  color: var(--text-heading);
  line-height: 1.08;
  letter-spacing: -1.5px;
}

/* Animated Subheading */
.hero-dynamic-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 600;
  color: var(--text-muted);
}

.hero-dynamic-subtitle .highlight-text {
  color: var(--primary);
  font-weight: 800;
}

.typing-cursor {
  display: inline-block;
  color: var(--primary);
  font-weight: 300;
  animation: blinkCursor 0.8s infinite;
}

@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Hero Authority Description */
.hero-paragraph {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 620px;
}

.hero-paragraph strong {
  color: var(--text-heading);
  font-weight: 800;
}

/* Circular Social & Quick Contact Action Buttons */
.hero-social-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 2px;
}

.social-circle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.social-circle-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.social-circle-btn.btn-email { color: #EF4444; }
.social-circle-btn.btn-email:hover { background: #FEF2F2; border-color: #FECACA; }

.social-circle-btn.btn-phone { color: #0284C7; }
.social-circle-btn.btn-phone:hover { background: #F0F9FF; border-color: #BAE6FD; }

.social-circle-btn.btn-whatsapp { color: #10B981; }
.social-circle-btn.btn-whatsapp:hover { background: #ECFDF5; border-color: #A7F3D0; }

.social-circle-btn.btn-location { color: #F59E0B; }
.social-circle-btn.btn-location:hover { background: #FFFBEB; border-color: #FDE68A; }

/* Hero CTA Pill Buttons */
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.btn-pill-primary {
  background: var(--primary-gradient);
  color: #FFFFFF;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 800;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-btn);
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-pill-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn-hover);
}

.btn-pill-secondary {
  background: #FFFFFF;
  color: var(--text-heading);
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-pill-secondary:hover {
  background: var(--bg-surface-elevated);
  border-color: #CBD5E1;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Right Hero Showcase Frame */
.hero-showcase-frame {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-2xl);
  padding: 24px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.showcase-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 14px;
}

.showcase-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--success-bg);
  border: 1px solid var(--success-border);
  color: var(--success);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.showcase-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 800;
  color: var(--text-heading);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
  animation: pulseGreen 1.6s infinite;
}

@keyframes pulseGreen {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.5; }
}

/* Showcase Metrics Grid */
.showcase-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.metric-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
  transition: all 0.2s;
}

.metric-box:hover {
  background: #FFFFFF;
  border-color: var(--primary-border);
  box-shadow: var(--shadow-sm);
}

.metric-title {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}

.metric-val {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 900;
  color: var(--text-heading);
}

.metric-sub {
  font-size: 10.5px;
  color: var(--success);
  font-weight: 700;
  margin-top: 2px;
}

/* Interactive Weighbridge Slip Ticket Card */
.showcase-weighbridge-card {
  background: linear-gradient(135deg, #FAFCFF 0%, #EFF6FF 100%);
  border: 1px dashed var(--primary-border);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: inset 0 1px 4px rgba(0, 98, 255, 0.04);
}

.wb-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.wb-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.wb-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  font-size: 11px;
}

.wb-item {
  display: flex;
  flex-direction: column;
}

.wb-label {
  color: var(--text-subtle);
  font-weight: 600;
}

.wb-val {
  font-weight: 800;
  color: var(--text-heading);
}

/* =========================================================
   TRUST & GUARANTEE STRIP
   ========================================================= */
.trust-strip {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px 32px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.trust-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.trust-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-border);
  box-shadow: var(--shadow-md);
}

.trust-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.trust-content h4 {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 2px;
}

.trust-content p {
  font-size: 11px;
  color: var(--text-subtle);
  margin: 0;
}

/* =========================================================
   MAIN APP VIEWS & SECTION CONTAINERS
   ========================================================= */
.main-content {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px 64px;
}

.app-view {
  display: none;
  opacity: 0;
  transform: translateY(10px) scale(0.995);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-view.active {
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: fluidViewEnter 0.38s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fluidViewEnter {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.99);
    filter: blur(3px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
  }
}

.section-container {
  margin-bottom: 40px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 20px;
  gap: 14px;
  flex-wrap: wrap;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3.5vw, 28px);
  font-weight: 900;
  color: var(--text-heading);
  letter-spacing: -0.6px;
}

.section-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Modern Search Box */
.search-box {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 300px;
  max-width: 100%;
  box-shadow: var(--shadow-xs);
  transition: all 0.2s ease;
}

.search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 98, 255, 0.12);
}

.search-box i {
  color: var(--text-subtle);
  font-size: 13px;
}

.search-box input {
  background: transparent;
  border: none;
  color: var(--text-heading);
  font-size: 12.5px;
  font-family: var(--font-main);
  outline: none;
  width: 100%;
}

/* Custom Select Dropdown */
.custom-select {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  color: var(--text-heading);
  font-family: var(--font-main);
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  outline: none;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: all 0.2s;
}

/* =========================================================
   CATEGORY GRID (Luxury Acrylic Cards)
   ========================================================= */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.category-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.category-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.category-card.active {
  background: var(--primary-light);
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(0, 98, 255, 0.16);
}

.category-card .cat-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-heading);
  transition: all 0.2s ease;
}

.category-card:hover .cat-icon,
.category-card.active .cat-icon {
  background: var(--primary-gradient);
  color: #FFF;
  box-shadow: 0 4px 10px rgba(0, 98, 255, 0.3);
}

.category-card .cat-name {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text-heading);
}

.category-card .cat-count {
  font-size: 10.5px;
  color: var(--text-subtle);
}

/* =========================================================
   PRODUCT CARDS GRID (Executive Luxury Cards)
   ========================================================= */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.product-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

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

.product-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.product-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.product-type-badge.type-bulk {
  background: var(--warning-bg);
  border: 1px solid var(--warning-border);
  color: #B45309;
}

.product-type-badge.type-packaged {
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  color: var(--primary);
}

.product-icon-badge {
  width: 38px;
  height: 38px;
  background: var(--bg-surface-elevated);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 18px;
}

.product-brand {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-name {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  color: var(--text-heading);
  margin: 4px 0 6px;
  line-height: 1.35;
}

.product-specs {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.product-pricing-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 16px;
}

.price-main-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.price-label {
  font-size: 10.5px;
  color: var(--text-subtle);
  font-weight: 700;
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  color: var(--primary);
}

.price-unit {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 700;
}

.price-tonnage-hint {
  font-size: 11px;
  color: var(--text-subtle);
  margin-top: 4px;
  display: flex;
  justify-content: space-between;
}

.wholesale-tier-badge {
  color: var(--success);
  font-weight: 800;
}

/* Quantity & Add to Cart Controls */
.product-actions-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.qty-control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.quick-presets-row {
  display: flex;
  gap: 5px;
}

.preset-chip {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 10.5px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.15s;
}

.preset-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.btn-add-cart {
  background: var(--primary-gradient);
  color: #FFF;
  font-family: var(--font-main);
  font-size: 13.5px;
  font-weight: 800;
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
  box-shadow: var(--shadow-btn);
  width: 100%;
}

.btn-add-cart:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn-hover);
}

/* =========================================================
   CART & TONNAGE SLIDEOUT DRAWER
   ========================================================= */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 19, 43, 0.45);
  backdrop-filter: blur(6px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: -480px;
  width: 440px;
  max-width: 90vw;
  height: 100vh;
  background: #FFFFFF;
  z-index: 1001;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.cart-drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-drawer-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: 8px;
}

.close-drawer-btn {
  background: var(--bg-surface-elevated);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s;
}

.close-drawer-btn:hover {
  background: var(--danger-bg);
  color: var(--danger);
}

/* Tonnage Meter in Drawer */
.tonnage-meter-card {
  margin: 16px 22px;
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-lg);
  padding: 14px;
}

.meter-header {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 8px;
}

.meter-title {
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.meter-val {
  font-weight: 900;
  color: var(--text-heading);
}

.meter-progress-bar {
  width: 100%;
  height: 8px;
  background: #DBEAFE;
  border-radius: 4px;
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  background: var(--primary-gradient);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.meter-footer {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Cart Items Scroll */
.cart-items-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 0 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-item {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.cart-item-details h4 {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 2px;
}

.cart-item-sub {
  font-size: 11px;
  color: var(--text-subtle);
}

.cart-item-price {
  font-weight: 900;
  color: var(--primary);
  font-size: 14px;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--danger);
  cursor: pointer;
  font-size: 14px;
  padding: 4px;
}

/* Cart Summary & Checkout */
.cart-drawer-footer {
  padding: 20px 22px;
  border-top: 1px solid var(--border-color);
  background: #FFFFFF;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 7px;
}

.summary-line.grand-total {
  font-size: 16px;
  font-weight: 900;
  color: var(--text-heading);
  border-top: 1px dashed var(--border-color);
  padding-top: 10px;
  margin-top: 8px;
  margin-bottom: 16px;
}

.summary-line.grand-total .total-highlight {
  color: var(--primary);
  font-size: 20px;
}

.btn-checkout {
  background: var(--primary-gradient);
  color: #FFF;
  font-family: var(--font-main);
  font-size: 14.5px;
  font-weight: 800;
  padding: 13px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow-btn);
  width: 100%;
  transition: all 0.2s;
}

.btn-checkout:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn-hover);
}

/* =========================================================
   TABLES & ERP STATS CARDS (Fully Responsive Auto-Fit)
   ========================================================= */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}

.stat-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.stat-icon.bg-amber { background: var(--warning-bg); color: #B45309; }
.stat-icon.bg-blue { background: var(--primary-light); color: var(--primary); }
.stat-icon.bg-green { background: var(--success-bg); color: var(--success); }
.stat-icon.bg-purple { background: #F3E8FF; color: #7E22CE; }

.stat-num {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  color: var(--text-heading);
  display: block;
}

.stat-label {
  font-size: 11.5px;
  color: var(--text-subtle);
  font-weight: 700;
}

.admin-orders-table-wrapper {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
  width: 100%;
  -webkit-overflow-scrolling: touch;
}

.table-heading {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 16px;
}

.admin-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  text-align: left;
  font-size: 12.5px;
}

.admin-table th {
  background: var(--bg-surface-elevated);
  color: var(--text-muted);
  font-weight: 800;
  padding: 11px 14px;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.admin-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-heading);
  vertical-align: middle;
}

.admin-table tr:hover td {
  background-color: var(--bg-surface-elevated);
}

.order-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.order-badge.pending {
  background: var(--warning-bg);
  border: 1px solid var(--warning-border);
  color: #B45309;
}

.order-badge.dispatched {
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  color: var(--primary);
}

.order-badge.delivered {
  background: var(--success-bg);
  border: 1px solid var(--success-border);
  color: var(--success);
}

/* =========================================================
   SITE ADDRESS & ROAD CLEARANCE MODAL STYLES
   ========================================================= */
.site-options-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.site-option-card {
  background: var(--bg-surface-elevated);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.site-option-card:hover {
  background: #FFFFFF;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.site-option-card.selected {
  background: var(--primary-light);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 98, 255, 0.15);
}

.site-option-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 16px;
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
}

.site-option-content {
  flex: 1;
}

.site-option-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
}

.site-option-sub {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 4px;
}

.site-road-spec {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  margin-top: 6px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.spec-wide {
  background: #ECFDF5;
  color: #059669;
  border: 1px solid #A7F3D0;
}

.spec-medium {
  background: #EFF6FF;
  color: var(--primary);
  border: 1px solid var(--primary-border);
}

.spec-narrow {
  background: #FFFBEB;
  color: #B45309;
  border: 1px solid #FDE68A;
}

/* =========================================================
   MODALS (Clean Luxury)
   ========================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 19, 43, 0.55);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

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

.auth-modal-card, .portals-modal-card, .general-modal-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-2xl);
  padding: 30px;
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-xl);
  max-height: 90vh;
  overflow-y: auto;
}

.portals-modal-card {
  max-width: 840px;
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--bg-surface-elevated);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s;
}

.modal-close-btn:hover {
  background: var(--danger-bg);
  color: var(--danger);
}

.auth-modal-header {
  text-align: center;
  margin-bottom: 20px;
}

.auth-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 12px;
  box-shadow: 0 4px 12px rgba(0, 98, 255, 0.15);
}

.auth-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  color: var(--text-heading);
}

.auth-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 3px;
}

/* Social Login Buttons */
.social-oauth-section {
  margin-bottom: 18px;
}

.social-oauth-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.social-oauth-buttons-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.btn-social {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  color: var(--text-heading);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.auth-divider {
  display: flex;
  align-items: center;
  margin: 16px 0;
  color: var(--text-light);
  font-size: 10.5px;
  font-weight: 800;
}

.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-color);
}

.auth-divider span {
  padding: 0 10px;
}

.input-group {
  margin-bottom: 12px;
  text-align: left;
}

.input-group label {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 5px;
}

.phone-input-wrap {
  display: flex;
  align-items: center;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.country-prefix {
  padding: 9px 12px;
  background: #E2E8F0;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text-heading);
}

.phone-input-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 9px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-heading);
  outline: none;
}

/* Domain Switcher Modal Grid */
.portals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.portal-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 12px;
}

.portal-card:hover {
  background: #FFFFFF;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.portal-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.portal-card-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-heading);
}

.portal-card-desc {
  font-size: 11px;
  color: var(--text-subtle);
  line-height: 1.35;
}

.portal-badge {
  font-size: 10px;
  font-weight: 800;
  color: var(--primary);
  margin-left: auto;
  white-space: nowrap;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #0B132B;
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-xl);
  animation: toastSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* =========================================================
   DELIVERY SITE ADDRESS GIS SELECTOR MODAL
   ========================================================= */
.site-modal-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-2xl);
  padding: 28px;
  max-width: 580px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-xl);
  max-height: 90vh;
  overflow-y: auto;
}

.site-search-wrap {
  position: relative;
  margin: 16px 0;
}

.site-search-wrap input {
  width: 100%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  padding: 10px 18px 10px 42px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-heading);
  outline: none;
  transition: all 0.2s;
}

.site-search-wrap input:focus {
  border-color: var(--primary);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(0, 98, 255, 0.12);
}

.site-search-wrap i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-subtle);
  font-size: 14px;
}

.site-options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 340px;
  overflow-y: auto;
}

.site-option-card {
  background: var(--bg-surface-elevated);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-option-card:hover {
  background: #FFFFFF;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.site-option-card.active {
  background: var(--primary-light);
  border-color: var(--primary);
}

.site-opt-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-opt-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.site-opt-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-heading);
}

.site-opt-sub {
  font-size: 11.5px;
  color: var(--text-subtle);
  margin-top: 2px;
}

.site-opt-badge {
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.badge-green-dumper {
  background: #ECFDF5;
  color: #059669;
  border: 1px solid #A7F3D0;
}

.badge-orange-small {
  background: #FFFBEB;
  color: #D97706;
  border: 1px solid #FDE68A;
}

/* =========================================================
   MOBILE OFF-CANVAS NAVIGATION DRAWER
   ========================================================= */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: #FFFFFF;
  z-index: 3000;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 24px 20px;
  overflow-y: auto;
}

.mobile-nav-drawer.active {
  right: 0;
}

.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 19, 43, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 16px;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-drawer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-heading);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
  width: 100%;
}

.mobile-drawer-link:hover, .mobile-drawer-link.active {
  background: var(--primary-light);
  color: var(--primary);
}

.mobile-drawer-link i {
  font-size: 16px;
  width: 20px;
  text-align: center;
  color: var(--primary);
}

.mobile-drawer-section-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-subtle);
  margin: 18px 0 8px 12px;
}

/* =========================================================
   COMPREHENSIVE MULTI-RESOLUTION MEDIA QUERIES (Auto-Fit All Screens)
   ========================================================= */

/* Desktop & Standard Laptops (1200px - 1400px e.g. 1366px screen) */
@media (max-width: 1400px) {
  .nav-menu {
    gap: 1px;
    padding: 2px;
  }
  .nav-link {
    padding: 6px 11px;
    font-size: 12px;
  }
  .site-selector-pill {
    padding: 4px 10px;
    height: 36px;
  }
  .site-selector-pill .site-road-tag {
    display: none; /* Hide road tag on compact laptops to keep zero overflow */
  }
  .hero-section {
    padding: 24px 20px 20px;
  }
  .hero-main-title {
    font-size: 38px;
  }
  .hero-paragraph {
    font-size: 13.5px;
    line-height: 1.6;
    max-width: 540px;
  }
}

/* Medium Laptops & Tablets Landscape (992px - 1199px) */
@media (max-width: 1100px) {
  .nav-menu {
    display: none; /* Collapses into mobile/tablet drawer */
  }
  .mobile-hamburger-btn {
    display: inline-flex;
  }
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

/* Tablets Portrait (768px - 991px) */
@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-showcase-frame {
    max-width: 580px;
    margin: 0 auto;
    width: 100%;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

/* Mobile Devices (< 768px) */
@media (max-width: 768px) {
  .navbar {
    padding: 8px 12px;
  }
  .nav-container {
    gap: 6px;
  }
  .brand-title span:last-child {
    font-size: 16px;
  }
  .logo-icon-box {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  .site-selector-pill {
    padding: 4px 8px;
    height: 34px;
    gap: 4px;
  }
  .site-name {
    font-size: 11px;
    max-width: 85px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .site-selector-pill .site-road-tag {
    display: none;
  }
  .cart-tonnage {
    display: none;
  }
  .cart-trigger-btn {
    padding: 5px 10px;
    height: 34px;
    font-size: 12px;
  }
  .auth-pill-btn span {
    display: none;
  }
  .auth-pill-btn {
    padding: 6px 10px;
    height: 34px;
    min-width: 34px;
    justify-content: center;
  }
  .mobile-hamburger-btn {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
  .ticker-bar {
    padding: 6px 12px;
    font-size: 11px;
  }
  .hero-section {
    padding: 20px 12px 18px;
  }
  .hero-main-title {
    font-size: clamp(26px, 6.5vw, 34px);
    letter-spacing: -0.8px;
  }
  .hero-dynamic-subtitle {
    font-size: 14px;
  }
  .hero-paragraph {
    font-size: 13px;
    line-height: 1.55;
  }
  .hero-social-row {
    gap: 10px;
  }
  .social-circle-btn {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }
  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .btn-pill-primary, .btn-pill-secondary {
    justify-content: center;
    width: 100%;
    padding: 11px 18px;
    font-size: 13px;
  }
  .hero-showcase-frame {
    padding: 18px 14px;
    border-radius: var(--radius-xl);
  }
  .showcase-metrics {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .metric-box {
    padding: 10px;
  }
  .metric-val {
    font-size: 18px;
  }
  .wb-grid {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .products-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .search-box {
    width: 100%;
  }
  .main-content {
    padding: 0 12px 60px;
  }
  .categories-bar {
    gap: 6px;
    padding-bottom: 6px;
  }
  .cat-pill {
    padding: 6px 12px;
    font-size: 11.5px;
  }
}

/* Small Mobile Phones (< 480px) */
@media (max-width: 480px) {
  .site-name {
    max-width: 70px;
  }
  .brand-title {
    font-size: 16px;
  }
  .showcase-metrics {
    grid-template-columns: 1fr;
  }
  .cart-badge {
    padding: 1px 5px;
    font-size: 9.5px;
  }
}
