/* ═══════════════════════════════════════════════════════════
   DHAMIJA SPARES - Complete Component Styles
   All missing UI components from pages
══════════════════════════════════════════════════════════ */

/* ── Page Loader ──────────────────────────────────────── */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-ring {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 107, 0, 0.2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ── Header ───────────────────────────────────────────── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--dark-border);
  transition: box-shadow 0.3s ease;
}

#site-header.scrolled {
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.6);
}

.header-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.header-top-info,
.header-top-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.75rem;
}

.header-top-info a,
.header-top-actions a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.header-top-info a:hover,
.header-top-actions a:hover {
  color: var(--primary);
}

@media (max-width: 767px) {
  .d-mobile-none {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .d-desktop-none {
    display: none !important;
  }
}

.header-main {
  padding: 0.9rem 0;
}

.header-main-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow-glow);
  flex-shrink: 0;
}

.logo-text .brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 1px;
  line-height: 1;
}

.logo-text .tagline {
  font-size: 0.6rem;
  color: var(--primary);
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1;
  margin-top: 2px;
}

/* Search */
.header-search {
  flex: 1;
  max-width: 600px;
  position: relative;
}

.header-search-form {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s;
}

.header-search-form:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(255, 107, 0, 0.15);
}

.search-category-select {
  background: rgba(255, 107, 0, 0.1);
  border: none;
  border-right: 1px solid var(--dark-border);
  color: var(--text-secondary);
  padding: 0 0.75rem;
  font-size: 0.8rem;
  cursor: pointer;
  outline: none;
  min-width: 110px;
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-primary);
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  outline: none;
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-btn {
  background: var(--gradient-1);
  border: none;
  color: white;
  padding: 0 1.1rem;
  cursor: pointer;
  font-size: 1rem;
  transition: opacity 0.2s;
}

.search-btn:hover {
  opacity: 0.9;
}

.search-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  z-index: 500;
  box-shadow: var(--shadow-card);
  max-height: 380px;
  overflow-y: auto;
  display: none;
}

.search-suggestion-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: background 0.15s;
  border-bottom: 1px solid var(--dark-border);
}

.search-suggestion-item:last-child {
  border-bottom: none;
}

.search-suggestion-item:hover {
  background: rgba(255, 107, 0, 0.08);
}

.suggestion-img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--dark-border);
}

.suggestion-info .name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
}

.suggestion-info .price {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 700;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.header-icon-btn {
  position: relative;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  font-size: 1.1rem;
}

.header-icon-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(255, 107, 0, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 107, 0, 0.2);
}

.icon-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--primary);
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--dark);
}

.noti-badge {
  transform: scale(0.9);
}

.header-cta-btn {
  background: var(--gradient-1);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  transition: opacity 0.2s;
}

.header-cta-btn:hover {
  opacity: 0.9;
}

/* Hamburger */
.hamburger {
  background: var(--surface);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  transition: var(--transition);
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.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);
}

/* ── Main Nav ──────────────────────────────────────────── */
.main-nav {
  background: var(--secondary);
  border-top: 1px solid var(--dark-border);
}

.main-nav-inner {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1rem;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link.active {
  border-bottom: 2px solid var(--primary);
}

.nav-arrow {
  font-size: 0.6rem;
  transition: transform 0.2s;
}

.nav-item:hover .nav-arrow {
  transform: rotate(180deg);
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 320px;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-top: 2px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 1.25rem;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
}

.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.25rem;
}

.mega-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.6rem;
  color: var(--text-secondary);
  font-size: 0.8rem;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.15s;
}

.mega-link:hover {
  background: rgba(255, 107, 0, 0.1);
  color: var(--primary);
}

.mega-col-title {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── Mobile Nav ───────────────────────────────────────── */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  max-width: 100vw;
  background: var(--dark-card);
  z-index: 9991;
  padding: 1.5rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 1px solid var(--dark-border);
}

.mobile-nav.open {
  transform: translateX(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;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
}

.mobile-nav-links .nav-link {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--dark-border);
  font-size: 0.9rem;
}

