/* ===== CSS RESET & CUSTOM PROPERTIES ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== LIGHT THEME (DEFAULT) ===== */
:root {
  /* Brand Colors */
  --primary: #D41920;
  --primary-dark: #A51318;
  --primary-light: #E84249;
  --primary-glow: rgba(212, 25, 32, 0.3);

  /* Surface / Background */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F5F6FA;
  --bg-tertiary: #ECEDF2;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F8F9FC;
  --bg-elevated: #FFFFFF;
  --bg-input: #F5F6FA;
  --bg-badge: rgba(212, 25, 32, 0.06);
  --bg-icon: rgba(212, 25, 32, 0.07);
  --bg-glass: rgba(255, 255, 255, 0.85);

  /* Text */
  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-tertiary: #475569;
  --text-muted: #576071;
  --text-inverse: #F8F9FC;

  /* Borders */
  --border-primary: rgba(0, 0, 0, 0.08);
  --border-secondary: rgba(0, 0, 0, 0.05);
  --border-hover: rgba(212, 25, 32, 0.2);
  --border-input: rgba(0, 0, 0, 0.12);
  --border-input-focus: var(--primary);

  /* Accent / Water Blue */
  --accent-blue: #1570CC;
  --accent-blue-dark: #1260B0;
  --accent-blue-glow: rgba(30, 144, 255, 0.15);

  /* Success/Trust */
  --trust-green: #16A34A;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --shadow-glow-red: 0 0 30px rgba(212, 25, 32, 0.12);
  --shadow-glow-blue: 0 0 30px rgba(30, 144, 255, 0.1);
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 8px 30px rgba(0, 0, 0, 0.12);

  /* Navbar */
  --nav-bg: rgba(255, 255, 255, 0.9);
  --nav-border: rgba(0, 0, 0, 0.06);
  --nav-link: #4B5563;
  --nav-link-hover-bg: rgba(0, 0, 0, 0.04);

  /* Hero (always dark) */
  --hero-text: #F8F9FC;
  --hero-muted: #9DA3B3;

  /* Footer (always dark) */
  --footer-bg: #111827;
  --footer-text: #D1D5DB;
  --footer-muted: #9CA3AF;
  --footer-border: rgba(255, 255, 255, 0.06);
  --footer-card-bg: rgba(255, 255, 255, 0.04);

  /* Toast */
  --toast-bg: #1A1A25;
  --toast-text: #F8F9FC;
  --toast-border: rgba(255, 255, 255, 0.08);

  /* Section number watermark */
  --watermark-opacity: 0.04;

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Outfit', 'Inter', sans-serif;

  /* Spacing */
  --section-padding: clamp(45px, 6vw, 80px);
  --container-max: 1280px;

  /* Borders */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== DARK THEME ===== */
[data-theme="dark"] {
  --bg-primary: #0A0A0F;
  --bg-secondary: #12121A;
  --bg-tertiary: #1A1A25;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.05);
  --bg-elevated: #1A1A25;
  --bg-input: rgba(255, 255, 255, 0.04);
  --bg-badge: rgba(212, 25, 32, 0.1);
  --bg-icon: rgba(212, 25, 32, 0.08);
  --bg-glass: rgba(10, 10, 15, 0.85);

  --text-primary: #F8F9FC;
  --text-secondary: #E8EAF0;
  --text-tertiary: #C8CCD6;
  --text-muted: #9DA3B3;
  --text-inverse: #111827;

  --border-primary: rgba(255, 255, 255, 0.06);
  --border-secondary: rgba(255, 255, 255, 0.04);
  --border-hover: rgba(212, 25, 32, 0.25);
  --border-input: rgba(255, 255, 255, 0.1);

  --accent-blue: #1E90FF;

  --trust-green: #22C55E;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
  --shadow-glow-red: 0 0 40px rgba(212, 25, 32, 0.25);
  --shadow-glow-blue: 0 0 40px rgba(30, 144, 255, 0.2);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-card-hover: 0 8px 30px rgba(0, 0, 0, 0.35);

  --nav-bg: rgba(10, 10, 15, 0.85);
  --nav-border: rgba(255, 255, 255, 0.06);
  --nav-link: #C8CCD6;
  --nav-link-hover-bg: rgba(255, 255, 255, 0.06);

  --footer-bg: #12121A;

  --toast-bg: #1A1A25;
  --toast-border: rgba(255, 255, 255, 0.08);

  --watermark-opacity: 0.03;
}

/* ===== BASE STYLES ===== */
html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: 80px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.4s ease, color 0.4s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

/* ===== UTILITY CLASSES ===== */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  background: var(--bg-badge);
  border: 1px solid var(--border-hover);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-badge svg {
  width: 14px;
  height: 14px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-primary);
}

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

[data-theme="dark"] .section-title {
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-tertiary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="dark"] .section-title .highlight {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

.reveal-delay-5 {
  transition-delay: 0.5s;
}

/* ===== PRELOADER ===== */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

#preloader .logo-preload {
  width: 100px;
  animation: preloaderPulse 1.5s ease-in-out infinite;
}

#preloader .loader-bar {
  width: 200px;
  height: 3px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
  overflow: hidden;
}

#preloader .loader-bar::after {
  content: '';
  display: block;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-full);
  animation: loadingSlide 1.2s ease-in-out infinite;
}

@keyframes preloaderPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

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

  100% {
    transform: translateX(230%);
  }
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition-medium);
  background: transparent;
}

.navbar.scrolled {
  padding: 12px 0;
  background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid var(--nav-border);
  box-shadow: var(--shadow-md);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  max-width: 1650px;
  width: 95%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  flex-shrink: 0;
}

.nav-logo img {
  height: 56px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-fast);
}

.navbar.scrolled .nav-logo img {
  height: 46px;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.nav-logo-text .brand-name {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.2vw, 1.15rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.5px;
  line-height: 1.2;
  white-space: normal;
  max-width: 260px;
  overflow-wrap: anywhere;
}

html[lang="ta"] .nav-logo-text .brand-name,
html[lang="kn"] .nav-logo-text .brand-name,
html[lang="te"] .nav-logo-text .brand-name,
html[lang="ml"] .nav-logo-text .brand-name,
html[lang="or"] .nav-logo-text .brand-name {
  max-width: 130px;
}

/* On hero (before scroll), always white text */
.navbar:not(.scrolled) .nav-logo-text .brand-name {
  color: #F8F9FC;
}

.nav-logo-text .brand-tagline {
  font-size: clamp(0.55rem, 0.8vw, 0.65rem);
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  flex-shrink: 0;
}

.nav-links a,
.nav-profile-link,
.theme-toggle,
.nav-cart-trigger {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.nav-links a {
  position: relative;
  padding: 8px clamp(8px, 1.2vw, 18px);
  font-size: clamp(0.8rem, 1vw, 0.88rem);
  font-weight: 500;
  color: var(--nav-link);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  height: 38px;
}

/* On hero (before scroll), always light text */
.navbar:not(.scrolled) .nav-links a {
  color: rgba(255, 255, 255, 0.75);
}

.navbar:not(.scrolled) .nav-links a:hover,
.navbar:not(.scrolled) .nav-links a.active {
  color: #FFFFFF;
}

.nav-links a:hover {
  color: var(--text-primary);
  background: var(--nav-link-hover-bg);
}

.nav-links a.active {
  color: var(--primary);
}

/* Profile link responsiveness to transparent/scrolled states */
.nav-profile-link {
  color: var(--text-primary);
  transition: color var(--transition-fast);
  height: 38px;
}

.navbar:not(.scrolled) .nav-profile-link {
  color: rgba(255, 255, 255, 0.75) !important;
}

.navbar:not(.scrolled) .nav-profile-link:hover {
  color: #FFFFFF !important;
}


.nav-cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-left: 12px;
  padding: 0 24px !important;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  color: white !important;
  font-weight: 600 !important;
  border-radius: var(--radius-full) !important;
  box-shadow: 0 4px 20px rgba(212, 25, 32, 0.3);
  transition: var(--transition-fast);
  height: 38px;
  line-height: 1 !important;
  text-align: center;
  white-space: nowrap !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(212, 25, 32, 0.4) !important;
  background: linear-gradient(135deg, var(--primary-light), var(--primary)) !important;
}

.nav-cta.outside-drawer {
  margin-right: 15px;
  padding: 6px 14px !important;
  font-size: 0.85rem;
}

html[lang="ta"] .nav-cta,
html[lang="ml"] .nav-cta {
  white-space: normal !important;
  max-width: 90px;
  line-height: 1.1;
  text-align: center;
  font-size: 0.75rem !important;
  padding: 4px 10px !important;
  height: auto !important;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Language Switcher container styling */
.nav-translate {
  display: flex;
  align-items: center;
  margin-left: clamp(4px, 1.2vw, 12px);
  max-width: 90px !important;
  flex-shrink: 0;
}

.nav-translate select,
.lang-select-dropdown {
  font-family: inherit;
  font-size: 0.8rem;
  padding: 4px 6px;
  height: 34px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-primary);
  background: var(--bg-surface);
  color: var(--text-primary);
  cursor: pointer;
  width: 90px !important;
  max-width: 90px !important;
  box-sizing: border-box !important;
}

.navbar:not(.scrolled) .nav-translate select,
.navbar:not(.scrolled) .lang-select-dropdown {
  background: rgba(15, 15, 25, 0.6) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  font-weight: 700;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
  padding: 4px 6px;
  height: 34px;
}

.navbar:not(.scrolled) .nav-translate select option {
  background: #12121A;
  color: #ffffff !important;
}

/* Theme Toggle Button */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-sm);
  background: var(--nav-link-hover-bg);
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--text-tertiary);
  margin-left: 4px;
  flex-shrink: 0;
}

.navbar:not(.scrolled) .theme-toggle {
  border-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.08);
}

.theme-toggle:hover {
  background: var(--bg-badge);
  border-color: var(--border-hover);
  color: var(--primary);
  transform: rotate(15deg);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  transition: var(--transition-fast);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  display: none;
}

/* Light theme: show moon icon (click to switch to dark) */
:root .theme-toggle .icon-moon,
[data-theme="light"] .theme-toggle .icon-moon {
  display: block;
}

/* Dark theme: show sun icon (click to switch to light) */
[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.navbar:not(.scrolled) .nav-toggle span {
  background: #F8F9FC;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO SECTION (Always Dark) ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0A0A0F;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(10, 10, 15, 0.95) 0%,
      rgba(10, 10, 15, 0.7) 50%,
      rgba(10, 10, 15, 0.85) 100%);
}

/* Animated gradient overlay */
.hero-gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  z-index: 1;
  animation: orbFloat 8s ease-in-out infinite;
}

.hero-gradient-orb.orb-1 {
  width: 500px;
  height: 500px;
  background: var(--primary);
  top: -10%;
  right: -5%;
  animation-delay: 0s;
}

.hero-gradient-orb.orb-2 {
  width: 350px;
  height: 350px;
  background: #1E90FF;
  bottom: 10%;
  left: -5%;
  animation-delay: -3s;
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -30px) scale(1.05);
  }

  66% {
    transform: translate(-20px, 20px) scale(0.95);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 140px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-split-body {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  margin-top: -35px;
}

.hero-body-left {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding-top: 18px;
}

.hero-body-right {
  flex: 0.8;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-logo-wrapper {
  margin-bottom: 20px;
  margin-top: 0;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  margin-left: -15px;
}

/* Adjust trust features grid inside split body to stack vertically */
.hero-body-right .trust-features-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 0;
  border-top: none;
  padding-top: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.7s;
  opacity: 0;
}

.hero-body-right .trust-feature {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px 20px;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition-fast);
}

.hero-body-right .trust-feature:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.hero-body-right .feature-icon-wrapper {
  background: rgba(212, 25, 32, 0.15);
  border-color: rgba(212, 25, 32, 0.3);
  margin-top: 2px; /* Slight alignment adjustment for flex-start icon */
}

.hero-body-right .feature-text h4 {
  font-size: clamp(0.85rem, 1.1vw, 1rem);
  margin: 0;
  margin-bottom: 2px;
}

.hero-body-right .feature-text p {
  font-size: clamp(0.7rem, 0.9vw, 0.8rem);
  color: #9DA3B3;
  margin: 0;
}

