/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
  /* Primary - Midnight Blue */
  --primary: #0B1F3A;
  --primary-container: #1F3A5C;
  --on-primary: #ffffff;
  --primary-fixed: #E6EEF9;
  --on-primary-fixed: #0B1F3A;

  /* Secondary - Electric Orange */
  --secondary: #FF6B00;
  --secondary-container: #FF8933;
  --on-secondary: #ffffff;

  /* Surfaces & Neutrals (Midnight Blue scale) */
  --surface: #F9FAFC;
  --surface-container: #EDF0F5;
  --surface-container-high: #E2E6EC;
  --surface-container-low: #F4F6FA;
  --surface-variant: #DCE1E8;
  --on-surface: #0B1F3A;
  --on-surface-variant: #4A5A6E;
  --outline: #9DA5B0;
  --outline-variant: #CED2D8;

  /* Semantic colors */
  --success-green: #22C55E;
  --vibrant-orange: #FF6B00;
  --trust-blue: #3882F6;
  --error-red: #EF4444;
  --warning-amber: #FE9508;
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--surface);
  color: var(--on-surface);
  overflow-x: hidden;
}

/* ============================================
   MATERIAL ICONS
   ============================================ */
.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  vertical-align: middle;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar-custom {
  background-color: rgba(248, 249, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--outline-variant);
}

/* ============================================
   HERO SECTIONS
   ============================================ */
.hero-about,
.hero-contact,
.hero-faq,
.hero-section,
.hero-howitworks {
  position: relative;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg,
      var(--primary) 0%,
      var(--primary-container) 100%);
  overflow: hidden;
}

.hero-about {
  min-height: 400px;
}

.hero-contact {
  min-height: 320px;
}

.hero-faq {
  min-height: 300px;
}

.hero-section {
  min-height: 600px;
}

.hero-howitworks {
  min-height: 350px;
}

.hero-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><path fill="rgba(255,255,255,0.03)" d="M100 0L200 200H0L100 0z"/></svg>');
  background-size: 60px 60px;
  opacity: 0.5;
}

.hero-search-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ============================================
   CARDS — MISSION / CONTACT
   ============================================ */
.mission-card,
.contact-card {
  background: white;
  border-radius: 32px;
  padding: 40px;
  box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 10;
}

.mission-card {
  margin-top: -60px;
}

.contact-card {
  margin-top: -50px;
}

/* ============================================
   CARDS — VALUE / FEATURE / TEAM / VEHICLE / STAT / STEP
   ============================================ */
.value-card,
.feature-card,
.team-card,
.stat-card,
.stat-card-about,
.step-card {
  background: white;
  border: 1px solid var(--surface-variant);
}

.value-card {
  border-radius: 24px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s;
  height: 100%;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.1);
}

.value-icon {
  width: 80px;
  height: 80px;
  background: var(--surface-container);
  border-radius: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.value-icon .material-symbols-outlined {
  font-size: 40px;
  color: var(--primary);
}

.feature-card {
  border-radius: 24px;
  padding: 30px;
  text-align: center;
  transition: all 0.2s;
  height: 100%;
}

.feature-card:hover {
  border-color: var(--primary-fixed);
  box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.08);
}

.feature-icon {
  width: 72px;
  height: 72px;
  background: var(--surface-container);
  border-radius: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.feature-icon .material-symbols-outlined {
  font-size: 36px;
  color: var(--primary);
}

.team-card {
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.3s;
  text-align: center;
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.vehicle-card {
  background: white;
  border-radius: 20px;
  border: 1px solid var(--surface-variant);
  overflow: hidden;
  transition: all 0.25s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.vehicle-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.1);
}

.vehicle-img-container {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--surface-container);
}

.vehicle-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.vehicle-card:hover .vehicle-img {
  transform: scale(1.05);
}

.vehicle-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.badge-promoted {
  background: var(--vibrant-orange);
  color: white;
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 20px;
  font-weight: 600;
}

.badge-certified {
  background: var(--success-green);
  color: white;
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 20px;
  font-weight: 600;
}

.badge-condition {
  background: var(--primary);
  color: white;
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 20px;
  font-weight: 600;
}

