/** Shopify CDN: Minification failed

Line 781:13 Expected identifier but found whitespace
Line 781:21 Unexpected ";"

**/
/* ================================================
   Vehicle Selector Widget (vsw) – A-Premium Style
   ================================================ */

.vehicle-fitment-bar-section {
  position: relative;
  z-index: 1;
  margin-bottom: 30px;
}

/* ── Widget wrapper ─────────────────────────────── */
.vsw {
  background: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
  padding: 18px 0 20px;
}

/* ── Inner card with left red border ────────────── */
.vsw__card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-left: 4px solid #c94b2a;
  border-radius: 3px;
  padding: 16px 20px 18px;
}

/* ── Header row ─────────────────────────────────── */
.vsw__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.vsw__title {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.2;
}

.vsw__required {
  font-size: 12px;
  color: #c94b2a;
  font-style: italic;
  white-space: nowrap;
}

/* ── Tabs ───────────────────────────────────────── */
.vsw__tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #e0e0e0;
  margin-bottom: 14px;
}

.vsw__tab {
  background: none;
  border: none;
  padding: 8px 18px 10px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  color: #888;
  cursor: pointer;
  position: relative;
  transition: color 0.15s;
}

.vsw__tab::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  transition: background 0.15s;
}

.vsw__tab--active {
  color: #1a1a1a;
}

.vsw__tab--active::after {
  background: #e4141c;
}

.vsw__tab:hover {
  color: #1a1a1a;
}

/* ── Panel ──────────────────────────────────────── */
.vsw__panel {
  display: none;
}

.vsw__panel--active {
  display: block;
}

/* ── Make/Model fields (默认一行，响应式换行) ───── */
.vsw__fields {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* 默认：均分一行 */
.vsw__field {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
}

/* ── Custom select wrapper ─────────────────────────────── */
.vsw__select-wrap {
  position: relative;
  display: flex;
  align-items: center;
  height: 48px;
  border: 1.5px solid #d0d0d0;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s;
}

.vsw__select-wrap:hover {
  border-color: #aaa;
}

.vsw__sel-text {
  flex: 1;
  padding: 0 4px 0 14px;
  font-size: 14px;
  color: #aaa;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 1px;
}

.vsw__sel-text.has-value {
  color: #111;
}

.vsw__sel-text.has-value .vsw__req {
  display: none;
}

.vsw__req {
  color: #c94b2a;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
}

.vsw__sel-arrow {
  width: 36px;
  height: 100%;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23555' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
}

/* Native select: invisible overlay, captures all clicks */
.vsw__select {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  border: none;
  background: transparent;
  font-size: 14px;
  font-family: inherit;
}

.vsw__select:disabled {
  cursor: not-allowed;
  pointer-events: none;
}

/* Disabled wrap state */
.vsw__select-wrap:has(select:disabled) {
  background: #f5f5f5;
  border-color: #e8e8e8;
  cursor: not-allowed;
}

.vsw__select-wrap:has(select:disabled):hover {
  border-color: #e8e8e8;
}

/* ── SAVE button (same flex as field, 默认均分一行) ── */
.vsw__btn-save {
  flex: 1 1 0;
  min-width: 0;
  height: 48px;
  padding: 0 20px;
  background: #c94b2a;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: 1px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.vsw__btn-save:hover {
  background: #a83a1f;
}

.vsw__btn-save:disabled {
  background: #c94b2a;
  cursor: not-allowed;
  opacity: 1;
}

@keyframes vswShake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-5px); }
  40%       { transform: translateX(5px); }
  60%       { transform: translateX(-4px); }
  80%       { transform: translateX(4px); }
}
.vsw--shake { animation: vswShake 0.4s ease; }

/* ── VIN panel ──────────────────────────────────── */
.vsw__vin-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.vsw__vin-field {
  flex: 5 5 0;
  min-width: 0;
  position: relative;
}

.vsw__vin-input {
  width: 100%;
  height: 48px;
  padding: 0 40px 0 14px;
  border: 1.5px solid #d0d0d0;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  color: #111;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.vsw__vin-input:focus {
  border-color: #c94b2a;
}