@media (max-width: 1200px) {
  .hero-content {
    padding-top: 100px !important;
  }

  /* Layout split body and columns */
  .hero-split-body {
    flex-direction: column;
    gap: 6px;
    align-items: center;
    margin-top: 0;
  }

  .hero-body-left {
    width: 100%;
    align-items: center;
    text-align: center;
    padding-top: 0;
  }

  .hero-body-left h1 {
    text-align: center;
    font-size: clamp(1.6rem, 5vw, 2.2rem) !important;
  }

  .hero h1 .line {
    display: inline !important; /* Allow natural wrapping on mobile */
  }

  .hero-body-left .hero-description {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: clamp(0.9rem, 2vw, 1.05rem) !important;
  }

  .hero-body-left .hero-actions {
    justify-content: center !important;
    width: 100%;
  }

  .hero-body-right {
    width: 100%;
    max-width: 500px;
    order: -1;
    align-items: center !important;
  }

  .hero-logo-wrapper {
    justify-content: center !important;
    margin-left: 0 !important;
    margin-bottom: 0px !important;
    width: 100%;
  }

  .hero-body-right .trust-features-grid {
    display: none !important;
  }

  .hero-cri-logo {
    height: auto !important;
    max-height: 180px !important;
    max-width: 100% !important;
    object-fit: contain;
  }

  .hero-badge {
    align-self: center !important;
    margin-top: 6px !important;
    margin-bottom: 14px !important;
    font-size: 0.65rem !important;
    padding: 4px 10px !important;
    letter-spacing: 0.3px !important;
    gap: 4px !important;
    max-width: 100% !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }
  
  .hero-badge span {
    white-space: normal !important;
    text-align: center !important;
  }

  /* Stats row - wrap side-by-side with flex stretch and auto font scaling */
  .hero-stats {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 12px 10px !important;
    width: 100%;
    padding-top: 20px;
    margin-top: 18px !important;
    margin-bottom: 10px !important;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  
  .hero-stat {
    flex: 1 1 130px !important;
    min-width: 120px !important;
    align-items: center !important;
    text-align: center !important;
    padding: 6px 10px !important;
    box-sizing: border-box !important;
  }

  .hero-stat {
    border-left: none !important;
  }

  @media (min-width: 600px) {
    .hero-stat:not(:first-child) {
      border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
  }

  .hero-stat .stat-number {
    font-size: clamp(1.3rem, 4vw, 1.8rem) !important;
  }

  .hero-stat .stat-label {
    font-size: clamp(0.65rem, 2vw, 0.78rem) !important;
    line-height: 1.3;
    margin-top: 4px;
  }

  /* Dealer info block */
  .dealer-info-wrapper {
    margin-top: 20px !important;
    margin-bottom: 12px !important;
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
  }

  .dealer-info-block {
    padding: 15px 20px !important;
    width: 100%;
    box-sizing: border-box;
  }

  .dealer-info-block .dealer-phone-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    width: 100%;
  }

  .dealer-info-block .dealer-phone-icon {
    width: 28px !important;
    height: 28px !important;
  }

  .dealer-info-block .dealer-phone-icon svg {
    width: 14px !important;
    height: 14px !important;
  }

  .dealer-info-block .dealer-phone-text {
    font-size: clamp(0.85rem, 3vw, 1.05rem) !important;
    text-align: center;
    line-height: 1.3;
  }

  .dealer-info-block .dealer-subtext-row {
    font-size: clamp(0.68rem, 2vw, 0.8rem) !important;
    gap: 6px 12px !important;
    justify-content: center !important;
    width: 100%;
  }

  .dealer-info-block .dealer-subtext-row .bullet {
    display: none !important; /* Hide bullets and wrap cleanly */
  }

  /* Trust Bar */
  .hero-trust-bar {
    padding: 15px 10px !important;
    margin-top: 18px !important;
    gap: 10px !important;
    width: 100%;
  }

  .trust-badge {
    font-size: clamp(0.72rem, 2vw, 0.88rem) !important;
    text-align: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    line-height: 1.4;
  }
}

.hero-brand-container-wrapper {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.hero-brand-logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: nowrap;
  width: 100%;
}

.hero-brand-baa-col {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-brand-baa-logo {
  height: 85px;
  width: auto;
  object-fit: contain;
}

.hero-brand-baa-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.hero-brand-baa-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.hero-brand-baa-tagline {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-brand-separator {
  height: 80px;
  width: 1px;
  background: rgba(255, 255, 255, 0.25);
  align-self: center;
  margin: 0 40px;
}

.hero-brand-cri-col {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-brand-cri-col .hero-cri-logo {
  height: 220px;
  width: auto;
  object-fit: contain;
  margin-bottom: 0;
  max-width: 90%;
}

/* Animations */
.animate-from-left {
  opacity: 0;
  animation: slideInLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.2s;
}

.animate-from-right {
  opacity: 0;
  animation: slideInRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.4s;
}

.animate-zoom-in {
  opacity: 0;
  transform: scaleY(0);
  animation: scaleVertical 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.3s;
}

.animate-fade-in-up {
  opacity: 0;
  animation: fadeInUpHero 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.6s;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleVertical {
  from {
    opacity: 0;
    transform: scaleY(0);
  }

  to {
    opacity: 1;
    transform: scaleY(1);
  }
}

@keyframes fadeInUpHero {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(212, 25, 32, 0.12);
  border: 1px solid rgba(212, 25, 32, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-light);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: #22C55E;
  border-radius: 50%;
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.4);
  }
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 24px;
  color: #F8F9FC;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.5s;
  opacity: 0;
}

.hero h1 .line {
  display: block;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--primary-light), #FF6B6B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: #9DA3B3;
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 550px;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.7s;
  opacity: 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.9s;
  opacity: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.btn-full {
  width: 100% !important;
  justify-content: center !important;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 25px rgba(212, 25, 32, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(212, 25, 32, 0.5);
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.15));
  opacity: 0;
  transition: var(--transition-fast);
}

.btn-primary:hover::after {
  opacity: 1;
}

.btn-secondary {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-primary);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
}

/* Ensure secondary buttons on dark backgrounds (like hero) remain clearly styled */
.hero-actions .btn-secondary,
.layout-switcher-panel .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-actions .btn-secondary:hover,
.layout-switcher-panel .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  border-color: #FFFFFF;
}

/* Themed secondary button (for non-hero sections) */
.btn-secondary-themed {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-primary);
}

.btn-secondary-themed:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: var(--transition-fast);
}

.btn-primary:hover svg {
  transform: translateX(3px);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  width: 100%;
  margin-top: 30px;
  margin-bottom: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 25px;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 1.1s;
  opacity: 0;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 130px;
}

.hero-stat:not(:first-child) {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 30px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat .stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: #F8F9FC;
  line-height: 1;
}

.hero-stat .stat-number span {
  color: var(--primary-light);
}

.hero-stat .stat-label {
  font-size: 0.82rem;
  color: #9DA3B3;
  margin-top: 4px;
  font-weight: 500;
}

/* Floating particle dots */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--primary-light);
  border-radius: 50%;
  opacity: 0.3;
  animation: particleFloat 15s linear infinite;
}

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 0.3;
  }

  90% {
    opacity: 0.3;
  }

  100% {
    transform: translateY(-10vh) rotate(720deg);
    opacity: 0;
  }
}

/* ===== BRANDS / TRUST BAR ===== */
.trust-bar {
  padding: 50px 0;
  border-top: 1px solid var(--border-secondary);
  border-bottom: 1px solid var(--border-secondary);
  background: var(--bg-secondary);
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0.5;
  transition: var(--transition-fast);
}

.trust-item:hover {
  opacity: 1;
}

.trust-item svg {
  width: 40px;
  height: 40px;
  color: var(--text-muted);
}

.trust-item span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ===== ABOUT SECTION ===== */
.about {
  padding: var(--section-padding) 0;
  position: relative;
  background: var(--bg-primary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-wrapper img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: var(--transition-slow);
}

.about-image-wrapper:hover img {
  transform: scale(1.03);
}

.about-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-primary);
  pointer-events: none;
}

.about-experience-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  padding: 20px 28px;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-experience-badge .exp-year {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary-light);
  line-height: 1;
}

.about-experience-badge .exp-text {
  font-size: 0.8rem;
  color: #9DA3B3;
  font-weight: 500;
}

.about-content p {
  color: var(--text-tertiary);
  margin-bottom: 24px;
  line-height: 1.8;
  font-size: 1.02rem;
}

.about-content p strong {
  color: var(--text-primary);
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 30px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-primary);
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.about-feature:hover {
  background: var(--bg-badge);
  border-color: var(--border-hover);
}

.about-feature svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

.about-feature span {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* ===== PRODUCTS SECTION ===== */
.products {
  padding: var(--section-padding) 0;
  position: relative;
  background: var(--bg-secondary);
}

.products-header {
  text-align: center;
  margin-bottom: 60px;
}

.products-header .section-subtitle,
.contact .text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-medium);
  cursor: pointer;
  box-shadow: var(--shadow-card);
}

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

.product-card-image {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: var(--bg-tertiary);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  box-sizing: border-box;
  transition: var(--transition-slow);
}

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

.product-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 14px;
  background: rgba(212, 25, 32, 0.9);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.product-card-body {
  padding: 24px;
}

.product-card-category {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.product-card-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.product-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.product-card-specs {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.product-spec {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-tertiary);
}

.product-spec svg {
  width: 14px;
  height: 14px;
  color: var(--primary);
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-primary);
}

.product-price {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--trust-green);
}

.product-enquiry-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--bg-badge);
  border: 1px solid var(--border-hover);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
  cursor: pointer;
  font-family: var(--font-primary);
}

.product-enquiry-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.product-enquiry-btn svg {
  width: 14px;
  height: 14px;
}

/* ===== WHY CHOOSE US ===== */
.why-us {
  padding: var(--section-padding) 0;
  position: relative;
  background: var(--bg-primary);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.why-card {
  position: relative;
  padding: 36px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition-medium);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  opacity: 0;
  transition: var(--transition-fast);
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card-hover);
}

.why-card:hover::before {
  opacity: 1;
}

.why-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--bg-icon);
  border: 1px solid var(--border-hover);
  color: var(--primary);
  transition: var(--transition-fast);
}

.why-card:hover .why-card-icon {
  background: var(--bg-badge);
  transform: scale(1.05);
}

.why-card-icon svg {
  width: 28px;
  height: 28px;
}

.why-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== SERVICES SECTION ===== */
.services {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.service-card {
  position: relative;
  padding: 40px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  transition: var(--transition-medium);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.service-card:hover {
  border-color: rgba(30, 144, 255, 0.2);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.service-card-number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--text-primary);
  opacity: var(--watermark-opacity);
  line-height: 1;
}

.service-card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(30, 144, 255, 0.06);
  border: 1px solid rgba(30, 144, 255, 0.12);
  color: var(--accent-blue);
  margin-bottom: 24px;
}

.service-card-icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: var(--section-padding) 0;
  position: relative;
  background: var(--bg-primary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.testimonial-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  transition: var(--transition-medium);
  box-shadow: var(--shadow-card);
}

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

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
  color: #FBBF24;
  fill: #FBBF24;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-tertiary);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #1E90FF);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: white;
  flex-shrink: 0;
}

.testimonial-author-info h4 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
}

.testimonial-author-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: var(--section-padding) 0;
  position: relative;
  background: var(--bg-secondary);
}

.cta-box {
  position: relative;
  padding: 80px 60px;
  background: linear-gradient(135deg, rgba(212, 25, 32, 0.06), rgba(212, 25, 32, 0.02));
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-xl);
  text-align: center;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: var(--primary);
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.08;
}

[data-theme="dark"] .cta-box::before {
  opacity: 0.15;
}

.cta-box h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
  color: var(--text-primary);
}

.cta-box h2 .gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--primary-light), #FF6B6B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-box p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
}

.cta-actions .btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-primary);
}

.cta-actions .btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
}

/* ===== LOCAL TRUST SECTION ===== */
.local-trust-section {
  padding: 72px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-secondary);
  border-bottom: 1px solid var(--border-secondary);
}

.local-trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  gap: 32px;
  align-items: stretch;
}

.local-trust-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.local-trust-copy h2 {
  margin: 18px 0 14px;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  font-weight: 800;
  line-height: 1.15;
}