.favorite-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.favorite-btn:hover {
  background: white;
  transform: scale(1.05);
}

.favorite-btn.active {
  color: var(--vibrant-orange);
}

.vehicle-info {
  padding: 16px;
  flex-grow: 1;
}

.vehicle-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--on-surface);
}

.vehicle-title a {
  color: inherit;
  text-decoration: none;
}

.vehicle-title a:hover {
  color: var(--primary);
}

.vehicle-price {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary);
  margin: 8px 0;
}

.vehicle-meta {
  display: flex;
  gap: 12px;
  margin: 12px 0;
  font-size: 0.75rem;
  color: var(--on-surface-variant);
}

.vehicle-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.vehicle-location {
  font-size: 0.7rem;
  color: var(--outline);
  display: flex;
  align-items: center;
  gap: 4px;
}

.stat-card,
.stat-card-about {
  border-radius: 24px;
  text-align: center;
}

.stat-card {
  padding: 24px;
  transition: all 0.2s;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.08);
}

.stat-card-about {
  padding: 30px 20px;
}

.step-card {
  border-radius: 28px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.1);
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: white;
  border-radius: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.75rem;
  margin: 0 auto 20px;
}

.step-icon {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--primary);
}

/* ============================================
   FILTERS SIDEBAR
   ============================================ */
.filters-sidebar {
  background: white;
  border-radius: 20px;
  border: 1px solid var(--surface-variant);
  position: sticky;
  top: 90px;
}

.filter-section {
  border-bottom: 1px solid var(--surface-variant);
  padding: 16px 20px;
}

.filter-section:last-child {
  border-bottom: none;
}

.filter-title {
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--primary);
}

.filter-options {
  max-height: 250px;
  overflow-y: auto;
}

.filter-option {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-option label {
  margin: 0;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--on-surface-variant);
}

.price-range {
  padding: 10px 0;
}

.price-inputs {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.price-inputs input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--outline-variant);
  border-radius: 12px;
  font-size: 0.85rem;
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline-item {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
}

.timeline-year {
  min-width: 100px;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary);
}

.timeline-content {
  background: white;
  border-radius: 20px;
  padding: 20px 24px;
  border-left: 4px solid var(--secondary-container);
  flex: 1;
}

/* ============================================
   FAQ COMPONENTS
   ============================================ */
.faq-section {
  margin-bottom: 48px;
}

.faq-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--primary-fixed);
  display: inline-block;
}

.faq-item {
  background: white;
  border-radius: 20px;
  border: 1px solid var(--surface-variant);
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.2s;
}

.faq-item:hover {
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.08);
}

.faq-question {
  padding: 20px 24px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.faq-question:hover {
  background-color: var(--surface-container-low);
}

.faq-question .material-symbols-outlined {
  transition: transform 0.2s;
}

.faq-item.active .faq-question .material-symbols-outlined {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 20px 24px;
  color: var(--on-surface-variant);
  display: none;
  line-height: 1.6;
  border-top: 1px solid var(--surface-variant);
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-preview-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--surface-variant);
  cursor: pointer;
  transition: all 0.2s;
}

.faq-preview-item:hover {
  padding-left: 8px;
  color: var(--primary);
}

.faq-search-wrapper {
  margin-top: -30px;
  position: relative;
  z-index: 10;
}

.faq-search-card {
  background: white;
  border-radius: 60px;
  padding: 8px;
  box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.1);
}

.faq-search-input {
  border: none;
  padding: 16px 24px;
  font-size: 1rem;
  border-radius: 60px;
}

.faq-search-input:focus {
  outline: none;
  box-shadow: none;
}

.no-results {
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: 24px;
}

/* ============================================
   CONTACT COMPONENTS
   ============================================ */
.info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--surface-container-low);
  border-radius: 20px;
  transition: all 0.2s;
}

.info-item:hover {
  background: var(--surface-container);
  transform: translateX(4px);
}

