/* ============================================================
   DHAMIJA SPARES — Master Stylesheet
   Version: 1.0 | Premium Motorcycle eCommerce Theme
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Rajdhani:wght@500;600;700&display=swap');

/* ── CSS Variables ─────────────────────────────────────── */
/* ── LIGHT MODE (Default) ──────────────────────────────── */
:root {
  --primary: #FF6B00;
  --primary-dark: #D45500;
  --primary-light: #FF8C38;
  --secondary: #F8F9FC;
  --dark: #FFFFFF;
  --dark-card: #F2F4F8;
  --dark-border: #CBD5E1;
  --surface: #EEF1F7;
  --text-primary: #1A1F2E;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --accent: #0066CC;
  --accent-dark: #0055AA;
  --success: #16A34A;
  --warning: #D97706;
  --danger: #DC2626;
  --info: #2563EB;
  --white: #FFFFFF;
  --gradient-1: linear-gradient(135deg, #FF6B00 0%, #FF3D00 100%);
  --gradient-2: linear-gradient(135deg, #F8F9FC 0%, #EEF1F7 100%);
  --gradient-hero: linear-gradient(135deg, #F8F9FC 0%, #EEF1F7 50%, #F0F3FA 100%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
  --shadow-glow: 0 0 30px rgba(255, 107, 0, 0.18);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 70px;
  --font-main: 'Inter', sans-serif;
  --font-display: 'Rajdhani', sans-serif;
  /* Header specific */
  --header-bg: rgba(255,255,255,0.95);
  --header-bg-solid: #ffffff;
  --header-border: #E2E6EF;
  --header-text: #1A1F2E;
  --nav-bg: #F2F4F8;
  --nav-border: #E2E6EF;
  --nav-link: #2D3555;
  --nav-hover: #FF6B00;
  --loader-bg: #F8F9FC;
  --loader-text: #1A1F2E;
  --mega-bg: #ffffff;
  --mobile-nav-bg: #ffffff;
  --search-bg: #F2F4F8;
  --search-border: #D8DCE8;
  --search-cat-bg: #E2E6EF;
  --input-bg: #F2F4F8;
  --input-border: #D8DCE8;
  --input-text: #1A1F2E;
  --card-bg: #ffffff;
}

/* ── DARK MODE ─────────────────────────────────────────── */
[data-theme="dark"] {
  --primary: #FF6B00;
  --primary-dark: #D45500;
  --primary-light: #FF8C38;
  --secondary: #0A0E1A;
  --dark: #0D1117;
  --dark-card: #161B27;
  --dark-border: #1E2433;
  --surface: #1A2035;
  --text-primary: #F0F4FF;
  --text-secondary: #8B96B0;
  --text-muted: #5A6480;
  --accent: #00D4FF;
  --accent-dark: #0099BB;
  --success: #22C55E;
  --warning: #F59E0B;
  --danger: #EF4444;
  --info: #3B82F6;
  --white: #FFFFFF;
  --gradient-1: linear-gradient(135deg, #FF6B00 0%, #FF3D00 100%);
  --gradient-2: linear-gradient(135deg, #0A0E1A 0%, #1A2035 100%);
  --gradient-hero: linear-gradient(135deg, #0D1117 0%, #1A2035 50%, #0A0E1A 100%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(255, 107, 0, 0.25);
  /* Header specific */
  --header-bg: rgba(13, 17, 23, 0.92);
  --header-bg-solid: rgba(13, 17, 23, 1);
  --header-border: #1E2433;
  --header-text: #F0F4FF;
  --nav-bg: #0A0E1A;
  --nav-border: #1E2433;
  --nav-link: #C0CAE0;
  --nav-hover: #FF6B00;
  --loader-bg: #0D1117;
  --loader-text: #F0F4FF;
  --mega-bg: #161B27;
  --mobile-nav-bg: #0D1117;
  --search-bg: #1A2035;
  --search-border: #1E2433;
  --search-cat-bg: #1E2433;
  --input-bg: #1A2035;
  --input-border: #1E2433;
  --input-text: #F0F4FF;
  --card-bg: #161B27;
}

/* ── Reset & Base ──────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--dark);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
}

/* ── Container ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media(min-width:576px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media(min-width:1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* ── Typography ────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
}

h4 {
  font-size: clamp(1rem, 2vw, 1.3rem);
}

p {
  color: var(--text-secondary);
}

.section-title {
  margin-bottom: 4rem;
  text-align: center;
}

.section-title h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.section-title h2 span {
  color: var(--primary);
}

.section-title p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

.section-title .title-line {
  display: block;
  width: 70px;
  height: 4px;
  background: var(--primary);
  margin: 1.5rem auto 0;
  border-radius: 2px;
}

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient-1);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255, 107, 0, 0.4);
  color: var(--white);
  filter: brightness(1.1);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text-primary);
  border: 1px solid var(--dark-border);
}

.btn-secondary:hover {
  background: var(--dark-border);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 107, 0, 0.3);
}

.btn-dark {
  background: var(--dark-card);
  color: var(--text-primary);
  border: 1px solid var(--dark-border);
}

.btn-dark:hover {
  background: var(--surface);
  transform: translateY(-2px);
}

.btn-success {
  background: var(--success);
  color: var(--white);
}

.btn-danger {
  background: var(--danger);
  color: var(--white);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 0.85rem 2rem;
  font-size: 1rem;
}

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  justify-content: center;
  border-radius: var(--radius-sm);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ── Form Controls ─────────────────────────────────────── */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
}

.form-label .required {
  color: var(--primary);
  margin-left: 2px;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.1);
  background: var(--dark-card);
}

.form-control::placeholder {
  color: var(--text-muted);
}

.form-control.error {
  border-color: var(--danger);
}

.form-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.form-error {
  font-size: 0.78rem;
  color: var(--danger);
  margin-top: 0.3rem;
}

select.form-control {
  cursor: pointer;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* ── Badge ─────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.badge-primary {
  background: rgba(255, 107, 0, 0.15);
  color: var(--primary);
}

.badge-success {
  background: rgba(34, 197, 94, 0.15);
  color: var(--success);
}

.badge-danger {
  background: rgba(239, 68, 68, 0.15);
  color: var(--danger);
}

.badge-warning {
  background: rgba(245, 158, 11, 0.15);
  color: var(--warning);
}

.badge-info {
  background: rgba(59, 130, 246, 0.15);
  color: var(--info);
}

.badge-secondary {
  background: rgba(139, 150, 176, 0.15);
  color: var(--text-secondary);
}

.badge-sale {
  background: var(--gradient-1);
  color: var(--white);
}

/* ── Cards ─────────────────────────────────────────────── */
.card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  border-color: rgba(255, 107, 0, 0.3);
  box-shadow: var(--shadow-glow);
}

.card-body {
  padding: 1.5rem;
}

.card-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--dark-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--dark-border);
  background: rgba(0, 0, 0, 0.1);
}

/* ── Product Card ──────────────────────────────────────── */
.product-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 107, 0, 0.15);
}

