:root {
  --primary: #1a1f36;
  --primary-hover: #0d6efd;
  --secondary: #ff6b35;
  --accent: #00b894;
  --text: #333333;
  --text-light: #666666;
  --text-white: #ffffff;
  --bg: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #1a1f36;
  --border: #e0e0e0;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-lg: 0 4px 16px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-sm: 4px;
  --transition: 0.25s ease;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --container: 1240px;
}

/* ==========================================================================
   1. GLOBAL RESET & OVERFLOW PREVENTION (CRITICAL FIX)
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  color: var(--text);
  background-color: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}

/* Media, Images & Embeds */
img, svg, video, canvas, audio, iframe, embed, object {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* ==========================================================================
   2. CONTAINERS & GRID UTILITIES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

.container, .container-fluid {
  width: 100%;
  max-width: 100%;
  padding-right: 16px;
  padding-left: 16px;
  margin-right: auto;
  margin-left: auto;
  box-sizing: border-box;
}

@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }
@media (min-width: 1400px) { .container { max-width: 1280px; } }

/* Dedicated Product Listing Grid for 100% Symmetrical Centered Layout */
.product-listing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-bottom: 1.5rem;
}
.product-grid-item {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  display: flex;
  overflow: hidden;
  box-sizing: border-box;
}
.product-grid-item > .product-card,
.product-grid-item > .modern-product-card {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 100%;
  box-sizing: border-box;
}

@media (min-width: 576px) {
  .product-listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}
@media (min-width: 992px) {
  .product-listing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}
@media (min-width: 1300px) {
  .product-listing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

.grid-2 { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.grid-3 { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.grid-4 { display: grid; gap: 1rem; grid-template-columns: 1fr; }

/* Modern Centered Crawlable Pagination */
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem 0 1.5rem 0;
  width: 100%;
}
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.pagination .page-item {
  margin: 0;
}
.pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #1e293b;
  font-weight: 600;
  font-size: 13.5px;
  text-decoration: none;
  transition: all 0.15s ease-in-out;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.pagination .page-link:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0d6efd;
}
.pagination .page-item.active .page-link {
  background: #0d6efd;
  border-color: #0d6efd;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(13, 110, 253, 0.25);
}
.pagination .page-item.disabled .page-link {
  color: #94a3b8;
  pointer-events: none;
  background: #f8fafc;
  border-color: #e2e8f0;
  box-shadow: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.5em;
  color: var(--primary);
  word-break: break-word;
}
h1 { font-size: 2rem; }
h2 { font-size: 1.65rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

@media (min-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.65rem; }
}

/* ==========================================================================
   3. HEADER & MOBILE NAVIGATION BAR
   ========================================================================== */
.site-header {
  position: relative;
  z-index: 1000;
  background: var(--bg);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.main-header {
  background: #ffffff;
  position: relative;
  width: 100%;
}

.navbar-brand {
  max-width: 100%;
}
.header-brand-wrap {
  line-height: 1.15;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
}
.header-brand-wrap:hover {
  text-decoration: none;
}
.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: #0f172a;
  line-height: 1.1;
  text-transform: uppercase;
}
.brand-gstin {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #64748b;
  line-height: 1.2;
  display: block;
}

@media (max-width: 576px) {
  .brand-title {
    font-size: 1.05rem;
    letter-spacing: -0.3px;
  }
  .brand-gstin {
    font-size: 8.5px;
    letter-spacing: 0.3px;
  }
}
@media (max-width: 360px) {
  .brand-title {
    font-size: 0.95rem;
  }
  .brand-gstin {
    font-size: 7.5px;
  }
}

.search-box-wrapper {
  width: 100%;
  max-width: 100%;
}

.search-input {
  width: 100%;
  max-width: 100%;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 50rem;
  outline: none;
  box-sizing: border-box;
}
.search-input:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 3px rgba(13,110,253,0.15);
}

.search-results-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 1050;
  display: none;
  max-height: 380px;
  overflow-y: auto;
}