.info-icon {
  width: 56px;
  height: 56px;
  background: var(--primary);
  border-radius: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.info-icon .material-symbols-outlined {
  font-size: 28px;
}

.form-control-custom {
  border: 2px solid var(--surface-container-high);
  border-radius: 16px;
  padding: 14px 18px;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.form-control-custom:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11, 31, 58, 0.1);
  outline: none;
}

.form-label {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--on-surface);
}

.map-container {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.1);
  height: 280px;
  background: #e0e7ff;
}

.contact-cta {
  background: linear-gradient(135deg,
      var(--primary) 0%,
      var(--primary-container) 100%);
  border-radius: 32px;
  padding: 48px;
  text-align: center;
  color: white;
}

/* ============================================
   VIDEO SECTION
   ============================================ */
.video-container {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.15);
}

.video-placeholder {
  background: linear-gradient(135deg,
      var(--primary-container) 0%,
      var(--primary) 100%);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ============================================
   CATEGORY & FILTER COMPONENTS
   ============================================ */
.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background-color: var(--surface-container);
  border-radius: 100px;
  text-decoration: none;
  color: var(--on-surface-variant);
  font-weight: 500;
  transition: all 0.2s;
  white-space: nowrap;
}

.category-pill:hover {
  background-color: var(--surface-container-high);
  transform: translateY(-2px);
}

.category-pill.active {
  background-color: var(--primary);
  color: white;
}

.category-pill.active .material-symbols-outlined {
  color: white;
}

.category-tab {
  padding: 10px 24px;
  border-radius: 40px;
  background: white;
  border: 1px solid var(--surface-variant);
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
  white-space: nowrap;
}

.category-tab:hover {
  background: var(--surface-container);
}