/* Mobile Accordion Styles */
.mobile-nav-item {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.mobile-nav-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0.8rem 0;
  border: none;
  border-bottom: 1px solid var(--dark-border);
  background: none;
  color: var(--text-primary);
  text-align: left;
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  transition: color 0.2s;
}

.mobile-nav-toggle:hover {
  color: var(--primary);
}

.mobile-nav-toggle .toggle-arrow {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
  color: var(--text-muted);
}

.mobile-nav-item.active .mobile-nav-toggle {
  color: var(--primary);
  border-bottom-color: transparent;
}

.mobile-nav-dropdown-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid var(--dark-border);
}

.mobile-dropdown-inner {
  padding: 0.5rem 0 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-dropdown-link {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  padding: 0.2rem 0;
  display: block;
}

.mobile-dropdown-link:hover {
  color: var(--primary);
}

.mobile-menu-brand-group {
  margin-top: 0.75rem;
}

.mobile-menu-brand-group:first-child {
  margin-top: 0;
}

.mobile-brand-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  display: block;
  margin-bottom: 0.4rem;
  transition: color 0.2s;
}

.mobile-brand-title:hover {
  color: var(--primary);
}

.mobile-brand-models {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-left: 0.75rem;
  border-left: 1px dashed var(--dark-border);
  margin-left: 0.25rem;
}

.mobile-model-link {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  padding: 0.15rem 0;
  display: block;
}

.mobile-model-link:hover {
  color: var(--primary);
}