.local-trust-copy p {
  max-width: 680px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.local-trust-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.local-trust-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.local-trust-item {
  padding: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.local-trust-label {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.local-trust-item strong {
  display: block;
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.35;
}

.local-trust-item p,
.local-trust-phone p,
.local-trust-phone a {
  margin: 8px 0 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.55;
}

.local-trust-phone a {
  color: var(--text-primary);
  font-weight: 700;
  text-decoration: none;
}

.local-trust-phone a:hover {
  color: var(--primary);
}

/* ===== HOME AEO FAQ SECTION ===== */
.home-faq-section {
  padding: 72px 0;
  background: var(--bg-primary);
}

.home-faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.home-faq-item {
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.home-faq-item h3 {
  margin: 0 0 10px;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.35;
}

.home-faq-item p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ===== CONTACT SECTION ===== */
.contact {
  padding: var(--section-padding) 0;
  background: var(--bg-primary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  margin-top: 50px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.contact-info-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-badge);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--bg-icon);
  border: 1px solid var(--border-hover);
  color: var(--primary);
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
}

.contact-info-text h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.contact-info-text p,
.contact-info-text a {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  word-break: break-all;
  overflow-wrap: break-word;
}

.contact-info-text a {
  color: var(--text-tertiary);
  transition: var(--transition-fast);
}

.contact-info-text a:hover {
  color: var(--primary);
}

/* Contact Form */
.contact-form-wrapper {
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.contact-form-wrapper h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.contact-form-wrapper .form-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 0.92rem;
  transition: var(--transition-fast);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  background: var(--bg-badge);
  box-shadow: 0 0 0 3px rgba(212, 25, 32, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%239CA3AF' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-group select option {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

.form-submit-btn {
  margin-top: 8px;
  width: 100%;
  padding: 16px;
  justify-content: center;
}

/* ===== FOOTER (Always Dark) ===== */
.footer {
  padding: 60px 0 0;
  background: var(--footer-bg);
  border-top: 1px solid var(--footer-border);
  color: var(--footer-text);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-brand img {
  height: 60px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--footer-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--footer-card-bg);
  border: 1px solid var(--footer-border);
  color: var(--footer-muted);
  transition: var(--transition-fast);
}

.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-3px);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #F8F9FC;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--footer-muted);
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a:hover {
  color: var(--primary-light);
  transform: translateX(4px);
}

.footer-newsletter p {
  font-size: 0.88rem;
  color: var(--footer-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.footer-newsletter-form {
  display: flex;
  gap: 8px;
}

.footer-newsletter-form input {
  flex: 1;
  padding: 10px 16px;
  background: var(--footer-card-bg);
  border: 1px solid var(--footer-border);
  border-radius: var(--radius-sm);
  color: #F8F9FC;
  font-family: var(--font-primary);
  font-size: 0.88rem;
  outline: none;
  transition: var(--transition-fast);
}

.footer-newsletter-form input::placeholder {
  color: var(--footer-muted);
}

.footer-newsletter-form input:focus {
  border-color: var(--primary);
}

.footer-newsletter-form button {
  padding: 10px 20px;
  background: var(--primary);
  border: none;
  border-radius: var(--radius-sm);
  color: white;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.footer-newsletter-form button:hover {
  background: var(--primary-light);
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid var(--footer-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--footer-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: var(--footer-muted);
  transition: var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--primary-light);
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition-fast);
  animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: white;
}

@keyframes whatsappPulse {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
  }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 100px;
  z-index: 999;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-primary);
  border-radius: 50%;
  color: var(--text-tertiary);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1400px) {
  /* Keep Call Now button visible next to tablet controls, spaced equally */
  .nav-cta.outside-drawer {
    display: inline-flex !important;
    margin-left: 16px !important;
    margin-right: 16px !important;
  }
  /* Layout Controls for Tablet Top Bar */
  .tablet-nav-controls {
    display: inline-flex !important;
    align-items: center;
    gap: 16px !important; /* Equal gap between profile and cart */
    margin-left: auto;
    margin-right: 0 !important;
  }

  .tablet-nav-controls .nav-profile-link {
    color: var(--text-primary) !important;
  }

  .navbar:not(.scrolled) .tablet-nav-controls .nav-profile-link {
    color: rgba(255, 255, 255, 0.85) !important;
  }

  /* Cart trigger (icon & text) styling in tablet top bar */
  .tablet-nav-controls .nav-cart-trigger {
    color: var(--text-primary) !important;
  }

  .navbar:not(.scrolled) .tablet-nav-controls .nav-cart-trigger {
    color: rgba(255, 255, 255, 0.85) !important;
  }

  .navbar:not(.scrolled) .tablet-nav-controls .nav-cart-trigger svg {
    color: rgba(255, 255, 255, 0.85) !important;
  }

  /* Drawer navigation links panel layout */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    flex-direction: column;
    background: var(--bg-elevated);
    backdrop-filter: blur(20px);
    padding: 100px 32px 40px;
    gap: 8px;
    transition: var(--transition-medium);
    border-left: 1px solid var(--border-primary);
    z-index: 1000;
    visibility: hidden; /* Prevent overflow calculations */
    overflow-y: auto;
  }

  [data-theme="dark"] .nav-links {
    background: rgba(18, 18, 26, 0.98);
  }

  .nav-links.active {
    right: 0;
    visibility: visible;
  }

  /* Drawer Navigation Link Item Styles */
  .nav-links a,
  .nav-links .nav-profile-link {
    padding: 14px 18px;
    font-size: 1rem;
    width: 100%;
    border-radius: var(--radius-sm);
    color: var(--text-primary) !important; /* Ensure high contrast in light/dark theme */
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border-secondary);
  }

  /* Light and dark mode support for profile link text in active drawer */
  [data-theme="light"] .nav-links .nav-profile-link,
  [data-theme="light"] .nav-links a:not(.nav-cta),
  [data-theme="light"] .navbar:not(.scrolled) .nav-links .nav-profile-link {
    color: #1E293B !important;
  }
  
  [data-theme="dark"] .nav-links .nav-profile-link,
  [data-theme="dark"] .nav-links a:not(.nav-cta),
  [data-theme="dark"] .navbar:not(.scrolled) .nav-links .nav-profile-link {
    color: #F8F9FC !important;
  }

  /* Force white color on Call Now button regardless of scrolled/not scrolled state */
  [data-theme="light"] .nav-links a.nav-cta,
  [data-theme="dark"] .nav-links a.nav-cta {
    color: #ffffff !important;
  }

  .nav-links a:hover,
  .nav-links a.active,
  .nav-links .nav-profile-link:hover,
  .nav-links .theme-toggle:hover {
    color: var(--primary) !important;
    background: var(--nav-link-hover-bg) !important;
  }

  /* Show labels alongside icons in the drawer and tablet topbar */
  .nav-links .theme-text-label,
  .nav-links .cart-text-label,
  .tablet-nav-controls .cart-text-label {
    display: inline !important;
  }

  /* Theme Toggle styling inside drawer (borderless list item style) */
  .nav-links .theme-toggle {
    background: none !important;
    color: var(--text-primary) !important;
    border: none !important;
    border-bottom: 1px solid var(--border-secondary) !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    width: 100% !important;
    height: auto !important;
    padding: 14px 18px !important;
    justify-content: flex-start !important;
    border-radius: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .nav-links .theme-toggle svg {
    margin-right: 0 !important;
  }

  /* Hide standard desktop cart and CTA call button inside drawer on tablet */
  .nav-links .nav-cart-trigger {
    border-bottom: 1px solid var(--border-secondary);
    padding: 14px 18px !important;
    width: 100% !important;
    display: inline-flex !important;
  }

  .nav-translate {
    margin-left: 0 !important;
    margin-right: 16px !important;
    margin-top: 0 !important;
    width: auto !important;
    max-width: 100px !important;
    display: flex !important;
    align-items: center !important;
    box-sizing: border-box !important;
  }

  .lang-select-dropdown {
    width: 90px !important; /* Compact size to prevent overlap */
    max-width: 90px !important;
    height: 32px !important;
    font-size: 0.75rem !important;
    padding: 2px 4px !important;
    background: var(--bg-surface) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-primary) !important;
    box-sizing: border-box !important;
  }

  .nav-links a.nav-cta {
    margin-left: 0 !important;
    margin-top: 16px;
    text-align: center;
    justify-content: center;
    width: 100%;
    color: #ffffff !important; /* Force white text color inside mobile drawer overlay */
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  }

  .nav-toggle {
    display: flex;
  }
}

/* Mobile responsive adjustments */
@media (max-width: 480px) {
  /* On mobile: Hide tablet-cart and tablet profile, everything goes inside drawer */
  .tablet-nav-controls {
    display: none !important;
  }

  .nav-cta.outside-drawer {
    display: none !important;
  }

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

  .hero-badge {
    white-space: normal !important;
    text-align: center !important;
    justify-content: center !important;
    font-size: 0.65rem !important;
    padding: 4px 10px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Hero stats and trust bar mobile overflow fixes */
  .hero-stats {
    flex-direction: column !important;
    align-items: center !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
  }
  
  .hero-stat {
    width: 100% !important;
    border-left: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-bottom: 12px !important;
    padding-left: 0 !important;
  }

  .hero-stat:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
  }
  
  .hero-stat:not(:first-child) {
    border-left: none !important;
  }

  .hero-trust-bar {
    flex-wrap: wrap !important;
    gap: 12px !important;
    justify-content: center !important;
    width: 100% !important;
  }

  .trust-badge {
    font-size: 0.72rem !important;
  }

  .nav-logo {
    gap: 6px !important;
  }

  .nav-logo img {
    height: 38px !important;
  }

  /* Adjust brand logo text size so it fits next to compact language selector */
  .brand-name {
    font-size: 0.8rem !important;
    white-space: normal !important;
    max-width: 110px !important;
  }
  
  .brand-tagline {
    font-size: 0.5rem !important; /* Keep it small but visible */
  }

  .lang-select-dropdown {
    width: 70px !important;
    max-width: 70px !important;
    height: 28px !important;
    font-size: 0.7rem !important;
    padding: 2px !important;
  }
}

@media (max-width: 991px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .why-us-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .local-trust-grid {
    grid-template-columns: 1fr;
  }

  .home-faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 24px;
  }

  .hero h1 {
    font-size: clamp(2rem, 6vw, 3rem);
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 50px 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .trust-bar-inner {
    gap: 30px;
  }

  .back-to-top {
    right: 24px;
    bottom: 100px;
  }
}

@media (max-width: 480px) {
  .footer-newsletter-form {
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
  }
  .footer-newsletter-form input {
    width: 100% !important;
  }
  .footer-newsletter-form button {
    width: 100% !important;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    justify-content: center;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
  }

  .hero-stat .stat-number {
    font-size: 1.8rem;
  }

  .contact-form-wrapper {
    padding: 24px;
  }

  .local-trust-section {
    padding: 48px 0;
  }

  .local-trust-panel {
    grid-template-columns: 1fr;
  }

  .home-faq-section {
    padding: 48px 0;
  }

  .home-faq-grid {
    grid-template-columns: 1fr;
  }

  .local-trust-actions,
  .local-trust-actions .btn {
    width: 100%;
  }

  .local-trust-actions .btn {
    justify-content: center;
  }
}

/* ===== MOBILE NAV OVERLAY ===== */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
}

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

/* ===== SMOOTH COUNTER ANIMATION ===== */
.counter {
  display: inline-block;
}

/* ===== TOAST NOTIFICATION ===== */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 3000;
  padding: 14px 28px;
  background: #1A1A25 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: var(--radius-md);
  color: #F8F9FC !important;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-medium);
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

.toast.success {
  border-color: rgba(34, 197, 94, 0.4) !important;
}

.toast.success svg {
  color: var(--trust-green);
}


/* ===== INTERACTIVE PRODUCT CATALOG ===== */
.catalog-seo-panel {
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.8fr);
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}

.catalog-seo-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.catalog-seo-eyebrow {
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.catalog-seo-panel h2 {
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.25;
}

.catalog-seo-panel p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.65;
}

.catalog-seo-support {
  display: grid;
  gap: 14px;
  align-content: start;
}

.catalog-seo-stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-primary);
}