.product-card-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--surface);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card-image img {
  transform: scale(1.08);
}

.product-card-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 2;
}

.product-card-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
}

.product-card:hover .product-card-actions {
  opacity: 1;
  transform: translateX(0);
}

.product-card-action-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.product-card-action-btn:hover,
.product-card-action-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.product-card-body {
  padding: 1rem;
}

.product-card-brand {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.product-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.product-card-title a:hover {
  color: var(--primary);
}

.product-card-compat {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.product-card-compat i {
  color: var(--primary);
  margin-right: 4px;
}

.product-card-rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}

.stars {
  color: var(--warning);
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.rating-count {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.product-card-price {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.price-current {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-display);
}

.price-original {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-discount {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--success);
}

.product-card-stock {
  font-size: 0.75rem;
}

.stock-in {
  color: var(--success);
}

.stock-low {
  color: var(--warning);
}

.stock-out {
  color: var(--danger);
}

.product-card-add-btn {
  width: 100%;
}

/* ── Header / Nav ──────────────────────────────────────── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--header-border);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

#site-header.scrolled {
  background: var(--header-bg-solid);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

/* Theme Toggle Button */
.theme-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--header-border);
  background: var(--surface);
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  font-size: 1rem;
}

.theme-toggle-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: rotate(20deg) scale(1.1);
}

[data-theme="dark"] .theme-icon-light { display: none; }
[data-theme="dark"] .theme-icon-dark  { display: block; }
.theme-icon-light { display: block; }
.theme-icon-dark  { display: none; }

/* Removed .header-top styles — top bar eliminated */

.header-address-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--header-border);
  padding: 0.28rem 0;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.header-address-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-address-inner i {
  color: var(--primary);
}

.header-main {
  padding: 0.65rem 0;
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
}

.header-main-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.logo-text .brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.logo-text .tagline {
  font-size: 0.65rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* Search Bar */
.header-search {
  position: relative;
  width: 100%;
}

.header-search-form {
  display: flex;
  background: var(--search-bg);
  border: 1.5px solid var(--search-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.header-search-form:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

.search-category-select {
  background: var(--search-cat-bg);
  border: none;
  color: var(--text-secondary);
  padding: 0 0.75rem;
  font-size: 0.8rem;
  cursor: pointer;
  min-width: 120px;
  border-right: 1px solid var(--search-border);
}

.search-input {
  flex: 1;
  background: none;
  border: none;
  padding: 0.7rem 1rem;
  color: var(--text-primary);
  font-size: 0.9rem;
  outline: none;
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-btn {
  background: var(--gradient-1);
  border: none;
  padding: 0 1.25rem;
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.search-btn:hover {
  background: var(--primary-dark);
}

.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--dark-card);
  border: 1px solid var(--search-border);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
}

.search-suggestion-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.search-suggestion-item:hover {
  background: var(--surface);
}

.suggestion-img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
  background: var(--surface);
}

.suggestion-info .name {
  font-size: 0.85rem;
  color: var(--text-primary);
  font-weight: 500;
}

.suggestion-info .price {
  font-size: 0.78rem;
  color: var(--primary);
}

/* Nav */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--header-border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}

.header-icon-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.icon-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--dark-card);
}

.header-cta-btn {
  padding: 0.55rem 1.1rem;
  font-size: 0.8rem;
  background: var(--gradient-1);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
  border: none;
  white-space: nowrap;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.header-cta-btn:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
  color: var(--white);
}

/* Main Nav */
.main-nav {
  background: var(--nav-bg);
  border-top: 1px solid var(--nav-border);
}

.main-nav-inner {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--nav-link);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-1);
  border-radius: 1px;
}

.nav-link .nav-arrow {
  font-size: 0.7rem;
  transition: var(--transition);
}

