/** Shopify CDN: Minification failed

Line 3975:14 Expected identifier but found whitespace
Line 3975:15 Unexpected "500"
Line 4686:0 Unexpected "}"

**/
/* Critical CSS - Essential styles for above-the-fold content */
/* Truck Parts Canada Theme */

*,
*::before,
*::after {
  box-sizing: border-box;
}

button, input, select, textarea {
  font-family: inherit;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #fff;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  z-index: 9999;
  border-radius: 0 0 4px 4px;
}

.skip-link:focus {
  top: 0;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: var(--color-text);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  h3 { font-size: 1.75rem; }
}

p {
  margin: 0 0 1rem;
}

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

a:hover {
  color: var(--color-secondary);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  
}

.btn--primary {
  background-color: var(--color-primary);
  color: #fff;
}

.btn--primary:hover {
  background-color: var(--color-secondary);
  color: #fff;
}

.btn--secondary {
  background-color: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn--secondary:hover {
  background-color: var(--color-primary);
  color: #fff;
}

.btn--white {
  background-color: #fff;
  color: var(--color-primary);
}

.btn--white:hover {
  background-color: #f3f4f6;
}

.btn--outline-white {
  background-color: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn--outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.btn--large {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

/* Header Critical Styles — see Desktop Header below for main styles */

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.header__logo {
  flex-shrink: 0;
}

.header__logo img {
  max-height: 50px;
  width: auto;
}

.header__logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
}

/* Navigation - see base.css for full styles */

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  
}

.nav__link:hover::after {
  width: 100%;
}

/* Header Actions */
.header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--color-text);
  position: relative;
}

.header__icon:hover {
  color: var(--color-primary);
}

.header__icon svg {
  width: 24px;
  height: 24px;
}

.header__cart-count {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  background-color: var(--color-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
}

@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu-toggle svg {
  width: 24px;
  height: 24px;
}

/* Hero Section Critical */
.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  background-color: var(--color-primary);
  color: #fff;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    min-height: 600px;
  }
}

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

.hero__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero__title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

@media (min-width: 768px) {
  .hero__title {
    font-size: 3.5rem;
  }
}

.hero__subtitle {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Grid */
.grid {
  display: grid;
  gap: 1.5rem;
}

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

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

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

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

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

/* Section Spacing */
.section {
  padding: 3rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 5rem 0;
  }
}

.section__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section__title {
  margin-bottom: 0.5rem;
}

.section__subtitle {
  color: var(--color-text-light);
  font-size: 1.125rem;
}

/* Visually Hidden (accessibility) */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ============================================
   Base Component Styles
   ============================================ */

/* Base CSS - Component and page styles */
/* Truck Parts Canada Theme */

/* Global: ensure hidden attribute always works */
[hidden] { display: none !important; }

/* ==========================================================================
   Product Card - Conversion Optimized (Baymard + NN/g + Krug)
   ========================================================================== */

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.15s, transform 0.15s;
}

.product-card:hover {
  box-shadow: 0 4px 10px #0000000f;
  transform: translateY(-2px);
}

/* Badges Container */
.product-card__badges {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  display: flex;
  justify-content: space-between;
  z-index: 5;
  pointer-events: none;
  transition: opacity 0.15s ease;
}
.product-card__badges-left,
.product-card__badges-right {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.product-card__badges-right {
  align-items: flex-end;
}

/* Badge Styles */
.product-card__badge {
  padding: 0.3125rem 0.625rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.product-card__badge--sale {
  background: #dc2626;
  color: #fff;
}
.product-card__badge--stock {
  background: #fff;
  color: #374151;
  border: 1px solid #e5e7eb;
  display: inline-flex;
  align-items: center;
  gap: 0.3125rem;
}
.product-card__stock-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
}
.product-card__badge--low-stock {
  background: #fef3c7;
  color: #92400e;
}
.product-card__badge--out {
  background: #fee2e2;
  color: #991b1b;
}

/* Image Container */
.product-card__media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background-color: #ffffff !important;
  contain: layout style paint;
}

.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  content-visibility: auto;
}

.product-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}

/* Image hover swap */
.product-card__image--hover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.product-card:hover .product-card__image--hover {
  opacity: 1;
}

/* Mobile: hide hover overlay, make whole card tappable */
@media (hover: none) {
  .product-card__hover-overlay {
    display: none !important;
  }
  .product-card__image--hover {
    display: none;
  }
}

/* View Details Hover Overlay */
.product-card__hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  backdrop-filter: blur(1px);
  text-decoration: none;
  z-index: 3;
}
.product-card:hover .product-card__hover-overlay {
  opacity: 1;
}
/* Hide badges when hover overlay is active */
.product-card:hover .product-card__badges {
  opacity: 0;
  transition: opacity 0.15s ease;
}
.product-card__view-btn {
  background: #fff;
  color: #111;
  border-radius: 8px;
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  transform: translateY(6px);
  transition: transform 0.2s ease;
  letter-spacing: 0.01em;
}
.product-card:hover .product-card__view-btn {
  transform: translateY(0);
}

/* Content */
.product-card__content {
  padding: 0.875rem 1rem 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* Fitment — green text in content area (Option A style) */
.product-card__fitment {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #059669;
  margin-bottom: 0.5rem;
  align-self: flex-start;
}
.product-card__fitment svg {
  flex-shrink: 0;
  stroke: #059669;
}
.product-card__fitment--match {
  color: #059669;
}
.product-card__fitment--match svg {
  stroke: #059669;
}
.product-card__fitment--no-match {
  color: #991b1b;
}
.product-card__fitment--no-match svg {
  stroke: #991b1b;
}
.product-card__fitment--universal {
  color: #2563eb;
}
.product-card__fitment--universal svg {
  stroke: #2563eb;
}

/* Title */
.product-card__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__title a {
  color: var(--color-text);
  text-decoration: none;
}

.product-card__title a:hover {
  color: var(--color-primary);
}

/* Sold Counter */
.product-card__sold {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: #ea580c;
  margin-bottom: 0.75rem;
}
.product-card__sold svg {
  width: 14px;
  height: 14px;
}
.product-card__sold strong {
  color: #c2410c;
  font-weight: 600;
}

/* ==========================================================================
   My Garage
   ========================================================================== */

.my-garage {
  position: relative;
}

.my-garage__btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.my-garage__btn:hover {
  border-color: var(--color-primary);
  background: #f8fafc;
}
.my-garage__btn svg:first-child {
  color: var(--color-primary);
}

.my-garage__dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  width: 280px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  z-index: 1000;
  overflow: hidden;
}

.my-garage__empty {
  padding: 1.5rem;
  text-align: center;
}
.my-garage__empty p {
  color: #6b7280;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.my-garage__add-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.625rem 1rem;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.my-garage__add-btn:hover {
  background: var(--color-secondary);
}

.my-garage__list {
  max-height: 240px;
  overflow-y: auto;
}

/* Single truck display - simplified */
.my-garage__current-truck {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #f0fdf4;
  border-radius: 8px;
  margin: 0.5rem;
}
.my-garage__truck-icon {
  color: #16a34a;
  flex-shrink: 0;
}
.my-garage__current-truck .my-garage__truck-details {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.my-garage__truck-year {
  font-size: 0.75rem;
  color: #6b7280;
  font-weight: 500;
}
.my-garage__truck-make {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
}

/* Legacy styles for backwards compatibility */
.my-garage__truck {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #f3f4f6;
  cursor: pointer;
  transition: background 0.15s;
}
.my-garage__truck:hover {
  background: #f9fafb;
}
.my-garage__truck--active {
  background: #ecfdf5;
}
.my-garage__truck--active:hover {
  background: #dcfce7;
}

.my-garage__truck-info {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.my-garage__truck-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1f2937;
}
.my-garage__truck-details {
  font-size: 0.75rem;
  color: #6b7280;
}

.my-garage__truck-actions {
  display: flex;
  gap: 0.25rem;
}
.my-garage__truck-action {
  padding: 0.375rem;
  background: transparent;
  border: none;
  border-radius: 4px;
  color: #9ca3af;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
.my-garage__truck-action:hover {
  color: #ef4444;
  background: #fef2f2;
}
.my-garage__truck-check {
  color: #10b981;
}

.my-garage__actions {
  padding: 0.75rem 1rem;
  border-top: 1px solid #f3f4f6;
}
.my-garage__actions .my-garage__add-btn {
  width: 100%;
  justify-content: center;
  background: transparent;
  color: var(--color-primary);
  border: 1px dashed var(--color-border);
}
.my-garage__actions .my-garage__add-btn:hover {
  background: #f8fafc;
  border-color: var(--color-primary);
}

/* ==========================================================================
   Add Truck Modal
   ========================================================================== */

.add-truck-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.add-truck-modal[hidden] {
  display: none !important;
}

.add-truck-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.add-truck-modal__content {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.add-truck-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #f3f4f6;
}
.add-truck-modal__header h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
}
.add-truck-modal__close {
  padding: 0.25rem;
  background: transparent;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}
.add-truck-modal__close:hover {
  color: #1f2937;
  background: #f3f4f6;
}

.add-truck-modal__form {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.add-truck-modal__field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.add-truck-modal__field label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
}
.add-truck-modal__field select,
.add-truck-modal__field input {
  padding: 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 0.9375rem;
  color: var(--color-text);
  background: #fff;
  transition: border-color 0.15s;
}
.add-truck-modal__field select:focus,
.add-truck-modal__field input:focus {
  outline: none;
  border-color: var(--color-primary);
}
.add-truck-modal__field select:disabled {
  background: #f9fafb;
  color: #9ca3af;
  cursor: not-allowed;
}

.add-truck-modal__submit {
  margin-top: 0.5rem;
  padding: 0.875rem;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.add-truck-modal__submit:hover {
  background: var(--color-secondary);
}

/* Price */
.product-card__price {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.product-card__price-current {
  font-size: 1.625rem;
  font-weight: 800;
  color: #111827;
}

.product-card__price-compare {
  font-size: 0.9375rem;
  color: #9ca3af;
  text-decoration: line-through;
}

.product-card__price-save {
  display: none;
}

/* Price Shipping Label */
.product-card__price-shipping {
  font-size: 0.8125rem;
  color: #9ca3af;
  font-weight: 400;
}

/* Trust Signals */
.product-card__trust {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-top: 0.625rem;
  padding-top: 0.625rem;
  border-top: 1px solid #f3f4f6;
}
.product-card__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: #9ca3af;
}
.product-card__trust-item svg {
  flex-shrink: 0;
}

/* Legacy support */
.product-card__vendor {
  font-size: 0.75rem;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.product-card__actions {
  margin-top: 1rem;
}

.product-card__add-to-cart {
  width: 100%;
}

/* ==========================================================================
   Collection Card
   ========================================================================== */

.collection-card {
  position: relative;
  display: block;
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.15s, transform 0.15s;
}

.collection-card:hover {
  box-shadow: 0 4px 10px #0000000f;
  transform: translateY(-2px);
}

.collection-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.15s;
}

.collection-card:hover .collection-card__image {
  transform: scale(1.05);
}

.collection-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 35%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 1.25rem 0.5rem;
}

.collection-card__title {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.collection-card__count {
  color: rgba(255,255,255,0.85);
  font-size: 0.8125rem;
  margin-top: 0.125rem;
  margin-bottom: 0.3rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* ==========================================================================
   Brand Logos (Trust section)
   ========================================================================== */

.brand-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem 3rem;
}

.brand-logos__item {
  flex: 0 0 auto;
  opacity: 0.6;
  
  filter: grayscale(100%);
}

.brand-logos__item:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.brand-logos__item img {
  max-height: 50px;
  width: auto;
}

/* ==========================================================================
   Features Grid
   ========================================================================== */

.feature {
  text-align: center;
  padding: 2rem 1.5rem;
  background: #fff;
  border-radius: 8px;
  border: 1px solid var(--color-border);
}

.feature__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: #fff;
  border-radius: 50%;
}

.feature__icon svg {
  width: 32px;
  height: 32px;
}

.feature__title {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.feature__text {
  color: var(--color-text-light);
  font-size: 0.9375rem;
  margin: 0;
}

/* ==========================================================================
   Search Bar
   ========================================================================== */

.search-bar {
  position: relative;
  max-width: 500px;
  width: 100%;
}

.search-bar__input {
  width: 100%;
  padding: 0.875rem 1rem;
  padding-right: 3rem;
  font-size: 1rem;
  border: 2px solid var(--color-border);
  border-radius: 8px;
  outline: none;
  
}

.search-bar__input:focus {
  border-color: var(--color-primary);
}

.search-bar__input::placeholder {
  color: var(--color-text-light);
}

.search-bar__button {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  border: none;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  
}

.search-bar__button:hover {
  background-color: var(--color-secondary);
}

.search-bar__button svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background-color: var(--color-text);
  color: #fff;
  padding: 4rem 0 2rem;
}

.footer a {
  color: rgba(255,255,255,0.8);
}

.footer a:hover {
  color: #fff;
}

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

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

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

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  margin-bottom: 1rem;
}