.catalog-seo-stat strong {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
}

.catalog-seo-stat span {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  text-align: right;
}

.catalog-seo-list {
  margin: 0;
  padding-left: 18px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
}

.catalog-faq-section {
  margin-top: 40px;
  padding: 24px;
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}

.catalog-faq-heading {
  margin-bottom: 18px;
  display: grid;
  gap: 8px;
}

.catalog-faq-heading h2 {
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.25;
}

.catalog-faq-heading p {
  margin: 0;
  max-width: 760px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

.catalog-faq-section .faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  font-family: var(--font-primary);
}

.catalog-faq-section .faq-accordion-item.active .faq-answer {
  max-height: 240px;
}

.catalog-filters {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

#catalogSearch {
  width: 100%;
  padding: 14px 18px 14px 50px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-primary);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

#catalogSearch:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 4px rgba(212, 25, 32, 0.15);
}

.search-icon {
  position: absolute;
  left: 18px;
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  pointer-events: none;
}

.filter-controls-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.filter-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  min-width: 90px;
  flex-shrink: 0;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-primary);
  background: var(--bg-primary);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-primary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-pill:hover {
  border-color: var(--border-hover);
  color: var(--primary);
  background: var(--bg-badge);
}

.filter-pill.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(212, 25, 32, 0.25);
}

.scrollable-pills {
  overflow-x: auto;
  flex-wrap: nowrap;
  max-width: 100%;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

.scrollable-pills::-webkit-scrollbar {
  height: 4px;
}

.scrollable-pills::-webkit-scrollbar-track {
  background: transparent;
}

.scrollable-pills::-webkit-scrollbar-thumb {
  background: var(--border-primary);
  border-radius: 4px;
}

.catalog-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-primary);
  padding-top: 20px;
  margin-top: 4px;
}

.product-count {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.view-toggle-buttons {
  display: flex;
  gap: 8px;
}

.view-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-primary);
  background: var(--bg-primary);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-primary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.view-btn:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.view-btn.active {
  background: var(--bg-badge);
  border-color: var(--border-hover);
  color: var(--primary);
}

.view-btn svg {
  width: 16px;
  height: 16px;
}

/* ===== TABLE VIEW SPECIFICATIONS ===== */
.table-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-primary);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.specs-table th {
  padding: 16px 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-primary);
}

.specs-table td {
  padding: 16px 20px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-primary);
  vertical-align: middle;
}

.specs-table tbody tr {
  transition: var(--transition-fast);
}

.specs-table tbody tr:hover {
  background: var(--nav-link-hover-bg);
}

.specs-table tbody tr:last-child td {
  border-bottom: none;
}

.specs-table .td-brand {
  min-width: 110px;
}

.specs-table .td-model {
  min-width: 180px;
}

.specs-table .td-model strong {
  color: var(--text-primary);
  font-size: 0.95rem;
}

.specs-table .td-subtext {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 3px;
  font-weight: 500;
}

.specs-table .td-price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--trust-green);
  font-size: 1rem;
}

.brand-badge {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  text-align: center;
}

.brand-badge.brand-cri {
  background: rgba(212, 25, 32, 0.1);
  color: var(--primary-light);
  border: 1px solid rgba(212, 25, 32, 0.2);
}

.brand-badge.brand-lakshmi {
  background: rgba(30, 144, 255, 0.1);
  color: var(--accent-blue);
  border: 1px solid rgba(30, 144, 255, 0.2);
}

.table-enquiry-btn {
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-hover);
  background: var(--bg-badge);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: var(--font-primary);
}

.table-enquiry-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(212, 25, 32, 0.2);
}

/* ===== EMPTY CATALOG STATE ===== */
.empty-catalog {
  padding: 80px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.empty-catalog svg {
  width: 56px;
  height: 56px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.empty-catalog h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.empty-catalog p {
  color: var(--text-muted);
  max-width: 400px;
  line-height: 1.6;
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.empty-catalog .btn {
  padding: 8px 20px;
  font-size: 0.82rem;
}

/* ===== RESPONSIVE OVERRIDES ===== */
@media (max-width: 992px) {
  .catalog-seo-panel {
    grid-template-columns: 1fr;
  }

  .filter-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .filter-label {
    min-width: unset;
  }
}

@media (max-width: 768px) {
  .catalog-seo-panel {
    padding: 18px;
  }

  .catalog-faq-section {
    padding: 18px;
  }

  .catalog-seo-panel h2 {
    font-size: 1.2rem;
  }

  .catalog-filters {
    padding: 16px;
    gap: 16px;
  }

  .catalog-meta-row {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
    text-align: center;
  }

  .view-toggle-buttons {
    justify-content: center;
  }

  .specs-table th,
  .specs-table td {
    padding: 12px 14px;
    font-size: 0.8rem;
  }
}

/* ===== NAVIGATION CART BADGE ===== */
.nav-cart-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--primary);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(212, 25, 32, 0.4);
  font-family: var(--font-primary);
  line-height: 1;
}

/* ===== SHOPPING CART DRAWER ===== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-medium), visibility var(--transition-medium);
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 440px;
  max-width: 100%;
  height: 100vh;
  background: var(--bg-elevated);
  border-left: 1px solid var(--border-primary);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
  transition: right var(--transition-medium);
  visibility: hidden; /* Prevent overflow calculations */
}

[data-theme="dark"] .cart-drawer {
  background: rgba(18, 18, 26, 0.98);
  backdrop-filter: blur(20px);
}

.cart-drawer.open {
  right: 0;
  visibility: visible;
}

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

.cart-drawer-header h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.cart-close-btn {
  background: none;
  border: none;
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--text-tertiary);
  cursor: pointer;
  line-height: 1;
  transition: var(--transition-fast);
}

.cart-close-btn:hover {
  color: var(--primary);
}

.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cart-empty-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  color: var(--text-muted);
}

.cart-empty-message svg {
  color: var(--text-muted);
  opacity: 0.7;
}

.cart-empty-message p {
  font-size: 0.95rem;
  font-weight: 500;
  margin-top: 8px;
}

.cart-item {
  display: flex;
  gap: 16px;
  position: relative;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-secondary);
}

.cart-item-image {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  overflow: hidden;
  flex-shrink: 0;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  padding-right: 24px;
}

.cart-item-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

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

.cart-item-price {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--trust-green);
}

/* Quantity Selectors */
.cart-qty-selectors,
.detail-qty-selectors {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-primary);
}

.cart-qty-btn,
.detail-qty-btn {
  background: none;
  border: none;
  width: 28px;
  height: 28px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-qty-btn:hover,
.detail-qty-btn:hover {
  background: var(--bg-badge);
  color: var(--primary);
}

.cart-qty-input,
.detail-qty-selectors input[type="number"] {
  width: 36px;
  height: 28px;
  border: none;
  border-left: 1px solid var(--border-primary);
  border-right: 1px solid var(--border-primary);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  outline: none;
  background: var(--bg-primary);
  -moz-appearance: textfield;
}

.cart-qty-input::-webkit-outer-spin-button,
.cart-qty-input::-webkit-inner-spin-button,
.detail-qty-selectors input[type="number"]::-webkit-outer-spin-button,
.detail-qty-selectors input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart-item-remove-btn {
  position: absolute;
  top: 0;
  right: 0;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
  padding: 4px;
}

.cart-item-remove-btn:hover {
  color: var(--primary);
}

.cart-drawer-footer {
  padding: 24px;
  border-top: 1px solid var(--border-primary);
  background: var(--bg-secondary);
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.cart-subtotal-row span:first-child {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.cart-subtotal-price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--trust-green);
}

.cart-tax-info {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.4;
}

.cart-checkout-btn {
  width: 100%;
  padding: 14px;
  justify-content: center;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(212, 25, 32, 0.2);
}

/* ===== PRODUCT DETAILS PAGE ===== */
.detail-page-container {
  padding: 120px 0 var(--section-padding);
  background: var(--bg-primary);
  min-height: 100vh;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: flex-start;
  margin-top: 24px;
}

.detail-image-card {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: var(--shadow-card);
}

.detail-image-container {
  position: relative;
  height: 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid var(--border-secondary);
}

.detail-image-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
}

.detail-image-container .category-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent-blue);
  color: white;
  padding: 6px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-badges-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.detail-badge {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.detail-badge.brand-cri {
  background: rgba(212, 25, 32, 0.08);
  color: var(--primary-light);
  border: 1px solid rgba(212, 25, 32, 0.15);
}

.detail-badge.brand-winding {
  background: rgba(21, 112, 204, 0.08);
  color: var(--accent-blue);
  border: 1px solid rgba(21, 112, 204, 0.15);
}

.detail-badge.brand-gst {
  background: rgba(22, 163, 74, 0.08);
  color: var(--trust-green);
  border: 1px solid rgba(22, 163, 74, 0.15);
}

.detail-info-card {
  display: flex;
  flex-direction: column;
}

.detail-brand-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.detail-product-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.detail-product-group {
  font-size: 0.95rem;
  color: var(--accent-blue);
  font-weight: 600;
  margin-top: 4px;
  margin-bottom: 20px;
}

.detail-product-desc {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 30px;
}

.detail-spec-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  padding: 20px;
  border-radius: var(--radius-md);
  margin-bottom: 30px;
}

.spec-highlight-item {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.spec-highlight-item strong {
  color: var(--text-primary);
  font-weight: 600;
}

.detail-price-block {
  border-top: 1px solid var(--border-primary);
  border-bottom: 1px solid var(--border-primary);
  padding: 20px 0;
  margin-bottom: 30px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.price-label {
  font-size: 0.9rem;
  color: var(--text-tertiary);
  font-weight: 500;
}

.detail-price-val {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--trust-green);
  line-height: 1;
}

.price-tax-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.detail-actions-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.qty-selection-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.qty-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.detail-qty-selectors {
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
}

.detail-qty-selectors input[type="number"] {
  background: var(--bg-secondary);
}

.detail-buttons-row {
  display: flex;
  gap: 16px;
}

.detail-btn-cart {
  flex: 1;
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-primary);
  justify-content: center;
  font-weight: 600;
  padding: 14px 24px;
}

.detail-btn-cart:hover {
  background: var(--nav-link-hover-bg);
  border-color: var(--border-hover);
}

.detail-btn-buy {
  flex: 1.2;
  justify-content: center;
  font-weight: 700;
  padding: 14px 24px;
}

.detail-specs-table-section {
  margin-top: 60px;
}

.detail-specs-table-section h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.detail-table th {
  background: var(--bg-secondary);
  font-size: 0.82rem;
  color: var(--text-primary);
  width: 250px;
  font-weight: 600;
  text-transform: capitalize;
  letter-spacing: unset;
  border-right: 1px solid var(--border-primary);
}

.detail-table td {
  color: var(--text-secondary);
}

.detail-related-section {
  margin-top: 80px;
  border-top: 1px solid var(--border-primary);
  padding-top: 60px;
}

.detail-related-section h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 30px;
}

.product-guidance-section,
.product-faq-section {
  margin-top: 36px;
}

.product-guidance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-guidance-card,
.product-faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.product-guidance-card span {
  display: block;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.product-guidance-card h3,
.product-faq-item h4 {
  color: var(--text-primary);
  font-size: 0.98rem;
  font-weight: 800;
  margin: 0 0 8px;
}

.product-guidance-card p,
.product-faq-heading p,
.product-faq-item p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

.product-faq-heading {
  margin-bottom: 16px;
}

.product-faq-heading h3 {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 0 6px;
}

.product-faq-list {
  display: grid;
  gap: 12px;
}

/* ===== RESPONSIVE DETAIL PAGE ===== */
@media (max-width: 992px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .detail-image-container {
    height: 320px;
  }

  .product-guidance-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .detail-buttons-row {
    flex-direction: column;
  }

  .detail-btn-cart,
  .detail-btn-buy {
    width: 100%;
  }

  .detail-product-title {
    font-size: 1.8rem;
  }

  .detail-spec-highlights {
    grid-template-columns: 1fr;
  }

  .detail-table th {
    width: 120px;
  }
}

/* ===== CATALOG PAGE HEADER ===== */
.catalog-page-header {
  padding: 130px 0 40px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-primary);
}

.catalog-page-header h1 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 8px;
  margin-bottom: 8px;
}