.vsw__vin-input.is-valid   { border-color: #16a34a; }
.vsw__vin-input.is-invalid { border-color: #e4141c; }

/* Status icon (✓/✗) — shown after decode */
.vsw__vin-status {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  pointer-events: none;
}


/* VIN SAVE button — same 1/6 share as Make/Model SAVE */
.vsw__btn-vin-save {
  flex: 1 1 0 !important;
  min-width: 0 !important;
}

/* ── Saved vehicle bar ──────────────────────────── */
.vsw__saved {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: #f8fdf9;
  border: 1px solid #c3e6cb;
  border-radius: 5px;
  flex-wrap: wrap;
}

.vsw__saved-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #111;
}

.vsw__saved-info svg {
  color: #16a34a;
  flex-shrink: 0;
}

.vsw__saved-actions {
  display: flex;
  gap: 8px;
}

.vsw__saved-btn {
  background: none;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  color: #333;
  transition: background 0.15s;
}

.vsw__saved-btn:hover {
  background: #f0f0f0;
}

.vsw__saved-btn--clear {
  color: #e4141c;
  border-color: #f5c6c8;
}

.vsw__saved-btn--clear:hover {
  background: #fff0f0;
}

/* ── Responsive ─────────────────────────────────── */
/*
 * 默认(宽屏): 1行 6列 (Year/Make/Model/Trim/Engine/SAVE)
 * ≤900px: 2行 3列 (Year/Make/Model | Trim/Engine/SAVE)
 * ≤640px: 3行 2列
 * ≤480px: 6行 1列
 */
@media (max-width: 900px) {
  .vsw__field,
  .vsw__btn-save {
    flex: 1 1 calc(33.333% - 6px);
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .vsw__field,
  .vsw__btn-save {
    flex: 1 1 calc(50% - 4px);
  }
  .vsw__vin-row {
    flex-direction: column;
    align-items: stretch;
  }
  .vsw__vin-row .vsw__btn-save {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .vsw__field,
  .vsw__btn-save {
    flex: 1 1 100%;
  }
}



/* ---------- Trigger Button ---------- */
.vehicle-selector-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  white-space: nowrap;
}

.vehicle-selector-trigger__icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.vehicle-selector-trigger__icon svg {
  width: 20px;
  height: 20px;
}

.vehicle-selector-trigger__text {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
}

.vehicle-selector-trigger__label {
  display: block;
  font-size: 10px;
  font-weight: 400;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.vehicle-selector-trigger__value {
  display: block;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- Overlay ---------- */
.vehicle-selector-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  animation: vsOverlayIn 0.2s ease;
}

.vehicle-selector-overlay.is-active {
  display: block;
}

@keyframes vsOverlayIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ---------- Modal (vehicle management, .vsm__*) ---------- */
.vsm {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%);
  width: min(700px, calc(100vw - 24px));
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.20);
  z-index: 9999;
}

.vsm[hidden] { display: none; }

.vsm.is-open {
  display: flex;
  flex-direction: column;
  animation: vsmIn 0.15s ease-out;
  will-change: opacity;
}

@keyframes vsmIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Modal Header ── */
.vsm__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 12px;
  border-bottom: 1px solid #e8e8e8;
  flex-shrink: 0;
}

.vsm__title {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: #111;
}

.vsm__close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: #888;
  border-radius: 50%;
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}
.vsm__close:hover { background: #f0f0f0; color: #111; }
.vsm__close svg { width: 14px; height: 14px; }

/* ── Two-column body ── */
.vsm__body {
  display: flex;
  flex-direction: row;
  flex: 1;
  min-height: 180px;
  overflow: hidden;
}
.vsm__body[hidden] { display: none; }

.vsm__col {
  flex: 1;
  padding: 20px 24px 26px;
  overflow-y: auto;
}

.vsm__body-sep {
  width: 1px;
  background: #e8e8e8;
  flex-shrink: 0;
  align-self: stretch;
}

.vsm__col-label {
  font-size: 13px;
  color: #888;
  margin: 0 0 14px;
}

/* ── Current vehicle card ── */
.vsm__vehicle-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
}

.vsm__vehicle-card--active {
  border-left: 4px solid #2d8c3e;
  padding-left: 13px;
}

.vsm__car-img {
  width: 60px;
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
}

.vsm__car-info {
  flex: 1;
  min-width: 0;
}