.footer__logo img {
  display: block; width: auto; height: auto;
  max-height: 50px; object-fit: contain;
}

.footer__description {
  color: rgba(255,255,255,0.7);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.footer__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fff;
}

.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__links li {
  margin-bottom: 0.5rem;
}

.footer__links a {
  font-size: 0.9375rem;
}

.footer__contact p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.8);
}

.footer__contact svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.footer__bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer__copyright {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
}

.footer__payment {
  display: flex;
  gap: 0.5rem;
}

.footer__payment img {
  height: 24px;
  width: auto;
}

/* ==========================================================================
   Announcement Bar
   ========================================================================== */

.announcement-bar {
  background-color: var(--color-accent);
  color: #fff;
  text-align: center;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
}

.announcement-bar a {
  color: #fff;
  text-decoration: underline;
}

/* ==========================================================================
   Product Page
   ========================================================================== */

.product {
  padding: 1rem 0 2rem;
}

@media (min-width: 1024px) {
  .product {
    padding: 2.5rem 0 3rem;
  }
}

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

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

.product__gallery {
  position: relative;
}

.product__gallery-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product__main-image {
  aspect-ratio: 1;
  background-color: #f5f5f5;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.product__main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.product__main-image.media--loaded img {
  opacity: 1;
}

.product__thumbnails {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  overflow-x: auto;
}

.product__thumbnail {
  flex: 0 0 80px;
  aspect-ratio: 1;
  border: 2px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  
}

.product__thumbnail.is-active,
.product__thumbnail:hover {
  border-color: var(--color-primary);
}

.product__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product__info {
  display: flex;
  flex-direction: column;
}

