/* ==========================================================================
   LDS PARTS - Storefront theme (Bootstrap 5.3 based)
   Modern automotive parts marketplace theme.
   ========================================================================== */

:root {
  --lds-primary: #D40000;
  --lds-primary-dark: #A80000;
  --lds-primary-light: #FF3B30;
  --lds-primary-soft: #FFF1F0;
  --lds-primary-soft-2: #FFE6E4;
  --lds-secondary: #111111;
  --lds-secondary-light: #1d1d1d;
  --lds-accent: #F5F5F5;
  --lds-border: #ececec;
  --lds-border-strong: #dcdcdc;
  --lds-text: #1c1c1c;
  --lds-text-muted: #7a7a7a;
  --lds-success: #1c8a41;
  --lds-warning: #f0a500;
  --lds-star: #ffb400;
  --lds-badge-sale: #ffc107;
  --lds-radius: 10px;
  --lds-radius-lg: 16px;
  --lds-shadow: 0 4px 20px rgba(0, 0, 0, .06);
  --lds-shadow-hover: 0 12px 32px rgba(0, 0, 0, .12);
  --lds-font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --bs-primary: var(--lds-primary);
  --bs-primary-rgb: 212, 0, 0;
  --bs-link-color: var(--lds-primary);
  --bs-link-hover-color: var(--lds-primary-dark);
}

body {
  font-family: var(--lds-font);
  color: var(--lds-text);
  background-color: #fff;
  font-size: .9375rem;
}

a { text-decoration: none; }

/* Bootstrap colour overrides -------------------------------------------- */
.btn-primary {
  background-color: var(--lds-primary);
  border-color: var(--lds-primary);
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--lds-primary-dark) !important;
  border-color: var(--lds-primary-dark) !important;
}
.btn-outline-primary { color: var(--lds-primary); border-color: var(--lds-primary); }
.btn-outline-primary:hover { background-color: var(--lds-primary); border-color: var(--lds-primary); }
.text-primary { color: var(--lds-primary) !important; }
.bg-primary { background-color: var(--lds-primary) !important; }
.border-primary { border-color: var(--lds-primary) !important; }
.badge.bg-primary { background-color: var(--lds-primary) !important; }
.page-item.active .page-link {
  background-color: var(--lds-primary);
  border-color: var(--lds-primary);
}
.page-link { color: var(--lds-secondary); }
.form-check-input:checked {
  background-color: var(--lds-primary);
  border-color: var(--lds-primary);
}
.form-control:focus, .form-select:focus {
  border-color: var(--lds-primary-light);
  box-shadow: 0 0 0 .2rem rgba(212, 0, 0, .12);
}

/* ==========================================================================
   Top utility bar
   ========================================================================== */
.lds-topbar {
  background-color: #fff;
  border-bottom: 1px solid var(--lds-border);
  color: #555;
  font-size: .78rem;
}
.lds-topbar a { color: #555; transition: color .15s ease; }
.lds-topbar a:hover { color: var(--lds-primary); }
.lds-topbar .bi { color: var(--lds-primary); }
.lds-topbar .divider { border-left: 1px solid var(--lds-border); height: 13px; }
.lds-topbar-promo { font-weight: 600; color: var(--lds-secondary); }

/* ==========================================================================
   Header
   ========================================================================== */
.lds-header {
  background-color: #fff;
  border-bottom: 1px solid var(--lds-border);
}
.lds-logo {
  font-weight: 800;
  font-size: 1.75rem;
  letter-spacing: -1px;
  color: var(--lds-primary);
  line-height: 1;
}
.lds-logo span { color: var(--lds-secondary); }
.lds-logo small {
  display: block;
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: var(--lds-text-muted);
  text-transform: uppercase;
  margin-top: 2px;
}
.lds-logo-img {
  display: block;
  max-height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

/* Pill search --------------------------------------------------------- */
.lds-search-form {
  position: relative;
  background: #fff;
  border: 1px solid var(--lds-border-strong);
  border-radius: 50px;
  padding: 4px 4px 4px 18px;
  align-items: center;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.lds-search-form:focus-within {
  border-color: var(--lds-primary);
  box-shadow: 0 0 0 3px rgba(212, 0, 0, .08);
}
.lds-search-form .form-control {
  border: 0;
  box-shadow: none;
  padding: .35rem .25rem;
  font-size: .875rem;
  background: transparent;
}
.lds-search-form .form-control:focus { box-shadow: none; }
.lds-search-form .form-select {
  border: 0;
  border-left: 1px solid var(--lds-border);
  box-shadow: none;
  max-width: 155px;
  font-size: .82rem;
  font-weight: 500;
  color: #444;
  background-color: transparent;
  border-radius: 0;
}
.lds-search-form .form-select:focus { box-shadow: none; }
.lds-search-form .btn-search {
  background-color: var(--lds-primary);
  color: #fff;
  border: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  transition: background-color .15s ease;
}
.lds-search-form .btn-search:hover { background-color: var(--lds-primary-dark); color: #fff; }

.lds-search-disabled {
  opacity: .65;
  cursor: not-allowed;
  background-color: var(--lds-accent);
}
.lds-search-disabled .form-control,
.lds-search-disabled .form-select {
  background-color: transparent;
  cursor: not-allowed;
}
.lds-search-disabled .btn-search {
  opacity: .5;
  cursor: not-allowed;
}

.lds-search-suggest {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--lds-border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .14);
  z-index: 1055;
  max-height: 420px;
  overflow-y: auto;
  border-radius: var(--lds-radius);
  display: none;
}
.lds-search-suggest.show { display: block; }
.lds-search-suggest .suggest-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .55rem .85rem;
  color: #222;
}
.lds-search-suggest .suggest-item:hover { background-color: var(--lds-primary-soft); }
.lds-search-suggest .suggest-item img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--lds-border);
  border-radius: 6px;
}
.lds-search-suggest .suggest-heading {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--lds-text-muted);
  padding: .6rem .85rem .2rem;
  font-weight: 700;
}

