/* Kompakt araç filtresi — minimal, az yükseklik, marka rengi yok */
#tercihoto-vehicle-filter-bar.tof-finder {
  --tof-ink: #1f2937;
  --tof-muted: #6b7280;
  --tof-line: #e5e7eb;
  --tof-bg: #f7f8fa;
  --tof-btn: #1f2937;
  box-sizing: border-box;
  display: block !important;
  width: 100% !important;
  clear: both !important;
  position: relative !important;
  z-index: 30;
  background: var(--tof-bg);
  border-bottom: 1px solid var(--tof-line);
  margin: 0 !important;
  padding: 0 !important;
}

#tercihoto-vehicle-filter-bar.tof-finder *,
#tercihoto-vehicle-filter-bar.tof-finder *::before,
#tercihoto-vehicle-filter-bar.tof-finder *::after {
  box-sizing: border-box;
}

#tercihoto-vehicle-filter-bar .tof-finder__inner {
  width: min(1100px, calc(100% - 24px));
  margin: 0 auto;
  padding: 10px 0;
}

#tercihoto-vehicle-filter-bar .tof-finder__form {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-end !important;
  gap: 8px 10px !important;
  margin: 0 !important;
  width: 100% !important;
}

#tercihoto-vehicle-filter-bar .tof-finder__intro {
  flex: 1 1 160px;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 4px;
}

#tercihoto-vehicle-filter-bar .tof-finder__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--tof-ink);
  line-height: 1.2;
}

#tercihoto-vehicle-filter-bar .tof-finder__sub {
  font-size: 12px;
  color: var(--tof-muted);
  line-height: 1.2;
}

#tercihoto-vehicle-filter-bar .tof-cell {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  flex: 1 1 130px;
  min-width: 110px;
  margin: 0 !important;
}

#tercihoto-vehicle-filter-bar .tof-cell--actions {
  flex: 0 0 auto !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 6px !important;
  padding-bottom: 0 !important;
}

#tercihoto-vehicle-filter-bar .tof-label {
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tof-muted) !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}

#tercihoto-vehicle-filter-bar .tof-control {
  display: block !important;
  width: 100% !important;
  height: 38px !important;
  min-height: 38px !important;
  margin: 0 !important;
  border: 1px solid var(--tof-line) !important;
  border-radius: 6px !important;
  background: #fff !important;
  color: var(--tof-ink) !important;
  font-size: 13px !important;
  padding: 0 10px !important;
  appearance: auto !important;
  box-shadow: none !important;
}

#tercihoto-vehicle-filter-bar .tof-btn {
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 14px !important;
  border-radius: 6px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer;
  border: 1px solid transparent !important;
}

#tercihoto-vehicle-filter-bar .tof-btn--go {
  background: var(--tof-btn) !important;
  color: #fff !important;
  border-color: var(--tof-btn) !important;
}

#tercihoto-vehicle-filter-bar .tof-btn--clear {
  background: #fff !important;
  color: var(--tof-ink) !important;
  border-color: var(--tof-line) !important;
}

@media (max-width: 991px) {
  #tercihoto-vehicle-filter-bar .tof-finder__inner {
    width: calc(100% - 20px);
    padding: 12px 0 14px;
  }

  #tercihoto-vehicle-filter-bar .tof-finder__form {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  #tercihoto-vehicle-filter-bar .tof-finder__intro {
    flex: 0 0 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    padding-bottom: 2px;
  }

  #tercihoto-vehicle-filter-bar .tof-finder__title {
    font-size: 15px;
  }

  #tercihoto-vehicle-filter-bar .tof-cell {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  #tercihoto-vehicle-filter-bar .tof-cell--actions {
    flex-direction: row !important;
    width: 100% !important;
    gap: 8px !important;
    margin-top: 2px;
  }

  #tercihoto-vehicle-filter-bar .tof-control {
    height: 44px !important;
    min-height: 44px !important;
    font-size: 15px !important;
  }

  #tercihoto-vehicle-filter-bar .tof-btn {
    flex: 1 1 0 !important;
    width: auto !important;
    height: 44px !important;
    min-height: 44px !important;
    font-size: 14px !important;
  }
}

@media (max-width: 480px) {
  #tercihoto-vehicle-filter-bar .tof-finder__inner {
    width: calc(100% - 16px);
    padding: 10px 0 12px;
  }

  #tercihoto-vehicle-filter-bar .tof-finder__form {
    gap: 8px !important;
  }

  #tercihoto-vehicle-filter-bar .tof-label {
    font-size: 11px !important;
  }
}

/* Sidebar sade */
.tof-sidebar .tof-control {
  height: 38px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  width: 100%;
  margin-bottom: 8px;
}
.tof-sidebar .tof-btn {
  height: 36px;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 13px;
  cursor: pointer;
}
.tof-sidebar .tof-btn--go {
  background: #1f2937;
  color: #fff;
  border: 0;
}
.tof-sidebar .tof-btn--clear {
  background: #fff;
  border: 1px solid #e5e7eb;
}

/* PDP: araç seçeneklerini sepete ekle varyantından gizle */
[data-tof-hide-vehicle-options] .rbt-product-option,
[data-tof-hide-vehicle-options] .product-option-item {
  /* JS sınıflandırır */
}
.tof-vehicle-option-hidden {
  display: none !important;
}