.catalog-page-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 700px;
}

.header-path {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.header-path a {
  color: var(--text-tertiary);
  transition: var(--transition-fast);
}

.header-path a:hover {
  color: var(--primary);
}

.header-path .active {
  color: var(--primary);
}


/* Language Switcher Styling */
.nav-translate {
  margin-left: 6px;
  display: flex;
  align-items: center;
  max-width: 80px;
}

.lang-select-dropdown {
  font-family: 'Outfit', sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 6px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-primary);
  background: var(--bg-surface);
  color: var(--text-primary);
  cursor: pointer;
  outline: none;
  transition: var(--transition-fast);
  height: 32px;
  width: 80px !important;
  max-width: 80px !important;
  box-sizing: border-box;
}

.lang-select-dropdown:hover {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(212, 25, 32, 0.1);
}

.navbar:not(.scrolled) .lang-select-dropdown {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

/* Ensure option values are readable on light theme browsers */
.lang-select-dropdown option {
  background: var(--bg-surface);
  color: var(--text-primary);
}

[data-theme="light"] .navbar:not(.scrolled) .lang-select-dropdown {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-primary);
  border-color: rgba(0, 0, 0, 0.15);
}



/* Custom Cart Item Qty Layout alignment */
.cart-item-qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-primary);
  height: 28px;
}

.cart-item-qty input {
  width: 32px !important;
  height: 28px !important;
  border: none !important;
  border-left: 1px solid var(--border-primary) !important;
  border-right: 1px solid var(--border-primary) !important;
  text-align: center !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  color: var(--text-primary) !important;
  outline: none !important;
  background: var(--bg-primary) !important;
  padding: 0 !important;
}

/* ===== BRANDING LOGOS ===== */
.logo-separator {
  width: 1px;
  height: 24px;
  background: var(--border-primary);
  margin: 0 4px;
}

.navbar:not(.scrolled) .logo-separator {
  background: rgba(255, 255, 255, 0.25);
}

.nav-logo img.cri-logo-nav {
  height: 28px !important;
  width: auto;
}

.navbar.scrolled .nav-logo img.cri-logo-nav {
  height: 24px !important;
}

.hero-brand-container {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.2s;
  opacity: 0;
  flex-wrap: wrap;
}

.hero-cri-logo {
  height: 210px;
  max-height: 210px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 25px rgba(212,25,32,0.35));
  transition: var(--transition-medium);
}

.hero-brand-panel {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.2s;
  opacity: 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.panel-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--primary-light);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  line-height: 1;
}

.panel-logo-row {
  display: flex;
  align-items: center;
  width: 100%;
}

.hero-cri-logo-main {
  height: 95px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
  transition: var(--transition-medium);
}

.panel-trust-badge {
  font-family: var(--font-primary);
  font-size: 0.8rem;
  font-weight: 500;
  color: #22C55E;
  letter-spacing: 0.5px;
  line-height: 1;
}

.footer-logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo-container img.footer-baa-logo {
  height: 44px;
}

.footer-logo-container img.footer-cri-logo {
  height: 28px;
}

/* ===== PUMP FINDER INTERACTIVE WIDGET ===== */
.pump-finder-section {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-primary);
  border-bottom: 1px solid var(--border-primary);
}

.pump-finder-card {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 40px);
  box-shadow: var(--shadow-md);
  max-width: 800px;
  margin: 40px auto 0;
  transition: var(--transition-medium);
}

.pump-finder-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}

.finder-step {
  display: none;
}

.finder-step.active {
  display: block;
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.finder-question {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.finder-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.finder-btn {
  background: var(--bg-primary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  text-align: left;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 14px;
}

.finder-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.finder-btn-icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
  flex-shrink: 0;
}

.finder-result {
  text-align: center;
  padding: 20px 0;
}

.result-badge {
  display: inline-block;
  padding: 8px 20px;
  background: var(--bg-badge);
  border: 1px solid var(--border-hover);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 16px;
}

.result-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.result-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 30px;
}

.finder-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== PRELOADER DOUBLE LOGO STYLING ===== */
.preloader-logos {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 10px;
}

#preloader .logo-separator {
  height: 40px;
  background: var(--border-primary);
  width: 1px;
}

#preloader img.logo-preload {
  height: 80px;
  width: auto;
  object-fit: contain;
  animation: preloaderPulse 1.5s ease-in-out infinite;
}

#preloader img.cri-preload {
  height: 54px;
}

/* Option 1 Specific Styles */
.verified-badge {
  background: rgba(34, 197, 94, 0.12) !important;
  border: 1px solid rgba(34, 197, 94, 0.3) !important;
  color: #4ADE80 !important;
}

.check-icon {
  font-weight: 800;
  margin-right: 4px;
}

.trust-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 25px;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 1.1s;
  opacity: 0;
}

.trust-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-align: left;
  padding: -50px;
}

.feature-icon-wrapper {
  background: rgba(212, 25, 32, 0.1);
  border: 1px solid rgba(212, 25, 32, 0.2);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary-light);
}

.feature-icon {
  width: 18px;
  height: 18px;
}

.feature-text h4 {
  font-size: 0.9rem;
  color: #fff;
  margin: 0 0 3px 0;
  font-weight: 700;
}

.feature-text p {
  font-size: 0.78rem;
  color: #9DA3B3;
  margin: 0;
  line-height: 1.4;
}

/* ===== BRANDING SEALS & BADGES ===== */
.distributor-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-muted);
  opacity: 0.85;
  letter-spacing: 0.5px;
  margin-right: 4px;
}

.navbar:not(.scrolled) .distributor-label {
  color: rgba(255, 255, 255, 0.7);
}

.cri-distributor-seal-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 20px 0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-medium);
}

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

.cri-distributor-seal-card .seal-icon-wrap {
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.cri-distributor-seal-card .seal-cri-icon {
  width: 30px;
  height: auto;
}

.cri-distributor-seal-card .seal-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cri-distributor-seal-card .seal-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

.cri-distributor-seal-card .seal-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
}

.product-buying-assurance {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  padding: 16px;
  margin: 16px 0;
  box-shadow: var(--shadow-sm);
}

.product-buying-assurance .assurance-heading {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.product-buying-assurance .assurance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.product-buying-assurance .assurance-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-secondary);
  border-radius: var(--radius-sm);
  padding: 12px;
  min-width: 0;
}

.product-buying-assurance .assurance-item strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.82rem;
  margin-bottom: 4px;
}

.product-buying-assurance .assurance-item span {
  display: block;
  color: var(--text-secondary);
  font-size: 0.76rem;
  line-height: 1.45;
}

@media (max-width: 480px) {
  .product-buying-assurance .assurance-grid {
    grid-template-columns: 1fr;
  }
}

.catalog-header-branding {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.catalog-auth-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
}

[data-theme="dark"] .catalog-auth-badge {
  background: rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.08);
}

.catalog-auth-icon {
  width: 45px;
  height: auto;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.5));
}

.catalog-auth-text {
  display: flex;
  flex-direction: column;
}

.catalog-auth-text .auth-label {
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #1E293B;
  letter-spacing: 0.5px;
}

[data-theme="dark"] .catalog-auth-text .auth-label {
  color: #ffffff;
}

.catalog-auth-text .auth-sub {
  font-size: 0.85rem;
  font-weight: 700;
  color: #334155;
}

[data-theme="dark"] .catalog-auth-text .auth-sub {
  color: rgba(255, 255, 255, 0.8);
}

/* Option 1 Custom trust bullet list */
.trust-bullet-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 35px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 1.1s;
  opacity: 0;
  list-style: none;
}

.trust-bullet-item {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}

.trust-bullet-icon {
  font-size: 1.6rem;
  display: inline-block;
  line-height: 1;
}

.trust-bullet-item strong {
  font-size: 1.05rem;
  color: #ffffff;
  font-weight: 700;
}

/* Option 2 CTA WhatsApp & Red Call Buttons */
.btn-whatsapp-chat {
  background: #25D366 !important;
  color: white !important;
  border: none !important;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35) !important;
}

.btn-whatsapp-chat:hover {
  background: #20ba59 !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5) !important;
}

.btn-call-red {
  background: #D41920 !important;
  color: white !important;
  border: 1px solid rgba(212, 25, 32, 0.3) !important;
  box-shadow: 0 4px 20px rgba(212, 25, 32, 0.25) !important;
}

.btn-call-red:hover {
  background: #A51318 !important;
  border-color: #A51318 !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(212, 25, 32, 0.45) !important;
}
/* ===== CHECKOUT MODAL STYLES ===== */
.checkout-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.checkout-overlay.open {
  opacity: 1;
  visibility: visible;
}

.checkout-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -45%);
  background: var(--bg-card);
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 12px;
  z-index: 2101;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 25px;
}

.checkout-modal.open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%);
}


/* ===== CUSTOM SCROLLBARS ===== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}
::-webkit-scrollbar-thumb {
  background: rgba(212, 25, 32, 0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 25, 32, 0.6);
}

/* Modal Tabs styles */
.modal-tab-nav {
  display: flex;
  gap: 15px;
  border-bottom: 1px solid var(--border-primary);
  margin-bottom: 25px;
  overflow-x: auto;
  padding-bottom: 5px;
}
.modal-tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 8px 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}
.modal-tab-btn:hover {
  color: var(--primary);
}
.modal-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.modal-tab-pane {
  display: none;
}
.modal-tab-pane.active {
  display: block;
}
.upload-progress-bar {
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.2s;
}
.progress-bar-container {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}








/* ===== PASSWORD TOGGLE ===== */
.password-input-wrap {
  width: 100%; /* FIX */
  position: relative;
  display: block;
}
.password-input-wrap input {
  width: 100%; /* FIX */
  padding-right: 40px !important;
}
.toggle-password,
.toggle-password-icon {
  z-index: 10;
  pointer-events: auto;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
  z-index: 2;
}
.toggle-password:hover,
.toggle-password-icon:hover {
  color: var(--primary);
}


/* Group 2: Standardize Image Sizes */
.product-card .img-wrapper img, .category-card .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    padding: 10px;
}
.product-card .img-wrapper, .category-card .img-wrapper {
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== HERO BOTTOM ELEMENTS STYLE OVERRIDES ===== */
.dealer-info-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 45px;
  margin-bottom: 25px;
}

.dealer-info-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 40px;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 650px;
  width: 100%;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
}

.dealer-info-block:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(212, 25, 32, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px -5px rgba(212,25,32,0.15);
}

.dealer-info-block .dealer-label {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.dealer-info-block .dealer-phone-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}

.dealer-info-block .dealer-phone-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 25, 32, 0.15);
  border: 1px solid rgba(212, 25, 32, 0.3);
  color: var(--primary-light);
}

.dealer-info-block .dealer-phone-icon svg {
  width: 16px;
  height: 16px;
}

.dealer-info-block .dealer-phone-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}

.dealer-info-block .dealer-subtext {
  font-size: 0.82rem;
  color: #9DA3B3;
  font-weight: 500;
}

.dealer-subtext-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #E8EAF0; /* High contrast text color visible in dark background */
  font-weight: 500;
}

.dealer-subtext-row .bullet {
  color: var(--primary-light);
}

.hero-trust-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 25px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #a3b3cc;
  font-size: 0.82rem;
  font-weight: 500;
}

.trust-badge span:first-child {
  color: #22c55e;
  font-size: 1rem;
}

/* ===== PAGE WRAPPER TO PREVENT HORIZONTAL SCROLL ===== */
.page-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}



/* Modal overrides removed, relying on theme variables */

/* Ultimate Mobile Overflow Fix for Tamil and other languages */
@media (max-width: 480px) {
  html, body, .page-wrapper {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
  }
  .container {
    max-width: 100vw !important;
    box-sizing: border-box !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    overflow: hidden !important;
  }
  .hero-section,
  .hero-content, 
  .hero-split-body, 
  .hero-body-left, 
  .hero-actions,
  .dealer-info-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
  }
  .hero-badge, 
  .hero-badge span, 
  .trust-badge, 
  .trust-badge span, 
  .dealer-info-block, 
  .dealer-info-block *,
  .hero-content h1, 
  .hero-content h1 span, 
  .hero-content p, 
  .hero-description {
    word-wrap: break-word !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
  }
  .hero-trust-bar {
    flex-wrap: wrap !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* ===== INVENTORY & STOCK ALERT STYLES ===== */
.stock-badge-sold {
  background: #EF4444 !important;
  color: #ffffff !important;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(239, 68, 68, 0.2);
  display: inline-block;
}

.stock-status-low-card {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #F59E0B;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.15);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.btn-whatsapp-ask {
  background: #10B981 !important;
  border: 1px solid #10B981 !important;
  color: #ffffff !important;
  cursor: pointer;
  text-decoration: none !important;
  font-weight: 800 !important;
  font-size: 0.95rem !important;
  padding: 10px 20px !important;
  border-radius: 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3) !important;
  transition: all 0.2s ease-in-out !important;
  opacity: 1 !important;
  filter: none !important;
}