/* Header action icons -------------------------------------------------- */
.lds-header-icon-btn {
  position: relative;
  color: var(--lds-secondary);
  font-size: 1.35rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  transition: color .15s ease;
}
.lds-header-icon-btn small {
  font-size: .62rem;
  font-weight: 600;
  color: var(--lds-text-muted);
  margin-top: 3px;
}
.lds-header-icon-btn:hover { color: var(--lds-primary); }
.lds-badge-count {
  position: absolute;
  top: -7px;
  right: -10px;
  background: var(--lds-primary);
  color: #fff;
  font-size: .62rem;
  font-weight: 700;
  border-radius: 50px;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #fff;
}

.lds-account-link {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  color: var(--lds-secondary);
}
.lds-account-link .hello { font-size: .68rem; color: var(--lds-text-muted); }
.lds-account-link .name { font-size: .82rem; font-weight: 700; }
.lds-account-link:hover .name { color: var(--lds-primary); }

.lds-garage-btn {
  border: 1px solid var(--lds-border-strong);
  border-radius: 50px;
  padding: .45rem .9rem;
  background: #fff;
  font-size: .78rem;
  font-weight: 600;
  color: var(--lds-secondary);
  display: flex;
  align-items: center;
  gap: .5rem;
  max-width: 230px;
}
.lds-garage-btn span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lds-garage-btn .bi { color: var(--lds-primary); }
.lds-garage-btn:hover { border-color: var(--lds-primary); color: var(--lds-primary); }

/* ==========================================================================
   Main navigation (dark bar)
   ========================================================================== */
.lds-mainnav {
  background-color: var(--lds-secondary);
  padding: 0;
}
.lds-mainnav .nav-link {
  color: #eaeaea;
  font-weight: 600;
  font-size: .82rem;
  padding: .95rem .95rem;
  letter-spacing: .01em;
  transition: color .15s ease;
}
.lds-mainnav .nav-link:hover,
.lds-mainnav .nav-item:hover > .nav-link {
  color: var(--lds-primary-light);
}
.lds-mainnav .nav-link.text-primary-link { color: #ffce00; }

.lds-seller-btn {
  border: 1px solid #3a3a3a;
  border-radius: 6px;
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  padding: .45rem 1rem;
  transition: all .15s ease;
}
.lds-seller-btn:hover { background: var(--lds-primary); border-color: var(--lds-primary); color: #fff; }

/* Mega menu ------------------------------------------------------------ */
.lds-megamenu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border-top: 3px solid var(--lds-primary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .18);
  padding: 1.75rem;
  z-index: 1050;
  display: none;
  border-radius: 0 0 var(--lds-radius) var(--lds-radius);
}
.lds-mainnav .nav-item:hover .lds-megamenu,
.lds-mainnav .nav-item.show .lds-megamenu { display: block; }
.lds-megamenu-col h6 {
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--lds-secondary);
  border-bottom: 2px solid var(--lds-primary-soft-2);
  padding-bottom: .5rem;
  margin-bottom: .6rem;
}
.lds-megamenu-col ul { list-style: none; padding: 0; margin: 0; }
.lds-megamenu-col li a {
  display: block;
  padding: .25rem 0;
  color: #555;
  font-size: .83rem;
}
.lds-megamenu-col li a:hover { color: var(--lds-primary); padding-left: 4px; }