.nav-item:hover .nav-arrow {
  transform: rotate(180deg);
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--mega-bg);
  border: 1px solid var(--nav-border);
  border-top: 2px solid var(--primary);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: 1.5rem;
  min-width: 600px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  pointer-events: none;
  z-index: 900;
}

.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.mega-col-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.mega-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.mega-link:hover {
  color: var(--primary);
}

.mega-link i {
  width: 16px;
  text-align: center;
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  justify-content: center;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--header-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.hamburger span {
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
  border-radius: 1px;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile Nav ────────────────────────────────────────── */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 88%;
  max-width: 340px;
  height: 100vh;
  background: var(--mobile-nav-bg);
  z-index: 9991;
  overflow-y: auto;
  padding: 2rem 1.5rem;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9990;
  backdrop-filter: blur(4px);
}

.mobile-nav-overlay.open {
  display: block;
}

/* Desktop: Force hide everything about mobile nav */
@media(min-width: 992px) {

  .mobile-nav,
  .mobile-nav-overlay,
  .hamburger {
    display: none !important;
  }
}

/* ── Hero / Slider ─────────────────────────────────────── */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-swiper {
  width: 100%;
  height: clamp(250px, 50vw, 700px);
  min-height: auto;
}

.hero-slide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: var(--gradient-hero);
  height: clamp(250px, 50vw, 700px);
  min-height: auto;
  padding: 4rem 0;
  /* Pushed top padding down from sticky header */
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 8s ease;
}

/* Removed scale transition to prevent image blur during animation */
.hero-swiper .swiper-slide-active .hero-slide-bg {
  transform: scale(1);
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 17, 23, 0.95) 0%, rgba(13, 17, 23, 0.6) 55%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 2rem 0;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 107, 0, 0.1);
  border: 1px solid rgba(255, 107, 0, 0.3);
  color: var(--primary);
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
}

.hero-title {
  color: var(--white);
  margin-bottom: 1rem;
}

.hero-title span {
  color: var(--primary);
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  margin-bottom: 2rem;
  max-width: 450px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--dark-border);
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ── Sections ──────────────────────────────────────────── */
.section {
  padding: 4rem 0;
}

.section-sm {
  padding: 2.5rem 0;
}

.section-dark {
  background: var(--secondary);
}

.section-card {
  background: var(--dark-card);
}

/* ── Category Grid ─────────────────────────────────────── */
.category-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

@media(min-width:480px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media(min-width:768px) {
  .category-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media(min-width:1024px) {
  .category-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.category-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.category-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(255, 107, 0, 0.15);
}

.category-card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: var(--transition);
  overflow: hidden;
}

.category-card:hover .category-card-icon {
  background: rgba(255, 107, 0, 0.1);
}

.category-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
}

.category-card-count {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ── Products Grid ─────────────────────────────────────── */
.products-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, 1fr);
}

@media(min-width:480px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(min-width:640px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media(min-width:900px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ── Brand Carousel ────────────────────────────────────── */
.brand-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 2/1;
  cursor: pointer;
  transition: var(--transition);
}

.brand-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  filter: brightness(1.1);
}

.brand-card img {
  max-height: 60px;
  width: auto;
  filter: brightness(0.8) grayscale(50%);
  transition: var(--transition);
}

.brand-card:hover img {
  filter: brightness(1) grayscale(0%);
}

/* ── Shop / Filters ─────────────────────────────────────── */
.shop-layout {
  display: grid;
  gap: 2rem;
}

@media(min-width:900px) {
  .shop-layout {
    grid-template-columns: 280px 1fr;
  }
}

.filter-sidebar {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  height: fit-content;
  position: sticky;
  top: 80px;
}

.filter-sidebar-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--dark-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.filter-sidebar-title {
  font-weight: 700;
  font-size: 1rem;
}

.filter-reset-btn {
  font-size: 0.78rem;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
}

.filter-section {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--dark-border);
}

.filter-section-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.filter-section-title i {
  transition: var(--transition);
  color: var(--text-muted);
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
}

.filter-option input[type=checkbox] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
}

.filter-option-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  flex: 1;
}

.filter-option-count {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.price-range-inputs {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.price-range-inputs input {
  flex: 1;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--dark-border);
  color: var(--text-primary);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  text-align: center;
}

.price-range-sep {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Sort / Toolbar */
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-sm);
}