.btn-whatsapp-ask:hover {
  background: #059669 !important;
  border-color: #059669 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.4) !important;
  transform: translateY(-1px) !important;
}

.detail-stock-banner {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.detail-stock-banner.sold-out {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #EF4444;
}

.detail-stock-banner.low-stock {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: #F59E0B;
}

/* SOLD OUT STAMPS */
.sold-out-stamp {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
  border: 3px double #EF4444;
  color: #EF4444;
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.2);
  z-index: 10;
  letter-spacing: 2px;
  pointer-events: none;
  white-space: nowrap;
}

.sold-out-stamp-detail {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-15deg);
  border: 4px double #EF4444;
  color: #EF4444;
  font-size: 2.2rem;
  font-weight: 900;
  text-transform: uppercase;
  padding: 10px 24px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.3);
  z-index: 10;
  letter-spacing: 3px;
  pointer-events: none;
  white-space: nowrap;
}

/* SELECTIVE FADING FOR OUT OF STOCK */
.product-card.out-of-stock-card .product-card-image img {
  opacity: 0.5;
  filter: grayscale(35%);
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.product-card.out-of-stock-card:hover .product-card-image img {
  opacity: 0.75;
  filter: grayscale(10%);
}

.product-card.out-of-stock-card .product-card-body .product-card-title,
.product-card.out-of-stock-card .product-card-body .product-card-specs,
.product-card.out-of-stock-card .product-card-footer .product-price {
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.product-card.out-of-stock-card:hover .product-card-body .product-card-title,
.product-card.out-of-stock-card:hover .product-card-body .product-card-specs,
.product-card.out-of-stock-card:hover .product-card-footer .product-price {
  opacity: 0.85;
}

.out-of-stock-row {
  opacity: 0.6;
  background-color: var(--bg-badge) !important;
  transition: opacity 0.2s ease;
}

.out-of-stock-row:hover {
  opacity: 0.85;
}

.out-of-stock-row .btn-whatsapp-ask {
  opacity: 1 !important;
}

.out-of-stock-media img {
  opacity: 0.55;
  filter: grayscale(30%);
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.out-of-stock-media:hover img {
  opacity: 0.75;
  filter: grayscale(10%);
}

/* ==========================================
   NEW PREMIUM PAYMENT FLOW REDESIGN STYLES
   ========================================== */

/* Fullscreen / Large Overlay */
.payment-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 10, 15, 0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 20px;
  backdrop-filter: blur(8px);
}

.payment-overlay.open {
  display: flex;
}

.payment-modal {
  background: var(--bg-elevated);
  color: var(--text-primary);
  width: 100%;
  max-width: 850px;
  border-radius: 20px;
  border: 1px solid var(--border-primary);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-family: 'Inter', sans-serif;
  animation: modalScaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalScaleUp {
  from {
    transform: scale(0.95) translateY(10px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

/* Header */
.payment-header {
  background: var(--bg-secondary);
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.payment-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.payment-header-left img {
  height: 45px;
  object-fit: contain;
}

.payment-header-left .brand-info {
  display: flex;
  flex-direction: column;
}

.payment-header-left .brand-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.payment-header-left .brand-tagline {
  font-size: 0.8rem;
  color: #EF4444; /* BAA red primary accent */
  font-weight: 600;
}

.payment-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 8px 16px;
  border-radius: 30px;
  color: #10B981;
}

.payment-header-right .secure-text {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  font-weight: 700;
}

.payment-header-right .secure-subtitle {
  font-size: 0.7rem;
  font-weight: 500;
  color: #94a3b8;
}

/* Modal Body */
.payment-body {
  padding: 24px;
  max-height: 80vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* White Card Style */
.payment-card-white {
  background: #ffffff;
  color: #0f172a;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
  border: 1px solid #e2e8f0;
}

/* Order Summary Grid */
.payment-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.payment-summary-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.payment-summary-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.payment-summary-value {
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
}

/* QR Code Section Card */
.payment-qr-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.payment-qr-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 15px;
}

.qr-wrapper {
  position: relative;
  display: inline-block;
  background: #ffffff;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 15px;
}

.qr-wrapper img.qr-image {
  width: 200px;
  height: 200px;
  display: block;
}

.qr-center-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  background: #ffffff;
  border: 2px solid #dc2626; /* Red border matching theme */
  border-radius: 8px;
  padding: 3px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.qr-center-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.payment-details-row {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.payment-details-upi {
  font-family: monospace;
  background: #f1f5f9;
  padding: 6px 14px;
  border-radius: 8px;
  color: #334155;
  font-size: 0.9rem;
  border: 1px dashed #cbd5e1;
}

/* Action buttons in QR section */
.payment-qr-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  width: 100%;
  max-width: 400px;
}

.btn-qr-action {
  flex: 1;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-qr-copy {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
}

.btn-qr-copy:hover {
  background: #e2e8f0;
}

.btn-qr-open {
  background: #dc2626; /* Red primary */
  color: #ffffff;
  border: none;
}

.btn-qr-open:hover {
  background: #b91c1c;
  transform: translateY(-1px);
}

.payment-divider {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px 0;
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.payment-divider::before,
.payment-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e2e8f0;
  margin: 0 10px;
}

/* Notice Box (Yellow/Orange Card) */
.payment-instruction-box {
  background: #FFFBEB;
  color: #78350F;
  border: 1px solid #FEF3C7;
  border-left: 6px solid #D97706;
  border-radius: 12px;
  padding: 20px;
}

.payment-instruction-box h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: #B45309;
  display: flex;
  align-items: center;
  gap: 8px;
}

.instruction-steps {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.instruction-step {
  display: flex;
  gap: 12px;
}

.instruction-step-num {
  font-weight: 800;
  background: #F59E0B;
  color: #ffffff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
}

.instruction-step-text {
  font-size: 0.9rem;
  line-height: 1.4;
}

.instruction-step-text strong {
  display: block;
  font-size: 0.95rem;
  color: #451a03;
  margin-bottom: 2px;
}

/* Checklist Card */
.payment-checklist-box {
  background: #F0FDF4; /* Light green checklist theme */
  border: 1px solid #DCFCE7;
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 15px;
}

.payment-checklist-title {
  font-weight: 700;
  color: #166534;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.payment-checklist-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 15px;
}

.payment-checklist-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #14532d;
}

.payment-checklist-item svg {
  color: #22c55e;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* WhatsApp CTA Button */
.btn-whatsapp-cta {
  background: #25D366; /* WhatsApp official green */
  color: #ffffff;
  border: none;
  width: 100%;
  padding: 16px 24px;
  font-size: 1.05rem;
  font-weight: 800;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-whatsapp-cta:hover {
  background: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
}

.btn-whatsapp-cta svg {
  width: 22px;
  height: 22px;
}

/* Completed Payment button */
.btn-payment-confirm {
  background: #020617; /* Dark slate */
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  width: 100%;
  padding: 14px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-payment-confirm:hover {
  background: rgba(255,255,255,0.05);
}

/* Confirmation Dialog */
.confirm-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}

.confirm-overlay.open {
  display: flex;
}

.confirm-card {
  background: #1e293b;
  color: #ffffff;
  width: 100%;
  max-width: 400px;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  text-align: center;
}

.confirm-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.confirm-card p {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 20px;
  line-height: 1.5;
}

.confirm-actions {
  display: flex;
  gap: 12px;
}

.btn-confirm {
  flex: 1;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.btn-confirm-yes {
  background: #10B981;
  color: #ffffff;
}

.btn-confirm-yes:hover {
  background: #059669;
}

.btn-confirm-no {
  background: #475569;
  color: #ffffff;
}

.btn-confirm-no:hover {
  background: #334155;
}

/* Success Card */
.success-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 40px 24px;
}

.success-icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  color: #10B981;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-icon-wrapper svg {
  width: 36px;
  height: 36px;
}

.success-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
}

/* Mobile responsive details */
@media (max-width: 768px) {
  .payment-summary-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .payment-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }
  
  .payment-header-right {
    align-self: stretch;
    justify-content: center;
  }
  
  .payment-body {
    padding: 16px;
  }
  
  .payment-checklist-items {
    grid-template-columns: 1fr;
  }
}

}


/* ===== CUSTOMER ACCOUNT REDESIGN STYLES (Commit 1) ===== */
.account-body {
  background: radial-gradient(circle at 50% 50%, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  color: var(--text-primary);
  font-family: var(--font-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.account-page-container {
  padding-top: 100px; /* offset navbar */
  padding-bottom: 60px;
  flex: 1;
  overflow-x: hidden;
}

.account-view {
  display: none;
}

.account-view.active {
  display: block;
}

/* Landing Page Cards */
.account-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.account-premium-card {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.account-premium-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-hover);
}

.card-icon-wrapper {
  width: 56px;
  height: 56px;
  background: rgba(212, 25, 32, 0.06);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 20px;
}

.card-icon-wrapper svg {
  width: 28px;
  height: 28px;
}

.card-icon-wrapper.icon-dealer {
  background: rgba(21, 112, 204, 0.06);
  color: var(--accent-blue);
}

.account-premium-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.account-premium-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 20px;
  flex: 1;
}

.card-benefits-list {
  list-style: none;
  margin-bottom: 25px;
  border-top: 1px solid var(--border-secondary);
  padding-top: 15px;
}

.card-benefits-list li {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-benefits-list li span {
  color: var(--trust-green);
  font-weight: 700;
}

/* Comparison Section */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-primary);
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  text-align: left;
  font-size: 0.9rem;
}

.comparison-table th {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 700;
}

.comparison-table tr {
  border-bottom: 1px solid var(--border-secondary);
}

.comparison-table tr:last-child {
  border-bottom: none;
}

.comparison-table td:first-child {
  font-weight: 600;
  color: var(--text-primary);
}

/* Two Column Login */
.login-two-column-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-primary);
  max-width: 1000px;
  margin: 40px auto;
}

.login-branding-panel {
  background: linear-gradient(135deg, #1A1C23 0%, #111217 100%);
  padding: 40px;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-branding-panel h2 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  margin-top: 20px;
  margin-bottom: 12px;
  line-height: 1.3;
}

.login-branding-panel p {
  color: #9DA3B3;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 30px;
}

.branding-benefit-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.branding-benefit-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.branding-benefit-item .b-icon {
  width: 24px;
  height: 24px;
  background: rgba(212, 25, 32, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.branding-benefit-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.branding-benefit-item p {
  font-size: 0.8rem;
  color: #888E9E;
  margin-bottom: 0;
  line-height: 1.4;
}

.login-form-card {
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-form-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 0.85rem;
}

.forgot-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.forgot-link:hover {
  text-decoration: underline;
}

/* Register & Forgot View */
.register-form-container {
  max-width: 650px;
  margin: 40px auto;
  background: var(--bg-card);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-primary);
  border-top: 4px solid var(--primary);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.form-grid-2 .form-group {
  margin-bottom: 0;
}

.form-card-header {
  margin-bottom: 24px;
}
.form-card-header h2,
.form-card-header h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.85rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.form-card-header p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0;
}

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

.phone-input-wrapper:focus-within {
  border-color: var(--primary);
}

.cc-label {
  padding: 12px 14px;
  font-weight: 600;
  background: var(--bg-tertiary);
  border-right: 1px solid var(--border-primary);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.phone-input-wrapper input {
  border: none !important;
  background: transparent !important;
  flex: 1;
}

.phone-code-select {
  width: 92px;
  flex: 0 0 92px;
  border: none !important;
  border-right: 1px solid var(--border-primary) !important;
  border-radius: 0 !important;
  background: var(--bg-tertiary) !important;
  color: var(--text-secondary) !important;
  font-weight: 700;
  padding: 12px 8px;
  min-height: 44px;
}

.phone-code-select:focus {
  outline: none;
}

.form-meta-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 15px;
  margin-bottom: 20px;
}

.form-meta-note a {
  color: var(--primary);
  text-decoration: none;
}

.form-footer-switch {
  text-align: center;
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.form-footer-switch a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

/* Portal Layout Sidebar + Pane */
.portal-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  align-items: start;
  min-width: 0;
  overflow-x: hidden;
}

.portal-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 90px;
}

.sidebar-user-card {
  border-bottom: 1px solid var(--border-secondary);
  padding-bottom: 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.avatar-upload-wrap {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-full);
  position: relative;
  overflow: hidden;
  margin-bottom: 15px;
  border: 2px solid var(--border-primary);
}

.avatar-upload-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-edit-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 4px;
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}

.avatar-upload-wrap:hover .avatar-edit-overlay {
  opacity: 1;
}

.sidebar-user-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.menu-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
}

.menu-btn svg {
  width: 18px;
  height: 18px;
  color: var(--text-tertiary);
  transition: color 0.2s;
}

.menu-btn:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.menu-btn.active {
  background: var(--bg-badge);
  color: var(--primary);
}

.menu-btn.active svg {
  color: var(--primary);
}

.menu-btn.btn-logout:hover {
  background: rgba(239, 68, 68, 0.05);
  color: #EF4444;
}

/* Content Pane Manager */
.portal-content {
  flex: 1;
  min-width: 0;
  overflow-x: hidden;
}

.portal-pane {
  display: none;
}

.portal-pane.active {
  display: block;
}

.welcome-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 24px 30px;
  border-radius: var(--radius-lg);
  color: #FFFFFF;
  margin-bottom: 25px;
}