/* ==========================================================================
   Vehicle fitment bar
   ========================================================================== */
.lds-vehicle-bar {
  background-color: var(--lds-primary-soft);
  border-bottom: 1px solid var(--lds-primary-soft-2);
  position: sticky;
  top: 0;
  z-index: 1030;
}
.lds-vehicle-bar .vehicle-select-sm {
  width: auto;
  min-width: 104px;
  max-width: 150px;
  flex: 0 0 auto;
  font-size: .78rem;
  border-radius: 6px;
  border-color: #f0cdcb;
}
.lds-vehicle-current {
  font-weight: 700;
  color: var(--lds-secondary);
  font-size: .82rem;
}
.lds-vehicle-current .bi { color: var(--lds-primary); }

/* ==========================================================================
   Buttons
   ========================================================================== */
/* Driven by Bootstrap's button custom properties so hover/active/disabled
   states all stay on-brand (a bare background-color loses to .btn:disabled). */
.btn-lds {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--lds-primary);
  --bs-btn-border-color: var(--lds-primary);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--lds-primary-dark);
  --bs-btn-hover-border-color: var(--lds-primary-dark);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--lds-primary-dark);
  --bs-btn-active-border-color: var(--lds-primary-dark);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--lds-primary);
  --bs-btn-disabled-border-color: var(--lds-primary);
  --bs-btn-disabled-opacity: .5;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .01em;
  border-radius: 50px;
  padding: .6rem 1.4rem;
}
.btn-lds:active { transform: translateY(1px); }

.btn-lds-outline {
  --bs-btn-color: var(--lds-secondary);
  --bs-btn-bg: transparent;
  --bs-btn-border-color: var(--lds-secondary);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--lds-secondary);
  --bs-btn-hover-border-color: var(--lds-secondary);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--lds-secondary);
  --bs-btn-active-border-color: var(--lds-secondary);
  border-width: 2px;
  font-weight: 700;
  font-size: .82rem;
  border-radius: 50px;
  padding: .55rem 1.35rem;
}

/* Small circular carousel arrows */
.lds-arrow-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--lds-border-strong);
  background: #fff;
  color: var(--lds-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .15s ease;
}
.lds-arrow-btn:hover,
.lds-arrow-btn.active {
  background: var(--lds-primary);
  border-color: var(--lds-primary);
  color: #fff;
}

/* ==========================================================================
   Section headings
   ========================================================================== */
.lds-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--lds-primary);
  font-size: .78rem;
  font-weight: 700;
  text-transform: capitalize;
  letter-spacing: .02em;
}
.lds-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--lds-primary);
  display: inline-block;
}
.lds-eyebrow.no-dash::before { display: none; }

.lds-section-title {
  font-weight: 800;
  letter-spacing: -.4px;
  color: var(--lds-secondary);
  margin-bottom: 0;
}
.lds-section-sub {
  color: var(--lds-text-muted);
  font-size: .875rem;
  max-width: 560px;
}