/* ── Hero ─────────────────────────────────────────────── */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-slide {
  position: relative;
  height: clamp(250px, 50vw, 700px);
  display: flex;
  align-items: center;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, 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.4rem;
  background: rgba(255, 107, 0, 0.15);
  border: 1px solid rgba(255, 107, 0, 0.4);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-title span {
  color: var(--primary);
  font-family: inherit;
}

.hero-subtitle {
  font-size: clamp(0.875rem, 2vw, 1.1rem);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.hero-stat-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.swiper-button-prev,
.swiper-button-next {
  color: var(--primary) !important;
}

.swiper-pagination-bullet-active {
  background: var(--primary) !important;
}


/* Stats bar styles moved and modernized in style.css */
/* ── Compat 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;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.85rem;
  align-items: end;
}

@media(min-width:900px) {
  .compat-finder-grid {
    grid-template-columns: repeat(3, 1fr) auto;
    gap: 1rem;
  }
}

/* ── Products Grid ────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

@media (max-width:576px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

@media (max-width:380px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* Product Card */
.product-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: rgba(255, 107, 0, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.product-card-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--surface);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card-image img {
  transform: scale(1.06);
}

.product-card-badges {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.product-card-actions {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  opacity: 0;
  transition: opacity 0.25s;
}

.product-card:hover .product-card-actions {
  opacity: 1;
}

.product-card-action-btn {
  width: 38px;
  height: 38px;
  background: var(--surface);
  border: 1px solid var(--dark-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-card-action-btn:hover,
.product-card-action-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  transform: scale(1.1);
}

.product-card-body {
  padding: 0.9rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-brand {
  font-size: 0.7rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.3rem;
}

.product-card-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  flex: 1;
}

.product-card-title a {
  color: inherit;
  text-decoration: none;
}

.product-card-title a:hover {
  color: var(--primary);
}

.product-card-compat {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.product-card-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.4rem;
}

.stars {
  color: var(--warning);
}

.rating-count {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.product-card-price {
  margin-bottom: 0.6rem;
}

.price-current {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-display);
}

.price-original {
  font-size: 0.78rem;
  text-decoration: line-through;
  color: var(--text-muted);
  margin-left: 0.4rem;
}

.price-discount {
  font-size: 0.7rem;
  color: var(--success);
  font-weight: 600;
  margin-left: 0.4rem;
}

.product-card-stock {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.stock-in {
  color: var(--success);
}

.stock-low {
  color: var(--warning);
}

.stock-out {
  color: var(--danger);
}

.product-card-add-btn {
  width: 100%;
  justify-content: center;
}

/* ── Category Grid ────────────────────────────────────── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1rem;
}

@media (max-width:576px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
  }
}

.category-card-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Category Slider Premium - Image focused, no borders/bg */
.category-card-premium {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  background: transparent;
  border: none;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  padding: 0;
}

.category-card-premium:hover {
  transform: translateY(-8px);
}

.cat-img-wrapper {
  position: relative;
  height: 200px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform 0.4s ease;
}

.cat-img-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.category-card-premium:hover .cat-img-wrapper {
  transform: scale(1.1);
}

.cat-overlay {
  display: none;
}

.cat-info {
  position: relative;
  padding: 0.5rem 0;
  text-align: center;
}

.cat-name {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.1rem;
  font-family: var(--font-display);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.cat-explore {
  display: none;
}

/* ── Brand Cards Premium ───────────────────────────────── */
.brand-card-premium {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 160px;
}

.brand-card-premium:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  background: linear-gradient(135deg, var(--dark-card), rgba(255, 107, 0, 0.05));
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 107, 0, 0.2);
}

.brand-logo-wrap {
  width: 120px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.brand-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.6);
  transition: all 0.4s ease;
}

.brand-card-premium:hover .brand-logo-wrap img {
  filter: none;
  transform: scale(1.1);
}

.brand-name-tag {
  margin-top: 1.25rem;
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.brand-card-premium:hover .brand-name-tag {
  color: var(--primary);
}

.brand-hover-btn {
  position: absolute;
  bottom: -40px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
}

.brand-card-premium:hover .brand-hover-btn {
  bottom: 20px;
}

/* ── Why Cards ────────────────────────────────────────── */
.why-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.why-card:hover {
  border-color: rgba(255, 107, 0, 0.3);
  transform: translateY(-3px);
}

.why-icon {
  font-size: 1.8rem;
  color: var(--primary);
  background: rgba(255, 107, 0, 0.1);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.why-title {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.why-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Testimonials ─────────────────────────────────────── */
.testimonial-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-quote {
  font-size: 4rem;
  line-height: 0.7;
  color: var(--primary);
  opacity: 0.3;
  font-family: Georgia, serif;
}

.testimonial-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0.75rem 0 1rem;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.875rem;
}

.testimonial-bike {
  font-size: 0.72rem;
  color: var(--primary);
}

/* ── Newsletter ───────────────────────────────────────── */
.newsletter-section {
  text-align: center;
  padding: 3rem 2rem;
}

.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 460px;
  margin: 1.5rem auto 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.newsletter-form input {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--dark-border);
  border-right: none;
  color: var(--text-primary);
  padding: 0.8rem 1rem;
  font-size: 0.875rem;
  outline: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.newsletter-form button {
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* ── Shop Layout ──────────────────────────────────────── */
.shop-layout {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 260px 1fr;
  align-items: start;
}

@media (max-width:900px) {
  .shop-layout {
    grid-template-columns: 1fr;
  }

  .filter-sidebar {
    display: none;
  }
}

/* Sidebar */
.filter-sidebar {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  height: fit-content;
  position: sticky;
  top: 80px;
}

@media (max-width: 899px) {
  .filter-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    z-index: 2000;
    overflow-y: auto;
    border-radius: 0;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.5);
  }

  .filter-sidebar.open {
    left: 0;
  }
}

.filter-sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1rem 0.75rem;
  border-bottom: 1px solid var(--dark-border);
}

.filter-sidebar-title {
  font-weight: 700;
  font-size: 0.9rem;
}

.filter-reset-btn {
  font-size: 0.78rem;
  color: var(--primary);
  text-decoration: none;
}

.filter-section {
  border-bottom: 1px solid var(--dark-border);
}

.filter-section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1rem;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
}

.filter-section-body {
  padding: 0.5rem 1rem 0.85rem;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0;
  cursor: pointer;
  font-size: 0.82rem;
  color: var(--text-secondary);
  transition: color 0.15s;
}

.filter-option:hover {
  color: var(--primary);
}

.filter-option input {
  accent-color: var(--primary);
}

.filter-option-label {
  flex: 1;
}

.filter-option-count {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.price-range-inputs {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.price-range-inputs input {
  flex: 1;
  min-width: 0;
  padding: 0.45rem 0.6rem;
  font-size: 0.8rem;
}

.price-range-sep {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Shop Toolbar */
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-sm);
  padding: 0.65rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.shop-toolbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sort-select {
  background: var(--surface);
  border: 1px solid var(--dark-border);
  color: var(--text-primary);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  cursor: pointer;
}

.view-btns button {
  width: 32px;
  height: 32px;
  background: var(--surface);
  border: 1px solid var(--dark-border);
  border-radius: 4px;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
}

.view-btns button.active {
  border-color: var(--primary);
  color: var(--primary);
}

/* ── Page Hero ────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
  border-bottom: 1px solid var(--dark-border);
  padding: 2rem 0;
}

.page-hero-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--text-primary);
}

.page-hero-title span {
  color: var(--primary);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb-sep {
  color: var(--dark-border);
}

/* ── Cart ─────────────────────────────────────────────── */
/* Cart Table Responsiveness */
@media (max-width: 768px) {
  .cart-table thead {
    display: none;
  }
  .cart-table tr {
    display: block;
    margin-bottom: 1.5rem;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    padding: 1rem;
  }
  .cart-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border: none;
    border-bottom: 1px solid var(--dark-border);
    text-align: right;
  }
  .cart-table td:last-child {
    border-bottom: none;
  }
  .cart-table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-right: 1rem;
    text-align: left;
  }
  .cart-product {
    flex-direction: row;
    text-align: left;
    width: 100%;
  }
}

.cart-layout {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr 360px;
  align-items: start;
}

@media (max-width:900px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th {
  background: var(--surface);
  padding: 0.75rem 1rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  text-align: left;
  border-bottom: 1px solid var(--dark-border);
}

.cart-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--dark-border);
  vertical-align: middle;
}

.cart-product {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cart-product-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--dark-border);
}