.shop-toolbar-left {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.shop-toolbar-right {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.sort-select {
  background: var(--surface);
  border: 1px solid var(--dark-border);
  color: var(--text-primary);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  cursor: pointer;
}

.view-btns button {
  width: 34px;
  height: 34px;
  background: var(--surface);
  border: 1px solid var(--dark-border);
  border-radius: 4px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.view-btns button.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* ── Product Detail ─────────────────────────────────────── */
.product-detail-gallery {
  position: sticky;
  top: 90px;
}

.gallery-main {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--dark-border);
  margin-bottom: 0.75rem;
  cursor: zoom-in;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-zoom-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  color: var(--white);
  font-size: 2rem;
}

.gallery-main:hover .gallery-zoom-overlay {
  opacity: 1;
}

.gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.gallery-thumb {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--dark-border);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  background: var(--surface);
}

.gallery-thumb:hover,
.gallery-thumb.active {
  border-color: var(--primary);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-info {
  padding: 0;
}

.product-brand-link {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
}

.product-detail-title {
  color: var(--text-primary);
  margin: 0.5rem 0;
}

.product-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.product-detail-meta span strong {
  color: var(--text-secondary);
}

.product-detail-price {
  margin: 1.25rem 0;
}

.detail-price-current {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-display);
}

.detail-price-original {
  font-size: 1rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 0.5rem;
}

.detail-price-badge {
  background: rgba(34, 197, 94, 0.15);
  color: var(--success);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 0;
}

.qty-btn {
  width: 40px;
  height: 42px;
  background: var(--surface);
  border: 1px solid var(--dark-border);
  color: var(--text-primary);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.qty-btn:first-child {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.qty-btn:last-child {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.qty-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.qty-input {
  width: 60px;
  height: 42px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--dark-border);
  border-left: none;
  border-right: none;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 600;
}

.qty-input::-webkit-inner-spin-button {
  display: none;
}

.product-action-btns {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.product-action-btns .btn {
  justify-content: center;
}

.compat-table {
  width: 100%;
}

.compat-table th {
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.7rem 1rem;
  text-align: left;
}

.compat-table td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--dark-border);
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.compat-table tr:last-child td {
  border-bottom: none;
}

/* ── Cart ───────────────────────────────────────────────── */
.cart-layout {
  display: grid;
  gap: 2rem;
}

@media(min-width:900px) {
  .cart-layout {
    grid-template-columns: 1fr 360px;
  }
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th {
  padding: 0.85rem 1rem;
  text-align: left;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--dark-border);
  background: var(--dark-card);
}

.cart-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
}

@media (max-width: 768px) {
  .cart-table thead {
    display: none;
  }

  .cart-table tr {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
  }

  .cart-table td {
    display: block;
    padding: 0.5rem 0;
    border: none;
    text-align: right;
  }

  .cart-table td::before {
    content: attr(data-label);
    float: left;
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
  }

  .cart-table td:first-child {
    text-align: left;
    padding-bottom: 1rem;
  }

  .cart-table td:first-child::before {
    display: none;
  }

  .cart-product {
    flex-direction: row;
    align-items: flex-start;
  }

  .cart-remove {
    position: absolute;
    top: 1rem;
    right: 0;
  }

  .cart-table td:last-child {
    display: none;
    /* Hide the empty last cell used for remove button since we positioned it absolutely */
  }
}

.cart-product {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-product-img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--surface);
  flex-shrink: 0;
  border: 1px solid var(--dark-border);
}

.cart-product-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.cart-product-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.cart-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
}

.cart-remove:hover {
  color: var(--danger);
}

.order-summary-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  height: fit-content;
  position: sticky;
  top: 90px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0;
  font-size: 0.875rem;
}

.summary-row:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.summary-row.total {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  border-top: 1px solid var(--dark-border) !important;
  margin-top: 0.5rem;
  padding-top: 1rem;
}

.summary-row.total .val {
  color: var(--primary);
  font-size: 1.2rem;
}

.coupon-form {
  display: flex;
  gap: 0.5rem;
  margin: 1rem 0;
}

.coupon-form input {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--dark-border);
  color: var(--text-primary);
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
}

.coupon-form input:focus {
  outline: none;
  border-color: var(--primary);
}

/* ── Checkout ───────────────────────────────────────────── */
.checkout-layout {
  display: grid;
  gap: 2rem;
}

@media(min-width:900px) {
  .checkout-layout {
    grid-template-columns: 1fr 380px;
  }
}

.checkout-step {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.checkout-step-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient-1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.payment-method-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 2px solid var(--dark-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 0.75rem;
}

.payment-method-option:hover,
.payment-method-option.selected {
  border-color: var(--primary);
  background: rgba(255, 107, 0, 0.05);
}

.payment-method-option input {
  accent-color: var(--primary);
  margin: 0;
}

.payment-icon {
  font-size: 1.5rem;
}

.payment-label {
  font-weight: 500;
}

.payment-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ── Account ────────────────────────────────────────────── */
.account-layout {
  display: grid;
  gap: 2rem;
}

@media(min-width:992px) {
  .account-layout {
    grid-template-columns: 280px 1fr;
  }
}

@media(max-width:991px) {
  .account-layout {
    grid-template-columns: 1fr;
  }
}

.account-sidebar {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  height: fit-content;
  overflow: hidden;
  position: sticky;
  top: 90px;
}

@media(max-width:991px) {
  .account-sidebar {
    position: static;
    margin-bottom: 1.5rem;
  }

  .account-sidebar nav {
    display: flex;
    overflow-x: auto;
    padding: 0.5rem;
    gap: 0.5rem;
    scrollbar-width: none;
  }

  .account-sidebar nav::-webkit-scrollbar {
    display: none;
  }

  .account-sidebar-user {
    display: none;
  }

  .account-nav-link {
    white-space: nowrap;
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-sm);
    padding: 0.6rem 1rem;
    border-left: 1px solid var(--dark-border) !important;
  }

  .account-nav-link.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
  }
}

.account-sidebar-user {
  padding: 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--dark-border);
}

.account-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 auto 0.75rem;
  font-family: var(--font-display);
  overflow: hidden;
}

.account-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-user-name {
  font-weight: 700;
  color: var(--text-primary);
}

.account-user-email {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.account-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.25rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.account-nav-link:hover,
.account-nav-link.active {
  color: var(--primary);
  background: rgba(255, 107, 0, 0.05);
  border-left-color: var(--primary);
}

.account-nav-link i {
  width: 18px;
  text-align: center;
}

/* ── Order Timeline ─────────────────────────────────────── */
.order-timeline {
  position: relative;
  padding-left: 2rem;
}

.order-timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--dark-border);
}