.search-result-item {
  display: flex;
  align-items: center;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none;
  color: var(--text);
}
.search-result-item:hover {
  background-color: var(--bg-light);
  text-decoration: none;
}
.search-result-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

/* Vertical Sidebars */
.vertical-sidebar {
  max-width: 85vw !important;
  box-shadow: 0 0 30px rgba(0,0,0,0.15) !important;
  z-index: 1060;
}

/* ==========================================================================
   4. BREADCRUMBS (SINGLE LINE & TOUCH-SCROLLABLE)
   ========================================================================== */
.breadcrumb-nav {
  width: 100% !important;
  max-width: 100% !important;
  background-color: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
  overflow: hidden !important;
}

.breadcrumb-nav .container {
  overflow: hidden !important;
  max-width: 100% !important;
}

.breadcrumb,
.breadcrumb-nav .breadcrumb,
ol.breadcrumb {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 0.25rem !important;
  list-style: none !important;
  padding: 0.35rem 0 !important;
  margin: 0 !important;
  font-size: 0.82rem !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  white-space: nowrap !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  -webkit-overflow-scrolling: touch !important;
  width: 100% !important;
  max-width: 100% !important;
}

.breadcrumb::-webkit-scrollbar,
.breadcrumb-nav .breadcrumb::-webkit-scrollbar,
ol.breadcrumb::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.breadcrumb-item,
.breadcrumb-nav .breadcrumb-item {
  display: inline-flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
  word-break: normal !important;
}

.breadcrumb-item + .breadcrumb-item::before,
.breadcrumb-nav .breadcrumb-item + .breadcrumb-item::before {
  content: "›" !important;
  padding: 0 0.35rem !important;
  color: #94a3b8 !important;
  font-weight: 700 !important;
  font-size: 1.05rem !important;
  line-height: 1 !important;
  display: inline-block !important;
}

.breadcrumb-item a,
.breadcrumb-nav .breadcrumb-item a {
  color: #475569 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: color 0.15s ease !important;
}

.breadcrumb-item a:hover,
.breadcrumb-nav .breadcrumb-item a:hover {
  color: #0070f3 !important;
  text-decoration: underline !important;
}

.breadcrumb-item.active,
.breadcrumb-nav .breadcrumb-item.active {
  color: #0f172a !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}

/* ==========================================================================
   5. PRODUCT DETAIL PAGE (PDP) & TOUCH GALLERY
   ========================================================================== */
.pdp-main-gallery {
  width: 100%;
  max-width: 100%;
}

@media (min-width: 992px) {
  .pdp-main-gallery {
    position: sticky;
    top: 90px;
  }
}

.product-gallery {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.main-image {
  width: 100%;
  max-width: 100%;
  min-height: 380px;
  height: 380px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  padding: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  touch-action: pan-y;
  user-select: none;
  box-sizing: border-box;
}

@media (max-width: 576px) {
  .main-image {
    min-height: 320px;
    height: 320px;
    border-radius: 14px;
    padding: 0;
  }
}

.pdp-gallery-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
  box-sizing: border-box;
}

.pdp-gallery-slide {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 576px) {
  .pdp-gallery-slide {
    padding: 0.75rem;
  }
}

.pdp-gallery-slide a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.pdp-gallery-slide img,
.pdp-slide-img {
  max-height: 100%;
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
  pointer-events: none;
  user-select: none;
}

/* Vertical Share Button pinned to Right Edge */
.pdp-vertical-share-btn {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid #e2e8f0;
  border-right: none;
  border-radius: 10px 0 0 10px;
  padding: 10px 7px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-shadow: -3px 3px 12px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: all 0.2s ease;
  color: #334155;
}

.pdp-vertical-share-btn:hover {
  background: #0070f3;
  color: #ffffff;
  transform: translateY(-50%) translateX(-2px);
  box-shadow: -4px 4px 16px rgba(0, 112, 243, 0.25);
}

.pdp-vertical-share-btn:hover .share-icon,
.pdp-vertical-share-btn:hover .share-text {
  color: #ffffff !important;
}

.pdp-vertical-share-btn .share-icon {
  font-size: 13px;
  line-height: 1;
  color: #0070f3;
  transition: color 0.2s;
}

.pdp-vertical-share-btn .share-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #334155;
  transition: color 0.2s;
}