.cart-product-name {
  font-size: 0.875rem;
  font-weight: 600;
}

.cart-product-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.cart-remove {
  background: none;
  border: 1px solid var(--dark-border);
  border-radius: 6px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  color: var(--danger);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.cart-remove:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: var(--danger);
}

.order-summary-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: sticky;
  top: 90px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.summary-row.total {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-primary);
  border-color: var(--dark-border);
  padding-top: 0.85rem;
}

.summary-row.total .val {
  color: var(--primary);
}

.coupon-form {
  display: flex;
  gap: 0;
}

.coupon-form input {
  flex: 1;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.coupon-form button {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ── Checkout ─────────────────────────────────────────── */
.checkout-layout {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 1024px) {
  .checkout-layout {
    grid-template-columns: 1fr 380px;
    gap: 2rem;
  }
}

/* Checkout order summary stacks below on mobile */
@media (max-width: 1023px) {
  .checkout-layout > div:last-child {
    order: -1; /* Show order summary FIRST on mobile */
  }
  .order-summary-card {
    position: static !important;
  }
}

.checkout-step {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .checkout-step {
    padding: 1.5rem;
    margin-bottom: 1.25rem;
  }
}

.checkout-step-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.step-number {
  width: 34px;
  height: 34px;
  background: var(--gradient-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: white;
  font-family: var(--font-display);
  flex-shrink: 0;
}

.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.payment-method-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: 1.5px solid var(--dark-border);
  border-radius: var(--radius-md);
  margin-bottom: 0.6rem;
  cursor: pointer;
  transition: var(--transition);
}

.payment-method-option:hover {
  border-color: rgba(255, 107, 0, 0.4);
}

.payment-method-option.selected {
  border-color: var(--primary);
  background: rgba(255, 107, 0, 0.07);
}

.payment-method-option input {
  accent-color: var(--primary);
}

.payment-icon {
  font-size: 1.5rem;
}

.payment-label {
  font-weight: 600;
  font-size: 0.875rem;
}

.payment-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ── Product Detail Layout (Mobile-First) ─────────────── */
/* Mobile: stack gallery FIRST (top), info BELOW */
.pd-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}


/* Tablet (768px+): show side-by-side but image capped */
@media (min-width: 768px) {
  .pd-layout {
    display: grid;
    grid-template-columns: 44% 1fr;
    gap: 2rem;
    align-items: start;
  }
}

/* Desktop (1024px+): optimal proportions */
@media (min-width: 1024px) {
  .pd-layout {
    grid-template-columns: 42% 1fr;
    gap: 2.5rem;
  }

  .pd-info {
    position: sticky;
    top: 90px;
  }
}

/* Large screens: slightly reduce image column */
@media (min-width: 1280px) {
  .pd-layout {
    grid-template-columns: 40% 1fr;
  }
}

/* Mobile action buttons */
.product-action-btns {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Make buttons properly sized on all viewports */
.product-action-btns .btn {
  min-height: 48px;
  font-size: 0.88rem;
}

@media (min-width: 768px) {
  .product-action-btns .btn {
    min-height: 50px;
    font-size: 0.9rem;
  }
}

/* Gallery */
.gallery-main {
  aspect-ratio: 1;
  background: var(--surface);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
  touch-action: none;
  /* Cap max height so it doesn't dominate on large screens */
  max-height: 500px;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.1s linear;
  transform-origin: center center;
}

.gallery-zoom-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.1);
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}