.timeline-item {
  position: relative;
  padding-bottom: 1.5rem;
}

.timeline-dot {
  position: absolute;
  left: -2rem;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--dark-border);
  background: var(--dark-card);
  transition: var(--transition);
  margin-left: -1px;
}

.timeline-item.done .timeline-dot {
  background: var(--success);
  border-color: var(--success);
}

.timeline-item.current .timeline-dot {
  background: var(--primary);
  border-color: var(--primary);
  animation: pulse-dot 1.5s infinite;
}

.timeline-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.timeline-time {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

@keyframes pulse-dot {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.4);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(255, 107, 0, 0);
  }
}

/* ── Alert / Toast ──────────────────────────────────────── */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.alert-success {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.3);
  color: var(--success);
}

.alert-danger {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: var(--danger);
}

.alert-warning {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
  color: var(--warning);
}

.alert-info {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
  color: var(--info);
}

.alert-close {
  background: none;
  border: none;
  color: inherit;
  font-size: 1.1rem;
  cursor: pointer;
  margin-left: auto;
  opacity: 0.7;
}

.alert-close:hover {
  opacity: 1;
}

.toast-container {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  min-width: 280px;
  max-width: 380px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideInRight 0.3s ease;
  border-left: 4px solid var(--primary);
}

.toast.success {
  border-left-color: var(--success);
}

.toast.error {
  border-left-color: var(--danger);
}

.toast.warning {
  border-left-color: var(--warning);
}

/* ── Stats Bar ──────────────────────────────────────────── */
.stats-bar {
  background: transparent;
  padding: 0;
  position: relative;
  z-index: 20;
  margin-top: 1.5rem;
  margin-bottom: 3rem;
}

.stats-bar-grid {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  padding: 1.25rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  border: 1px solid var(--border);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1rem;
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  transition: transform 0.3s ease, background 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-4px);
  background: rgba(255, 107, 0, 0.03);
}

.stat-icon-wrap {
  width: 56px;
  height: 56px;
  background: rgba(255, 107, 0, 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.stat-item:hover .stat-icon-wrap {
  background: var(--primary);
  color: var(--white) !important;
  box-shadow: 0 8px 20px rgba(255, 107, 0, 0.25);
  transform: scale(1.05) rotate(5deg);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 2px;
}

@media(max-width:992px) {
  .stats-bar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:480px) {
  .stats-bar-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Why Choose Us ──────────────────────────────────────── */
.why-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.why-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(255, 107, 0, 0.1);
}

.why-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 107, 0, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1rem;
  color: var(--primary);
  transition: var(--transition);
}

.why-card:hover .why-icon {
  background: var(--gradient-1);
  color: var(--white);
}

.why-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.why-text {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ── Testimonials ───────────────────────────────────────── */
.testimonial-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonials-swiper .swiper-slide {
  height: auto;
}

.testimonial-quote {
  font-size: 3rem;
  color: var(--primary);
  line-height: 1;
  margin-bottom: -0.5rem;
  font-family: Georgia, serif;
}

.testimonial-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--gradient-1);
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--text-primary);
}

.testimonial-bike {
  font-size: 0.75rem;
  color: var(--primary);
}

/* ── Newsletter ─────────────────────────────────────────── */
.newsletter-section {
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.1) 0%, rgba(0, 212, 255, 0.05) 100%);
  border: 1px solid rgba(255, 107, 0, 0.2);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
}

.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 1.5rem auto 0;
  gap: 0;
}

.newsletter-form input {
  flex: 1;
  background: var(--surface);
  border: 1.5px solid var(--dark-border);
  color: var(--text-primary);
  padding: 0.8rem 1.25rem;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-size: 0.9rem;
  outline: none;
}

.newsletter-form input:focus {
  border-color: var(--primary);
}

.newsletter-form .btn {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: var(--secondary);
  border-top: 1px solid var(--dark-border);
}

.footer-main {
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}

@media(min-width:576px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(min-width:900px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand .logo {
  margin-bottom: 1rem;
  display: inline-flex;
}

.footer-brand-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 280px;
  margin-bottom: 1rem;
}

.footer-socials {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--dark-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-social-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-col-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.footer-link {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-contact-item i {
  color: var(--primary);
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid var(--dark-border);
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

/* ── Admin ──────────────────────────────────────────────── */
.admin-body {
  background: var(--dark);
  color: var(--text-primary);
  font-family: var(--font-main);
}

.admin-layout {
  display: grid;
  min-height: 100vh;
}

@media(min-width:768px) {
  .admin-layout {
    grid-template-columns: 260px 1fr;
  }
}

.admin-sidebar {
  background: var(--secondary);
  border-right: 1px solid var(--dark-border);
  min-height: 100vh;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.admin-sidebar-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--dark-border);
}

.admin-sidebar-menu {
  padding: 1rem 0;
}

.admin-menu-group {
  margin-bottom: 0.5rem;
}

.admin-menu-group-title {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  padding: 0.5rem 1.25rem;
  font-weight: 600;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: var(--transition);
  border-left: 3px solid transparent;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-right: 0.75rem;
}

.admin-nav-link:hover {
  color: var(--text-primary);
  background: var(--surface);
}

.admin-nav-link.active {
  color: var(--primary);
  background: rgba(255, 107, 0, 0.08);
  border-left-color: var(--primary);
}

.admin-nav-link i {
  width: 18px;
  text-align: center;
  font-size: 0.95rem;
}

.admin-nav-badge {
  margin-left: auto;
  background: var(--danger);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 100px;
}

.admin-main {
  overflow-x: hidden;
}

.admin-topbar {
  background: var(--secondary);
  border-bottom: 1px solid var(--dark-border);
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.admin-topbar-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-content {
  padding: 1.5rem;
}

@media(min-width:1024px) {
  .admin-content {
    padding: 2rem;
  }
}

/* Stat Cards */
.stat-cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, 1fr);
}

@media(min-width:768px) {
  .stat-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: var(--transition);
}

.stat-card:hover {
  border-color: rgba(255, 107, 0, 0.3);
}

.stat-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.stat-card-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.stat-card-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.stat-card-trend {
  font-size: 0.75rem;
  margin-top: 0.3rem;
}

.trend-up {
  color: var(--success);
}

.trend-down {
  color: var(--danger);
}

/* Admin Table */
.admin-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--dark-border);
  /* Sleek mobile scrollbar */
  scrollbar-width: thin;
  scrollbar-color: var(--dark-border) transparent;
  -webkit-overflow-scrolling: touch;
  /* smooth iOS scroll */
}