/* Tab pills used beside section headings */
.lds-tab-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
}
.lds-tab-pills .nav-link {
  color: var(--lds-text-muted);
  font-size: .82rem;
  font-weight: 600;
  padding: .35rem .85rem;
  border-radius: 50px;
  border: 0;
  background: transparent;
}
.lds-tab-pills .nav-link:hover { color: var(--lds-primary); }
.lds-tab-pills .nav-link.active {
  color: var(--lds-primary);
  background: var(--lds-primary-soft);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.lds-hero {
  position: relative;
  background-color: #0a0a0a;
  background-image:
    linear-gradient(90deg, rgba(8, 8, 8, .97) 0%, rgba(8, 8, 8, .82) 45%, rgba(8, 8, 8, .35) 100%),
    url('../images/hero-auto-parts.png');
  background-size: cover;
  background-position: center right;
  color: #fff;
  overflow: hidden;
  padding: 4.5rem 0 7rem;
}
.lds-hero h1 {
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.08;
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
}
.lds-hero h1 .accent { color: var(--lds-primary-light); }
.lds-hero p.hero-lead {
  color: rgba(255, 255, 255, .62);
  max-width: 420px;
  font-size: .95rem;
}

/* Right-edge vertical quick links */
.lds-hero-sidelinks {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: .9rem;
  z-index: 3;
}
.lds-hero-sidelinks a {
  color: rgba(255, 255, 255, .75);
  font-size: .82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.lds-hero-sidelinks a:hover,
.lds-hero-sidelinks a.active { color: var(--lds-primary-light); }
.lds-hero-sidelinks a.active::before {
  content: "";
  width: 14px;
  height: 2px;
  background: var(--lds-primary-light);
}

/* Super deals promo card */
.lds-deal-card {
  background: #fff;
  border-radius: var(--lds-radius-lg);
  padding: 1.5rem;
  color: var(--lds-text);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}
.lds-deal-card .deal-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--lds-secondary);
}
.lds-deal-card .deal-title span { color: var(--lds-primary); }
.lds-deal-card .deal-sub {
  font-size: .74rem;
  color: var(--lds-text-muted);
  border-bottom: 1px solid var(--lds-border);
  padding-bottom: .75rem;
  margin-bottom: .75rem;
}
.lds-deal-hero-img {
  height: 180px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.lds-deal-card .deal-name {
  font-size: .95rem;
  font-weight: 700;
  color: var(--lds-secondary);
}
.lds-deal-card .deal-name:hover { color: var(--lds-primary); }
.lds-deal-thumb {
  border: 1px solid var(--lds-border);
  border-radius: 8px;
  padding: .5rem;
  text-align: center;
  transition: border-color .15s ease;
  display: block;
  height: 100%;
}
.lds-deal-thumb:hover { border-color: var(--lds-primary); }
.lds-deal-thumb img {
  height: 56px;
  width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.lds-deal-thumb .price { font-size: .78rem; font-weight: 700; color: var(--lds-primary); }
.lds-deal-thumb .price-old { font-size: .68rem; color: var(--lds-text-muted); text-decoration: line-through; }

.lds-hero-compact {
  padding-bottom: 4.5rem;
}

/* Overlapping vehicle finder card */
.lds-finder-card {
  background: #fff;
  border-radius: var(--lds-radius-lg);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .18);
  padding: 1.5rem;
  position: relative;
  z-index: 5;
  margin-top: -4.5rem;
}
.lds-finder-card h5 { font-weight: 800; color: var(--lds-secondary); margin-bottom: .2rem; }
.lds-finder-card .finder-sub { font-size: .78rem; color: var(--lds-text-muted); }
.lds-finder-card .finder-sub strong { color: var(--lds-primary); }
.lds-finder-card .form-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--lds-text-muted);
  margin-bottom: .25rem;
}
.lds-finder-card .form-select { border-radius: 8px; font-size: .85rem; }

/* ==========================================================================
   Trust badges
   ========================================================================== */
.lds-trust-badge {
  text-align: center;
  padding: 1rem .5rem;
}
.lds-trust-badge .bi { font-size: 1.85rem; color: var(--lds-primary); }
.lds-trust-badge h6 { font-weight: 700; margin-top: .5rem; margin-bottom: .1rem; font-size: .9rem; }
.lds-trust-badge small { color: var(--lds-text-muted); font-size: .76rem; }

/* ==========================================================================
   Product cards
   ========================================================================== */