.gallery-main:hover .gallery-zoom-overlay {
  opacity: 1;
}

.gallery-main.zoomed img {
  transform: scale(1.8);
}

.gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.gallery-thumb {
  width: 60px;
  height: 60px;
  border: 2px solid var(--dark-border);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

@media (min-width: 768px) {
  .gallery-thumb {
    width: 70px;
    height: 70px;
  }
}

.gallery-thumb:hover,
.gallery-thumb.active {
  border-color: var(--primary);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product info text */
.product-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
}

.product-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.product-detail-price {
  margin-bottom: 1.25rem;
}

.detail-price-current {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
  font-weight: 800;
  color: var(--primary);
}

.detail-price-original {
  font-size: 0.95rem;
  text-decoration: line-through;
  color: var(--text-muted);
  margin-left: 0.75rem;
}

.detail-price-badge {
  background: rgba(34, 197, 94, 0.15);
  color: var(--success);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  margin-left: 0.5rem;
}

/* Mobile tweaks */
@media (max-width: 767px) {
  .enquiry-trigger-btn {
    width: 100%;
  }
  .detail-price-current {
    font-size: 1.5rem;
  }
}


/* Quantity Selector */
.quantity-selector {
  display: flex;
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: fit-content;
}

.qty-btn {
  width: 38px;
  height: 42px;
  background: var(--surface);
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  font-size: 1.2rem;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background: rgba(255, 107, 0, 0.1);
  color: var(--primary);
}

.qty-input {
  width: 60px;
  background: transparent;
  border: none;
  border-left: 1px solid var(--dark-border);
  border-right: 1px solid var(--dark-border);
  color: var(--text-primary);
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0;
  outline: none;
}

.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

/* Tabs */
.tab-container {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.tab-nav {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--dark-border);
  background: var(--surface);
}

.tab-btn {
  flex-shrink: 0;
  padding: 0.85rem 1.25rem;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover,
.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.tab-panel {
  display: none;
  padding: 1.5rem;
  animation: fadeIn 0.25s ease;
}

.tab-panel.active {
  display: block;
}

.compat-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.compat-table th {
  background: var(--surface);
  padding: 0.6rem 0.85rem;
  text-align: left;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--dark-border);
}

.compat-table td {
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* ── Account ──────────────────────────────────────────── */
.account-layout {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 220px 1fr;
  align-items: start;
}

@media (max-width:768px) {
  .account-layout {
    grid-template-columns: 1fr;
  }
}

.account-sidebar {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: sticky;
  top: 90px;
}

.account-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--dark-border);
  transition: var(--transition);
}

.account-nav-link:hover,
.account-nav-link.active {
  color: var(--text-primary);
  background: rgba(255, 107, 0, 0.08);
  border-left: 2px solid var(--primary);
}

.account-nav-link.active {
  color: var(--primary);
}