.product__vendor {
  font-size: 0.875rem;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.product__title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.product__sku {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  margin-bottom: 0.25rem;
  font-family: monospace;
}

.product__sku span {
  color: var(--color-text);
}

/* In Stock — inline after SKU */
.product__badges-row {
  display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; flex-wrap: wrap;
}
.product__badges-row .product__stock-inline { margin-bottom: 0; }
.product__stock-inline {
  display: flex; align-items: center; gap: 0.375rem;
  font-size: 0.8125rem; font-weight: 600;
  color: #16a34a; margin-bottom: 0.75rem;
}
.product__stock-inline--out { color: #dc2626; }
.product__stock-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #16a34a;
  animation: stockPulse 2s ease-in-out infinite;
}
@keyframes stockPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.product__fitment-inline {
  display: flex; align-items: center; gap: 0.375rem;
  font-size: 0.8125rem; font-weight: 600;
  color: #16a34a;
  border: 1.5px solid #16a34a;
  border-radius: 6px;
  padding: 0.2rem 0.6rem;
  background: #fff;
}
.product__fitment-inline svg { stroke: #16a34a; flex-shrink: 0; }

.product__price {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.product__price-current {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
}

.product__price-compare {
  font-size: 1.25rem;
  color: var(--color-text-light);
  text-decoration: line-through;
}

.product__availability {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: #dcfce7;
  color: #166534;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.product__availability--out {
  background-color: #fee2e2;
  color: #991b1b;
}

/* Product Fitment Badge */
.product__fitment {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: #059669;
  color: #ffffff;
  border-radius: 6px;
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.product__fitment svg {
  flex-shrink: 0;
  stroke: #ffffff;
}
.product__fitment--match {
  background: #059669;
  color: #ffffff;
}
.product__fitment--no-match {
  background: #fee2e2;
  color: #991b1b;
}
.product__fitment--no-match svg {
  stroke: #991b1b;
}
.product__fitment--universal {
  background: #2563eb;
  color: #ffffff;
}
.product__fitment--universal svg {
  stroke: #ffffff;
}

/* Vehicle Compatibility Table */
.product__compatibility {
  margin-bottom: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
}
.product__compatibility h3 {
  padding: 0.75rem 1rem;
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  background: #f8fafc;
  border-bottom: 1px solid var(--color-border);
}
.compatibility-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.compatibility-table th,
.compatibility-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #f3f4f6;
}
.compatibility-table th {
  font-weight: 600;
  color: #6b7280;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #fafafa;
}
.compatibility-table tr:last-child td {
  border-bottom: none;
}
.compatibility-table tbody tr:hover {
  background: #f9fafb;
}

/* Collapsed state: clip visually, content stays in DOM for SEO */
.compatibility-table-wrap {
  position: relative;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.compatibility-table-wrap.is-collapsed {
  max-height: 440px; /* ~10 rows */
}
.compatibility-table-wrap.is-collapsed::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(transparent, #fff);
  pointer-events: none;
}
.compat-show-more {
  display: block;
  width: 100%;
  padding: 0.75rem;
  margin-top: 0;
  border: none;
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
  color: var(--color-primary, #1e3a8a);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 0 0 8px 8px;
}
.compat-show-more:hover {
  background: #eff6ff;
}

/* Mobile Fitment Accordion */
.product-fitment-mobile {
  padding: 0 0 1rem;
}
@media (min-width: 768px) {
  .product-fitment-mobile { display: none !important; }
}
.fitment-accordion {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.fitment-accordion__header {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 1rem 1.125rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  background: #f8fafc;
}
.fitment-accordion__header::-webkit-details-marker { display: none; }
.fitment-accordion__header::marker { display: none; content: ''; }
.fitment-accordion__arrow {
  margin-left: auto;
  transition: transform 0.15s;
}
details[open] > .fitment-accordion__header .fitment-accordion__arrow {
  transform: rotate(180deg);
}
.fitment-accordion__body {
  border-top: 1px solid var(--color-border);
}
.fitment-accordion__universal {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  font-weight: 600;
  color: #15803d;
}
.fitment-accordion__body .compatibility-table-wrap {
  border: none;
  border-radius: 0;
}
.fitment-accordion__scroll {
  max-height: 50vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.fitment-accordion__scroll thead {
  position: sticky;
  top: 0;
  z-index: 1;
}
.fitment-accordion__scroll thead th {
  background: #f1f5f9;
}
.fitment-accordion__body .compatibility-table {
  border: none;
  border-radius: 0;
}
.fitment-accordion__body .compat-show-more {
  border-radius: 0 0 10px 10px;
}

.product__form {
  margin-bottom: 2rem;
}

.product__quantity {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.product__quantity-label {
  font-weight: 500;
}

.product__quantity-selector {
  display: flex;
  align-items: center;
  border: 2px solid var(--color-border);
  border-radius: 6px;
}

.product__quantity-btn {
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product__quantity-btn:hover {
  background-color: var(--color-border);
}

.product__quantity-input {
  width: 60px;
  height: 44px;
  border: none;
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
}

.product__add-to-cart {
  width: 100%;
  margin-bottom: 1rem;
}

.product__description {
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.product__description h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

/* ==========================================================================
   Product Page - Mobile-first Baymard layout
   ========================================================================== */

.product__layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .product__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 3rem;
  }
}

@media (min-width: 1280px) {
  .product__layout {
    grid-template-columns: minmax(0, 1fr) 450px;
  }
}

/* Mobile Gallery - Swipeable */
.product__mobile-gallery {
  display: block;
}

@media (min-width: 768px) {
  .product__mobile-gallery { display: none; }
}

.product__swipe {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #ffffff;
  touch-action: pan-y pinch-zoom;
}

.product__swipe-track {
  display: flex;
  transition: transform 0.3s ease-out;
  will-change: transform;
  touch-action: pan-y;
}

.product__swipe-slide {
  flex: 0 0 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  position: relative;
}

.product__swipe-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.product__swipe-slide.media--loaded img {
  opacity: 1;
}

.product__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 0;
}

.product__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d5db;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.15s;
}

.product__dot.is-active {
  background: var(--color-primary);
  transform: scale(1.3);
}

/* Desktop Gallery - Thumbnails + Main */
.product__desktop-gallery {
  display: none;
}

@media (min-width: 768px) {
  .product__desktop-gallery {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1rem;
  }
  .product__desktop-gallery:not(:has(.product__thumbs)),
  .product__desktop-gallery--single {
    grid-template-columns: 1fr;
  }
}

.product__thumbs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product__thumb {
  width: 88px;
  height: 88px;
  border: 2px solid var(--color-border);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  padding: 4px;
  opacity: 0.5;
  transition: opacity 0.15s, border-color 0.15s;
  position: relative;
}

.product__thumb:hover { opacity: 0.75; }

.product__thumb.is-active {
  border-color: var(--color-primary);
  opacity: 1;
}

.product__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.product__thumb.media--loaded img {
  opacity: 1;
}

.product__main-image {
  aspect-ratio: 1;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: crosshair;
  position: relative;
}

.product__main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.1s ease-out, opacity 0.3s ease;
  transform-origin: center center;
  opacity: 0;
}

.product__main-image.media--loaded img {
  opacity: 1;
}

.product__main-image.is-zooming img {
  transform: scale(2);
}

.product__phone-badge {
  position: absolute;
  top: 10px; right: 10px;
  display: flex; align-items: center; gap: 10px;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  padding: 7px 14px 7px 7px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: all 0.2s;
  z-index: 5;
}
.product__phone-badge:hover { border-color: #1e3a8a; box-shadow: 0 4px 14px rgba(0,0,0,0.1); }
.product__phone-badge-icon {
  width: 36px; height: 36px;
  background: #1e3a8a;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.product__phone-badge-text { display: flex; flex-direction: column; line-height: 1.3; gap: 2px; }
.product__phone-badge-label { font-size: 0.78rem; color: #464646; font-weight: 500; }
.product__phone-badge-num { font-weight: 700; color: #1e3a8a; font-size: 0.9375rem; }

/* Product Image Skeleton */
.product__img-skeleton {
  position: absolute;
  inset: 0;
  z-index: 1;
  transition: opacity 0.3s ease;
}
.media--loaded > .product__img-skeleton {
  opacity: 0;
  pointer-events: none;
}
.product__img-skeleton .skeleton-shimmer {
  width: 100%;
  height: 100%;
}
.product__img-skeleton--thumb {
  inset: 4px;
  border-radius: 4px;
  overflow: hidden;
}

.product__no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #f5f5f5;
}

/* Left Column - hidden mobile, shown desktop */
.product__left {
  display: none;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
  order: 1;
}

@media (min-width: 768px) {
  .product__left { display: flex; }
}

/* Compatibility + Sections aligned with main image */
.product__compatibility {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  margin-left: 108px;
}

.product__compatibility h3 {
  padding: 0.875rem 1rem;
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  background: #f8fafc;
  border-bottom: 1px solid var(--color-border);
}

.product__compatibility-universal {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  color: #1e40af;
  font-weight: 500;
}

.product__sections {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-left: 108px;
}

.product__section {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
}

.product__section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: #f9fafb;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.product__section-header::-webkit-details-marker { display: none; }
.product__section-icon { transition: transform 0.2s; }
.product__section[open] .product__section-icon { transform: rotate(180deg); }

.product__section-content {
  padding: 1.25rem;
  font-size: 0.9375rem;
  color: #4b5563;
  line-height: 1.6;
}

.specs-table { width: 100%; border-collapse: collapse; }
.specs-table th, .specs-table td { padding: 0.5rem 0; text-align: left; border-bottom: 1px solid #f3f4f6; }
.specs-table th { width: 120px; font-weight: 500; color: #6b7280; }
.specs-table tr:last-child th, .specs-table tr:last-child td { border-bottom: none; }

/* Right Column - Buy Section */
.product__right {
  order: 2;
}

@media (min-width: 1024px) {
  .product__right {
    position: sticky;
    top: 1.5rem;
    align-self: start;
  }
}

.product__buy {
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: #fff;
}

@media (min-width: 1024px) {
  .product__buy {
    padding: 1.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  }
}

.product__vendor { font-size: 0.75rem; color: #6b7280; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.375rem; }
.product__title { font-size: 1.25rem; font-weight: 600; line-height: 1.3; margin-bottom: 0.5rem; }
@media (min-width: 1024px) { .product__title { font-size: 1.5rem; } }
.product__sku { font-size: 0.75rem; color: #7c838d; font-family: monospace; margin-bottom: 0.125rem; }
.product__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 0.75rem; }
.product__price-current { font-size: 1.75rem; font-weight: 700; color: var(--color-primary); }
@media (min-width: 1024px) { .product__price-current { font-size: 2rem; } }
.product__price-compare { font-size: 1rem; color: #9ca3af; text-decoration: line-through; }
.product__price-save { font-size: 0.8125rem; color: #059669; font-weight: 600; }
.product__shipping { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: #555; padding: 0.75rem 0.875rem; background: #f9fafb; border: 1px solid var(--color-border); border-radius: 8px; margin-top: 0.75rem; }
.product__shipping svg { color: #666; flex-shrink: 0; margin-top: 1px; }
.product__shipping-free { color: #374151; font-weight: 600; }
.product__divider { height: 1px; background: var(--color-border); margin: 0.5rem 0; }
.product__stock { display: flex; align-items: center; gap: 0.5rem; padding: 0.625rem 1rem; border-radius: 6px; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.5rem; }
.product__stock--in { background: #dcfce7; color: #166534; }
.product__stock--out { background: #fee2e2; color: #991b1b; }
.product__form { margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--color-border); }
.product__variants { margin-bottom: 1rem; }
.product__variants-label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.5rem; }
.product__variants { margin-bottom: 1rem; }
.product__variants-label { display: block; font-size: 0.875rem; font-weight: 600; color: #374151; margin-bottom: 0.5rem; }

/* Custom Select Dropdown */
.custom-select { position: relative; width: 100%; }
.custom-select.is-disabled { opacity: 0.5; pointer-events: none; }
.custom-select.is-disabled .custom-select__trigger { background-color: #f9fafb; cursor: not-allowed; }
.custom-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  font-family: var(--font-body);
  color: #111827;
  text-align: left;
}
.custom-select__trigger:hover { border-color: #9ca3af; }
.custom-select.is-open .custom-select__trigger {
  border-color: var(--color-primary, #1e3a8a);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}
.custom-select__arrow {
  flex-shrink: 0;
  color: #6b7280;
}
.custom-select.is-open .custom-select__arrow { transform: rotate(180deg); }

.custom-select__options {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 50;
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  padding: 0.375rem;
  margin: 0;
  list-style: none;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.08);
}
/* Product page variant selector - keep scroll */
.product__form .custom-select__options {
  max-height: 260px;
  overflow-y: auto;
}
.custom-select.is-open .custom-select__options { display: block; }

.custom-select__option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.875rem;
  border-radius: 7px;
  cursor: pointer;
  font-size: 0.9375rem;
  color: #374151;
}
.custom-select__option:hover { background: #f3f4f6; color: #111827; }
.custom-select__option.is-selected {
  background: #eff6ff;
  color: var(--color-primary, #1e3a8a);
  font-weight: 600;
}
.custom-select__option.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}
.custom-select__option-text { flex: 1; }
.custom-select__option-badge--out {
  font-size: 0.75rem;
  color: #ef4444;
  font-weight: 500;
}
.custom-select__check { color: var(--color-primary, #1e3a8a); flex-shrink: 0; }
.product__qty { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.product__qty-label { font-size: 0.875rem; font-weight: 500; }
.product__qty-selector { display: flex; align-items: center; border: 1px solid var(--color-border); border-radius: 8px; overflow: hidden; }
.product__qty-btn { width: 44px; height: 44px; background: #f9fafb; border: none; cursor: pointer; font-size: 1.25rem; color: var(--color-text); }
.product__qty-btn:hover { background: #f3f4f6; }
.product__qty-input { width: 56px; height: 44px; border: none; border-left: 1px solid var(--color-border); border-right: 1px solid var(--color-border); text-align: center; font-size: 1rem; font-weight: 500; -moz-appearance: textfield; }
.product__qty-input::-webkit-outer-spin-button, .product__qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.product__add-btn { width: 100%; padding: 1rem; background: var(--color-primary); color: #fff; border: none; border-radius: 8px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: background 0.15s; display: flex; align-items: center; justify-content: center; gap: 0.625rem; }
.product__add-btn .cart-icon { flex-shrink: 0; }
.product__add-btn:hover { background: var(--color-secondary); }
.product__add-btn:disabled { background: #d1d5db; cursor: not-allowed; }
/* OEM Badge */
.product__oem-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.3rem 0.75rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  width: fit-content;
}
.product__oem-badge svg { flex-shrink: 0; }

/* Shipping detail */
.product__shipping-detail {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.product__shipping-breakdown {
  font-size: 0.875rem;
  color: #374151;
}
.product__shipping-breakdown strong { color: #111827; }
.product__shipping-note {
  font-size: 0.75rem;
  color: #9ca3af;
}

/* Buy Now */
.product__buy-now-btn {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid var(--color-primary);
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  background: #fff;
  color: var(--color-primary);
  margin-top: 0.5rem;
  transition: background 0.15s;
}
.product__buy-now-btn:hover { background: #eff6ff; }

/* Trust Block */
.product__trust {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding: 0.875rem 1rem;
  margin-top: 1rem;
  background: #f9fafb;
  border: 1px solid var(--color-border);
  border-radius: 10px;
}
.product__trust-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
  color: #374151;
}
.product__trust-item svg { flex-shrink: 0; color: #6b7280; }
.product__trust-item strong { color: #111827; }
.product__trust-item--small { font-size: 0.8125rem; color: #6b7280; }
.product__trust-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.product__trust-stars {
  display: inline-flex;
  gap: 1px;
  margin-right: 0.25rem;
}
.product__trust-stars svg { width: 14px; height: 14px; }
.product__trust-phone {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
}
.product__trust-phone:hover { text-decoration: underline; }
.product__trust-divider {
  height: 1px;
  background: var(--color-border);
  margin: 0.125rem 0;
}
.product__trust-bottom {
  display: flex;
  gap: 1rem;
}

/* ==========================================================================
   Cart
   ========================================================================== */

.cart {
  padding: 2rem 0;
}

.cart__empty {
  text-align: center;
  padding: 4rem 1rem;
}

.cart__empty-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  color: var(--color-text-light);
}

.cart__table {
  width: 100%;
  border-collapse: collapse;
}

.cart__table th {
  text-align: left;
  padding: 1rem;
  border-bottom: 2px solid var(--color-border);
  font-weight: 600;
}

.cart__table td {
  padding: 1rem;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}

.cart__item-image {
  width: 80px;
  height: 80px;
  background-color: #f5f5f5;
  border-radius: 6px;
  overflow: hidden;
}

.cart__item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart__item-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cart__item-title {
  font-weight: 600;
}

.cart__item-sku {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  font-family: monospace;
}

.cart__item-remove {
  background: none;
  border: none;
  color: var(--color-error);
  cursor: pointer;
  font-size: 0.875rem;
  padding: 0;
}

.cart__item-remove:hover {
  text-decoration: underline;
}

.cart__summary {
  margin-top: 2rem;
  padding: 2rem;
  background-color: #f9fafb;
  border-radius: 8px;
  max-width: 400px;
  margin-left: auto;
}
@media (max-width: 768px) {
  .cart__summary { margin-left: auto; margin-right: auto; }
}

.cart__summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.cart__summary-total {
  font-size: 1.25rem;
  font-weight: 700;
  padding-top: 1rem;
  border-top: 2px solid var(--color-border);
}

.cart__checkout {
  width: 100%;
  margin-top: 1.5rem;
}

/* ==========================================================================
   Collection Page
   ========================================================================== */

.collection-header {
  text-align: left;
  padding: 1rem 0;
  background-color: #f9fafb;
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .collection-header { padding: 2rem 0; margin-bottom: 2rem; }
}

.collection-header__title {
  margin-bottom: 0.25rem;
  font-size: 1.25rem;
}
@media (min-width: 768px) {
  .collection-header__title { font-size: 2rem; margin-bottom: 0.5rem; }
}

.collection-header__description {
  color: var(--color-text-light);
  font-size: 0.8125rem;
}
@media (min-width: 768px) {
  .collection-header__description { font-size: 1rem; }
}

.collection-header__count {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  margin-top: 0.25rem;
}

.collection__toolbar {
  display: none;
}
@media (min-width: 768px) {
  .collection__toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
  }
}

.collection__sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.collection__sort label {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.collection__sort select {
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 0.875rem;
  background-color: #fff;
  cursor: pointer;
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.pagination__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 0.875rem;
  color: var(--color-text);
  
}

.pagination__link:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.pagination__link.is-current {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form__group {
  margin-bottom: 1.5rem;
}

.form__label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  border: 2px solid var(--color-border);
  border-radius: 6px;
  outline: none;
  
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  border-color: var(--color-primary);
}

.form__textarea {
  min-height: 150px;
  resize: vertical;
}

.form__error {
  color: var(--color-error);
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

/* ==========================================================================
   Utilities
   ========================================================================== */

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

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.hidden { display: none !important; }

@media (max-width: 767px) {
  .hide-mobile { display: none !important; }
}

@media (min-width: 768px) {
  .hide-desktop { display: none !important; }
}

/* ==========================================================================
   Header - Desktop/Mobile Responsive (breakpoint: 824px)
   ========================================================================== */

.desktop-only { display: none; }
.mobile-only { display: block; }
@media (min-width: 824px) {
  .desktop-only { display: block; }
  .mobile-only { display: none !important; }
}

/* Trust Bar */
.trust-bar {
  background: #1a1a2e;
  color: #fff;
  font-size: 0.75rem;
  padding: 0.5rem 0;
}
.trust-bar__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.9;
}
.trust-bar__phone { font-weight: 600; opacity: 1; }
.trust-bar__phone a { color: inherit; text-decoration: none; }

/* Desktop Header */
.header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

#main-content { padding-top: 1rem; }
.template-index #main-content { padding-top: 0; }
.header__top {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0;
  border: none;
}
.header__logo { flex-shrink: 0; }
.header__logo a { display: block; text-decoration: none; }
.header__logo-text { font-size: 1.5rem; font-weight: 700; color: var(--color-primary); }

/* Search */
.header__search { flex: 1; position: relative; }

.header__phone {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
  padding: 6px 0;
}
.header__phone:hover { color: var(--color-primary); }
.header__phone svg { width: 16px; height: 16px; opacity: 0.7; }
.header__search-form { display: flex; border: 2px solid #e5e7eb; border-radius: 0.5rem; overflow: hidden;  }
.header__search-form:focus-within { border-color: var(--color-primary); }
.header__search-input { flex: 1; padding: 0.75rem 1rem; border: none; outline: none; font-size: 0.875rem; font-family: inherit; }
.header__search-btn { background: var(--color-primary); color: #fff; border: none; padding: 0 1.25rem; cursor: pointer;  }
.header__search-btn:hover { background: var(--color-secondary); }

/* Predictive Search */
.predictive-search {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 0.25rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  max-height: 400px;
  overflow-y: auto;
  z-index: 200;
}
.predictive-search[hidden] { display: none; }
.predictive-search__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #f3f4f6;
  
}
.predictive-search__item:last-child { border-bottom: none; }
.predictive-search__item:hover { background: #f9fafb; }
.predictive-search__image { width: 56px; height: 56px; object-fit: cover; border-radius: 0.25rem; background: #f3f4f6; }
.predictive-search__info { flex: 1; min-width: 0; }
.predictive-search__title { font-size: 0.875rem; font-weight: 500; color: #111827; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.predictive-search__sku { font-size: 0.75rem; color: #6b7280; }
.predictive-search__price { font-weight: 600; color: var(--color-primary); white-space: nowrap; }
.predictive-search__view-all { display: block; padding: 0.75rem 1rem; text-align: center; color: var(--color-primary); font-weight: 500; text-decoration: none; border-top: 1px solid #e5e7eb; }
.predictive-search__view-all:hover { background: #f9fafb; }

/* AI Search Insight */
.predictive-search__ai-insight {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
  border-bottom: 1px solid #e5e7eb;
  font-size: 0.8125rem;
  color: #4b5563;
}
.predictive-search__ai-insight svg {
  color: var(--color-primary);
  flex-shrink: 0;
}
.predictive-search__ai-insight strong {
  color: var(--color-primary);
  font-weight: 600;
}
.predictive-search__ai-insight--sku {
  background: linear-gradient(135deg, #fef3c7 0%, #fef9c3 100%);
}
.predictive-search__ai-insight--sku svg {
  color: #b45309;
}
.predictive-search__ai-insight--sku strong {
  color: #92400e;
  font-family: monospace;
}

/* SKU Search Notice on search results page */
.sku-search-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fef3c7 0%, #fef9c3 100%);
  border: 1px solid #fcd34d;
  border-radius: 8px;
  font-size: 0.875rem;
  color: #92400e;
}
.sku-search-notice svg {
  color: #b45309;
  flex-shrink: 0;
}
.sku-search-notice strong {
  font-family: monospace;
  font-weight: 600;
}

/* Fitment badge in search results */
.predictive-search__fits {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: #059669;
  font-weight: 500;
  margin-top: 0.25rem;
}

.predictive-search__no-fit {
  display: inline-block;
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 0.25rem;
}

/* SKU badge in search results */
.predictive-search__sku {
  display: inline-block;
  font-size: 0.7rem;
  color: #6b7280;
  font-family: monospace;
  background: #f3f4f6;
  padding: 0.125rem 0.375rem;
  border-radius: 3px;
  margin-top: 0.25rem;
}

/* Header Actions */
.header__actions { display: flex; align-items: center; gap: 1.5rem; }
.header__action { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; text-decoration: none; color: #374151; min-width: 48px; }
.header__action:hover { color: var(--color-primary); }
.header__action svg { width: 24px; height: 24px; }
.header__action span { font-size: 0.75rem; font-weight: 500; }
.header__cart-wrap { position: relative; display: flex; align-items: center; justify-content: center; }
.header__cart-count { position: absolute; top: -8px; right: -8px; background: var(--color-accent); color: #fff; font-size: 0.6875rem; font-weight: 700; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.header__cart-count[hidden] { display: none; }

/* Navigation */
.header__nav { background: #fff; border: none; box-shadow: none; }
.header__nav .container { padding-left: 0; padding-right: 0; max-width: 100%; }
.nav__list { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav__list--brands { justify-content: center; }
.nav__item { position: relative; }
.nav__link { display: flex; align-items: center; gap: 0.25rem; padding: 0.875rem 0.75rem; text-decoration: none; color: #000000; font-weight: 600; position: relative; font-size: 1rem; white-space: nowrap; }
.nav__link:hover { color: var(--color-primary); background: #f9fafb; }
.nav__link svg { width: 10px; height: 10px; flex-shrink: 0; }
.nav__link--primary { background: transparent; color: var(--color-primary); border: 2px solid var(--color-primary); border-radius: 6px; margin: 0.375rem 0; padding: 0.5rem 0.875rem; font-weight: 600; }
.nav__link--primary:hover { background: var(--color-primary); color: #fff; }
.nav__link--primary svg { width: 16px; height: 16px; }
.nav__link--active { color: var(--color-primary); background: #eff6ff; position: relative; }
.nav__link--active:hover { background: #eff6ff; }
.nav__link--active::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: calc(100% - 2rem); height: 2px; background: var(--color-primary); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0 0 0.5rem 0.5rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  display: none;
  z-index: 150;
}
.nav__item--has-dropdown:hover .dropdown { display: block; }
.dropdown__link { display: block; padding: 0.625rem 1rem; text-decoration: none; color: #2b2c2e; font-size: 0.88rem; font-weight: 500; }
.dropdown__link:hover { background: #eff6ff; color: var(--color-primary); }
.dropdown__link--parent { font-weight: 600; color: #111827; border-bottom: 1px solid #f3f4f6; }

/* "More" dropdown button */
.nav__link--more { background: none; border: none; cursor: pointer; font-family: inherit; }
.dropdown--more { min-width: 200px; }
.dropdown__heading { display: block; padding: 0.5rem 1rem 0.25rem; font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: #9ca3af; }
.dropdown__divider { display: block; height: 1px; background: #f3f4f6; margin: 0.375rem 0; }

/* Wide screens: show all brands, hide "More" */
.nav__item--more { display: none; }
.nav__item--secondary { display: list-item; }

/* Narrow desktop: hide secondary brands, show "More" */
@media (max-width: 1350px) {
  .nav__item--secondary { display: none; }
  .nav__item--more { display: list-item; position: relative; }
  .nav__item--more:hover .dropdown { display: block; }
}

/* Mega Menu */
.mega-menu {
  position: fixed;
  left: 0;
  right: 0;
  top: auto;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  display: none;
  z-index: 150;
}
.nav__item--mega:hover .mega-menu { display: block; }
.mega-menu__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 1.5rem 0; }
.mega-menu__card { padding: 1.25rem; background: #f9fafb; border: 2px solid #f3f4f6; border-radius: 0.5rem;  }
.mega-menu__card:hover { border-color: var(--color-primary); background: #eff6ff; }
.mega-menu__brand { display: block; font-weight: 700; color: #111827; text-decoration: none; margin-bottom: 0.5rem; font-size: 1.125rem; }
.mega-menu__brand:hover { color: var(--color-primary); }
.mega-menu__models { display: flex; flex-wrap: wrap; gap: 0.5rem 0.75rem; }
.mega-menu__models a { font-size: 0.88rem; color: #2b2c2e; text-decoration: none; font-weight: 500; }
.mega-menu__models a:hover { color: var(--color-primary); text-decoration: underline; }

/* Mobile Header */
.mobile-header { background: #fff; position: sticky; top: 0; z-index: 100; border-bottom: 1px solid #f0f0f0; }
.mobile-header__top { display: flex; align-items: center; padding: 8px 12px; gap: 8px; }
.mobile-header__icon-btn { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: none; color: #374151; cursor: pointer; text-decoration: none; flex-shrink: 0; -webkit-tap-highlight-color: transparent; }
.mobile-header__icon-btn:active { color: var(--color-primary); }
.mobile-header__logo { flex: 1; min-width: 0; text-decoration: none; }
.mobile-header__logo img { height: 28px; width: auto; display: block; }
.mobile-header__logo-text { font-size: 1.125rem; font-weight: 800; color: var(--color-primary); letter-spacing: -0.02em; }
.mobile-header__actions { display: flex; align-items: center; gap: 0; }
.mobile-header__cart { position: relative; }
.mobile-header__cart-count { position: absolute; top: 4px; right: 2px; background: var(--color-accent, #dc2626); color: #fff; font-size: 0.5625rem; font-weight: 700; min-width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.mobile-header__cart-count[hidden] { display: none; }
.mobile-header__search { padding: 0 12px 8px; overflow: hidden; max-height: 60px; transition: max-height 0.3s ease, padding-bottom 0.3s ease; }
.mobile-header__search.is-hidden { max-height: 0; padding-bottom: 0; }
.mobile-header__search-form { display: flex; align-items: center; background: #f5f5f5; border: 1.5px solid transparent; border-radius: 8px; overflow: hidden; transition: border-color 0.15s, box-shadow 0.15s; }
.mobile-header__search-form:focus-within { border-color: var(--color-primary); background: #fff; box-shadow: 0 0 0 3px rgba(37,99,235,0.08); }
.mobile-header__search-input { flex: 1; border: none; background: transparent; padding: 10px 12px; font-size: 16px; font-family: inherit; outline: none; color: #1f2937; }
.mobile-header__search-input::placeholder { color: #9ca3af; }
.mobile-header__search-btn { background: var(--color-primary); border: none; padding: 10px 14px; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.mobile-header__search-btn svg { width: 18px; height: 18px; }

/* Mobile Search Overlay */
.mobile-search-overlay { position: fixed; inset: 0; background: #fff; z-index: 200; display: flex; flex-direction: column; padding-top: 60px; padding-bottom: 70px; }
.mobile-search-overlay[hidden] { display: none !important; }
.mobile-search-overlay__header { padding: 1rem; border-bottom: 1px solid #e5e7eb; }
.mobile-search-overlay__form { display: flex; border: 2px solid var(--color-primary); border-radius: 0.5rem; overflow: hidden; }
.mobile-search-overlay__input { flex: 1; padding: 0.75rem 1rem; border: none; outline: none; font-size: 1rem; font-family: inherit; }
.mobile-search-overlay__btn { background: var(--color-primary); color: #fff; border: none; padding: 0 1rem; cursor: pointer; }
.mobile-search-overlay__content { flex: 1; overflow-y: auto; }
.mobile-search-overlay__popular { padding: 1.5rem; text-align: center; }
.mobile-search-overlay__label { font-size: 0.875rem; color: #6b7280; margin-bottom: 1rem; }
.mobile-search-overlay__tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.mobile-search-overlay__tag { padding: 0.5rem 1rem; background: #f3f4f6; border-radius: 9999px; text-decoration: none; color: #374151; font-size: 0.875rem;  }
.mobile-search-overlay__tag:hover { background: #e5e7eb; }
.mobile-search-overlay__results { padding: 0; }
.mobile-search-overlay__results[hidden] { display: none; }
.mobile-search-overlay__result { display: flex; align-items: center; gap: 1rem; padding: 1rem; text-decoration: none; color: inherit; border-bottom: 1px solid #f3f4f6; }
.mobile-search-overlay__result:hover { background: #f9fafb; }
.mobile-search-overlay__result-image { width: 64px; height: 64px; object-fit: cover; border-radius: 0.5rem; background: #f3f4f6; }
.mobile-search-overlay__result-info { flex: 1; min-width: 0; }
.mobile-search-overlay__result-title { font-size: 0.875rem; font-weight: 500; color: #111827; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mobile-search-overlay__result-sku { font-size: 0.75rem; color: #6b7280; margin-top: 0.125rem; }
.mobile-search-overlay__result-price { font-size: 0.875rem; font-weight: 700; color: var(--color-primary); margin-top: 0.25rem; }

/* Mobile Menu */
.mobile-menu { position: fixed; inset: 0; z-index: 200; display: flex; }
.mobile-menu[hidden] { display: none !important; }
.mobile-menu__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.mobile-menu__panel { position: absolute; top: 0; left: 0; bottom: 0; width: 85%; max-width: 320px; background: #fff; display: flex; flex-direction: column; animation: slideIn 0.25s ease-out; }
@keyframes slideIn { from { transform: translateX(-100%); } to { transform: translateX(0); } }

.mobile-menu__header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--color-primary); color: #fff; }
.mobile-menu__title { font-weight: 700; font-size: 1rem; }
.mobile-menu__close { background: rgba(255,255,255,0.15); border: none; padding: 0; color: #fff; cursor: pointer; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.mobile-menu__close svg { width: 16px; height: 16px; }

/* List resets */
.mobile-menu__list,
.mobile-menu__submenu { list-style: none; margin: 0; padding: 0; }

.mobile-menu__nav { flex: 1; overflow-y: auto; }
.mobile-menu__nav .mobile-menu__section-label { padding: 0 1rem; color: #6b7280; }
.mobile-menu__section-label { font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-primary); margin-bottom: 0.75rem; }

/* Menu links — works for both <a> and <button> */
.mobile-menu__link { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 13px 16px; text-decoration: none; color: #111827; font-size: 0.9375rem; font-weight: 500; border: none; border-bottom: 1px solid #f3f4f6; background: none; cursor: pointer; font-family: inherit; text-align: left; }
.mobile-menu__link:active { background: #f9fafb; }
.mobile-menu__link svg { color: #d1d5db; flex-shrink: 0; width: 16px; height: 16px; }

/* Submenu (hidden by default, revealed by JS) */
.mobile-menu__submenu { background: #f9fafb; }
.mobile-menu__submenu[hidden] { display: none; }
.mobile-menu__sublink { display: block; padding: 11px 16px 11px 28px; text-decoration: none; color: #6b7280; font-size: 0.875rem; border-bottom: 1px solid #f0f0f0; }
.mobile-menu__sublink:first-child { color: var(--color-primary); font-weight: 600; }
.mobile-menu__sublink:active { background: #f3f4f6; }

/* Footer */
.mobile-menu__footer { padding: 16px; border-top: 1px solid #e5e7eb; background: #f9fafb; }
.mobile-menu__phone { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--color-primary); font-weight: 700; font-size: 0.9375rem; }
.mobile-menu__phone svg { width: 16px; height: 16px; flex-shrink: 0; }
.mobile-menu__email { display: flex; align-items: center; gap: 8px; text-decoration: none; color: #6b7280; font-size: 0.8125rem; margin-top: 8px; }
.mobile-menu__email svg { flex-shrink: 0; }

/* ==========================================================================
   Hero Section - LCP Optimized
   ========================================================================== */
.hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  contain: layout style;
  overflow: visible;
}
@media (min-width: 768px) {
  .hero { min-height: 500px; }
}
.hero__image {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero__image { width: 60%; }
}
.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}
@media (min-width: 768px) {
  .hero__image img { object-position: center; }
}
.hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--hero-color, #1e40af) 0%,
    var(--hero-color, #1e40af) 40%,
    color-mix(in srgb, var(--hero-color, #1e40af) 90%, transparent) 50%,
    color-mix(in srgb, var(--hero-color, #1e40af) 70%, transparent) 60%,
    color-mix(in srgb, var(--hero-color, #1e40af) 45%, transparent) 75%,
    color-mix(in srgb, var(--hero-color, #1e40af) 20%, transparent) 90%,
    transparent 100%
  );
}
@media (max-width: 767px) {
  .hero__gradient {
    background: linear-gradient(
      to bottom,
      color-mix(in srgb, var(--hero-color, #1e40af) 85%, transparent) 0%,
      color-mix(in srgb, var(--hero-color, #1e40af) 60%, transparent) 100%
    );
  }
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 550px;
  padding: 3rem 0 5rem;
  color: #fff;
}
.hero__subheading {
  opacity: 0.85;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 0.75rem;
}
.hero__title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 1rem;
}
@media (min-width: 768px) {
  .hero__title { font-size: 2.75rem; }
}
.hero__subtitle {
  font-size: 1.125rem;
  opacity: 0.9;
  margin: 0 0 2rem;
  line-height: 1.6;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Currency Switcher */
.currency-switcher { position: relative; }
.currency-switcher__btn { display: flex; align-items: center; gap: 0.25rem; background: none; border: none; color: inherit; font-size: inherit; font-family: inherit; cursor: pointer; padding: 0.25rem 0.5rem; border-radius: 0.25rem; }
.currency-switcher__btn:hover { background: rgba(255,255,255,0.1); }
.currency-switcher__dropdown { position: absolute; top: 100%; right: 0; margin-top: 0.5rem; background: #fff; border-radius: 0.5rem; box-shadow: 0 4px 20px rgba(0,0,0,0.15); min-width: 120px; overflow: hidden; z-index: 300; }
.currency-switcher__dropdown[hidden] { display: none; }
.currency-switcher__option { display: flex; align-items: center; gap: 0.5rem; width: 100%; padding: 0.75rem 1rem; background: none; border: none; font-size: 0.875rem; color: #374151; cursor: pointer; text-align: left; }
.currency-switcher__option:hover { background: #f3f4f6; }
.currency-switcher__option--active { background: #eff6ff; color: var(--color-primary); font-weight: 500; }
.currency-switcher__flag { font-size: 1rem; }
.trust-bar__currency { margin-left: auto; }

/* Vehicle Selector */
.vehicle-selector-wrapper {
  position: relative;
  z-index: 10;
  margin-top: -80px;
  padding: 0 2rem 2rem;
}
.vehicle-selector {
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem 2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}
.vehicle-selector__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}
.vehicle-selector__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}
.vehicle-selector__skip {
  font-size: 0.875rem;
  color: #6b7280;
  text-decoration: none;
}
.vehicle-selector__skip:hover {
  color: var(--color-primary);
  text-decoration: underline;
}
.vehicle-selector__form {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
}
.vehicle-selector__field {
  flex: 1;
  position: relative;
  z-index: 3;
}
.vehicle-selector__field:nth-child(2) { z-index: 2; }
.vehicle-selector__field:nth-child(3) { z-index: 1; }
.vehicle-selector__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.vehicle-selector__btn {
  padding: 0.875rem 2rem;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.vehicle-selector__btn:hover:not(:disabled) {
  background: var(--color-secondary);
}
.vehicle-selector__btn:disabled {
  background: #9ca3af;
  cursor: not-allowed;
}
.vehicle-selector__btn svg {
  width: 18px;
  height: 18px;
}
.vehicle-selector__popular {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: #6b7280;
}
.vehicle-selector__popular span {
  margin-right: 0.5rem;
}
.vehicle-selector__popular a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  margin: 0 0.5rem;
}
.vehicle-selector__popular a:hover {
  text-decoration: underline;
}

/* Vehicle Selector Responsive */
@media (max-width: 768px) {
  .vehicle-selector-wrapper {
    padding: 0 1rem;
    margin-top: -40px;
  }
  .vehicle-selector {
    padding: 1.25rem;
    border-radius: 10px;
  }
  .vehicle-selector__title {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }
  .vehicle-selector__skip {
    display: none;
  }
  .vehicle-selector__form {
    flex-direction: column;
    gap: 0.75rem;
  }
  .vehicle-selector__field {
    width: 100%;
  }
  .vehicle-selector__select {
    padding: 0.75rem 2.5rem 0.75rem 1rem;
  }
  .vehicle-selector__btn {
    width: 100%;
    justify-content: center;
    padding: 0.875rem;
  }
  .vehicle-selector__popular {
    margin-top: 0.75rem;
    font-size: 0.8125rem;
  }
  .vehicle-selector__popular a {
    display: inline-block;
    margin: 0.25rem 0.375rem;
  }
}

/* About & Blog Section */
.about-blog {
  padding: 4rem 0;
  background: #fff;
}
.about-blog__grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: start;
}
.about-blog__main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.about-blog__video {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.about-blog__video-embed {
  position: relative;
  padding-bottom: 56.25%;
  background: #1f2937;
}
.about-blog__video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.about-blog__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin: 0 0 0.75rem;
}
.about-blog__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 1rem;
  line-height: 1.2;
}
.about-blog__content {
  color: #4b5563;
  line-height: 1.7;
  font-size: 1rem;
}
.about-blog__content p {
  margin: 0;
}
.about-blog__content p + p {
  margin-top: 1rem;
}
.about-blog__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
}
.about-blog__link:hover {
  text-decoration: underline;
}

/* Sidebar */
.about-blog__sidebar {
  position: sticky;
  top: 2rem;
}
.about-blog__sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e5e7eb;
}
.about-blog__sidebar-header h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}
.about-blog__sidebar-header a {
  font-size: 0.875rem;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}
.about-blog__sidebar-header a:hover {
  text-decoration: underline;
}
.about-blog__articles {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Article Card */
.article-card {
  display: flex;
  gap: 1rem;
  padding: 0.875rem;
  background: #f9fafb;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s;
}
.article-card:hover {
  background: #f0f0f0;
}
.article-card__image {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  background: #e5e7eb;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.article-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-card__placeholder {
  font-size: 1.75rem;
}
.article-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.article-card__category {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}
.article-card__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.3;
  margin: 0;
}
.article-card__date {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 0.25rem;
}

/* About Blog Responsive */
@media (max-width: 1024px) {
  .about-blog__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-blog__sidebar {
    position: static;
  }
}
@media (max-width: 640px) {
  .about-blog {
    padding: 3rem 0;
  }
  .about-blog__title {
    font-size: 1.5rem;
  }
  .article-card__image {
    width: 70px;
    height: 70px;
  }
}

/* Footer Trust Badges */
.footer__trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #94a3b8;
  font-size: 0.8125rem;
}
.trust-badge__icon {
  width: 20px;
  height: 20px;
  color: #10b981;
}

/* Footer Payment Icons */
.footer__payments {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.footer__payments-label {
  color: #64748b;
  font-size: 0.75rem;
  margin-right: 0.25rem;
}
.payment-icons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}
.payment-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.payment-icon .icon {
  height: 24px;
  width: auto;
}
.payment-icon .icon--full-color {
  height: 24px;
  width: auto;
}

/* Footer Bottom Responsive */
@media (max-width: 768px) {
  .footer__bottom {
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
  }
  .footer__trust {
    justify-content: center;
  }
  .footer__payments {
    justify-content: center;
  }
}

/* ==========================================================================
   Collection Model (Model pages like freightliner-cascadia)
   ========================================================================== */

.collection-model__header {
  background: var(--color-secondary);
  color: white;
  padding: 1.5rem 0;
}

.collection-model__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: white;
}

@media (min-width: 768px) {
  .collection-model__header { padding: 2rem 0; }
  .collection-model__title { font-size: 1.75rem; }
}

.collection-model__count {
  font-size: 0.875rem;
  opacity: 0.85;
  color: white;
}

/* Subcollections Grid */
.collection-model__subcollections {
  background: white;
  padding: 1rem 0 1.25rem;
  border-bottom: 1px solid var(--color-border);
}

/* Category Group Headers */
.category-group {
  margin-bottom: 1.25rem;
}

.category-group:last-child {
  margin-bottom: 0;
}

.category-group__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.625rem;
  padding-bottom: 0.375rem;
  border-bottom: 2px solid var(--color-primary);
}

@media (min-width: 768px) {
  .category-group__title {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
  }
}

@media (min-width: 1024px) {
  .category-group__title {
    font-size: 1.25rem;
  }
}

.subcollections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

@media (min-width: 480px) {
  .subcollections-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.625rem;
  }
}

@media (min-width: 768px) {
  .subcollections-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 0.75rem;
  }
}

@media (min-width: 1024px) {
  .subcollections-grid {
    grid-template-columns: repeat(8, 1fr);
    gap: 0.75rem;
  }
}

@media (min-width: 1280px) {
  .subcollections-grid {
    grid-template-columns: repeat(10, 1fr);
    gap: 0.875rem;
  }
}

/* Subcollection Card */
.subcollection-card {
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.subcollection-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.subcollection-card__image {
  aspect-ratio: 1;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.subcollection-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.25rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.subcollection-card__image.media--loaded img {
  opacity: 1;
}
.subcollection-card__skeleton {
  position: absolute;
  inset: 0;
  z-index: 1;
  transition: opacity 0.3s ease;
}
.subcollection-card__image.media--loaded .subcollection-card__skeleton {
  opacity: 0;
  pointer-events: none;
}
.subcollection-card__skeleton .skeleton-shimmer {
  width: 100%;
  height: 100%;
}

.subcollection-card__placeholder {
  color: #d1d5db;
}

.subcollection-card__info {
  padding: 0.375rem 0.25rem;
  text-align: center;
  border-top: 1px solid var(--color-border);
}

.subcollection-card__title {
  font-size: 0.625rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 0.125rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 768px) {
  .subcollection-card__title { font-size: 0.6875rem; }
}

@media (min-width: 1024px) {
  .subcollection-card__title { font-size: 0.75rem; }
}

.subcollection-card__count {
  font-size: 0.5625rem;
  color: #6b7280;
  font-weight: 500;
}

@media (min-width: 768px) {
  .subcollection-card__count { font-size: 0.625rem; }
}

/* Subcategory Cards */
.subcategory-card {
  display: block;
  background: var(--color-background, white);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.subcategory-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.subcategory-card__image {
  aspect-ratio: 4/3;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}
.subcategory-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}
.subcategory-card__image.media--loaded img {
  opacity: 1;
}
.subcategory-card:hover .subcategory-card__image img {
  transform: scale(1.05);
}
.subcategory-card__skeleton {
  position: absolute;
  inset: 0;
  z-index: 1;
  transition: opacity 0.3s ease;
}
.subcategory-card__image.media--loaded .subcategory-card__skeleton {
  opacity: 0;
  pointer-events: none;
}
.subcategory-card__skeleton .skeleton-shimmer {
  width: 100%;
  height: 100%;
}
.subcategory-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary, #1e3a8a) 0%, var(--color-primary-light, #3b82f6) 100%);
  color: white;
  font-size: 2rem;
  font-weight: 700;
}
.subcategory-card__count {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  background: rgba(0,0,0,0.7);
  color: white;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-weight: 500;
}
.subcategory-card__content {
  padding: 0.875rem 1rem;
  text-align: center;
}
.subcategory-card__title {
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0;
  color: var(--color-text, #1a1a1a);
}
.subcategory-card__years {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-muted, #6b7280);
  margin-top: 0.25rem;
}

/* Products Section */
.collection-model__products {
  padding: 1.5rem 0 3rem;
}

.products-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.products-toolbar__info {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.products-toolbar__title {
  font-size: 1.125rem;
  font-weight: 600;
}

.products-toolbar__count {
  font-size: 0.875rem;
  color: #6b7280;
}

.products-toolbar__sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sort-select {
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 0.875rem;
  background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

/* Load More */
.load-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  gap: 0.75rem;
}

.load-more__spinner {
  width: 24px;
  height: 24px;
  border: 2px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.load-more__text {
  font-size: 0.875rem;
  color: #6b7280;
}

.load-more__spinner {
  display: none;
}
.load-more.loading .load-more__spinner {
  display: block;
}

/* SEO Content */
.collection-model__seo {
  background: #f9fafb;
  padding: 2rem 0;
  border-top: 1px solid var(--color-border);
}

.seo-content {
  max-width: 800px;
  font-size: 0.875rem;
  line-height: 1.7;
  color: #4b5563;
}

.seo-content p {
  margin-bottom: 1rem;
}

.seo-content p:last-child {
  margin-bottom: 0;
}

/* My Garage - Selected State */
.my-garage__selected {
  padding: 1rem;
}

.my-garage__truck-info {
  padding: 0.75rem;
  background: #f3f4f6;
  border-radius: 6px;
  margin-bottom: 0.75rem;
  text-align: center;
}

.my-garage__truck-info strong {
  font-size: 0.875rem;
  color: #111827;
}

.my-garage__actions-group {
  display: flex;
  gap: 0.5rem;
}

.my-garage__action-btn {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border: none;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.my-garage__action-btn--change {
  background: var(--color-primary, #1a56db);
  color: #fff;
}

.my-garage__action-btn--change:hover {
  background: var(--color-secondary, #1e3a8a);
}

.my-garage__action-btn--remove {
  background: #fee2e2;
  color: #dc2626;
}

.my-garage__action-btn--remove:hover {
  background: #fecaca;
}

/* My Garage Actions Buttons */
.my-garage__actions {
  display: flex;
  gap: 0.5rem;
  padding: 0 1rem 1rem;
}

.my-garage__change-btn,
.my-garage__remove-btn {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border: none;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.my-garage__change-btn {
  background: var(--color-primary, #1a56db);
  color: #fff;
}

.my-garage__change-btn:hover {
  background: var(--color-secondary, #1e3a8a);
}

.my-garage__remove-btn {
  background: #fee2e2;
  color: #dc2626;
}

.my-garage__remove-btn:hover {
  background: #fecaca;
}

/* ============================================
   Collection & Category Page Styles
   ============================================ */

  font-weight: 500;
  font-size: 0.875rem;
}

/* ============================================
   Featured Products
   ============================================ */
.featured-products {
  margin-bottom: 2rem;
}
.featured-products__title {
  font-size: 1rem;
  color: var(--color-text, #374151);
  margin: 0 0 1rem;
}
.featured-products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}
.featured-products__view-all {
  display: inline-block;
  color: var(--color-primary, #1e3a8a);
  font-weight: 500;
  text-decoration: none;
}
.featured-products__view-all:hover {
  text-decoration: underline;
}

/* ============================================
   Models Section
   ============================================ */
.models-section {
  margin-bottom: 2rem;
}
.models-section__title {
  font-size: 1.25rem;
  margin: 0 0 1.5rem;
  color: var(--color-text, #374151);
}

/* ============================================
   Model Card
   ============================================ */
.model-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.model-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-background-alt, #f3f4f6);
  flex-wrap: wrap;
  gap: 1rem;
}
.model-card__info {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.model-card__icon {
  width: 48px;
  height: 48px;
  background: #eff6ff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: var(--color-primary, #1e3a8a);
  font-weight: 700;
}
.model-card__name {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}
.model-card__meta {
  font-size: 0.875rem;
  color: var(--color-text-muted, #6b7280);
}
.model-card__link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary, #1e3a8a);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  background: #eff6ff;
  border-radius: 8px;
  transition: background 0.2s;
}
.model-card__link:hover {
  background: #dbeafe;
}
.model-card__products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
  padding: 1.25rem 1.5rem;
}

/* ============================================
   Mini Product
   ============================================ */
.mini-product {
  text-decoration: none;
  color: inherit;
}
.mini-product__image {
  aspect-ratio: 1;
  background: var(--color-background-alt, #f3f4f6);
  border-radius: 10px;
  margin-bottom: 0.5rem;
  overflow: hidden;
}
.mini-product__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mini-product__title {
  font-size: 0.8125rem;
  line-height: 1.3;
  color: var(--color-text, #374151);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mini-product__price {
  font-weight: 600;
  color: var(--color-primary, #1e3a8a);
  font-size: 0.9375rem;
  margin-top: 0.25rem;
}

/* ============================================
   Categories Section
   ============================================ */
.categories-section {
  margin-bottom: 2rem;
}
.categories-section__title {
  font-size: 1.125rem;
  margin: 0 0 1rem;
  color: var(--color-text, #374151);
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

/* ============================================
   Brand Groups (Category pages)
   ============================================ */
.brands-section {
  margin-bottom: 3rem;
}
.brands-section__title {
  font-size: 1.5rem;
  margin: 0 0 1.5rem;
}
.brand-group {
  background: white;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.brand-group__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--color-primary, #1e3a8a);
}
.brand-group__logo {
  font-size: 1.25rem;
}
.brand-group__models {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ============================================
   Model Chip
   ============================================ */
.model-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--color-background-alt, #f3f4f6);
  border-radius: 20px;
  text-decoration: none;
  color: var(--color-text, #1f2937);
  font-size: 0.9375rem;
  transition: background 0.2s, transform 0.2s;
}
.model-chip:hover {
  background: var(--color-primary, #1e3a8a);
  color: white;
  transform: translateY(-1px);
}
.model-chip__name {
  font-weight: 500;
}
.model-chip__count {
  background: rgba(0,0,0,0.1);
  padding: 0.125rem 0.5rem;
  border-radius: 10px;
  font-size: 0.75rem;
}
.model-chip:hover .model-chip__count {
  background: rgba(255,255,255,0.2);
}

/* ============================================
   Popular Categories
   ============================================ */
.popular-categories {
  margin-top: 3rem;
  padding: 2rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.popular-categories__title {
  font-size: 1rem;
  color: var(--color-text-muted, #6b7280);
  margin: 0 0 1rem;
}
.popular-categories__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.popular-categories__link {
  padding: 0.625rem 1rem;
  background: var(--color-background-alt, #f3f4f6);
  border-radius: 8px;
  text-decoration: none;
  color: var(--color-text, #374151);
  font-size: 0.9375rem;
  transition: background 0.2s;
}
.popular-categories__link:hover {
  background: var(--color-border, #e5e7eb);
}

/* ============================================
   Products Section
   ============================================ */
.products-section {
  margin-bottom: 2rem;
}
.products-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.products-header__title {
  font-size: 1.125rem;
  margin: 0;
  color: var(--color-text, #374151);
}
.products-header__count {
  font-size: 0.875rem;
  color: var(--color-text-muted, #6b7280);
}

/* ============================================
   Products Grid
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

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

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

/* Product card styles: see base section above */

/* ============================================
   Skeleton Loading for Product Card Images
   ============================================ */
.product-card__skeleton {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #f0f0f0;
  transition: opacity 0.4s ease;
}
.skeleton-shimmer {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    #f0f0f0 0%,
    #e0e0e0 20%,
    #f0f0f0 40%,
    #f0f0f0 100%
  );
  background-size: 200% 100%;
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}
@keyframes skeleton-pulse {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Image starts invisible — shown by JS after real src loads */
.product-card__image--primary {
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* When loaded: fade in image, hide skeleton */
.media--loaded .product-card__skeleton {
  opacity: 0;
  pointer-events: none;
}
.media--loaded .product-card__image--primary {
  opacity: 1;
}

/* ============================================
   Load More
   ============================================ */
/* ============================================
   No Results
   ============================================ */
.no-results {
  text-align: center;
  padding: 3rem;
  background: white;
  border-radius: 12px;
}
.no-results__text {
  color: var(--color-text-muted, #6b7280);
  margin: 0 0 1rem;
}
.no-results__btn {
  padding: 0.75rem 1.5rem;
  background: var(--color-primary, #1e3a8a);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

/* ============================================
   Related Categories
   ============================================ */
.related-categories {
  margin-top: 3rem;
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.related-categories__title {
  font-size: 0.9375rem;
  color: var(--color-text-muted, #6b7280);
  margin: 0 0 1rem;
}
.related-categories__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.related-categories__link {
  padding: 0.5rem 1rem;
  background: var(--color-background-alt, #f3f4f6);
  border-radius: 6px;
  text-decoration: none;
  color: var(--color-text, #374151);
  font-size: 0.875rem;
  transition: background 0.2s;
}
.related-categories__link:hover {
  background: var(--color-border, #e5e7eb);
}

/* ============================================
   SEO Content
   ============================================ */
.seo-content {
  margin-top: 3rem;
  padding: 2rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.seo-content h2 {
  font-size: 1.25rem;
  color: var(--color-primary, #1e3a8a);
  margin: 0 0 1rem;
}
.seo-content p {
  color: var(--color-text-muted, #4b5563);
  line-height: 1.7;
  margin: 0 0 1rem;
}
.seo-content p:last-child {
  margin-bottom: 0;
}
.seo-content a {
  color: var(--color-primary, #1e3a8a);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
  .garage-hero {
    flex-direction: column;
    text-align: center;
  }
  .garage-hero__info {
    flex-direction: column;
  }
  .garage-shortcut {
    flex-direction: column;
    text-align: center;
  }
  .garage-shortcut__info {
    flex-direction: column;
  }
  .page-header {
    flex-direction: column;
  }
  .quick-selector {
    flex-direction: column;
    align-items: stretch;
  }
  .quick-selector__label {
    text-align: center;
  }
  .vehicle-selector__form {
    flex-direction: column;
  }
  .model-card__header {
    flex-direction: column;
    text-align: center;
  }
  .model-card__info {
    flex-direction: column;
  }
  .model-card__products {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
}

/* ============================================
   Category Cards (Model pages)
   ============================================ */
.category-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}
.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.category-card__image {
  aspect-ratio: 4/3;
  background: #f3f4f6;
  position: relative;
  overflow: hidden;
}
.category-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.category-card:hover .category-card__image img {
  transform: scale(1.05);
}
.category-card__count {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  background: rgba(0,0,0,0.7);
  color: white;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-weight: 500;
}
.category-card__info {
  padding: 0.75rem;
  text-align: center;
}
.category-card__name {
  font-weight: 500;
  font-size: 0.875rem;
  margin: 0;
  color: var(--color-text, #1f2937);
}

@media (max-width: 640px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========================================
   NESTED COLLECTIONS - Category Groups
   ======================================== */

.collection-model__subcollections {
  padding: 2rem 0;
  background: #f8f9fa;
}

.category-group {
  margin-bottom: 2.5rem;
}

.category-group:last-child {
  margin-bottom: 0;
}

.category-group__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text, #111827);
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-primary, #1a56db);
}

.subcollections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

@media (min-width: 768px) {
  .subcollections-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.25rem;
  }
}

.subcollection-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--color-border, #e5e7eb);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.subcollection-card:hover {
  border-color: var(--color-primary, #1a56db);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.subcollection-card__image {
  aspect-ratio: 1;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.subcollection-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.5rem;
}

.subcollection-card__placeholder {
  color: #d1d5db;
}

.subcollection-card__info {
  padding: 0.75rem;
  text-align: center;
}

.subcollection-card__title {
  font-size: 0.875rem;
  font-weight: 500;
  margin: 0 0 0.25rem;
  line-height: 1.3;
  color: var(--color-text, #111827);
}

.subcollection-card__count {
  font-size: 0.75rem;
  color: var(--color-text-light, #6b7280);
}

/* Collection Model Header */
.collection-model__header {
  padding: 2rem 0 1.5rem;
  background: #fff;
}

.collection-model__title {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #111827;
}

@media (min-width: 768px) {
  .collection-model__title {
    font-size: 2.25rem;
  }
}

.collection-model__count {
  color: #6b7280;
  margin: 0;
  font-size: 0.9375rem;
}

/* Products Section */
.collection-model__products {
  padding: 2rem 0;
}

.products-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.products-toolbar__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

.products-toolbar__count {
  color: var(--color-text-light, #6b7280);
  font-size: 0.875rem;
}

.sort-select {
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  border: 1px solid var(--color-border, #e5e7eb);
  border-radius: 6px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.5rem center;
  font-size: 0.875rem;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

/* SEO Content */
.collection-model__seo {
  padding: 2rem 0;
  border-top: 1px solid var(--color-border, #e5e7eb);
}

.seo-content {
  max-width: 800px;
  color: var(--color-text-light, #6b7280);
  font-size: 0.9375rem;
  line-height: 1.7;
}


}

/* ==========================================================================
   Shipping Box (Level 1 — Product Page)
   ========================================================================== */
.ship-box {
  border: 1px solid var(--color-border); border-radius: 10px;
  padding: 0.625rem 0.75rem; margin-bottom: 0.75rem; background: #fff;
}
.ship-box__header {
  display: flex; align-items: center; gap: 0.4375rem;
  margin-bottom: 0.5rem; font-family: var(--font-heading);
  font-weight: 700; font-size: 0.8125rem; color: var(--color-text);
}
.ship-box__header svg { color: var(--color-text-light); flex-shrink: 0; }
.ship-box__delivery {
  display: flex; align-items: center; gap: 0.3125rem;
  font-size: 0.8125rem; color: var(--color-text-light);
  margin-bottom: 0.375rem;
}
.ship-box__delivery svg { color: var(--color-text-light); flex-shrink: 0; }
.ship-box__delivery strong { color: var(--color-text); }
.ship-box__estimate {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0; margin-bottom: 0.375rem;
}
.ship-box__estimate-label { font-size: 0.8125rem; color: var(--color-text-light); }
.ship-box__estimate-rate {
  font-family: var(--font-heading); font-weight: 700;
  font-size: 0.8125rem; color: var(--color-text);
}
.ship-box__estimate-rate--free { color: #16a34a; }
.ship-box__total {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0; margin-bottom: 0.375rem;
}
.ship-box__total-label { font-size: 0.8125rem; color: var(--color-text-light); }
.ship-box__total-value {
  font-family: var(--font-heading); font-weight: 700;
  font-size: 0.8125rem; color: var(--color-text);
}
.ship-box__quote-cta {
  display: flex; align-items: center;
  gap: 0.5rem; cursor: pointer;
  font-size: 0.75rem; color: var(--color-text-light);
  padding-top: 0.25rem;
}
.ship-box__quote-cta:hover { color: var(--color-primary); }
.ship-box__quote-icon { display: none; }
.ship-box__quote-text { font-size: 0.75rem; color: var(--color-text); line-height: 1.4; }
.ship-box__quote-text strong {
  display: block; font-family: var(--font-heading);
  font-weight: 700; font-size: 0.8125rem; color: #EA580C;
}

/* Quote link — quiet text CTA inside ship-box */
.ship-quote-link {
  display: flex; align-items: center; gap: 0.375rem;
  padding-top: 0.375rem;
  font-size: 0.75rem; color: var(--color-text-light);
  cursor: pointer; transition: color 0.15s;
  white-space: nowrap;
}
.ship-quote-link:hover { color: var(--color-primary); }
.ship-quote-link svg { flex-shrink: 0; opacity: 0.5; }
.ship-quote-link strong { color: var(--color-text); font-weight: 600; }
.ship-quote-link:hover strong { color: var(--color-primary); }

/* ==========================================================================
   Quote Panel (Level 2 — Slide-in)
   ========================================================================== */
.quote-panel {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 440px; max-width: 100vw; background: #fff;
  z-index: 2147483647;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.32,0.72,0,1);
  display: flex; flex-direction: column;
  overflow-y: auto;
  visibility: hidden;
}
.quote-panel.is-open { transform: translateX(0); box-shadow: -6px 0 30px rgba(0,0,0,0.12); visibility: visible; }
.quote-panel__head {
  padding: 1.25rem 1.5rem 1rem;
  border-bottom: 1px solid var(--color-border);
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-shrink: 0;
}
.quote-panel__title {
  font-family: var(--font-heading); font-size: 1.0625rem;
  font-weight: 800; color: var(--color-text); white-space: nowrap;
}
.quote-panel__sub { font-size: 0.8125rem; color: var(--color-text-light); margin-top: 0.1875rem; }
.quote-panel__close {
  background: var(--color-background); border: none; border-radius: 50%;
  width: 30px; height: 30px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-text-light); transition: 0.12s;
}
.quote-panel__close:hover { background: var(--color-border); }
.quote-panel__body { padding: 1.25rem 1.5rem; flex: 1; }
.quote-panel__product {
  display: flex; gap: 0.75rem; padding: 0.75rem;
  background: var(--color-background); border-radius: 8px;
  margin-bottom: 1rem;
}
.quote-panel__product-img {
  width: 72px; height: 72px; border-radius: 6px;
  border: 1px solid var(--color-border); overflow: hidden;
  flex-shrink: 0; background: #fff;
}
.quote-panel__product-img img { width: 100%; height: 100%; object-fit: contain; }
.quote-panel__product-name {
  font-family: var(--font-heading); font-weight: 600;
  font-size: 0.75rem; color: var(--color-text); line-height: 1.4;
}
.quote-panel__product-price {
  font-family: var(--font-heading); font-weight: 700;
  font-size: 0.875rem; margin-top: 0.1875rem;
}
.quote-panel__product-ship { font-size: 0.6875rem; color: var(--color-text-light); margin-top: 0.0625rem; }
.quote-panel__savings {
  background: linear-gradient(135deg, #F0FDF4, #ECFDF5);
  border: 1px solid #BBF7D0; border-radius: 8px;
  padding: 0.75rem; margin-bottom: 1rem;
  display: flex; align-items: flex-start; gap: 0.5625rem;
}
.quote-panel__savings-icon { font-size: 1.375rem; flex-shrink: 0; }
.quote-panel__savings-text { font-size: 0.75rem; color: var(--color-text); line-height: 1.5; }
.quote-panel__savings-text strong { color: #16a34a; }
.quote-panel__field { margin-bottom: 0.75rem; }
.quote-panel__label {
  font-family: var(--font-heading); font-size: 0.6875rem;
  font-weight: 600; color: var(--color-text-light);
  margin-bottom: 0.25rem; display: block;
}
.quote-panel__opt { font-weight: 400; color: #9ca3af; }
.quote-panel__input {
  width: 100%; padding: 0.6875rem 0.75rem;
  border: 2px solid var(--color-border); border-radius: 8px;
  font-size: 0.875rem; font-family: inherit; outline: none;
  transition: border 0.2s;
}
.quote-panel__input:focus { border-color: var(--color-primary); }
.quote-panel__input::placeholder { color: #9ca3af; }
.quote-panel__error {
  display: none; font-size: 0.6875rem; color: #dc2626;
  margin-top: 0.25rem;
}
.quote-panel__error.is-visible { display: block; }
.quote-panel__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.quote-panel__submit {
  width: 100%; padding: 0.875rem; background: #EA580C; color: #fff;
  border: none; border-radius: 8px; font-family: var(--font-heading);
  font-weight: 700; font-size: 0.9375rem; cursor: pointer;
  transition: all 0.2s; margin-top: 0.25rem;
  display: flex; align-items: center; justify-content: center; gap: 0.4375rem;
}
.quote-panel__submit:hover { background: #c2410c; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(234,88,12,0.2); }
.quote-panel__privacy {
  text-align: center; font-size: 0.6875rem;
  color: #9ca3af; margin-top: 0.75rem;
}
.quote-panel__review {
  margin-top: 1.25rem; padding: 1rem;
  background: #FFFBEB; border: 1px solid #FDE68A; border-radius: 10px;
}
.quote-panel__review-stars {
  color: #F59E0B; font-size: 1rem; letter-spacing: 1px; margin-bottom: 0.5rem;
}
.quote-panel__review-text {
  font-size: 0.8125rem; color: var(--color-text); line-height: 1.55;
  font-style: italic; margin: 0 0 0.75rem;
}
.quote-panel__review-author {
  display: flex; align-items: center; gap: 0.625rem;
}
.quote-panel__review-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: #1e3a8a; color: #fff; font-family: var(--font-heading);
  font-weight: 700; font-size: 0.8125rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.quote-panel__review-name {
  font-family: var(--font-heading); font-weight: 700;
  font-size: 0.8125rem; color: var(--color-text);
}
.quote-panel__review-role {
  font-size: 0.6875rem; color: var(--color-text-light);
}
.quote-panel__success {
  display: none; text-align: center; padding: 3rem 1.5rem;
}
.quote-panel__success.is-visible { display: block; animation: quoteSuccessFade 0.35s ease; }
@keyframes quoteSuccessFade { from { opacity: 0; } to { opacity: 1; } }
.quote-panel__success-icon {
  width: 60px; height: 60px; margin: 0 auto 1rem;
}
.quote-panel__success-title {
  font-family: var(--font-heading); font-size: 1.25rem;
  font-weight: 800; margin-bottom: 0.5rem; color: var(--color-text);
}
.quote-panel__success-text {
  font-size: 0.875rem; color: var(--color-text-light); line-height: 1.6; margin: 0;
}

/* Mobile: Quote panel full-width */
@media (max-width: 768px) {
  .quote-panel { width: 100vw; }
  .quote-panel__head { padding: 1rem 1rem 0.75rem; }
  .quote-panel__body { padding: 1rem; }
  .quote-panel__row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Cart Drawer
   ========================================================================== */
.cart-drawer__overlay { display: none; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 420px; max-width: 100vw;
  background: var(--color-background-alt, #fff); z-index: 2147483647;
  transform: translateX(100%); transition: transform 0.25s cubic-bezier(0.32,0.72,0,1);
  display: flex; flex-direction: column;
  visibility: hidden;
}
.cart-drawer.is-open { transform: translateX(0); box-shadow: -8px 0 40px rgba(0,0,0,0.15); visibility: visible; }
.cart-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.125rem 1.25rem; border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}
.cart-drawer__title {
  font-size: 1rem; font-weight: 700; margin: 0;
  display: flex; align-items: center; gap: 0.5rem;
}
.cart-drawer__count {
  background: var(--color-primary); color: #fff; font-size: 0.6875rem;
  font-weight: 700; padding: 0.125rem 0.5rem; border-radius: 10px;
}
.cart-drawer__close {
  background: none; border: none; cursor: pointer; padding: 0.375rem;
  border-radius: 6px; color: var(--color-text-light); transition: all 0.15s;
}
.cart-drawer__close:hover { background: rgba(0,0,0,0.05); color: var(--color-text); }
.cart-drawer__body {
  flex: 1; overflow-y: auto; padding: 1rem 1.25rem;
}
.cart-drawer__empty {
  text-align: center; color: var(--color-text-light); padding: 3rem 0;
  font-size: 0.9375rem;
}
.cart-drawer__item {
  display: flex; gap: 0.875rem; padding: 0.875rem 0;
  border-bottom: 1px solid var(--color-border);
  animation: drawerItemIn 0.4s cubic-bezier(0.34,1.56,0.64,1) backwards;
}
.cart-drawer__item:last-child { border-bottom: none; }
@keyframes drawerItemIn { from { opacity: 0; transform: translateX(20px); } }
.cart-drawer__item-img {
  width: 72px; height: 72px; flex-shrink: 0; background: var(--color-background);
  border-radius: 8px; border: 1px solid var(--color-border); overflow: hidden;
}
.cart-drawer__item-img img { width: 100%; height: 100%; object-fit: contain; }
.cart-drawer__item-details { flex: 1; min-width: 0; }
.cart-drawer__item-name {
  font-size: 0.8125rem; font-weight: 600; line-height: 1.3; margin-bottom: 0.25rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cart-drawer__item-variant { font-size: 0.6875rem; color: var(--color-text-light); margin-bottom: 0.375rem; }
.cart-drawer__item-bottom { display: flex; align-items: center; justify-content: space-between; }
.cart-drawer__item-qty {
  display: flex; align-items: center; border: 1px solid var(--color-border);
  border-radius: 6px; overflow: hidden;
}
.cart-drawer__item-qty button {
  width: 28px; height: 28px; background: none; border: none; cursor: pointer;
  font-size: 0.875rem; font-weight: 600; color: var(--color-text-light);
  display: flex; align-items: center; justify-content: center; transition: background 0.1s;
}
.cart-drawer__item-qty button:hover { background: rgba(0,0,0,0.04); }
.cart-drawer__item-qty span {
  width: 28px; text-align: center; font-size: 0.8125rem; font-weight: 600;
}
.cart-drawer__item-price { font-size: 0.875rem; font-weight: 700; }
.cart-drawer__item-remove {
  background: none; border: none; cursor: pointer; font-size: 0.6875rem;
  color: var(--color-text-light); text-decoration: underline; padding: 0; margin-top: 0.25rem;
}
.cart-drawer__item-remove:hover { color: var(--color-error); }

.cart-drawer__foot {
  padding: 1rem 1.25rem 1.25rem; border-top: 1px solid var(--color-border);
  flex-shrink: 0; background: var(--color-background-alt, #fff);
}
.cart-drawer__subtotal {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.25rem;
}
.cart-drawer__subtotal span { font-size: 0.875rem; color: var(--color-text-light); }
.cart-drawer__subtotal strong { font-size: 1.25rem; font-weight: 800; }
.cart-drawer__shipping { font-size: 0.75rem; color: var(--color-text-light); margin-bottom: 1rem; }
.cart-drawer__checkout {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  width: 100%; padding: 0.9375rem; background: var(--color-primary); color: #fff;
  border: none; border-radius: 10px; font-family: inherit; font-size: 0.9375rem;
  font-weight: 700; cursor: pointer; text-decoration: none; transition: background 0.15s;
}
.cart-drawer__checkout:hover { background: var(--color-secondary); color: #fff; }
.cart-drawer__view-cart {
  display: block; width: 100%; padding: 0.625rem; background: none; border: none;
  font-family: inherit; font-size: 0.8125rem; font-weight: 600;
  color: var(--color-text-light); cursor: pointer; text-align: center;
  margin-top: 0.375rem; text-decoration: none;
}
.cart-drawer__view-cart:hover { color: var(--color-text); }
.cart-drawer__trust {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  margin-top: 0.625rem; padding-top: 0.625rem; border-top: 1px solid var(--color-border);
}
.cart-drawer__trust span {
  font-size: 0.6875rem; color: var(--color-text-light);
  display: flex; align-items: center; gap: 0.25rem;
}
.cart-drawer__trust svg { opacity: 0.5; }

/* Cart Recommendations */
.cart-drawer__recs {
  padding: 0 1rem 0.75rem; border-top: 1px solid var(--color-border);
}
.cart-recs__title {
  font-family: var(--font-heading); font-weight: 700; font-size: 0.8125rem;
  color: var(--color-text); padding: 0.75rem 0 0.5rem;
}
.cart-recs__grid {
  display: flex; flex-direction: column; gap: 0.5rem;
}
.cart-recs__card {
  display: flex; gap: 0.625rem; padding: 0.625rem;
  background: var(--color-background); border: 1px solid var(--color-border);
  border-radius: 8px; text-decoration: none; color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.cart-recs__card:hover {
  border-color: var(--color-primary); box-shadow: 0 2px 8px rgba(30,64,175,0.08);
}
.cart-recs__card-img {
  width: 60px; height: 60px; border-radius: 6px; overflow: hidden;
  background: #f9fafb; flex-shrink: 0;
}
.cart-recs__card-img img { width: 100%; height: 100%; object-fit: contain; }
.cart-recs__card-info { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.cart-recs__card-type {
  font-size: 0.625rem; font-weight: 600; color: var(--color-primary);
  text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.125rem;
}
.cart-recs__card-title {
  font-size: 0.75rem; font-weight: 500; color: var(--color-text);
  line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.cart-recs__card-price {
  font-family: var(--font-heading); font-weight: 700; font-size: 0.8125rem;
  color: var(--color-text); margin-top: 0.25rem;
}

/* Cart page recommendations */
.cart-recs--page {
  grid-column: 1 / -1; margin-top: 1rem;
  padding: 1.25rem; background: #f9fafb; border-radius: 10px;
  border: 1px solid var(--color-border);
}
.cart-recs--page .cart-recs__title {
  font-size: 1rem; padding: 0 0 0.75rem;
}
.cart-recs--page .cart-recs__grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.75rem;
}
.cart-recs--page .cart-recs__card { background: #fff; }
.cart-recs--page .cart-recs__card-img { width: 72px; height: 72px; }

/* ==========================================================================
   Mobile Mini Cart
   ========================================================================== */
.mini-cart {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--color-background-alt, #fff);
  border-radius: 16px 16px 0 0;
  z-index: 99999;
  transform: translateY(100%);
  transition: transform 0.22s cubic-bezier(0.32,0.72,0,1);
  overflow: hidden;
  padding-bottom: env(safe-area-inset-bottom, 0);
  visibility: hidden;
}
.mini-cart.is-open { transform: translateY(0); box-shadow: 0 -6px 30px rgba(0,0,0,0.12); visibility: visible; }
.mini-cart__timer {
  height: 3px; background: var(--color-primary); opacity: 0.3;
  width: 100%;
}
.mini-cart__handle { width: 36px; height: 4px; background: #d1d5db; border-radius: 2px; margin: 8px auto 0; }
.mini-cart__head {
  display: flex; align-items: center; justify-content: space-between; padding: 0.5rem 1rem 0;
}
.mini-cart__label {
  font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--color-success); display: flex; align-items: center; gap: 0.375rem;
}
.mini-cart__close {
  background: none; border: none; cursor: pointer; padding: 0.25rem;
  color: var(--color-text-light); border-radius: 4px;
}
.mini-cart__item {
  display: flex; gap: 0.75rem; padding: 0.625rem 1rem;
}
.mini-cart__item-img {
  width: 52px; height: 52px; flex-shrink: 0; background: var(--color-background);
  border-radius: 8px; border: 1px solid var(--color-border); overflow: hidden;
}
.mini-cart__item-img img { width: 100%; height: 100%; object-fit: contain; }
.mini-cart__item-info { flex: 1; min-width: 0; }
.mini-cart__item-name { font-size: 0.8125rem; font-weight: 600; line-height: 1.3; }
.mini-cart__item-meta { font-size: 0.6875rem; color: var(--color-text-light); }
.mini-cart__item-price { font-size: 0.875rem; font-weight: 800; color: var(--color-primary); margin-top: 0.125rem; }
.mini-cart__sub {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 1rem; margin-bottom: 0.125rem; font-size: 0.6875rem; color: var(--color-text-light);
}
.mini-cart__sub strong { font-size: 0.8125rem; color: var(--color-text); font-weight: 800; }
.mini-cart__actions {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 0.5rem;
  padding: 0.625rem 1rem 0.875rem;
}
.mini-cart__view {
  padding: 0.6875rem; background: none; border: 1.5px solid var(--color-border);
  border-radius: 10px; font-family: inherit; font-size: 0.8125rem; font-weight: 700;
  color: var(--color-text); cursor: pointer; text-align: center; text-decoration: none;
}
.mini-cart__view:hover { border-color: var(--color-primary); color: var(--color-primary); }
.mini-cart__co {
  padding: 0.6875rem; background: var(--color-primary); border: none; border-radius: 10px;
  font-family: inherit; font-size: 0.8125rem; font-weight: 700; color: #fff;
  cursor: pointer; text-align: center; text-decoration: none;
}
.mini-cart__co:hover { background: var(--color-secondary); }

@media (min-width: 824px) {
  .mini-cart { display: none !important; }
}
@media (max-width: 823px) {
  .cart-drawer { display: none !important; }
  #cart-drawer-overlay { display: none !important; }
}