.lds-product-card {
  border: 1px solid var(--lds-border);
  border-radius: var(--lds-radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease;
  background: #fff;
  position: relative;
}
.lds-product-card:hover {
  box-shadow: var(--lds-shadow-hover);
  border-color: transparent;
  transform: translateY(-3px);
}
.lds-product-card .card-img-wrap {
  position: relative;
  padding: 1.25rem 1rem;
  text-align: center;
  background: #fff;
  display: block;
}
.lds-product-card .card-img-wrap img {
  height: 150px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .25s ease;
}
.lds-product-card:hover .card-img-wrap img { transform: scale(1.06); }

/* Sale / status ribbon */
.lds-product-card .badge-sale {
  position: absolute;
  top: .7rem;
  left: .7rem;
  background: var(--lds-badge-sale);
  color: #4a3600;
  font-size: .62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: .25rem .55rem;
  border-radius: 4px;
  z-index: 2;
}
.lds-product-card .badge-fit {
  position: absolute;
  top: .7rem;
  right: .7rem;
  font-size: .62rem;
  z-index: 2;
}

.lds-product-card .card-body {
  padding: .25rem .9rem 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.lds-product-card .product-rating {
  font-size: .7rem;
  color: var(--lds-star);
  display: flex;
  align-items: center;
  gap: .3rem;
}
.lds-product-card .product-rating .review-count { color: var(--lds-text-muted); font-weight: 500; }
.lds-product-card .brand-name {
  font-size: .68rem;
  font-weight: 600;
  color: var(--lds-text-muted);
  margin-top: .35rem;
}
.lds-product-card .product-name {
  font-size: .875rem;
  font-weight: 600;
  color: var(--lds-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
  margin-bottom: .3rem;
  line-height: 1.3;
}
.lds-product-card .product-name:hover { color: var(--lds-primary); }
.lds-product-card .product-sku { font-size: .68rem; color: var(--lds-text-muted); }
.lds-product-card .stock-badge { font-size: .68rem; font-weight: 600; }
.lds-product-card .price-row { margin-top: auto; padding-top: .45rem; }
.lds-product-card .price-current {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--lds-primary);
}
.lds-product-card .price-compare {
  font-size: .8rem;
  color: var(--lds-text-muted);
  text-decoration: line-through;
}
.lds-product-card .core-charge-note { font-size: .68rem; color: var(--lds-text-muted); }

/* Footer row: add-to-cart + icon actions */
.lds-product-card .card-footer-row {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin-top: .6rem;
}
.lds-product-card .btn-add-cart {
  --bs-btn-color: var(--lds-secondary);
  --bs-btn-bg: var(--lds-accent);
  --bs-btn-border-color: var(--lds-accent);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--lds-primary);
  --bs-btn-hover-border-color: var(--lds-primary);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--lds-primary-dark);
  --bs-btn-active-border-color: var(--lds-primary-dark);
  --bs-btn-disabled-color: var(--lds-secondary);
  --bs-btn-disabled-bg: var(--lds-accent);
  --bs-btn-disabled-border-color: var(--lds-accent);
  flex: 1;
  border-radius: 6px;
  font-size: .76rem;
  font-weight: 700;
  padding: .5rem;
  white-space: nowrap;
}
/* Card hover promotes the whole CTA to the brand colour. */
.lds-product-card:hover .btn-add-cart:not(:disabled) {
  background-color: var(--lds-primary);
  border-color: var(--lds-primary);
  color: #fff;
}
.lds-product-card .card-actions {
  display: flex;
  gap: .3rem;
}
.lds-product-card .card-actions .btn {
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--lds-accent);
  border: 0;
  color: var(--lds-secondary);
  font-size: .85rem;
  transition: all .15s ease;
}
.lds-product-card .card-actions .btn:hover {
  background: var(--lds-primary);
  color: #fff;
}

/* Compact list-style product row (dark sections / sidebars) */
.lds-mini-product {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: #fff;
  border-radius: var(--lds-radius);
  padding: .75rem;
  height: 100%;
}
.lds-mini-product img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  mix-blend-mode: multiply;
  flex: 0 0 62px;
}
.lds-mini-product .mini-name {
  font-size: .8rem;
  font-weight: 600;
  color: var(--lds-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
}
.lds-mini-product .mini-name:hover { color: var(--lds-primary); }
.lds-mini-product .mini-price { font-size: .82rem; font-weight: 800; color: var(--lds-primary); }
.lds-mini-product .mini-rating { font-size: .65rem; color: var(--lds-star); }

/* ==========================================================================
   Featured category cards
   ========================================================================== */
.lds-cat-card {
  background: #fff;
  border: 1px solid var(--lds-border);
  border-radius: var(--lds-radius);
  padding: 1.25rem;
  height: 100%;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
  display: block;
}
.lds-cat-card:hover {
  box-shadow: var(--lds-shadow-hover);
  border-color: transparent;
  transform: translateY(-3px);
}
.lds-cat-card .cat-head {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .85rem;
}
.lds-cat-card .cat-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--lds-primary-soft);
  color: var(--lds-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex: 0 0 46px;
}
.lds-cat-card .cat-name {
  font-size: .9rem;
  font-weight: 700;
  color: var(--lds-secondary);
  line-height: 1.2;
}
.lds-cat-card .cat-count { font-size: .7rem; color: var(--lds-text-muted); }
.lds-cat-card ul { list-style: none; padding: 0; margin: 0; }
.lds-cat-card ul li a {
  display: block;
  font-size: .8rem;
  color: #666;
  padding: .18rem 0;
}
.lds-cat-card ul li a::before {
  content: "\2022";
  color: var(--lds-primary);
  margin-right: .4rem;
}
.lds-cat-card ul li a:hover { color: var(--lds-primary); }