.category-tab.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.role-toggle {
  background: white;
  border-radius: 60px;
  padding: 6px;
  display: inline-flex;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.role-btn {
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  background: transparent;
  color: var(--on-surface-variant);
}

.role-btn.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 2px 8px rgba(11, 31, 58, 0.2);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary-custom {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 40px;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-primary-custom:hover {
  background-color: var(--primary-container);
  transform: translateY(-2px);
}

.btn-outline-primary-custom {
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  padding: 8px 20px;
  border-radius: 40px;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-outline-primary-custom:hover {
  background: var(--primary);
  color: white;
}

.btn-outline-light-custom {
  border: 2px solid white;
  background: transparent;
  color: white;
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-outline-light-custom:hover {
  background: white;
  color: var(--primary);
}

/* ============================================
   SORT SELECT
   ============================================ */
.sort-select {
  border: 1px solid var(--outline-variant);
  border-radius: 40px;
  padding: 8px 16px;
  font-size: 0.85rem;
  background: white;
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination-custom .page-link {
  color: var(--primary);
  border-radius: 50px;
  margin: 0 4px;
  border: 1px solid var(--surface-variant);
}

.pagination-custom .page-item.active .page-link {
  background-color: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* ============================================
   ACTIVE FILTERS BADGE
   ============================================ */
.active-filter-badge {
  background: var(--surface-container);
  color: var(--on-surface);
  border-radius: 50px;
  padding: 6px 12px;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.active-filter-badge .remove-filter {
  cursor: pointer;
  font-size: 14px;
}

.active-filter-badge .remove-filter:hover {
  color: var(--vibrant-orange);
}

/* ============================================
   LOADING SPINNER
   ============================================ */
.loading-spinner {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1100;
}

.loading-spinner.active {
  display: block;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background-color: var(--primary);
  color: white;
  padding: 60px 0 30px;
  margin-top: 60px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

/* ============================================
   BOTTOM MOBILE NAV
   ============================================ */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--outline-variant);
  padding: 10px 0 20px;
  z-index: 1050;
  display: none;
}

/* ============================================
   MOBILE FILTERS DRAWER
   ============================================ */
.mobile-filters-btn {
  position: fixed;
  bottom: 90px;
  right: 20px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 12px 20px;
  font-weight: 600;
  z-index: 1040;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: none;
  align-items: center;
  gap: 6px;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1055;
  display: none;
}

.overlay.open {
  display: block;
}

/* ============================================
   FLOATING ELEMENTS (FAB / SCROLL-TOP / TOAST)
   ============================================ */
.fab {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 28px;
  background-color: var(--vibrant-orange);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 1040;
  border: none;
  cursor: pointer;
  transition: transform 0.2s;
}

.fab:hover {
  transform: scale(1.05);
}

.scroll-top {
  position: fixed;
  bottom: 100px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 1040;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--primary-container);
  transform: translateY(-2px);
}

.toast-alert {
  position: fixed;
  bottom: 100px;
  right: 20px;
  z-index: 1100;
  min-width: 280px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--success-green);
  display: none;
}

/* ============================================
   UTILITIES
   ============================================ */
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ============================================
   MEDIA QUERIES
   ============================================ */
@media (max-width: 768px) {

  /* Bottom nav */
  .bottom-nav {
    display: flex;
  }

  .mobile-filters-btn {
    display: flex;
  }

  .filters-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    height: 100vh;
    z-index: 1060;
    transition: right 0.3s ease;
    overflow-y: auto;
    border-radius: 0;
  }

  .filters-sidebar.open {
    right: 0;
  }

  body {
    padding-bottom: 80px;
  }

  /* Hero sections */
  .hero-contact {
    min-height: 240px;
  }

  .hero-section {
    min-height: 500px;
  }

  .hero-howitworks {
    min-height: 280px;
  }

  /* Cards */
  .mission-card,
  .contact-card {
    margin-top: -30px;
    padding: 24px;
  }

  .stat-card {
    padding: 20px;
  }

  .step-card {
    padding: 24px 20px;
  }

  /* Timeline */
  .timeline-item {
    flex-direction: column;
    gap: 12px;
  }

  .timeline-year {
    min-width: auto;
  }

  /* Contact */
  .info-item {
    padding: 16px;
  }

  .contact-cta {
    padding: 32px 24px;
  }

  /* FAQ */
  .faq-search-card {
    border-radius: 30px;
  }

  .category-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .faq-section-title {
    font-size: 1.25rem;
  }

  /* How it works */
  .role-btn {
    padding: 8px 20px;
    font-size: 0.9rem;
  }

  .video-placeholder {
    min-height: 250px;
  }
}

@media (min-width: 769px) {
  .fab {
    display: none;
  }

  .mobile-filters-btn {
    display: none;
  }
}

/* Gallery */
    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 200px;
        gap: 12px;
    }
    .gallery-main {
        grid-column: span 2;
        grid-row: span 2;
    }
    .gallery-main img, .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 16px;
        cursor: pointer;
        transition: transform 0.2s;
    }
    .gallery-main img:hover, .gallery-item img:hover {
        transform: scale(1.02);
    }
    @media (max-width: 768px) {
        .gallery-grid {
            grid-template-columns: 1fr;
            grid-auto-rows: 280px;
        }
        .gallery-main {
            grid-column: span 1;
            grid-row: span 1;
        }
        .gallery-item {
            display: none;
        }
    }

    /* Spec card */
    .spec-card {
        background-color: var(--surface-container);
        border-radius: 16px;
        padding: 1rem;
        text-align: center;
        height: 100%;
    }

    /* Sticky booking */
    .sticky-booking {
        position: sticky;
        top: 100px;
    }

    /* Mobile price bar */
    .mobile-price-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        border-top: 1px solid var(--surface-variant);
        padding: 12px 20px;
        display: none;
        justify-content: space-between;
        align-items: center;
        z-index: 1040;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    }
    @media (max-width: 768px) {
        .mobile-price-bar {
            display: flex;
        }
        body {
            padding-bottom: 80px;
        }
    }

    /* Badges */
    .badge-premium {
        background-color: var(--primary-fixed, #b0f0d6);
        color: #002117;
    }
    .badge-verified {
        background-color: var(--success-green);
        color: white;
    }

    /* Seller card */
    .seller-card {
        background: white;
        border-radius: 20px;
        border: 1px solid var(--surface-variant);
        transition: box-shadow 0.2s;
    }
    .seller-card:hover {
        box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    }

    /* Filters sidebar */
    .filters-sidebar {
        background: white;
        border-radius: 20px;
        border: 1px solid var(--surface-variant);
        position: sticky;
        top: 90px;
    }
    .filter-section {
        border-bottom: 1px solid var(--surface-variant);
        padding: 16px 20px;
    }
    .filter-section:last-child {
        border-bottom: none;
    }
    .filter-title {
        font-weight: 700;
        margin-bottom: 12px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        color: var(--primary);
    }
    .filter-options {
        max-height: 200px;
        overflow-y: auto;
    }
    .filter-option {
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .filter-option label {
        margin: 0;
        font-size: 0.85rem;
        cursor: pointer;
    }
    .price-range .price-inputs {
        display: flex;
        gap: 10px;
        margin-top: 15px;
    }
    .price-range input {
        width: 100%;
        padding: 8px 12px;
        border: 1px solid var(--outline-variant);
        border-radius: 12px;
    }

    /* Part card */
    .part-card {
        background: white;
        border-radius: 20px;
        border: 1px solid var(--surface-variant);
        overflow: hidden;
        transition: all 0.25s;
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    .part-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.12);
    }
    .part-img-container {
        position: relative;
        height: 180px;
        overflow: hidden;
        background: var(--surface-container);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .part-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s;
    }
    .part-card:hover .part-img {
        transform: scale(1.05);
    }
    .part-badges {
        position: absolute;
        top: 12px;
        left: 12px;
        display: flex;
        gap: 6px;
        flex-wrap: wrap;
    }
    .badge-sale {
        background: var(--vibrant-orange);
        color: white;
        font-size: 10px;
        padding: 4px 8px;
        border-radius: 20px;
        font-weight: 600;
    }
    .badge-stock {
        background: var(--success-green);
        color: white;
        font-size: 10px;
        padding: 4px 8px;
        border-radius: 20px;
        font-weight: 600;
    }
    .badge-low-stock {
        background: #f59e0b;
        color: white;
    }
    .badge-out-stock {
        background: #ef4444;
        color: white;
    }
    .part-info {
        padding: 16px;
        flex-grow: 1;
    }
    .part-brand {
        font-size: 0.7rem;
        color: var(--outline);
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    .part-title {
        font-weight: 700;
        font-size: 1rem;
        margin: 6px 0;
    }
    .part-title a {
        color: inherit;
        text-decoration: none;
    }
    .part-title a:hover {
        color: var(--primary);
    }
    .part-price {
        font-weight: 800;
        font-size: 1.2rem;
        color: var(--primary);
        margin: 8px 0;
    }
    .part-old-price {
        text-decoration: line-through;
        color: var(--outline);
        font-size: 0.8rem;
        margin-left: 8px;
    }
    .part-stock {
        font-size: 0.7rem;
        display: flex;
        align-items: center;
        gap: 4px;
        margin-top: 8px;
    }
    .btn-add-cart {
        background: var(--primary);
        color: white;
        border: none;
        border-radius: 40px;
        padding: 8px 12px;
        font-size: 0.8rem;
        font-weight: 600;
        transition: all 0.2s;
        width: 100%;
    }
    .btn-add-cart:hover {
        background: var(--primary-container);
        transform: translateY(-2px);
    }

    /* Sort & results */
    .sort-select {
        border: 1px solid var(--outline-variant);
        border-radius: 40px;
        padding: 8px 16px;
        background: white;
    }

    /* Mobile */
    @media (max-width: 768px) {
        .filters-sidebar {
            position: fixed;
            top: 0;
            right: -100%;
            width: 85%;
            height: 100vh;
            z-index: 1060;
            transition: right 0.3s ease;
            overflow-y: auto;
            border-radius: 0;
        }
        .filters-sidebar.open {
            right: 0;
        }
        .mobile-filters-btn {
            position: fixed;
            bottom: 90px;
            right: 20px;
            background: var(--primary);
            color: white;
            border: none;
            border-radius: 50px;
            padding: 12px 20px;
            z-index: 1040;
            box-shadow: 0 4px 12px rgba(0,0,0,0.2);
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            z-index: 1055;
            display: none;
        }
        .overlay.open {
            display: block;
        }
    }
    @media (min-width: 769px) {
        .mobile-filters-btn {
            display: none;
        }
    }