/* ── Order Timeline ───────────────────────────────────── */
.order-timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline-item {
  position: relative;
  margin-bottom: 1.5rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -2rem;
  width: 14px;
  height: 14px;
  background: var(--primary);
  border-radius: 50%;
  border: 2px solid var(--dark);
  top: 3px;
}

.timeline-item.done .timeline-dot {
  background: var(--success);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-2rem + 7px);
  top: 17px;
  width: 2px;
  height: calc(100% + 0.5rem);
  background: var(--dark-border);
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-title {
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.2rem;
}

.timeline-time {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* ── Admin ────────────────────────────────────────────── */
.admin-body {
  background: var(--dark);
}

.admin-sidebar {
  background: var(--dark-card);
  border-right: 1px solid var(--dark-border);
}

.admin-sidebar-header {
  padding: 1.25rem 1rem;
  border-bottom: 1px solid var(--dark-border);
}

.admin-sidebar-menu {
  padding: 0.75rem 0;
}

.admin-menu-group {
  margin-bottom: 0.25rem;
}

.admin-menu-group-title {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  padding: 0.6rem 1rem 0.3rem;
  font-weight: 700;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  border-left: 2px solid transparent;
  position: relative;
}

.admin-nav-link:hover,
.admin-nav-link.active {
  color: var(--text-primary);
  background: rgba(255, 107, 0, 0.08);
  border-left-color: var(--primary);
}

.admin-nav-link.active {
  color: var(--primary);
}

.admin-nav-badge {
  margin-left: auto;
  background: var(--primary);
  color: white;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.1rem 0.4rem;
  border-radius: 10px;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
  background: var(--dark-card);
  border-bottom: 1px solid var(--dark-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.admin-topbar-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.admin-content {
  padding: 1.5rem;
}

/* Admin Table */
.admin-table-wrap {
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  background: var(--surface);
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  font-weight: 600;
  border-bottom: 1px solid var(--dark-border);
  white-space: nowrap;
}

.admin-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  vertical-align: middle;
}

.admin-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

/* Stat Cards (Admin) */
.stat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.stat-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.stat-card-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.stat-card-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-top: 0.2rem;
}

.stat-card-trend {
  color: var(--success);
}

/* ── Badges ───────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.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-warning {
  background: rgba(245, 158, 11, 0.15);
  color: var(--warning);
}

.badge-danger {
  background: rgba(239, 68, 68, 0.15);
  color: var(--danger);
}

.badge-info {
  background: rgba(59, 130, 246, 0.15);
  color: var(--info);
}

.badge-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.badge-sale {
  background: rgba(239, 68, 68, 0.15);
  color: var(--danger);
}

/* ── Toasts ───────────────────────────────────────────── */
.toast-container {
  position: fixed;
  top: 90px;
  right: 1rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--dark-card);
  border-left: 4px solid var(--success);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.1rem;
  box-shadow: var(--shadow-card);
  font-size: 0.85rem;
  max-width: 320px;
  animation: slideIn 0.3s ease;
  transition: opacity 0.3s, transform 0.3s;
  color: var(--text-primary);
}

.toast.error {
  border-left-color: var(--danger);
}

.toast.warning {
  border-left-color: var(--warning);
}

.toast.info {
  border-left-color: var(--info);
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ── Reveal Animation ─────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── WhatsApp Float ───────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 5rem;
  right: 1.5rem;
  width: 54px;
  height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: white;
  text-decoration: none;
  z-index: 500;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
  }
}

/* ── Back to Top ──────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  color: var(--text-primary);
  cursor: pointer;
  font-size: 1rem;
  z-index: 499;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* ── Footer ───────────────────────────────────────────── */
.site-footer {
  background: var(--dark-card);
  border-top: 1px solid var(--dark-border);
}

.footer-main {
  padding: 3.5rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
}

@media (max-width:1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.footer-brand-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 1rem 0 1.25rem;
}

.footer-socials {
  display: flex;
  gap: 0.5rem;
}

.footer-social-btn {
  width: 36px;
  height: 36px;
  background: var(--surface);
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
}

.footer-social-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.footer-col-title {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.footer-link {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--primary);
}