.admin-table-wrap::-webkit-scrollbar {
  height: 6px;
}

.admin-table-wrap::-webkit-scrollbar-thumb {
  background: var(--dark-border);
  border-radius: 4px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
}

.admin-table th {
  background: var(--surface);
  padding: 0.85rem 1rem;
  text-align: left;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--dark-border);
}

.admin-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
  font-size: 0.875rem;
}

.admin-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.admin-table tr:last-child td {
  border-bottom: none;
}

/* ── Page Hero ──────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--dark-card) 100%);
  border-bottom: 1px solid var(--dark-border);
  padding: 2.5rem 0;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FF6B00' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero-inner {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.page-hero-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: var(--text-primary);
}

.page-hero-title span {
  color: var(--primary);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  margin-top: 0.4rem;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb-sep {
  color: var(--text-muted);
}

/* ── Empty State ────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
}

.empty-state-icon {
  font-size: 4rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.empty-state h3 {
  color: var(--text-secondary);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--text-muted);
  font-size: 0.875rem;
  max-width: 420px;
  margin: 0 auto 1.5rem;
}

/* ── Loading ────────────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, var(--surface) 25%, var(--dark-border) 50%, var(--surface) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid var(--dark-border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.page-loader {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.page-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader-ring {
  width: 64px;
  height: 64px;
  border: 4px solid var(--dark-border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* ── Tabs ───────────────────────────────────────────────── */
.tab-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--dark-border);
  overflow-x: auto;
}

.tab-btn {
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: var(--transition);
}

.tab-btn:hover {
  color: var(--text-primary);
}

.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.tab-panel {
  display: none;
  padding-top: 1.5rem;
}

.tab-panel.active {
  display: block;
}

/* ── Compatibility Finder ───────────────────────────────── */
.compat-finder {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
}

.search-finder-section .compat-finder {
  padding: 1.25rem 1.75rem;
}

.compat-finder-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}

@media(min-width:576px) {
  .compat-finder-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(min-width:900px) {
  .compat-finder-grid {
    grid-template-columns: repeat(3, 1fr) auto;
    align-items: end;
    gap: 1rem;
  }
}

/* ── Utility ────────────────────────────────────────────── */
.d-flex {
  display: flex;
}

.d-grid {
  display: grid;
}

.d-none {
  display: none;
}

.d-block {
  display: block;
}

.align-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.flex-wrap {
  flex-wrap: wrap;
}

.gap-1 {
  gap: 0.5rem;
}

.gap-2 {
  gap: 1rem;
}

.gap-3 {
  gap: 1.5rem;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-primary-color {
  color: var(--primary);
}

.text-success {
  color: var(--success);
}

.text-danger {
  color: var(--danger);
}

.text-muted {
  color: var(--text-muted);
}

.fw-bold {
  font-weight: 700;
}

.fw-600 {
  font-weight: 600;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.p-0 {
  padding: 0;
}

.w-100 {
  width: 100%;
}

.rounded {
  border-radius: var(--radius-md);
}

.divider {
  height: 1px;
  background: var(--dark-border);
  margin: 1.5rem 0;
  border: none;
}

.visually-hidden {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
  width: 1px;
  height: 1px;
}

/* ── Responsive Helpers ─────────────────────────────────── */
@media(max-width:768px) {
  .d-mobile-none {
    display: none !important;
  }

  .header-top {
    display: none;
  }

  .header-main-inner {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    gap: 0.25rem;
    padding: 0 0.75rem;
  }

  .logo {
    flex-shrink: 0;
  }

  .logo img {
    height: 38px !important;
    width: auto !important;
  }

  .logo-icon {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }

  .logo-text .brand {
    font-size: 0.95rem;
  }

  .logo-text .tagline {
    font-size: 0.45rem;
    letter-spacing: 0.5px;
  }

  .mobile-search-container {
    flex: 1;
    margin: 0 0.5rem;
    min-width: 0;
  }

  .mobile-search-form {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    height: 34px;
    padding: 0 0.6rem;
  }

  .mobile-search-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.8rem;
    padding-right: 0.4rem;
  }

  .mobile-search-input {
    width: 100%;
    background: none;
    border: none;
    color: var(--white);
    font-size: 0.75rem;
    outline: none;
    padding: 0;
  }

  .mobile-search-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
  }

  .header-icon-btn {
    width: 36px;
    height: 36px;
    font-size: 1rem;
    background: transparent;
    border: none;
  }

  .header-icon-btn:hover {
    background: rgba(255, 107, 0, 0.1);
  }

  .hamburger {
    width: 34px;
    height: 34px;
    background: transparent;
    border: none;
    padding: 0;
  }

  .icon-badge {
    top: 0;
    right: 0;
    min-width: 15px;
    height: 15px;
    font-size: 0.6rem;
  }

  /* Section Spacing */
  .section {
    padding: 2.5rem 0;
  }

  .section-title {
    font-size: 1.4rem !important;
  }

  /* Hero Overlap Fix */
  .hero-swiper {
    height: clamp(200px, 55vw, 400px);
  }
  .hero-slide {
    padding: 3rem 0;
    height: clamp(200px, 55vw, 400px);
    min-height: auto;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
  }

  .hero-actions {
    gap: 0.75rem;
  }

  .hero-stats {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
  }

  /* Stats Bar Fix */
  .stats-bar {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
  }
  
  .stats-bar-grid {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 0.75rem 0.5rem;
    gap: 0.5rem !important;
    border-radius: 12px;
  }
  
  .stats-bar-grid::-webkit-scrollbar {
    display: none;
  }

  .stat-item {
    flex: 0 0 auto;
    min-width: 80px;
    scroll-snap-align: center;
    flex-direction: column;
    text-align: center;
    gap: 0.4rem;
    padding: 0.5rem 0.2rem;
  }

  .stat-icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }
  
  .stat-icon-wrap svg {
    width: 16px;
    height: 16px;
  }

  .stat-value {
    font-size: 0.85rem;
  }
  
  .stat-label {
    font-size: 0.55rem;
    line-height: 1.2;
  }

  /* Grid Fixes */
  .category-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
  }

  .product-card-body {
    padding: 0.75rem 0.5rem;
  }

  .product-card-title {
    height: 2.4rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
}