/* "Explore all" dark tile */
.lds-cat-card-dark {
  background: var(--lds-secondary);
  border-color: var(--lds-secondary);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: .85rem;
  min-height: 190px;
}
.lds-cat-card-dark .cat-icon {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  font-size: 1.4rem;
}
.lds-cat-card-dark .cat-name { color: #fff; font-size: .95rem; }
.lds-cat-card-dark:hover { background: var(--lds-primary); border-color: var(--lds-primary); }

/* Simple icon tile (used on category index pages) */
.lds-category-tile {
  display: block;
  text-align: center;
  border: 1px solid var(--lds-border);
  border-radius: var(--lds-radius);
  padding: 1.1rem .5rem;
  color: var(--lds-secondary);
  background: #fff;
  transition: all .18s ease;
  height: 100%;
}
.lds-category-tile:hover {
  border-color: transparent;
  box-shadow: var(--lds-shadow-hover);
  transform: translateY(-3px);
}
.lds-category-tile .cat-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto .55rem;
  background: var(--lds-primary-soft);
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--lds-primary);
}
.lds-category-tile span { font-size: .8rem; font-weight: 600; }

/* ==========================================================================
   Soft tinted section background
   ========================================================================== */
.lds-section-soft {
  background:
    linear-gradient(180deg, var(--lds-primary-soft) 0%, #fff 100%);
}
.lds-section-dark {
  background: var(--lds-secondary);
  color: #fff;
}
.lds-section-dark .lds-section-title { color: #fff; }
.lds-section-dark .lds-section-sub { color: rgba(255, 255, 255, .6); }

/* ==========================================================================
   Deal of the week + countdown
   ========================================================================== */
.lds-deal-week {
  background: #fff;
  border-radius: var(--lds-radius-lg);
  padding: 1.5rem;
  height: 100%;
}
.lds-countdown {
  display: flex;
  gap: .5rem;
}
.lds-countdown .unit {
  background: var(--lds-accent);
  border-radius: 8px;
  padding: .45rem .6rem;
  text-align: center;
  min-width: 52px;
}
.lds-countdown .unit strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--lds-secondary);
  line-height: 1.1;
}
.lds-countdown .unit span {
  font-size: .6rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--lds-text-muted);
}

/* Brand / popular shop cards inside dark section */
.lds-shop-card {
  background: #fff;
  border-radius: var(--lds-radius);
  padding: 1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .4rem;
  transition: transform .18s ease;
}
.lds-shop-card:hover { transform: translateY(-3px); }
.lds-shop-card .shop-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--lds-primary-soft);
  color: var(--lds-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .85rem;
}
.lds-shop-card .shop-name {
  font-size: .85rem;
  font-weight: 700;
  color: var(--lds-secondary);
}
.lds-shop-card .shop-meta { font-size: .68rem; color: var(--lds-text-muted); }
.lds-shop-card .shop-rating { font-size: .65rem; color: var(--lds-star); }

/* ==========================================================================
   Newsletter strip
   ========================================================================== */