.footer-contact-item {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-bottom: 0.6rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-contact-item i {
  color: var(--primary);
  width: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-contact-item a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  border-top: 1px solid var(--dark-border);
  font-size: 0.78rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1rem;
}

.footer-bottom-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

/* ── Spinner ──────────────────────────────────────────── */
.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

/* ── Pagination ───────────────────────────────────────── */
.pagination-nav {
  margin-top: 2rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  width: 100%;
}

.pagination {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.pagination li a,
.pagination li span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 0.6rem;
  background: var(--surface);
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.pagination li a:hover {
  background: rgba(255, 107, 0, 0.1);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.pagination li.active a {
  background: var(--gradient-1);
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 10px rgba(255, 107, 0, 0.3);
}

/* ── Misc Utilities ───────────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid var(--dark-border);
  margin: 1rem 0;
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
}

.empty-state-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.empty-state h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  max-width: 350px;
  margin-left: auto;
  margin-right: auto;
}

.text-muted {
  color: var(--text-muted);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.w-100 {
  width: 100%;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
  }

  to {
    transform: scale(1);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}
@keyframes slideOut {
  to {
    opacity: 0;
    transform: translateX(-20px);
  }
}

.pagination li a:hover {
  background: rgba(255, 107, 0, 0.1);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.pagination li.active a {
  background: var(--gradient-1);
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 10px rgba(255, 107, 0, 0.3);
}

/* ── Misc Utilities ───────────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid var(--dark-border);
  margin: 1rem 0;
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
}

.empty-state-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.empty-state h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  max-width: 350px;
  margin-left: auto;
  margin-right: auto;
}

.text-muted {
  color: var(--text-muted);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.w-100 {
  width: 100%;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
  }

  to {
    transform: scale(1);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideOut {
  to {
    opacity: 0;
    transform: translateX(-20px);
  }
}

/* ══ RESPONSIVE UTILITIES & GLOBAL MOBILE-FIRST FIXES ══ */

/* Responsive 2-column form grid — stacks on mobile, 2-col on 576px+ */
.form-grid-2col {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 576px) {
  .form-grid-2col {
    grid-template-columns: 1fr 1fr;
  }
}

/* Trust badges grid on product page */
.trust-badges-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

/* Checkout - make form grids fully mobile-first */
@media (max-width: 575px) {
  .checkout-step .form-group[style*="grid-column:1/-1"],
  .checkout-step .form-group[style*="grid-column: 1 / -1"] {
    grid-column: 1 !important;
  }
  /* Full-width page-hero title on mobile */
  .page-hero-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

/* Product page: quantity + action row on mobile */
@media (max-width: 575px) {
  .quantity-selector {
    width: 100%;
    justify-content: space-between;
  }
  .qty-input {
    flex: 1;
  }
}

/* Section padding: tighter on mobile */
@media (max-width: 767px) {
  .section {
    padding: 3rem 0;
  }
  .section-sm {
    padding: 2rem 0;
  }
  .section-lg {
    padding: 3.5rem 0;
  }
  .section-title {
    margin-bottom: 2rem;
  }
  /* About page hero */
  .about-hero h1 {
    font-size: clamp(1.5rem, 6vw, 2.5rem) !important;
  }
  /* Timeline responsive */
  .timeline {
    padding-left: 2rem;
  }
}

/* Checkout - order-summary at top on mobile */
@media (max-width: 1023px) {
  .checkout-layout {
    display: flex;
    flex-direction: column;
  }
  .checkout-layout > div:last-child {
    order: -1;
  }
}

/* Contact Page Layout */
.contact-layout {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr 1.5fr;
  }
}

/* Map responsiveness */
.map-container {
  margin-top: 3rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--dark-border);
  height: 250px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .map-container {
    height: 350px;
  }
}

/* ── Bike Card Premium ────────────────────────────────── */
.bike-card-premium {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  background: var(--dark-card, #1A1F2E);
  border: 1px solid var(--dark-border, #2D3748);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  text-decoration: none;
  padding: 1.5rem;
  z-index: 1;
}

.bike-card-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.08) 0%, rgba(255, 107, 0, 0) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.bike-card-premium:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 12px 30px rgba(255, 107, 0, 0.15);
}

.bike-card-premium:hover::before {
  opacity: 1;
}

.bike-img-wrap {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.4s ease;
}

.bike-card-premium:hover .bike-img-wrap {
  background: rgba(255, 255, 255, 0.05);
}

.bike-img-wrap img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bike-card-premium:hover .bike-img-wrap img {
  transform: scale(1.08) rotate(2deg);
}

.bike-info {
  width: 100%;
  text-align: center;
  transition: all 0.3s ease;
}

.bike-brand {
  font-size: 0.7rem;
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 0.35rem;
}

.bike-name {
  font-size: 1.15rem;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  transition: color 0.3s ease;
}

.bike-card-premium:hover .bike-name {
  color: var(--primary);
}

.bike-years {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.bike-card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 0.5rem;
}

.bike-card-premium:hover .bike-card-cta {
  opacity: 1;
  transform: translateY(0);
}

/* ── Bike Mega Menu ────────────────────────────────── */
.main-nav-inner {
  position: relative;
}

.nav-item.has-mega-menu {
  position: static;
}

.mega-menu-bikes {
  width: 100% !important;
  min-width: unset !important;
  left: 0 !important;
  right: 0 !important;
  transform: translateY(8px) !important;
  padding: 2rem !important;
  border-radius: 0 0 var(--radius-md) var(--radius-md) !important;
  box-sizing: border-box;
}

.nav-item:hover .mega-menu-bikes {
  transform: translateY(0) !important;
}

.mega-menu-bikes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.mega-menu-brand-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.brand-link-header {
  color: var(--primary) !important;
  font-weight: 700;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--dark-border);
  padding-bottom: 0.5rem;
  display: block;
  transition: var(--transition);
}

.brand-link-header:hover {
  color: var(--text-primary) !important;
  border-bottom-color: var(--primary);
}

.mega-menu-models {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.5rem;
}

.bike-mega-link {
  display: flex;
  align-items: center;
  padding: 0.45rem 0.6rem;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s ease;
  background: transparent;
}

.bike-mega-link:hover {
  background: rgba(255, 107, 0, 0.08);
  color: var(--primary) !important;
  transform: translateX(4px);
}

.bike-mega-name {
  white-space: nowrap;
}

/* ── Mobile Swiper Single Card Responsive ────────────────── */
@media (max-width: 479px) {

  /* Make all swiper slides full width cards on mobile */
  .brands-swiper .swiper-slide,
  .bikes-swiper .swiper-slide,
  .category-swiper .swiper-slide {
    width: 100% !important;
  }

  /* Brand cards bigger on mobile */
  .brand-card-v2 {
    min-height: 180px;
  }
  .brand-image-wrapper {
    height: 140px !important;
  }

  /* Bike card bigger image on mobile */
  .bike-img-wrap {
    height: 220px !important;
  }
  .bike-name {
    font-size: 1.3rem !important;
  }
  .bike-years {
    font-size: 0.9rem !important;
  }

  /* Category card bigger on mobile */
  .cat-img-wrapper {
    height: 200px !important;
  }
  .category-card-premium {
    min-height: 240px !important;
  }

  /* Show swiper prev/next nav on mobile */
  .brands-swiper .swiper-button-prev,
  .brands-swiper .swiper-button-next,
  .bikes-swiper-prev,
  .bikes-swiper-next,
  .cat-swiper-prev,
  .cat-swiper-next {
    display: flex !important;
    width: 36px !important;
    height: 36px !important;
    background: var(--primary) !important;
    border-radius: 50% !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.35) !important;
    top: 50% !important;
  }
  .brands-swiper .swiper-button-prev:after,
  .brands-swiper .swiper-button-next:after,
  .bikes-swiper-prev:after,
  .bikes-swiper-next:after,
  .cat-swiper-prev:after,
  .cat-swiper-next:after {
    font-size: 13px !important;
    font-weight: 900 !important;
    color: #fff !important;
  }

  /* Give swipers bottom padding for pagination dots */
  .brands-swiper,
  .bikes-swiper,
  .category-swiper {
    padding-bottom: 48px !important;
  }
}