@media(max-width:480px) {
  .logo-text {
    display: none;
  }

  /* Hide tagline on very small screens to save space */
  .header-main-inner {
    gap: 0.15rem;
  }

  .mobile-search-container {
    margin: 0 0.25rem;
  }
}

@media(max-width:480px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input {
    border-radius: var(--radius-sm);
  }

  .newsletter-form .btn {
    border-radius: var(--radius-sm);
  }
}

@media(min-width:769px) {
  .d-desktop-none {
    display: none !important;
  }
}

/* ── Animations ─────────────────────────────────────────── */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fade {
  animation: fadeIn 0.5s ease forwards;
}

.animate-slide-up {
  animation: slideInUp 0.5s ease forwards;
}

.animate-scale {
  animation: scaleIn 0.4s ease forwards;
}

/* Scroll animation trigger */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Swiper Overrides ───────────────────────────────────── */
.swiper-pagination-bullet {
  background: var(--text-muted);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: var(--primary);
  width: 24px;
  border-radius: 100px;
}

.swiper-button-next,
.swiper-button-prev {
  width: 44px;
  height: 44px;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-sm);
  color: var(--text-primary) !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 0.85rem !important;
  font-weight: 900;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--primary);
  border-color: var(--primary);
}

@media(max-width:768px) {

  .hero-swiper .swiper-button-next,
  .hero-swiper .swiper-button-prev {
    display: none !important;
  }

  /* Hide mobile arrows to stop text overlap */
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }
}

.brands-swiper, .category-swiper, .bikes-swiper, .products-swiper {
  padding-bottom: 4rem !important;
  padding-left: 3rem !important;
  padding-right: 3rem !important;
}

.swiper-button-next {
  right: 0 !important;
}
.swiper-button-prev {
  left: 0 !important;
}

.swiper-pagination {
  bottom: 0 !important;
}

/* ── Scrollbar ──────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--dark);
}

::-webkit-scrollbar-thumb {
  background: var(--dark-border);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* ── Selection ──────────────────────────────────────────── */
::selection {
  background: rgba(255, 107, 0, 0.25);
  color: var(--white);
}

/* ── WhatsApp Float ─────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  width: 54px;
  height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
  color: var(--white);
}

/* ── Back to Top ────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 5rem;
  right: 1.5rem;
  z-index: 998;
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  background: var(--primary-dark);
  color: var(--white);
}

/* ── Mobile Account Sidebar ─────────────────────────────── */
@media(max-width:767px) {
  .account-layout {
    grid-template-columns: 1fr;
  }

  .account-sidebar {
    position: static;
    top: auto;
  }
}

/* ── Mobile Filter Sidebar ──────────────────────────────── */
@media(max-width:899px) {
  .filter-sidebar {
    position: static;
    top: auto;
  }

  .shop-layout {
    grid-template-columns: 1fr;
  }
}



/* ── Brand Premium Grid ─────────────────────────────────── */
.brands-premium-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.brand-card-v2 {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--dark-border);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  padding: 1rem;
}

.brand-card-v2:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.brand-image-wrapper {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  padding: 0;
}

.brand-image-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: all 0.4s ease;
}

.brand-card-v2:hover .brand-image-wrapper img {
  transform: scale(1.05);
}