.lds-newsletter {
  background: var(--lds-primary);
  color: #fff;
  border-radius: var(--lds-radius-lg);
  padding: 2rem;
}
.lds-newsletter h4 { font-weight: 800; margin-bottom: .25rem; }
.lds-newsletter p { color: rgba(255, 255, 255, .82); margin-bottom: 0; font-size: .875rem; }
.lds-newsletter .form-control {
  border: 0;
  border-radius: 50px;
  padding: .7rem 1.25rem;
}
.lds-newsletter .btn {
  background: var(--lds-secondary);
  color: #fff;
  border-radius: 50px;
  font-weight: 700;
  padding: .7rem 1.75rem;
  border: 0;
  white-space: nowrap;
}
.lds-newsletter .btn:hover { background: #000; color: #fff; }

/* ==========================================================================
   Blog cards
   ========================================================================== */
.lds-blog-card {
  border: 1px solid var(--lds-border);
  border-radius: var(--lds-radius);
  overflow: hidden;
  background: #fff;
  height: 100%;
  transition: box-shadow .18s ease, transform .18s ease;
}
.lds-blog-card:hover { box-shadow: var(--lds-shadow-hover); transform: translateY(-3px); }
.lds-blog-card img { height: 190px; width: 100%; object-fit: cover; }
.lds-blog-card .blog-body { padding: 1.1rem; }
.lds-blog-card .blog-date { font-size: .7rem; color: var(--lds-text-muted); }
.lds-blog-card h5 {
  font-size: .98rem;
  font-weight: 700;
  margin: .35rem 0 .5rem;
}
.lds-blog-card h5 a { color: var(--lds-secondary); }
.lds-blog-card h5 a:hover { color: var(--lds-primary); }

/* ==========================================================================
   Shop / filters sidebar
   ========================================================================== */
.lds-filter-card {
  border: 1px solid var(--lds-border);
  border-radius: var(--lds-radius);
  background: #fff;
}
.lds-filter-card .filter-heading {
  font-weight: 700;
  font-size: .82rem;
  text-transform: uppercase;
  padding: .8rem 1rem;
  border-bottom: 1px solid var(--lds-border);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.lds-filter-card .filter-body { padding: .85rem 1rem; }
.lds-filter-card .form-check-label { font-size: .84rem; }

.lds-toolbar {
  background: #fff;
  border: 1px solid var(--lds-border);
  border-radius: var(--lds-radius);
  padding: .7rem 1rem;
}

/* ==========================================================================
   Product detail page
   ========================================================================== */
.lds-gallery-main {
  border: 1px solid var(--lds-border);
  border-radius: var(--lds-radius);
  padding: 1.25rem;
  text-align: center;
  background: #fff;
}
.lds-gallery-main img { max-height: 420px; object-fit: contain; mix-blend-mode: multiply; }
.lds-gallery-thumb {
  border: 1px solid var(--lds-border);
  border-radius: 8px;
  padding: .35rem;
  cursor: pointer;
  background: #fff;
}
.lds-gallery-thumb.active, .lds-gallery-thumb:hover { border-color: var(--lds-primary); }
.lds-gallery-thumb img { height: 60px; width: 100%; object-fit: contain; }

.lds-fitment-table th { background: var(--lds-secondary); color: #fff; font-size: .78rem; }
.lds-fitment-table td, .lds-fitment-table th { font-size: .82rem; }

.lds-rating-bar .progress { height: 8px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.lds-footer {
  background-color: var(--lds-secondary);
  color: #a8a8a8;
}
.lds-footer h6 {
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: .06em;
  margin-bottom: 1rem;
}
.lds-footer a { color: #a8a8a8; font-size: .84rem; }
.lds-footer a:hover { color: var(--lds-primary-light); }
.lds-footer .lds-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all .15s ease;
}
.lds-footer .lds-social a:hover { background: var(--lds-primary); border-color: var(--lds-primary); }
.lds-footer-bottom {
  background: #0a0a0a;
  font-size: .78rem;
  color: #7a7a7a;
}
.lds-payment-icons .bi { font-size: 1.7rem; margin-right: .35rem; color: #a8a8a8; }

/* ==========================================================================
   Misc
   ========================================================================== */
.lds-breadcrumb {
  background: var(--lds-accent);
  font-size: .8rem;
  padding: .7rem 0;
}
.lds-breadcrumb .breadcrumb { margin-bottom: 0; }

.lds-back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1040;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--lds-primary);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
/* Hidden until the viewport is wide enough to clear the hero deal card. */
@media (max-width: 1599.98px) {
  .lds-hero-sidelinks { display: none; }
}

@media (max-width: 991.98px) {
  .lds-megamenu { position: static; box-shadow: none; border-top: none; padding: 1rem 0; }
  .lds-vehicle-bar .vehicle-select-sm { min-width: 92px; }
  .lds-hero { padding: 3rem 0 5rem; }
  .lds-finder-card { margin-top: -3rem; }
}

@media (max-width: 575.98px) {
  .lds-search-form { padding-left: 14px; }
  .lds-product-card .card-img-wrap img { height: 120px; }
  .lds-newsletter { padding: 1.5rem; }
  .lds-hero { padding: 2.5rem 0 4.5rem; }
}