/* Pagination Dots Indicator Below Image */
.pdp-dots-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  margin-bottom: 12px;
}

.pdp-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
}

.pdp-dot.active {
  width: 22px;
  border-radius: 6px;
  background: #0070f3;
}

.thumbnail-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  width: 100%;
  max-width: 100%;
  padding-bottom: 6px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.thumbnail-strip::-webkit-scrollbar {
  display: none;
}

.thumbnail-strip .thumbnail {
  width: 62px;
  height: 62px;
  min-width: 62px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.thumbnail-strip .thumbnail.active,
.thumbnail-strip .thumbnail:hover {
  border-color: #0070f3;
  box-shadow: 0 0 0 2px rgba(0, 112, 243, 0.2);
}

.thumbnail-strip .thumbnail img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ==========================================================================
   5B. BOODMO-STYLE STICKY TABS & VEHICLE COMPATIBILITY SECTION
   ========================================================================== */
.boodmo-compat-container {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

.boodmo-sticky-tabs-bar {
  position: sticky;
  top: 0;
  z-index: 1020;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 0 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.boodmo-nav-tabs {
  display: flex;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.boodmo-nav-tabs::-webkit-scrollbar {
  display: none;
}

.boodmo-tab-btn {
  background: none;
  border: none;
  padding: 12px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: #64748b;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.boodmo-tab-btn:hover {
  color: #0070f3;
}

.boodmo-tab-btn.active {
  color: #0070f3;
  border-bottom-color: #0070f3;
  font-weight: 700;
}

.boodmo-compat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  flex-wrap: wrap;
  gap: 8px;
}

.boodmo-vehicle-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.boodmo-vehicle-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.boodmo-card-header {
  padding: 12px 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  user-select: none;
  transition: background 0.15s ease;
  gap: 8px;
}

.boodmo-card-header:hover {
  background: #f8fafc;
}

.boodmo-vehicle-card.is-open .boodmo-card-header {
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
}

.boodmo-card-chevron {
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 11px;
  color: #64748b;
}

.boodmo-vehicle-card.is-open .boodmo-card-chevron {
  transform: rotate(180deg);
  color: #0070f3;
}

.boodmo-card-body {
  display: none;
  padding: 14px 16px;
  background: #ffffff;
}

.boodmo-vehicle-card.is-open .boodmo-card-body {
  display: block;
  animation: boodmoFadeIn 0.2s ease;
}

@keyframes boodmoFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.boodmo-spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 12px;
}

@media (max-width: 380px) {
  .boodmo-spec-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.boodmo-spec-item {
  display: flex;
  flex-direction: column;
}

.boodmo-spec-label {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 2px;
}

.boodmo-spec-value {
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
  word-break: break-word;
}

/* Brand Filter Pills & Fitment Controls */
.fitment-brand-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 14px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.fitment-brand-tabs::-webkit-scrollbar {
  display: none;
}

.fitment-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.fitment-brand-pill:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}

.fitment-brand-pill.active {
  background: #0070f3;
  border-color: #0070f3;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 112, 243, 0.25);
}

.fitment-brand-pill.active .badge {
  background: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
}

.fitment-search-box {
  position: relative;
  margin-bottom: 16px;
}

.fitment-search-box input {
  padding-left: 38px;
  padding-right: 36px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font-size: 13.5px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.fitment-search-box input:focus {
  border-color: #0070f3;
  box-shadow: 0 0 0 3px rgba(0, 112, 243, 0.15);
}

.fitment-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 14px;
  pointer-events: none;
}

.fitment-brand-group {
  margin-bottom: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.fitment-brand-group-header {
  background: #f8fafc;
  padding: 12px 16px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ==========================================================================
   6. PRODUCT CARDS & GRID
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  width: 100%;
  max-width: 100%;
}

@media (max-width: 360px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.product-card {
  background: var(--bg);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

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

.card-image-wrap {
  position: relative;
  width: 100%;
  padding-top: 100%; /* 1:1 Aspect Ratio */
  background: #ffffff;
  overflow: hidden;
}

.card-image-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.75rem;
  transition: transform 0.3s ease;
}

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

.brand-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(26, 31, 54, 0.85);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.card-content {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 0.925rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
}

.part-number {
  font-family: monospace;
  font-size: 0.775rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.price-wrap {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.current-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0d6efd;
}

.old-price {
  font-size: 0.85rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.card-actions {
  padding: 0 0.75rem 0.75rem;
}

/* ==========================================================================
   7. CAROUSELS & HORIZONTAL TRACKS
   ========================================================================== */
.carousel-container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  width: 100%;
  max-width: 100%;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

/* ==========================================================================
   8. TABLES & FORMS
   ========================================================================== */
.table-responsive {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.form-control, .form-select {
  max-width: 100%;
  box-sizing: border-box;
}

/* ==========================================================================
   9. FOOTER
   ========================================================================== */
.footer {
  background: var(--bg-dark);
  color: var(--text-white);
  padding: 3rem 0 0;
  margin-top: 3rem;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 576px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.5rem;
}
.footer-links a {
  color: #a0aec0;
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 0;
  text-align: center;
  color: #a0aec0;
  font-size: 0.85rem;
}

/* ==========================================================================
   10. WHATSAPP FLOATING BUTTON
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 54px;
  height: 54px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: var(--shadow-lg);
  z-index: 999;
}
.whatsapp-float:hover {
  color: white;
  text-decoration: none;
  transform: scale(1.05);
}

/* ==========================================================================
   11. COMPACT SCREEN MEDIA QUERIES (320px - 430px)
   ========================================================================== */
@media (max-width: 480px) {
  .container {
    padding-right: 16px;
    padding-left: 16px;
  }
  .action-buttons-box {
    padding: 0.75rem !important;
  }
  .price-box {
    padding: 0.75rem !important;
  }
  .card-body {
    padding: 0.75rem !important;
  }
  .whatsapp-float {
    bottom: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
  }
}

@media (max-width: 360px) {
  .container {
    padding-right: 12px;
    padding-left: 12px;
  }
  .btn-sm {
    padding: 0.35rem 0.5rem;
    font-size: 0.75rem;
  }
}

/* ==========================================================================
   12. HOMEPAGE REDESIGN & MODERN AUTOMOTIVE MARKETPLACE STYLES
   ========================================================================== */

/* Quick Secondary Navigation Bar */
.desktop-quick-nav {
  font-size: 13px;
  background-color: #f8fafc !important;
}
.quick-nav-links {
  overflow-x: auto;
}
.quick-nav-link {
  color: #475569;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
  padding: 4px 0;
}
.quick-nav-link:hover, .quick-nav-link.active {
  color: #0d6efd;
  text-decoration: none;
}

/* Hero Carousel Slider */
.hero-carousel-section {
  position: relative;
  background-color: #0f172a;
  overflow: hidden;
}
.hero-slider-wrapper {
  width: 100%;
  position: relative;
  min-height: 420px;
}
@media (max-width: 992px) {
  .hero-slider-wrapper { min-height: 380px; }
}
@media (max-width: 576px) {
  .hero-slider-wrapper { min-height: 330px; }
}
.hero-slider-track {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
}
@media (max-width: 992px) {
  .hero-slider-track { min-height: 380px; }
}
@media (max-width: 576px) {
  .hero-slider-track { min-height: 330px; }
}
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
  z-index: 1;
  display: flex;
  align-items: center;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
  position: relative;
}

.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-slide-bg-1 {
  background: radial-gradient(circle at 80% 50%, rgba(13, 110, 253, 0.28) 0%, rgba(15, 23, 42, 0.96) 70%), linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}
.hero-slide-bg-2 {
  background: radial-gradient(circle at 80% 50%, rgba(16, 185, 129, 0.28) 0%, rgba(15, 23, 42, 0.96) 70%), linear-gradient(135deg, #064e3b 0%, #0f172a 100%);
}
.hero-slide-bg-3 {
  background: radial-gradient(circle at 80% 50%, rgba(245, 158, 11, 0.28) 0%, rgba(15, 23, 42, 0.96) 70%), linear-gradient(135deg, #451a03 0%, #0f172a 100%);
}
.hero-slide-bg-4 {
  background: radial-gradient(circle at 80% 50%, rgba(99, 102, 241, 0.28) 0%, rgba(15, 23, 42, 0.96) 70%), linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%);
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(13, 110, 253, 0.2);
  border: 1px solid rgba(13, 110, 253, 0.4);
  color: #60a5fa;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 5px 12px;
  border-radius: 50px;
}
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
  animation: pulseDot 1.8s infinite;
}
@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.18;
  color: #ffffff;
  letter-spacing: -0.5px;
}
@media (max-width: 992px) {
  .hero-title { font-size: 1.75rem; }
}
@media (max-width: 576px) {
  .hero-title { font-size: 1.4rem; }
}

.hero-desc {
  font-size: 0.98rem;
  line-height: 1.55;
  color: #cbd5e1 !important;
  max-width: 560px;
}
@media (max-width: 576px) {
  .hero-desc { font-size: 0.85rem; margin-bottom: 1.25rem !important; }
}

.hero-cta-btn {
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 22px;
  border-radius: 8px;
  transition: all 0.2s ease;
}
@media (max-width: 576px) {
  .hero-cta-btn {
    font-size: 0.825rem;
    padding: 7px 14px;
  }
}

.hero-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: all 0.2s ease;
}
.hero-nav-arrow:hover {
  background: rgba(255, 255, 255, 0.45);
  color: #ffffff;
  transform: translateY(-50%) scale(1.08);
}
.hero-prev { left: 15px; }
.hero-next { right: 15px; }
@media (max-width: 576px) {
  .hero-nav-arrow { display: none; }
}

.hero-dots-container {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}
.hero-dot.active {
  width: 24px;
  border-radius: 10px;
  background: #0d6efd;
}

/* Section Headings & Action Links */
.section-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.3px;
}
@media (max-width: 576px) {
  .section-title { font-size: 1.25rem; }
}
.view-all-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0d6efd;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}
.view-all-link:hover {
  text-decoration: none;
  gap: 7px;
  color: #0b5ed7;
}

/* Category Cards Grid */
.category-cards-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
@media (max-width: 1200px) {
  .category-cards-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .category-cards-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}
@media (max-width: 480px) {
  .category-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

.category-box-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 12px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}
.category-box-card:hover {
  border-color: #0d6efd;
  box-shadow: 0 6px 18px rgba(13, 110, 253, 0.09);
  transform: translateY(-3px);
  text-decoration: none;
}
.cat-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #f1f5f9;
  color: #0d6efd;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.cat-icon-wrap svg {
  width: 24px;
  height: 24px;
}
.category-box-card:hover .cat-icon-wrap {
  background: #0d6efd;
  color: #ffffff;
  transform: scale(1.06);
}
.cat-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 4px;
  line-height: 1.3;
}
.cat-action-text {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  transition: color 0.15s;
}
.category-box-card:hover .cat-action-text {
  color: #0d6efd;
}