.welcome-banner h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.welcome-banner p {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* Dashboard Metrics */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.metric-card .m-val {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.metric-card .m-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Portal Cards */
.portal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}

.card-header {
  border-bottom: 1px solid var(--border-secondary);
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.card-header h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

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

.notification-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--text-secondary);
}

.n-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  margin-top: 5px;
}

.n-dot.info {
  background: var(--accent-blue);
}

/* Scrollers */
.horizontal-product-scroller {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.no-scroll-data {
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 15px;
}

.scroll-product-card {
  width: 160px;
  flex-shrink: 0;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 12px;
  border: 1px solid var(--border-secondary);
  text-align: center;
}

.scroll-product-card img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 8px;
}

.scroll-product-card h5 {
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.scroll-product-card .sc-price {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.portal-flex-row {
  display: flex;
  gap: 20px;
}

.flex-1 { flex: 1; }
.flex-2 { flex: 2; }

.quick-actions-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.action-link-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-secondary);
  color: var(--text-primary);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
}

.action-link-btn:hover {
  background: var(--bg-tertiary);
  border-color: var(--border-primary);
}

/* Future ready grid */
.future-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
}

.future-card.disabled {
  background: var(--bg-secondary);
  border: 1px dashed var(--border-primary);
  border-radius: var(--radius-md);
  padding: 15px;
  cursor: not-allowed;
}

.future-card.disabled h5 {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.future-card.disabled p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Amazon style order history cards */
.orders-cards-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.order-history-card {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.order-card-header {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-secondary);
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.order-header-meta {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.order-header-meta .header-lbl {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.order-header-meta .header-val {
  font-size: 0.85rem;
  color: var(--text-primary);
}

.order-header-right {
  text-align: right;
}

.order-id-txt {
  display: block;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.download-inv-link {
  font-size: 0.8rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.download-inv-link:hover {
  text-decoration: underline;
}

/* Order timeline */
.order-card-body-timeline {
  padding: 20px 30px;
  border-bottom: 1px solid var(--border-secondary);
}

.order-timeline-tracker {
  position: relative;
  margin-top: 10px;
  margin-bottom: 25px;
}

.timeline-line {
  position: absolute;
  top: 6px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--bg-tertiary);
  z-index: 1;
}

.timeline-fill {
  height: 100%;
  background: var(--primary);
  transition: width 0.4s ease;
}

.timeline-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.timeline-steps-wrap {
  display: flex;
  justify-content: space-between;
}

.timeline-step {
  text-align: center;
  width: 80px;
}

.timeline-step .step-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 4px solid var(--bg-tertiary);
  margin: 0 auto 6px auto;
  transition: all 0.3s;
}

.timeline-step.active .step-dot {
  background: var(--primary);
  border-color: var(--primary-glow);
  transform: scale(1.2);
}

.timeline-step .step-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.timeline-step.active .step-label {
  color: var(--text-primary);
}

.timeline-cancelled-banner {
  background: rgba(239, 68, 68, 0.08);
  color: #EF4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
  padding: 10px;
  text-align: center;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
}

/* Order item detail row */
.order-card-items-container {
  padding: 15px 24px;
}

.order-product-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border-secondary);
}

.order-product-row:last-child {
  border-bottom: none;
}

.order-prod-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
}

.order-prod-details {
  flex: 1;
}

.order-prod-details h5 {
  font-size: 0.9rem;
  color: var(--text-primary);
}

.order-prod-qty-price {
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  gap: 20px;
}

.order-card-footer {
  padding: 14px 24px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-secondary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

/* Saved Addresses Grid */
.addresses-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.address-premium-box {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.address-premium-box.default-box {
  border-color: var(--primary);
  background: var(--bg-badge);
}

.addr-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.address-type-badge {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.default-badge {
  color: var(--trust-green);
  font-size: 0.8rem;
  font-weight: 700;
}

.addr-box-body .addr-line {
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.addr-box-body .addr-city-zip {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.addr-box-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}

.add-address-trigger-card {
  background: var(--bg-card);
  border: 2px dashed var(--border-primary);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 30px;
  cursor: pointer;
  transition: all 0.2s;
  min-height: 180px;
}

.add-address-trigger-card:hover {
  border-color: var(--primary);
  background: var(--bg-secondary);
}

.add-address-trigger-card .plus-icon {
  font-size: 2.2rem;
  color: var(--text-muted);
}

.add-address-trigger-card span {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 600;
}

/* Wishlist page grid */
.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.wishlist-product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.remove-wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: none;
  font-size: 1.1rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.remove-wishlist-btn:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #EF4444;
}

.wishlist-product-card img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 12px;
}

.wishlist-card-details {
  text-align: center;
  flex: 1;
}

.wishlist-card-details .p-brand {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.wishlist-card-details h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 4px 0;
  color: var(--text-primary);
}

.wishlist-card-details .p-hp {
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: block;
}

.wishlist-card-details .p-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 8px;
}

.wishlist-card-footer {
  width: 100%;
  margin-top: 15px;
}

.wishlist-card-footer button {
  width: 100%;
}

/* Settings lists */
.settings-options-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.settings-row-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-secondary);
}

.settings-row-item:last-child {
  border-bottom: none;
}

.settings-row-item h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.settings-row-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* FAQ Item Accordion */
.faq-accordion-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-accordion-item {
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-secondary);
}

.faq-question {
  padding: 14px 20px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--text-primary);
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 1.1rem;
  color: var(--text-muted);
}

.faq-accordion-item.active .faq-question::after {
  content: '-';
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.faq-accordion-item.active .faq-answer {
  padding: 14px 20px;
  max-height: 100px;
}

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

.help-contact-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-secondary);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.2s;
}

.help-contact-box:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
}

.help-contact-box .c-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 10px;
}

.help-contact-box h5 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.help-contact-box p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================
     RESPONSIVE BREAKPOINTS FOR PORTAL
     ========================================== */
@media (max-width: 991px) {
  .portal-layout {
    grid-template-columns: 1fr;
  }
  
  .portal-sidebar {
    position: static;
  }
  
  .login-two-column-grid {
    grid-template-columns: 1fr;
  }
  
  .login-branding-panel {
    padding: 30px;
  }
}

@media (max-width: 767px) {
  .account-page-container {
    padding-top: 80px;
  }
  
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  
  .metrics-row {
    grid-template-columns: 1fr 1fr;
  }
  
  .portal-flex-row {
    flex-direction: column;
  }
  
  .order-timeline-tracker {
    display: none; /* Hide timeline line on mobile to avoid squeezing, show status badge */
  }
  
  .order-card-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .order-header-right {
    text-align: left;
    margin-top: 10px;
  }
  
  .order-product-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .order-prod-actions {
    width: 100%;
  }
  
  .order-prod-actions button {
    width: 100%;
  }
}

/* ===== CUSTOMER ACCOUNT PORTAL REDESIGN ADDITIONS ===== */

/* Profile button container in navbar */
.nav-profile-container {
  position: relative;
  display: inline-block;
}

/* Profile button trigger */
.nav-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-primary);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.nav-profile-link:hover {
  background-color: var(--nav-link-hover-bg);
  color: var(--primary);
}

.nav-profile-link:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.nav-profile-name {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Caret indicator */
.nav-caret {
  font-size: 0.6rem;
  transition: transform 0.2s ease;
}

.nav-profile-dropdown.show ~ .nav-profile-link .nav-caret {
  transform: rotate(180deg);
}

/* Absolute positioning for desktop viewports */
.nav-profile-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 360px;
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 20px;
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  pointer-events: none;
  text-align: left;
}

.nav-profile-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Light / Dark Mode adaptive colors */
[data-theme="dark"] .nav-profile-dropdown {
  background: rgba(22, 22, 30, 0.98);
  border-color: var(--border-secondary);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
}

/* Welcome block */
.dropdown-welcome-header {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-secondary);
  margin-bottom: 12px;
  text-align: center;
}

.dropdown-welcome-header.logged-in-header {
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.dropdown-welcome-header p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.dropdown-signin-btn {
  width: 100%;
  margin-top: 8px;
  padding: 10px !important;
  font-weight: 700;
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  border-radius: var(--radius-full) !important;
}

/* Content Grid */
.dropdown-body-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-secondary);
}

.dropdown-body-grid.single-col {
  grid-template-columns: 1fr;
  gap: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.dropdown-section h4 {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.dropdown-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav-profile-dropdown a {
  color: var(--text-primary) !important;
  font-weight: 700 !important;
  background: none !important;
  height: auto !important;
  padding: 4px 0 !important;
  display: block !important;
  font-size: 0.82rem !important;
  text-decoration: none !important;
  box-shadow: none !important;
  text-align: left !important;
}

.nav-profile-dropdown a:hover {
  color: var(--primary) !important;
  text-decoration: underline !important;
  background: none !important;
}

.nav-profile-dropdown a:focus-visible {
  outline: 2px solid var(--primary) !important;
  outline-offset: 1px !important;
}

/* Retain primary color for register link */
.nav-profile-dropdown .dropdown-new-cust a {
  color: var(--primary) !important;
  display: inline !important;
}

.logout-li {
  border-top: 1px solid var(--border-secondary);
  margin-top: 8px;
  padding-top: 8px !important;
}

.nav-profile-dropdown a.logout-link {
  color: #EF4444 !important;
}

.nav-profile-dropdown a.logout-link:hover {
  color: #DC2626 !important;
}

/* Trust footer indicators */
.dropdown-footer-trust {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  font-size: 0.65rem;
  color: var(--text-muted);
}

.dropdown-footer-trust span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Future placeholder card layouts */
.future-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 15px;
}

.future-card.disabled {
  background: var(--bg-secondary);
  border: 1px dashed var(--border-primary);
  border-radius: var(--radius-md);
  padding: 16px;
  opacity: 0.65;
  cursor: not-allowed;
  transition: border-color var(--transition-fast);
  user-select: none;
}

.future-card.disabled h5 {
  font-size: 0.85rem;
  font-weight: 750;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.future-card.disabled p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

/* Simple animations and loaders */
.mini-loader-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  animation: dot-pulse 1s infinite alternate;
}

@keyframes dot-pulse {
  0% { transform: scale(0.6); opacity: 0.3; }
  100% { transform: scale(1.2); opacity: 1; }
}

/* Focus indicator states for general accessible controls */
a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 2px solid var(--primary) !important;
  outline-offset: 2px !important;
}