.brand-overlay {
  padding: 0.5rem 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.brand-name-hover {
  font-size: 1.1rem;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
}

/* Premium Swiper Cards */
.brand-card-premium {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  display: block;
  transition: var(--transition);
}

.brand-logo-wrap {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.brand-logo-wrap img {
  max-height: 100%;
  transition: var(--transition);
}

.brand-name-tag {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.brand-card-premium:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  background: rgba(255, 107, 0, 0.05);
}

.brand-card-premium:hover .brand-logo-wrap img {
  transform: scale(1.1);
}

.brand-card-premium:hover .brand-name-tag {
  color: var(--primary);
}

/* ── Promo Banner Premium ────────────────────────────────── */
.promo-banner-premium {
  position: relative;
  background: var(--gradient-hero);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
  border: 1px solid var(--dark-border);
  box-shadow: var(--shadow-lg);
}

[data-theme="light"] .promo-banner-premium {
  background: linear-gradient(135deg, #ffffff 0%, #f0f4f8 100%);
  border-color: #e2e8f0;
}

.promo-banner-img {
  position: relative;
  overflow: hidden;
}

.promo-banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 10s ease;
}

.promo-banner-premium:hover .promo-banner-img img {
  transform: scale(1.1);
}

.promo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, var(--dark-card) 95%);
}

[data-theme="light"] .promo-overlay {
  background: linear-gradient(90deg, transparent 0%, #ffffff 95%);
}

.promo-banner-content {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.promo-tag {
  display: inline-block;
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  margin-bottom: 1.25rem;
  background: rgba(255, 107, 0, 0.1);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(255, 107, 0, 0.2);
}

.promo-title {
  font-size: 2.8rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
}

.promo-title span {
  color: var(--primary);
}

.promo-text {
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 450px;
  font-size: 1.05rem;
  line-height: 1.6;
}

.promo-features {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.promo-features span {
  font-size: 0.85rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.promo-features i {
  color: var(--success);
}

@media (max-width: 900px) {
  .promo-banner-premium {
    grid-template-columns: 1fr;
  }

  .promo-overlay {
    background: linear-gradient(0deg, var(--dark-card) 40%, transparent 100%);
  }

  .promo-banner-content {
    padding: 2rem;
    margin-top: -100px;
    background: linear-gradient(0deg, var(--dark-card) 80%, transparent);
  }

  .promo-title {
    font-size: 1.8rem;
  }
}

/* Mini Promo Cards */
.promo-card-mini {
  display: block;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16/7;
  background: var(--surface);
  border: 1px solid var(--dark-border);
}

.promo-card-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.promo-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}

.promo-card-overlay h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.promo-card-btn {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.promo-card-mini:hover img {
  transform: scale(1.05);
}

.promo-card-mini:hover .promo-card-overlay {
  background: linear-gradient(0deg, rgba(255, 107, 0, 0.3) 0%, transparent 100%);
}

.promo-features {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.promo-features span {
  font-size: 0.85rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.promo-features i {
  color: var(--success);
}

@media (max-width: 900px) {
  .promo-banner-premium {
    grid-template-columns: 1fr;
  }

  .promo-overlay {
    background: linear-gradient(0deg, var(--dark-card) 40%, transparent 100%);
  }

  .promo-banner-content {
    padding: 2rem;
    margin-top: -100px;
    background: linear-gradient(0deg, var(--dark-card) 80%, transparent);
  }

  .promo-title {
    font-size: 1.8rem;
  }
}

/* Mini Promo Cards */
.promo-card-mini {
  display: block;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16/7;
  background: var(--surface);
  border: 1px solid var(--dark-border);
}

.promo-card-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.promo-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}

.promo-card-overlay h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.promo-card-btn {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.promo-card-mini:hover img {
  transform: scale(1.05);
}

.promo-card-mini:hover .promo-card-overlay {
  background: linear-gradient(0deg, rgba(255, 107, 0, 0.3) 0%, transparent 100%);
}

/* ══════════════════════════════════════════════════════════
   SITE FOOTER — Theme-aware
   ══════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--secondary);
  border-top: 1px solid var(--dark-border);
  color: var(--text-secondary);
  margin-top: 4rem;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.footer-main {
  padding: 3.5rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 3rem;
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

.footer-brand-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 1rem 0 1.25rem;
}

.footer-socials {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.footer-social-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--dark-border);
  background: var(--surface);
  color: var(--text-secondary);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}

.footer-social-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 1rem;
  font-family: var(--font-display);
}

.footer-link {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.3rem 0;
  transition: color 0.2s;
}

.footer-link:hover { color: var(--primary); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.footer-contact-item svg { color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a { color: var(--text-muted); transition: color .2s; }
.footer-contact-item a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid var(--dark-border);
  padding: 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 1.25rem;
}

.footer-bottom-links a {
  color: var(--text-muted);
  font-size: 0.8rem;
  transition: color .2s;
}

.footer-bottom-links a:hover { color: var(--primary); }

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
  z-index: 999;
  transition: transform .3s, box-shadow .3s;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 10px 30px rgba(37,211,102,0.5); }

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gradient-1);
  color: #fff;
  border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s, box-shadow .3s;
  box-shadow: 0 4px 15px rgba(255,107,0,0.35);
  z-index: 998;
}
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(255,107,0,0.45); }

/* ── Smooth global transitions for theme switch ── */
*, *::before, *::after {
  transition-property: background-color, border-color, color, box-shadow;
  transition-duration: 0.25s;
  transition-timing-function: ease;
}