/* Vehicle Search Card */
.vehicle-finder-master-card {
  border-color: #e2e8f0;
}
.finder-icon-badge {
  font-size: 1.5rem;
}

/* Product Carousel Tracks & Responsive Items */
.product-carousel-container {
  position: relative;
  width: 100%;
}
.product-carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}
.product-carousel-track::-webkit-scrollbar {
  display: none;
}
.carousel-product-item {
  flex: 0 0 calc(25% - 12px);
  min-width: calc(25% - 12px);
  scroll-snap-align: start;
}
@media (max-width: 1199px) {
  .carousel-product-item {
    flex: 0 0 calc(33.333% - 11px);
    min-width: calc(33.333% - 11px);
  }
}
@media (max-width: 767px) {
  .carousel-product-item {
    flex: 0 0 calc(50% - 8px);
    min-width: calc(50% - 8px);
  }
}
@media (max-width: 360px) {
  .carousel-product-item {
    flex: 0 0 calc(85% - 8px);
    min-width: calc(85% - 8px);
  }
}

.carousel-nav-buttons .carousel-btn-arrow {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #1e293b;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}
.carousel-nav-buttons .carousel-btn-arrow:hover {
  background: #0d6efd;
  border-color: #0d6efd;
  color: #ffffff;
}

/* Modern Product Card */
.modern-product-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.modern-product-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}
.discount-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #dc3545;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 4px;
  z-index: 2;
}
.brand-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(26, 31, 54, 0.85);
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 4px;
  text-transform: uppercase;
  z-index: 2;
}
.card-content {
  padding: 0.6rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
  overflow: hidden;
}
.part-number-row {
  font-size: 11px;
  margin-bottom: 4px;
  min-width: 0;
}
.part-number {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.part-number code {
  color: #d63384;
  font-size: 10.5px;
}
.copy-part-btn {
  background: none;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 2px 4px;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1;
  flex-shrink: 0;
}
.copy-part-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0d6efd;
}
.product-title {
  margin-bottom: 4px;
  min-width: 0;
}
.product-title a {
  color: #0f172a;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  transition: color 0.15s;
}
.product-title a:hover {
  color: #0d6efd;
  text-decoration: none;
}
.price-and-stock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  margin-top: auto;
  padding-top: 4px;
  margin-bottom: 6px;
  min-width: 0;
  flex-wrap: wrap;
}
.price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  min-width: 0;
}
.current-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0d6efd;
  white-space: nowrap;
}
.old-price {
  font-size: 0.75rem;
  color: #94a3b8;
  text-decoration: line-through;
  white-space: nowrap;
}
.in-stock-badge {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  font-size: 9.5px;
  font-weight: 600;
  padding: 2px 4px;
  border-radius: 4px;
  white-space: nowrap;
}
.out-of-stock-badge {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  font-size: 9.5px;
  font-weight: 600;
  padding: 2px 4px;
  border-radius: 4px;
  white-space: nowrap;
}
.status-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  margin-right: 2px;
}
.status-dot.green { background: #10b981; }
.status-dot.red { background: #ef4444; }

.card-actions {
  padding: 0 0.6rem 0.6rem;
  min-width: 0;
}
.btn-add-cart {
  font-size: 11px;
  font-weight: 700;
  padding: 6px 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  white-space: nowrap;
}
.btn-whatsapp-card {
  padding: 6px 7px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Brand Cards Grid */
.brand-cards-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
@media (max-width: 1199px) {
  .brand-cards-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .brand-cards-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}
@media (max-width: 480px) {
  .brand-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

.brand-box-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 10px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.brand-box-card:hover {
  border-color: #0d6efd;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  text-decoration: none;
}
.brand-box-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.brand-monogram {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #0f172a;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd5e1;
}
.brand-logo-img {
  max-height: 32px;
  max-width: 80px;
  object-fit: contain;
}
.brand-box-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #1e293b;
}

/* Why Choose Us Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
@media (max-width: 1199px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
}
.feature-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px 16px;
  text-align: left;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.feature-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.feature-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}
.feature-desc {
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 0;
  line-height: 1.45;
}

/* Trust Banner Card */
.trust-banner-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