/* Mobile responsive drawer adjustments */
@media (max-width: 768px) {
  .nav-profile-container {
    display: block;
    width: 100%;
    margin-right: 0;
  }

  .nav-profile-link {
    display: inline-flex !important;
    width: 100%;
    box-sizing: border-box;
    padding: 14px 18px !important;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    border-bottom: 1px solid var(--border-secondary);
  }

  .nav-profile-dropdown {
    position: static;
    width: 100% !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    border: none !important;
    border-bottom: 1px solid var(--border-secondary) !important;
    padding: 16px !important;
    background: var(--bg-secondary) !important;
    transform: none !important;
    transition: none !important;
    display: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    box-sizing: border-box;
  }

  .nav-profile-dropdown.show {
    display: block !important;
  }

  .dropdown-body-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

/* Custom Prominent Dealer Registration Button inside Welcome Dropdown Panel */
.btn-dealer-reg {
  display: block;
  width: 100%;
  padding: 10px 14px;
  background: var(--primary) !important;
  color: white !important;
  font-weight: 800 !important;
  text-align: center;
  border-radius: 8px;
  text-decoration: none !important;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid var(--primary) !important;
  box-shadow: 0 4px 12px rgba(212, 25, 32, 0.2);
  transition: all 0.2s ease;
  margin-top: 8px;
  box-sizing: border-box;
}

.btn-dealer-reg:hover {
  background: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(212, 25, 32, 0.3);
}

.btn-dealer-reg:focus-visible {
  outline: 2px solid var(--primary) !important;
  outline-offset: 2px !important;
}

/* Storefront Wishlist Toggle Buttons */
.wishlist-toggle-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease-in-out;
  z-index: 10;
}

.wishlist-toggle-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: all 0.2s ease;
}

.wishlist-toggle-btn:hover {
  transform: scale(1.1);
  color: var(--primary);
  border-color: var(--primary-glow);
  box-shadow: 0 4px 12px var(--primary-glow);
}

.wishlist-toggle-btn.wishlist-active {
  color: var(--primary);
  border-color: var(--primary);
  background: var(--bg-badge);
}

.wishlist-toggle-btn.wishlist-active svg {
  fill: var(--primary);
}

/* Table Wishlist Button Specifics */
.table-wishlist-btn {
  position: static;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  margin-left: 6px;
  display: inline-flex;
}

/* Detail Page Wishlist Button Specifics */
.detail-wishlist-btn {
  position: static;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-primary);
  background: var(--bg-card);
  transition: all 0.2s;
  display: inline-flex;
}

/* ===== PREMIUM UPLOAD ZONE ===== */
.upload-zone-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.upload-dropzone {
  border: 2px dashed var(--border-input);
  background: var(--bg-secondary);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.upload-dropzone:hover {
  border-color: var(--primary);
  background: var(--bg-hover);
}

.upload-dropzone svg {
  width: 32px;
  height: 32px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.upload-dropzone:hover svg {
  color: var(--primary);
}

.upload-dropzone-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.upload-dropzone-subtext {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Previews Grid */
.upload-previews-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.upload-preview-item {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  border: 1px solid var(--border-primary);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--bg-card);
}

.upload-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.upload-preview-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.9);
  color: white;
  border: none;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: background-color 0.2s;
}

.upload-preview-remove:hover {
  background: rgba(220, 38, 38, 1);
}

/* Image Lightbox (Expand and see) */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-overlay.open {
  display: flex;
  opacity: 1;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.lightbox-overlay.open .lightbox-img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  outline: none;
}





/* ==========================================================
   UI-001 Priority-Based Responsive Navbar Override (SAFE MODE)
   ========================================================== */

/* Navbar Base & Regions layout */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 14px 0;
  transition: var(--transition-medium);
  background: transparent;
}

.navbar.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid var(--nav-border);
  box-shadow: var(--shadow-md);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  width: 95%;
  max-width: 1650px;
  margin: 0 auto;
  gap: clamp(6px, 1vw, 14px);
  min-width: 0;
}

/* LEFT: Logo container */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 1 auto !important;
  min-width: min(220px, calc(100vw - 72px));
  max-width: min(340px, calc(100vw - 72px));
}

.nav-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  flex: 0 0 auto;
}

.nav-logo-text {
  min-width: 0;
  max-width: clamp(118px, 18vw, 260px);
}

.nav-logo-text .brand-name {
  display: block;
  max-width: 100% !important;
  white-space: normal !important;
  overflow-wrap: break-word;
  word-break: normal;
  line-height: 1.05;
}

/* CENTER: Desktop Navigation Links */
.nav-center {
  display: flex;
  align-items: center;
  gap: clamp(6px, 0.8vw, 14px);
  margin: 0 auto;
  flex-shrink: 0;
}

.nav-center a {
  padding: 8px 9px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--nav-link);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.navbar:not(.scrolled) .nav-center a {
  color: rgba(255, 255, 255, 0.85);
}

.navbar:not(.scrolled) .nav-center a:hover,
.navbar:not(.scrolled) .nav-center a.active {
  color: #ffffff;
}

.navbar.nav-compact-brand .nav-logo-text .brand-tagline {
  display: none !important;
}

.navbar.nav-minimal-brand .nav-logo-text {
  display: flex !important;
}

.navbar.nav-minimal-brand .nav-logo-text .brand-tagline {
  display: none !important;
}

.navbar.nav-minimal-brand .nav-logo-text .brand-name {
  max-width: 96px !important;
  font-size: 0.68rem !important;
  line-height: 1.02;
}

.nav-center a:hover {
  color: var(--text-primary);
  background: var(--nav-link-hover-bg);
}

.nav-center a.active {
  color: var(--primary);
}

/* RIGHT: Top Bar Actions */
.nav-right {
  display: flex;
  align-items: center;
  gap: clamp(5px, 0.8vw, 10px);
  flex-shrink: 0;
  margin-left: auto;
  white-space: nowrap;
  min-width: 0;
}

/* CSS Flex Order to keep desktop layout structured and deterministic */
#navTheme { order: 5 !important; }
.nav-profile-container { order: 1 !important; }
#navCart { order: 2 !important; }
#navCall { order: 3 !important; }
#navLang { order: 4 !important; }
#navToggle { order: 6 !important; }

/* Ensure no text-wrapping on right action buttons */
.nav-right > * {
  white-space: nowrap !important;
}

/* Top bar Login/Profile button styling */
.nav-right .nav-profile-container {
  display: inline-block !important;
}

.nav-right .nav-profile-link {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition-fast);
}

.navbar:not(.scrolled) .nav-right .nav-profile-link {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* Cart trigger top bar styles */
.nav-right .nav-cart-trigger {
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  padding: 8px 9px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.navbar:not(.scrolled) .nav-right .nav-cart-trigger {
  color: rgba(255, 255, 255, 0.85) !important;
}

.nav-right .nav-cta {
  padding-left: 18px !important;
  padding-right: 18px !important;
}

/* Hamburger toggle styling */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.navbar:not(.scrolled) .nav-toggle span {
  background: #ffffff;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================================
   MOBILE SLIDE-IN PANEL DRAWER
   ========================================================== */
.nav-links {
  position: fixed !important;
  top: 0 !important;
  right: -100% !important;
  width: 320px !important;
  height: 100vh !important;
  flex-direction: column !important;
  background: var(--bg-elevated) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  padding: 30px 24px 40px !important;
  gap: 12px !important;
  transition: right 0.3s ease !important;
  z-index: 1000 !important;
  border-left: 1px solid var(--border-primary) !important;
  box-shadow: -5px 0 25px rgba(0,0,0,0.15) !important;
  display: flex !important;
  overflow-y: auto !important;
}

.nav-links:not(.active) {
  display: none !important;
}

[data-theme="dark"] .nav-links {
  background: rgba(18, 18, 26, 0.98) !important;
}

.nav-links.active {
  right: 0 !important;
  display: flex !important;
}

/* Drawer Header Styling */
.nav-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border-secondary);
  padding-bottom: 15px;
}

.nav-drawer-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.nav-drawer-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--text-tertiary);
  cursor: pointer;
  line-height: 1;
  padding: 0 5px;
  transition: color var(--transition-fast);
}

.nav-drawer-close:hover {
  color: var(--primary);
}

/* Drawer Content Styling */
.nav-drawer-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

/* Drawer item normalizations when nested inside the drawer content panel */
.nav-drawer-content > * {
  width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.nav-drawer-content a:not(.nav-cta),
.nav-drawer-content .nav-profile-link,
.nav-drawer-content .theme-toggle,
.nav-drawer-content .nav-translate {
  display: inline-flex !important;
  align-items: center;
  justify-content: flex-start !important;
  padding: 12px 16px !important;
  border-bottom: 1px solid var(--border-secondary) !important;
  border-radius: var(--radius-sm);
  color: var(--text-primary) !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  background: none !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  height: auto !important;
}

.nav-drawer-content .theme-toggle .theme-text-label {
  display: inline !important;
  margin-left: 8px;
}

.nav-drawer-content .nav-translate {
  max-width: none !important;
  flex-direction: column;
  align-items: flex-start !important;
  gap: 8px;
}

.nav-drawer-content .lang-select-dropdown {
  width: 100% !important;
  max-width: none !important;
  height: 38px !important;
}

.nav-drawer-content .nav-cta {
  width: 100% !important;
  justify-content: center !important;
  padding: 12px !important;
  height: auto !important;
  border-radius: var(--radius-sm) !important;
  margin-top: 10px !important;
}

.nav-drawer-content .nav-profile-container {
  display: block !important;
}

/* Dynamic active highlighted states inside drawer */
.nav-drawer-content a:hover,
.nav-drawer-content a.active,
.nav-drawer-content .nav-profile-link:hover,
.nav-drawer-content .theme-toggle:hover {
  background: var(--nav-link-hover-bg) !important;
  color: var(--primary) !important;
}

/* Hide brand tagline on smaller mobile widths to maintain whitespace safety */
@media (max-width: 480px) {
  .navbar {
    padding: 8px 0;
  }

  .navbar.scrolled {
    padding: 7px 0;
  }

  .navbar .container {
    width: 100%;
    padding: 0 10px !important;
    gap: 6px;
  }

  .nav-logo {
    align-items: center;
    gap: 7px !important;
    min-width: min(230px, calc(100vw - 62px));
    max-width: calc(100vw - 62px);
  }

  .nav-logo img {
    height: 36px !important;
  }

  .nav-logo-text {
    display: flex !important;
    max-width: clamp(96px, 34vw, 140px);
  }

  .nav-logo-text .brand-name {
    max-width: 100% !important;
    white-space: normal !important;
    line-height: 1.05;
    font-size: 0.76rem !important;
  }

  .nav-logo-text .brand-tagline {
    display: none !important;
  }

  .nav-right .nav-cart-trigger {
    padding: 8px !important;
  }

  .nav-right .nav-cart-trigger .cart-text-label {
    display: none !important;
  }

  .nav-drawer-content .nav-cart-trigger .cart-text-label {
    display: inline !important;
  }
}
@media (max-width: 380px) {
  .nav-logo-text {
    display: flex !important;
    max-width: 104px;
  }

  .nav-logo-text .brand-name {
    max-width: 104px !important;
    font-size: 0.7rem !important;
  }
}

@media (max-width: 350px) {
  .nav-logo img {
    height: 32px !important;
  }

  .nav-logo-text {
    max-width: 92px;
  }

  .nav-logo-text .brand-name {
    max-width: 92px !important;
    font-size: 0.64rem !important;
  }
}

.offer-poster-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(8, 10, 18, 0.42);
  z-index: 10000;
  padding: 18px;
}

.offer-poster-overlay.open {
  display: flex;
}

.offer-poster-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%) scale(0.98);
  display: none;
  width: min(500px, calc(100vw - 36px));
  max-height: min(78vh, 680px);
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  box-shadow: var(--shadow-lg);
  z-index: 10001;
}

.offer-poster-modal.open {
  display: block;
  transform: translate(-50%, -50%) scale(1);
}

.offer-poster-modal img {
  max-height: min(78vh, 680px);
  object-fit: contain;
  background: var(--bg-card);
}

/* ==========================================================
   UI-002 Adaptive priority responsive drawer overrides
   ========================================================== */
.nav-drawer-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 10px !important;
}
.nav-drawer-content > * {
  width: 100% !important;
  box-sizing: border-box !important;
}