.vsm__car-name {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  margin: 0 0 3px;
  word-break: break-word;
}

.vsm__car-sub {
  font-size: 13px;
  color: #777;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vsm__car-actions {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.vsm__car-btn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: #888;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.vsm__car-btn:hover { background: #f0f0f0; color: #333; }
.vsm__car-btn svg { width: 18px; height: 18px; }

/* ── Previously saved list ── */
.vsm__saved-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.vsm__saved-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.vsm__saved-item:hover { border-color: #bbb; background: #fafafa; }

.vsm__saved-img {
  width: 60px;
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
}

.vsm__saved-info { flex: 1; min-width: 0; }

.vsm__saved-name {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  margin: 0 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vsm__saved-sub {
  font-size: 12px;
  color: #777;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Empty state ── */
.vsm__empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px 28px 16px;
  overflow-y: auto;
}
.vsm__empty[hidden] { display: none; }

/* ── Modal inline form ── */
.vsm__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.vsm__form-tabs {
  display: flex;
  border-bottom: 2px solid #e8e8e8;
  gap: 0;
}
.vsm__form-tab {
  flex: 1;
  padding: 10px 16px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  font-size: 14px;
  font-weight: 500;
  color: #888;
  cursor: pointer;
  transition: color 0.15s;
}
.vsm__form-tab--active,
.vsm__form-tab:hover {
  color: var(--color-button, #c94b2a);
  border-bottom-color: var(--color-button, #c94b2a);
}
.vsm__form-panel { display: none; flex-direction: column; gap: 12px; }
.vsm__form-panel--active { display: flex; }
.vsm__form-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.vsm__form-select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  color: #333;
  background: #fff;
  appearance: auto;
}
.vsm__form-select:disabled { background: #f5f5f5; color: #aaa; }
.vsm__form-save {
  width: 100%;
  padding: 15px 16px;
  background: var(--color-button, #c94b2a);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.02em;
}
.vsm__form-save:disabled {
  background: #c94b2a;
  cursor: not-allowed;
  opacity: 1;
}
.vsm__vin-row { display: flex; flex-direction: column; gap: 12px; }
.vsm__form-save--vin { width: 100%; }


/* ── Footer ── */
.vsm__footer {
  display: flex;
  border-top: 1px solid #e8e8e8;
  flex-shrink: 0;
}

.vsm__footer-btn {
  flex: 1;
  padding: 16px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
  color: #555;
  transition: background 0.15s;
}
.vsm__footer-btn:hover { background: #f5f5f5; }
.vsm__footer-btn--bold { font-weight: 700; color: #111; }

.vsm__footer-sep {
  width: 1px;
  background: #e8e8e8;
  flex-shrink: 0;
  align-self: stretch;
}

@media (max-width: 600px) {
  .vsm__body { flex-direction: column; }
  .vsm__body-sep { width: auto; height: 1px; align-self: stretch; }
}

/* ---------- Selected Vehicle Bar ---------- */
  background: #fff8f8;
  border: 1px solid #ffd0d0;
  border-radius: 8px;
  margin-bottom: 16px;
}

.vehicle-selected-bar.is-visible {
  display: flex;
}

.vehicle-selected-bar__info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.vehicle-selected-bar__info svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary, #e4141c);
  flex-shrink: 0;
}

.vehicle-selected-bar__change {
  font-size: 13px;
  color: var(--color-primary, #e4141c);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: underline;
}

/* ---------- Saved Vehicles List ---------- */
.vehicle-selector__saved-section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}

.vehicle-selector__saved-title {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #999;
  margin: 0 0 10px;
}

.vehicle-selector__saved-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vehicle-selector__saved-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border: 1.5px solid #e8e8e8;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  gap: 8px;
}

.vehicle-selector__saved-item:hover {
  border-color: var(--color-primary, #e4141c);
  background: #fff8f8;
}

.vehicle-selector__saved-item.is-active {
  border-color: var(--color-primary, #e4141c);
  background: #fff8f8;
}

.vehicle-selector__saved-item__name {
  font-size: 13px;
  font-weight: 500;
  color: #333;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vehicle-selector__saved-item__actions {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.vehicle-selector__saved-item__use,
.vehicle-selector__saved-item__delete {
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}

.vehicle-selector__saved-item__use {
  background: var(--color-primary, #e4141c);
  color: #fff;
}

.vehicle-selector__saved-item__use:hover {
  opacity: 0.85;
}

.vehicle-selector__saved-item__delete {
  background: #f0f0f0;
  color: #666;
}

.vehicle-selector__saved-item__delete:hover {
  background: #e0e0e0;
}

/* ---------- Notification / Toast ---------- */
.vehicle-selector-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: #1a1a1a;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  white-space: nowrap;
}

.vehicle-selector-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ================================================
   Vehicle Fitment Notice Bar (Collection Pages)
   ================================================ */
.vs-fitment-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  margin-bottom: 16px;
  background: #fffbea;
  border: 1px solid #f0d060;
  border-radius: 6px;
  font-size: 14px;
  color: #333;
  flex-wrap: wrap;
}

.vs-fitment-notice__icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: #b08000;
}

.vs-fitment-notice__text {
  flex: 1;
  min-width: 160px;
}

.vs-fitment-notice__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.vs-fitment-notice__btn {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}

.vs-fitment-notice__btn--apply {
  background: #e4141c;
  color: #fff;
}

.vs-fitment-notice__btn--apply:hover {
  background: #c0111a;
  color: #fff;
}

.vs-fitment-notice__btn--clear {
  background: #f0f0f0;
  color: #333;
}

.vs-fitment-notice__btn--clear:hover {
  background: #e0e0e0;
}

.vs-fitment-notice__dismiss {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: #999;
  padding: 0 4px;
  flex-shrink: 0;
}

.vs-fitment-notice__dismiss:hover {
  color: #333;
}

@media (max-width: 640px) {
  .vs-fitment-notice {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── Results header (Shopping for your vehicle style) ──────────────────── */
.vs-fitment-notice--active {
  padding: 0;
  background: #f5f5f5;
  border: none;
  border-left: 4px solid #e4141c;
  border-radius: 0;
  margin-bottom: 16px;
}

.vs-fitment-notice__results {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  width: 100%;
  box-sizing: border-box;
  flex-wrap: wrap;
}

.vs-fitment-notice__results-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.vs-fitment-notice__car-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vs-fitment-notice__car-icon {
  color: #333;
  flex-shrink: 0;
}

/* Override theme's global svg { width: 1rem; height: 1rem } */
.vs-fitment-notice__car-wrap svg {
  width: 40px;
  height: 40px;
  color: #333;
}

.vs-fitment-notice__results-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.vs-fitment-notice__results-vehicle {
  font-size: 15px;
  font-weight: 700;
  color: #111;
}

.vs-fitment-notice__results-sub {
  font-size: 13px;
  color: #555;
}

.vs-fitment-notice__results-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.vs-fitment-notice__btn--change {
  background: #fff;
  color: #111;
  border: 1px solid #bbb;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.5px;
}

.vs-fitment-notice__btn--change:hover {
  background: #f0f0f0;
}

.vs-fitment-notice--active .vs-fitment-notice__btn--clear {
  background: #fff;
  color: #111;
  border: 1px solid #bbb;
}

.vs-fitment-notice--active .vs-fitment-notice__btn--clear:hover {
  background: #f0f0f0;
  color: #111;
}

@media (max-width: 640px) {
  .vs-fitment-notice__results {
    padding: 12px 16px;
  }
  .vs-fitment-notice__results-vehicle {
    font-size: 14px;
  }
}

/* ── Vehicle Modal ────────────────────────────────────────────────────── */
.vs-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vs-modal {
  background: #fff;
  border-radius: 4px;
  width: 720px;
  max-width: 95vw;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.vs-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #e8e8e8;
}

.vs-modal__title {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: #111;
}

.vs-modal__close {
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #777;
  padding: 0;
}
.vs-modal__close:hover { color: #111; }

.vs-modal__body {
  display: flex;
  padding: 24px;
  gap: 0;
  min-height: 140px;
}

.vs-modal__left {
  flex: 1;
  padding-right: 24px;
}

.vs-modal__divider {
  width: 1px;
  background: #e8e8e8;
  margin: 0;
  flex-shrink: 0;
}

.vs-modal__right {
  flex: 1;
  padding-left: 24px;
}

.vs-modal__section-label {
  font-size: 13px;
  color: #888;
  margin: 0 0 12px;
}

.vs-modal__current {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #ddd;
  border-left: 3px solid #2e7d32;
  border-radius: 4px;
  padding: 14px 16px;
  background: #fafafa;
}

.vs-modal__current-car,
.vs-modal__saved-car {
  flex-shrink: 0;
  color: #262728;
  display: flex;
  align-items: center;
}

/* Override theme's global svg { width: 1rem; height: 1rem } */
.vs-modal__current-car svg,
.vs-modal__saved-car svg {
  width: 64px;
  height: 64px;
}

.vs-modal__icon-btn svg {
  width: 20px;
  height: 20px;
}

.vs-modal__close svg {
  width: 24px;
  height: 24px;
}

.vs-modal__current-info {
  flex: 1;
}

.vs-modal__current-info strong,
.vs-modal__saved-info strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #111;
}

.vs-modal__current-info span,
.vs-modal__saved-info span {
  display: block;
  font-size: 13px;
  color: #666;
  margin-top: 3px;
}

.vs-modal__current-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.vs-modal__icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: #999;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s, background 0.15s;
}
.vs-modal__icon-btn:hover {
  color: #111;
  background: #f0f0f0;
}
.vs-modal__delete-btn:hover {
  color: #c0392b;
  background: #fdf0ef;
}

.vs-modal__saved-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vs-modal__saved-item {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 12px 16px;
  cursor: pointer;
  transition: background 0.15s;
}
.vs-modal__saved-item:hover {
  background: #f5f5f5;
}

.vs-modal__footer {
  display: flex;
  border-top: 1px solid #e8e8e8;
}

.vs-modal__shop-without,
.vs-modal__add-vehicle {
  flex: 1;
  padding: 16px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
  text-align: center;
}

.vs-modal__shop-without {
  color: #555;
  border-right: 1px solid #e8e8e8;
}
.vs-modal__shop-without:hover { background: #f5f5f5; }

.vs-modal__add-vehicle {
  font-weight: 700;
  color: #111;
}
.vs-modal__add-vehicle:hover { background: #f5f5f5; }

@media (max-width: 640px) {
  .vs-modal__body {
    flex-direction: column;
    gap: 16px;
  }
  .vs-modal__left { padding-right: 0; }
  .vs-modal__right { padding-left: 0; border-left: none; padding-top: 16px; border-top: 1px solid #e8e8e8; }
  .vs-modal__divider { display: none; }
}

/* ── Edit Vehicle Modal ────────────────────────────────────────────────────── */
.vs-edit-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.vs-edit-modal {
  background: #fff;
  border-radius: 4px;
  width: 760px;
  max-width: 95vw;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
}

.vs-edit-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 0;
}

.vs-edit-modal__title {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin: 0;
}

.vs-edit-modal__close {
  background: none;
  border: none;
  cursor: pointer;
  color: #666;
  padding: 4px;
  line-height: 1;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}
.vs-edit-modal__close:hover { color: #111; background: #f0f0f0; }
.vs-edit-modal__close svg { width: 20px; height: 20px; display: block; }

.vs-edit-modal__body {
  padding: 16px 24px 8px;
}

.vs-edit-modal__tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #e8e8e8;
  margin-bottom: 20px;
}

.vs-edit-modal__tab {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #888;
  padding: 10px 20px;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.15s, border-color 0.15s;
}
.vs-edit-modal__tab--active {
  color: #111;
  border-bottom-color: #111;
}
.vs-edit-modal__tab:hover { color: #111; }

.vs-edit-modal__selects {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.vs-edit-modal__select-wrap {
  flex: 1;
  min-width: 110px;
}

.vs-edit-modal__select {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  color: #111;
  background: #fff;
  cursor: pointer;
  appearance: auto;
}
.vs-edit-modal__select:disabled { background: #f5f5f5; color: #aaa; cursor: not-allowed; }
.vs-edit-modal__select:focus { outline: 2px solid #111; outline-offset: 2px; }

.vs-edit-modal__vin-wrap {
  display: flex;
  gap: 10px;
  align-items: center;
}

.vs-edit-modal__vin-input {
  flex: 1;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  color: #111;
}
.vs-edit-modal__vin-input:focus { outline: 2px solid #111; outline-offset: 2px; }

.vs-edit-modal__vin-btn {
  height: 44px;
  padding: 0 20px;
  background: #444;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}
.vs-edit-modal__vin-btn:hover { background: #222; }

.vs-edit-modal__vin-result {
  margin: 10px 0 0;
  font-size: 13px;
  color: #555;
}

.vs-edit-modal__footer {
  padding: 16px 24px 20px;
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid #f0f0f0;
}

.vs-edit-modal__save {
  height: 46px;
  padding: 0 40px;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.15s;
}
.vs-edit-modal__save:hover { background: #333; }
.vs-edit-modal__save:disabled { background: #ccc; cursor: not-allowed; }

@media (max-width: 640px) {
  .vs-edit-modal__selects { flex-direction: column; }
  .vs-edit-modal__select-wrap { min-width: 0; width: 100%; flex: none; }
  .vs-edit-modal__vin-wrap { flex-direction: column; }
  .vs-edit-modal__vin-btn { width: 100%; }
}

/* ══════════════════════════════════════════════════════════
   Product page fitment banner  (#vs-product-fitment)
   ══════════════════════════════════════════════════════════ */
.vs-product-fitment {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1.5px dashed #c94b2a;
  border-radius: 6px;
  margin-bottom: 16px;
  background: #fff9f8;
  font-size: 14px;
  color: #333;
  flex-wrap: wrap;
}
.vs-product-fitment--fits {
  border-color: #2d8c3e;
  background: #f4faf5;
}
.vs-product-fitment--no-fit {
  border-color: #c94b2a;
  background: #fff4f3;
}
.vs-product-fitment__icon {
  display: flex;
  align-items: center;
  color: #c94b2a;
  flex-shrink: 0;
}
.vs-product-fitment__icon--check { color: #2d8c3e; }
.vs-product-fitment__icon--x     { color: #c94b2a; }
.vs-product-fitment__text {
  flex: 1;
  min-width: 0;
}
.vs-product-fitment__action {
  margin-left: auto;
  padding: 6px 14px;
  border: 1.5px solid #c94b2a;
  border-radius: 4px;
  background: none;
  color: #c94b2a;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.vs-product-fitment__action:hover {
  background: #c94b2a;
  color: #fff;
}
.vs-product-fitment__action--add {
  border-color: #c94b2a;
  color: #c94b2a;
}

/* ══════════════════════════════════════════════════════════
   A-Premium style: vehicle trigger inside search bar
   ══════════════════════════════════════════════════════════ */
.header__search--vs {
  display: flex !important;
  align-items: stretch;
  overflow: hidden;
}
.header__search--vs > details-modal.header__search {
  flex: 1;
  min-width: 0;
}
.header__search--vs > .vehicle-selector-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 8px 14px;
  background: var(--color-button, #c94b2a);
  color: #fff;
  border: none;
  border-radius: var(--search-border-radius, 4px) 0 0 var(--search-border-radius, 4px);
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  min-width: 0;
  max-width: 200px;
}
/* Override theme's .header__icon:hover which changes color to var(--color) */
.header-advanced .header__search--vs > .vehicle-selector-trigger:hover {
  color: #fff;
}
/* Override theme's .header__icon span { height: 100% } which stretches all spans */
.header__search--vs > .vehicle-selector-trigger span {
  height: auto;
}

.header__search--vs .vehicle-selector-trigger__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
  min-width: 0;
  gap: 1px;
}
.header__search--vs .vehicle-selector-trigger__label {
  display: block;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.2;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.header__search--vs .vehicle-selector-trigger__label:empty {
  display: none;
}
.header__search--vs .vehicle-selector-trigger__value {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}
.vehicle-selector-trigger__arrow {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
  opacity: 0.8;
  margin-left: 2px;
}

@media (max-width: 900px) {
  .header__search--vs > .vehicle-selector-trigger {
    padding: 0 10px;
    max-width: 160px;
  }
  .header__search--vs .vehicle-selector-trigger__text {
    display: none;
  }
  .vehicle-selector-trigger__arrow {
    display: none;
  }
}
