/* ============================================================
   GARAGE ANIMATED ICON â€” CSS-only animation
   ============================================================ */

/* Container */
.psvc-garage-icon {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
/* Garage structure (always visible) */
.psvc-garage-icon__structure {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Door lines â€” animate up/down in a cycle */
.psvc-garage-icon__door-lines {
  animation: psvc-door-cycle 8s ease-in-out infinite;
}

@keyframes psvc-door-cycle {
  0%   { transform: translateY(0); }
  12%  { transform: translateY(-100%); }   /* door fully open */
  50%  { transform: translateY(-100%); }   /* stay open */
  62%  { transform: translateY(0); }       /* door closes */
  100% { transform: translateY(0); }       /* stay closed */
}

/* Content wrapper â€” sits behind the garage structure */
.psvc-garage-icon__content {
  position: absolute;
  bottom: 0;
  left: 15%;
  width: 70%;
  height: 65%;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* Motorcycle â€” faces right, so it rides in from the left */
.psvc-garage-icon__bike {
  width: 80%;
  height: auto;
  opacity: 0;
  transform: translateX(-60%);
  animation: psvc-bike-ride 8s ease-in-out infinite;
}

@keyframes psvc-bike-ride {
  0%   { opacity: 0; transform: translateX(-60%); }
  15%  { opacity: 1; transform: translateX(0); }     /* bike has arrived */
  47%  { opacity: 1; transform: translateX(0); }     /* bike stays */
  58%  { opacity: 0; transform: translateX(60%); }   /* bike rides out right */
  100% { opacity: 0; transform: translateX(-60%); }  /* reset off-left */
}

/* ---- Reduced motion: disable animations ---- */
@media (prefers-reduced-motion: reduce) {
  .psvc-garage-icon__door-lines { animation: none; transform: translateY(-100%); }
  .psvc-garage-icon__bike       { animation: none; opacity: 1; transform: translateX(0); }
}

/* ---- Static variant (no animation) ---- */
.psvc-garage-icon--static .psvc-garage-icon__door-lines {
  animation: none;
  transform: translateY(-100%);
}
.psvc-garage-icon--static .psvc-garage-icon__bike {
  animation: none;
  opacity: 1;
  transform: translateX(0);
}


/* ============================================================
   REDESIGNED VEHICLE SELECTOR BAR
   ============================================================ */

/* ---- Main bar ---- */
.psvc-bar {
  background: #073C5E;
  color: #fff;
  padding: 0;
  margin: 0 0 12px;
  width: 100%;
  z-index: 100;
  font-family: inherit;
}

.psvc-bar__inner {
  display: flex;
  align-items: stretch;
  max-width: 1440px;
  margin: 0 auto;
  min-height: 60px;
}

/* ---- Garage button (left) ---- */
.psvc-bar__garage-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 14px;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  text-align: left;
  transition: background .2s;
}
.psvc-bar__garage-btn:hover {
  background: rgba(255,255,255,.08);
}

.psvc-bar__garage-title {
  display: block;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.15;
  white-space: nowrap;
}

/* Rotating subtitle */
.psvc-bar__garage-sub {
  display: block;
  position: relative;
  height: 14px;
  overflow: hidden;
  font-size: 11px;
  line-height: 14px;
  white-space: nowrap;
  min-width: 130px;
}
.psvc-bar__garage-sub span {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  animation: psvc-rotate-text 9s linear infinite;
}
.psvc-bar__garage-sub span:nth-child(1) { animation-delay: 0s; }
.psvc-bar__garage-sub span:nth-child(2) { animation-delay: 3s; }
.psvc-bar__garage-sub span:nth-child(3) { animation-delay: 6s; }
.psvc-bar__garage-sub span b { font-weight: 700; }

@keyframes psvc-rotate-text {
  0%, 5%   { opacity: 0; }
  10%, 28% { opacity: 1; }
  33%, 100%{ opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .psvc-bar__garage-sub span { animation: none; }
  .psvc-bar__garage-sub span:first-child { opacity: 1; position: static; }
}

/* ---- Form area (dropdowns + search) ---- */
.psvc-bar__form {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  gap: 8px;
  padding: 8px 14px;
  min-width: 0;
}

/* Unified dropdown style inside bar */
.psvc-bar__dd {
  position: relative;
  flex: 1 1 0;
  min-width: 130px;
  max-width: 220px;
}

.psvc-bar__dd-toggle {
  width: 100%;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 6px;
  color: #555;
  padding: 8px 32px 8px 12px;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
  transition: border-color .15s, background .15s;
  appearance: none;
}
.psvc-bar__dd-toggle:hover {
  background: #fff;
  border-color: #fff;
}
.psvc-bar__dd-toggle:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.psvc-bar__dd-toggle.has-value {
  color: #222;
  background: #fff;
  border-color: #fff;
  font-weight: 600;
}
/* Chevron */
.psvc-bar__dd-toggle::after {
  content: "\25BC";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 9px;
  opacity: .5;
  pointer-events: none;
}

/* Panel (reuses existing JS via psvc-dropdown-panel) */
.psvc-bar .psvc-dropdown-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  min-width: 220px;
  max-height: 320px;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  z-index: 1100;
  overflow: hidden;
  display: none;
  color: #333;
}
.psvc-bar .psvc-dropdown-panel.is-open {
  display: block;
}
.psvc-bar .psvc-dropdown-panel .psvc-dropdown-search {
  width: calc(100% - 20px);
  margin: 10px;
  padding: 7px 10px;
  border: 1px solid #dee2e6;
  border-radius: 5px;
  font-size: 13px;
}
.psvc-bar .psvc-dropdown-panel .psvc-dropdown-options {
  max-height: 240px;
  overflow-y: auto;
}
.psvc-bar .psvc-dropdown-panel .psvc-dropdown-option {
  padding: 9px 14px;
  font-size: 13px;
  cursor: pointer;
  border-bottom: 1px solid #f5f5f5;
  transition: background .15s;
}
.psvc-bar .psvc-dropdown-panel .psvc-dropdown-option:hover {
  background: #f0f4ff;
}
.psvc-bar .psvc-dropdown-panel .psvc-dropdown-option.selected {
  background: #2684ff;
  color: #fff;
  font-weight: 600;
}

/* ---- Text search toggle (magnifier icon) â€” hidden, search always visible ---- */
.psvc-bar__search-toggle {
  display: none;
}

/* Text search input â€” always visible */
.psvc-bar__search-input {
  display: block;
  flex: 1 1 auto;
  min-width: 180px;
}
.psvc-bar__search-input input {
  width: 100%;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 6px;
  background: rgba(255,255,255,.85);
  color: #333;
  font-size: 13px;
}
.psvc-bar__search-input input::placeholder {
  color: #999;
}
.psvc-bar__search-input input:focus {
  outline: none;
  border-color: #fff;
  background: #fff;
}

/* Search results dropdown */
.psvc-bar .psvc-search-results-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: -200px;
  right: 0;
  min-width: 500px;
  z-index: 1100;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  max-height: 380px;
  overflow-y: auto;
  display: none;
  color: #333;
}
.psvc-bar .psvc-search-results-panel.is-open {
  display: block;
}

/* Search result items */
.psvc-search-result-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 12px;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid #f0f0f0;
  transition: background .12s;
}
.psvc-search-result-item:last-child { border-bottom: none; }
.psvc-search-result-item:hover { background: #f8f9fa; }
.psvc-search-result-title {
  font-weight: 600;
  font-size: 13px;
  line-height: 1.35;
  color: #333;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
  word-break: break-word;
  min-width: 0;
}
.psvc-search-result-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
  align-self: center;
}
.psvc-search-result-actions .psvc-s-apply {
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  background: #073C5E;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background .15s;
}
.psvc-search-result-actions .psvc-s-apply:hover { background: #052d47; }
.psvc-search-result-actions .psvc-s-garage {
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  background: #28a745;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background .15s;
}
.psvc-search-result-actions .psvc-s-garage:hover { background: #218838; }

@media (max-width: 767px) {
  .psvc-search-result-item {
    grid-template-columns: 1fr;
    align-items: stretch;
    padding: 12px;
  }

  .psvc-search-result-title {
    font-size: 14px;
  }

  .psvc-search-result-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  .psvc-search-result-actions .psvc-s-apply,
  .psvc-search-result-actions .psvc-s-garage {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 6px 10px;
  }
}

/* ---- Apply button (hidden in selector row, used in selected-vehicle & mobile) ---- */
.psvc-bar__apply {
  background: #27ae60;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  cursor: pointer;
  flex-shrink: 0;
  height: 34px;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: background .15s;
  white-space: nowrap;
  text-decoration: none;
}
.psvc-bar__apply:hover {
  background: #219150;
  color: #fff;
}
.psvc-bar__apply:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.psvc-bar__apply .material-icons {
  font-size: 16px;
}

/* BUSCAR + GARAJE buttons hidden in desktop selector row */
#psvc-apply { display: none !important; }

/* +GARAJE button â€” visible only when vehicle is filtered but not yet in garage */
.psvc-bar__apply.psvc-bar__add-garage {
  display: none;
  background: #f39c12;
}
.psvc-bar__apply.psvc-bar__add-garage:hover { background: #e08e0b; }

/* ---- Selected vehicle state ---- */
.psvc-bar--has-vehicle .psvc-bar__form-selectors {
  display: none;
}

.psvc-bar__selected {
  display: none;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
  padding: 0 14px;
  min-width: 0;
}
.psvc-bar--has-vehicle .psvc-bar__selected {
  display: flex;
}

.psvc-bar__vehicle-name {
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.psvc-bar__vehicle-sub {
  font-size: 11px;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.psvc-bar__selected-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.psvc-bar__selected-actions a,
.psvc-bar__selected-actions button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, color .15s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.psvc-bar__btn-products {
  background: rgba(40,167,69,.9);
  color: #fff;
}
.psvc-bar__btn-products:hover {
  background: #28a745;
  color: #fff;
}
.psvc-bar__btn-change {
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.85);
}
.psvc-bar__btn-change:hover {
  background: rgba(255,255,255,.2);
  color: #fff;
}
.psvc-bar__selected-actions .material-icons {
  font-size: 15px;
}
.psvc-bar__btn-add-garage {
  background: #f39c12;
  color: #fff;
}
.psvc-bar__btn-add-garage:hover {
  background: #e08e0b;
  color: #fff;
}


/* ============================================================
   MOBILE: Collapsible bar
   ============================================================ */
@media (max-width: 991.98px) {
  .psvc-bar__inner {
    flex-direction: column;
    min-height: auto;
  }

  /* Mobile toggle row (always visible) */
  .psvc-bar__mobile-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
    background: transparent;
    border: none;
    color: #fff;
    width: 100%;
    text-align: left;
  }
  .psvc-bar__mobile-toggle-text {
    flex: 1 1 auto;
    min-width: 0;
  }
  .psvc-bar__mobile-toggle-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
  }
  .psvc-bar__mobile-toggle-sub {
    font-size: 11px;
    color: rgba(255,255,255,.65);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .psvc-bar__mobile-chevron {
    flex-shrink: 0;
    transition: transform .25s;
  }
  .psvc-bar__mobile-chevron .material-icons { font-size: 22px; }
  .psvc-bar.is-expanded .psvc-bar__mobile-chevron {
    transform: rotate(180deg);
  }

  /* Collapsible body */
  .psvc-bar__collapsible {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .psvc-bar.is-expanded .psvc-bar__collapsible {
    max-height: 500px;
  }
  .psvc-bar__collapsible-inner {
    padding: 0 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  /* Hide desktop-only elements */
  .psvc-bar__garage-btn--desktop { display: none !important; }
  .psvc-bar__form--desktop { display: none !important; }
  .psvc-bar__selected--desktop { display: none !important; }

  /* But allow dropdown panels to be visible when teleported to mobile */
  .psvc-bar__collapsible .psvc-dropdown-panel.is-open {
    display: block !important;
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    max-height: 260px;
    z-index: 1100;
  }

  /* Search results in mobile */
  .psvc-bar__collapsible .psvc-search-results-panel {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    min-width: auto !important;
    width: 100%;
  }

  /* Mobile dropdowns go full width */
  .psvc-bar__dd {
    max-width: 100%;
    flex: 1 1 100%;
  }
  .psvc-bar__dd-toggle {
    width: 100%;
    padding: 10px 36px 10px 14px;
    font-size: 14px;
  }

  /* Mobile search */
  .psvc-bar__search-input--mobile {
    display: block;
  }
  .psvc-bar__search-input--mobile input {
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
  }

  /* Mobile apply button (hidden â€” auto-apply on model select) */
  .psvc-bar__apply--mobile {
    display: none !important;
  }

  /* Selected vehicle in mobile toggle row */
  .psvc-bar--has-vehicle .psvc-bar__mobile-toggle-title {
    font-size: 13px;
  }
  .psvc-bar--has-vehicle .psvc-bar__collapsible {
    max-height: 0;
  }
  .psvc-bar--has-vehicle.is-expanded .psvc-bar__collapsible {
    max-height: 500px;
  }
}

/* Desktop: hide mobile elements */
.psvc-bar__vehicle-shortcut {
  display: none;
  width: 100%;
  background: #ff5a16;
  border-radius: 0 0 5px 5px;
}

#psvc-selector .psvc-bar__vehicle-shortcut a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 12px;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

#psvc-selector .psvc-bar__vehicle-shortcut a:hover {
  text-decoration: underline;
}

#psvc-selector .psvc-bar__vehicle-shortcut a:focus-visible {
  outline: 2px solid #073c5e;
  outline-offset: -4px;
}

.psvc-bar__vehicle-shortcut svg {
  flex-shrink: 0;
}

@media (max-width: 991.98px) {
  #psvc-selector.psvc-bar--has-vehicle:not(.is-expanded) .psvc-bar__inner {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
  }

  #psvc-selector:not(.is-expanded) .psvc-bar__vehicle-shortcut {
    display: block;
  }
}

/* The catalogue keeps its compact selector through tablet widths. */
@media (min-width: 992px) and (max-width: 1199.98px) {
  :is(body.ma-product-listing-page, body#pagenotfound) #psvc-selector.psvc-bar--has-vehicle:not(.is-expanded) .psvc-bar__inner {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
  }

  :is(body.ma-product-listing-page, body#pagenotfound) #psvc-selector:not(.is-expanded) .psvc-bar__vehicle-shortcut {
    display: block;
  }
}

@media (min-width: 992px) {
  .psvc-bar__mobile-toggle { display: none !important; }
  .psvc-bar__collapsible { display: none !important; }
  .psvc-bar__form-selectors {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 auto;
  }
}


/* ============================================================
   HEADER GARAGE ICON (next to account/cart)
   ============================================================ */
.psvc-header-garage {
  position: relative;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

.psvc-header-garage__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  color: inherit;
  padding: 4px 4px 0;
  margin-right: 14px;
  border-radius: 4px;
  transition: background .15s;
  text-decoration: none;
}
.psvc-header-garage__btn:hover {
  background: rgba(0,0,0,.05);
}

/* Static motorcycle SVG â€” match user icon height (31px) */
.psvc-header-garage__svg {
  width: auto;
  height: 20px;
  fill: #073c5e;
  stroke: none;
}

.psvc-header-garage__vehicle-icon {
  display: block;
  width: 34px;
  height: 24px;
  -webkit-mask: var(--psvc-header-garage-icon) center / contain no-repeat;
  mask: var(--psvc-header-garage-icon) center / contain no-repeat;
}

.psvc-header-garage--active .psvc-header-garage__svg {
  fill: #f76300;
}

.psvc-header-garage--active .psvc-header-garage__vehicle-icon {
  background-color: #f76300;
}

.psvc-header-garage__label {
  display: none;
}

/* Dropdown panel â€” redesigned to match bar style */
.psvc-header-garage__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 320px;
  max-width: 380px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 36px rgba(0,0,0,.18);
  z-index: 1200;
  overflow: hidden;
  color: #333;
}
.psvc-header-garage__dropdown.is-open {
  display: block;
}

.psvc-header-garage__dropdown-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: #073C5E;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.psvc-header-garage__dropdown-header .psvc-garage-icon,
.psvc-header-garage__dropdown-header .psvc-garage-icon--static {
  color: #fff;
}

.psvc-header-garage__vehicle {
  padding: 14px 18px;
  border-bottom: 1px solid #f0f0f0;
}
.psvc-header-garage__vehicle:last-child {
  border-bottom: none;
}
.psvc-header-garage__vehicle-name {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 2px;
  color: #222;
}
.psvc-header-garage__vehicle-status {
  font-size: 11px;
  color: #28a745;
  font-weight: 600;
  margin-bottom: 6px;
}
.psvc-header-garage__vehicle-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.psvc-header-garage__vehicle-actions .psvc-hg__remove-form {
  display: inline-flex;
  margin: 0;
}
.psvc-header-garage__vehicle-actions a,
.psvc-header-garage__vehicle-actions button {
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 5px;
  border: none;
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
  transition: background .15s, color .15s;
}
.psvc-header-garage__vehicle-actions .psvc-hg__btn-products {
  background: #28a745;
  color: #fff;
}
.psvc-header-garage__vehicle-actions .psvc-hg__btn-products:hover {
  background: #218838;
}
.psvc-header-garage__vehicle-actions .psvc-hg__btn-activate {
  background: #ff5a16 !important;
  color: #fff !important;
  text-decoration: none !important;
}
.psvc-header-garage__vehicle-actions .psvc-hg__btn-activate:hover {
  background: #e94f11 !important;
  color: #fff !important;
}
.psvc-header-garage__vehicle-actions .psvc-hg__btn-activate:focus,
.psvc-header-garage__vehicle-actions .psvc-hg__btn-activate:visited {
  color: #fff !important;
}
.psvc-header-garage__vehicle-actions .psvc-hg__btn-change {
  background: #f0f0f0;
  color: #555;
}
.psvc-header-garage__vehicle-actions .psvc-hg__btn-change:hover {
  background: #e0e0e0;
  color: #333;
}
.psvc-header-garage__vehicle-actions .psvc-hg__btn-remove {
  background: transparent;
  color: #dc3545;
  padding: 5px 8px;
}
.psvc-header-garage__vehicle-actions .psvc-hg__btn-remove:hover {
  background: rgba(220,53,69,.08);
}

.psvc-header-garage__add {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 18px;
  background: #f8f9fa;
  color: #073C5E;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s;
  border-top: 1px solid #f0f0f0;
}
.psvc-header-garage__add:hover {
  background: #eef3f8;
  color: #052d47;
}
.psvc-header-garage__add .material-icons {
  font-size: 18px;
}

.psvc-header-garage__empty {
  padding: 24px 18px;
  text-align: center;
  color: #888;
  font-size: 13px;
}

@media (min-width: 992px) {
  .psvc-header-garage,
  .psvc-header-garage * {
    box-sizing: border-box;
  }

  .psvc-header-garage__dropdown {
    top: calc(100% + 12px);
    min-width: 430px;
    max-width: 430px;
    padding: 0 12px 12px;
    border: 1px solid rgba(7, 60, 94, .14);
    border-radius: 18px;
    box-shadow: 0 24px 54px rgba(7, 34, 56, .18);
    overflow: visible;
    background: #f6f9fc;
    opacity: 1;
    isolation: isolate;
  }

  .psvc-header-garage__dropdown::before {
    content: '';
    position: absolute;
    top: -9px;
    right: 24px;
    width: 18px;
    height: 18px;
    background: #0b4b71;
    transform: rotate(45deg);
    border-radius: 4px;
    box-shadow: -3px -3px 10px rgba(7, 34, 56, .06);
  }

  .psvc-header-garage__dropdown-header {
    margin: 0 -12px 14px;
    padding: 18px 20px;
    border-radius: 18px 18px 0 0;
    background: linear-gradient(135deg, #073c5e 0%, #0f557f 100%);
    box-shadow: inset 0 -1px 0 rgba(255,255,255,.08);
  }

  .psvc-header-garage__vehicle {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
    padding: 16px 16px 14px;
    border: 1px solid #e4ebf2;
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 20px rgba(12, 44, 68, .05);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  }

  .psvc-header-garage__vehicle:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(12, 44, 68, .08);
  }

  .psvc-header-garage__vehicle--selected {
    border-color: rgba(40, 167, 69, .28);
    background: #ffffff;
    box-shadow: 0 14px 28px rgba(29, 102, 55, .10);
  }

  .psvc-header-garage__vehicle--stored {
    background: #ffffff;
  }

  .psvc-header-garage__vehicle:last-child {
    border-bottom: 1px solid #e4ebf2;
  }

  .psvc-header-garage__vehicle-name {
    width: 100%;
    margin-bottom: 0;
    font-size: 16px;
    line-height: 1.3;
    letter-spacing: .01em;
    text-align: left;
  }

  .psvc-header-garage__vehicle-status,
  .psvc-header-garage__vehicle-meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 26px;
    margin: 0;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-align: left;
  }

  .psvc-header-garage__vehicle-status {
    color: #1b8f40;
    background: rgba(40, 167, 69, .12);
  }

  .psvc-header-garage__vehicle-meta {
    color: #5f7081;
    background: #eef3f7;
  }

  .psvc-header-garage__vehicle-actions {
    width: 100%;
    align-items: stretch;
    justify-content: flex-start;
    margin-top: 2px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .psvc-header-garage__vehicle-actions a,
  .psvc-header-garage__vehicle-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    min-height: 40px;
    min-width: 0;
    padding: 9px 14px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1;
    letter-spacing: .02em;
    box-shadow: inset 0 0 0 1px transparent;
    text-align: center;
    white-space: nowrap;
  }

  .psvc-header-garage__vehicle-actions .psvc-hg__btn-products,
  .psvc-header-garage__vehicle-actions .psvc-hg__btn-activate {
    box-shadow: 0 10px 18px rgba(7, 60, 94, .14);
  }

  .psvc-header-garage__vehicle--selected .psvc-header-garage__vehicle-actions {
    margin-top: 6px;
  }

  .psvc-header-garage__vehicle-actions .psvc-hg__btn-change {
    background: #eef3f7;
    color: #244861;
  }

  .psvc-header-garage__vehicle-actions .psvc-hg__btn-change:hover {
    background: #e2ebf2;
    color: #17384f;
  }

  .psvc-header-garage__vehicle-actions .psvc-hg__btn-remove {
    flex: 0 1 auto;
    gap: 6px;
    background: #fff5f6;
    color: #d73a49;
    box-shadow: inset 0 0 0 1px rgba(215, 58, 73, .12);
  }

  .psvc-header-garage__vehicle-actions .psvc-hg__btn-remove:hover {
    background: #ffecee;
  }

  .psvc-header-garage__vehicle-actions .psvc-hg__btn-remove .material-icons {
    font-size: 16px;
    line-height: 1;
  }

  .psvc-header-garage__vehicle-actions .psvc-hg__btn-remove span {
    line-height: 1;
  }

  .psvc-header-garage__vehicle--stored .psvc-hg__btn-activate {
    flex: 1 1 auto;
  }

  .psvc-header-garage__vehicle--selected .psvc-hg__btn-products,
  .psvc-header-garage__vehicle--selected .psvc-hg__btn-change {
    flex: 1 1 calc(50% - 5px);
  }

  .psvc-header-garage__add {
    margin-top: 4px;
    border: 1px solid #dde7ef;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(12, 44, 68, .05);
  }

  .psvc-header-garage__empty {
    margin: 4px 0 10px;
    border: 1px dashed #d7e3ec;
    border-radius: 14px;
    background: #fff;
  }
}

/* Mobile header dropdown â€” full width bottom sheet */
@media (max-width: 991.98px) {
  .psvc-header-garage__btn { margin-right: 6px; }
  .psvc-header-garage__dropdown {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    min-width: 100vw;
    max-width: 100vw;
    border-radius: 16px 16px 0 0;
    max-height: 80vh;
    overflow-y: auto;
    animation: psvc-slide-up .2s ease-out;
    z-index: 100001;
  }
}
/* Backdrop overlay for mobile bottom sheet */
#psvc-garage-backdrop {
  display: none;
}
@media (max-width: 991.98px) {
  #psvc-garage-backdrop {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,.4);
    z-index: 100000;
  }
}
@keyframes psvc-slide-up {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}


/* ============================================================
   PRODUCT PAGE: Compat box redesigned with garage icon
   ============================================================ */
.psvc-compat-box .psvc-garage-icon {
  width: 36px;
  height: 21px;
}
.psvc-compat-box .psvc-compat-box__icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #1a1a2e;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

/* ============================================================
   MOTAREA: category top selector, matching header screenshot
   ============================================================ */
.psvc-bar {
  width: 100%;
  margin: 20px 0 18px;
  padding: 0 54px;
  background: #fff;
  color: #122d4b;
  z-index: 20;
}

.psvc-bar__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  width: 100%;
  max-width: 1760px;
  min-height: 82px;
  margin: 0 auto;
  padding: 16px 24px;
  border: 1px solid #d7e1eb;
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
}

.psvc-bar__garage-btn,
.psvc-bar__garage-btn:hover {
  flex: 0 0 250px;
  gap: 14px;
  min-height: 52px;
  padding: 0;
  background: transparent;
  color: #123150;
}

.psvc-bar__garage-btn .psvc-garage-icon {
  color: #113253;
}

.psvc-bar__garage-title {
  color: #132f4f;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1.15;
}

.psvc-bar__garage-sub {
  position: static;
  height: auto;
  min-width: 0;
  margin-top: 6px;
  color: #7d8ea3;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  overflow: visible;
}

.psvc-bar__form {
  flex: 1 1 auto;
  padding: 0;
  min-width: 0;
}

.psvc-bar__form-selectors {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  min-width: 0;
}

.psvc-bar__dd {
  position: relative;
  flex: 1 1 0;
  min-width: 180px;
  max-width: none;
}

.psvc-bar__dd--make { order: 1; }
.psvc-bar__dd--model { order: 2; }
.psvc-bar__dd--year { order: 3; }

.psvc-field-label {
  position: absolute;
  top: -8px;
  left: 42px;
  z-index: 2;
  padding: 0 8px;
  background: #fff;
  color: #a4afbc;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.psvc-bar__dd-toggle {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 50px;
  padding: 15px 40px 13px 44px;
  border: 1px solid #dbe4ee;
  border-radius: 5px;
  background: #fff;
  color: #8a98aa;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  box-shadow: none;
}

.psvc-bar__dd-toggle:hover,
.psvc-bar__dd-toggle.has-value {
  border-color: #cfdbe8;
  background: #fff;
  color: #203a57;
}

.psvc-bar__dd-toggle:disabled {
  opacity: 1;
  color: #9aa8b8;
  background: #fff;
}

.psvc-bar__dd-toggle::before {
  content: "two_wheeler";
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #8b9aae;
  font-family: "Material Icons";
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  pointer-events: none;
}

.psvc-bar__dd-toggle::after {
  right: 16px;
  color: #8b9aae;
  font-size: 10px;
}

.psvc-bar__search-wrapper,
.psvc-bar__search-input--mobile,
.psvc-bar__add-garage {
  display: none !important;
}

#psvc-apply.psvc-bar__apply {
  order: 4;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 270px;
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: 5px;
  background: #ff5a16;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.15;
  text-transform: none;
  box-shadow: 0 2px 0 rgba(166, 48, 0, .18);
}

#psvc-apply.psvc-bar__apply:disabled {
  opacity: 1;
  cursor: default;
}

.psvc-bar .psvc-dropdown-panel {
  top: calc(100% + 8px);
  min-width: 100%;
  border-color: #dbe4ee;
  border-radius: 5px;
  box-shadow: 0 16px 34px rgba(14, 42, 68, .14);
}

@media (max-width: 1199px) and (min-width: 992px) {
  .psvc-bar {
    padding-right: 28px;
    padding-left: 28px;
  }

  .psvc-bar__inner {
    gap: 16px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .psvc-bar__garage-btn {
    flex-basis: 210px;
  }

  .psvc-bar__form-selectors {
    gap: 14px;
  }

  #psvc-apply.psvc-bar__apply {
    flex-basis: 220px;
  }
}

@media (max-width: 991.98px) {
  .psvc-bar {
    margin: 12px 0 14px;
    padding: 0 12px;
    background: #fff;
  }

  .psvc-bar__inner {
    display: block;
    min-height: 0;
    padding: 0;
    border: 1px solid #d7e1eb;
    border-radius: 6px;
    background: #fff;
  }

  .psvc-bar__garage-btn--desktop {
    display: none;
  }

  .psvc-bar__mobile-toggle {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 64px;
    padding: 12px 14px;
    border: 0;
    background: #fff;
    color: #123150;
    text-align: left;
  }

  .psvc-bar__mobile-toggle-title {
    color: #123150;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
  }

  .psvc-bar__mobile-toggle-sub {
    color: #7d8ea3;
    font-size: 12px;
    font-weight: 600;
  }

  .psvc-bar__collapsible {
    background: #fff;
  }

  .psvc-bar__collapsible-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 14px 14px;
  }

  .psvc-bar__dd {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .psvc-mobile-dd-wrapper[data-for="psvc-manufacturer"] { order: 1; }
  .psvc-mobile-dd-wrapper[data-for="psvc-model"] { order: 2; }
  .psvc-mobile-dd-wrapper[data-for="psvc-year"] { order: 3; }

  .psvc-mobile-dd-wrapper .psvc-field-label {
    display: none;
  }

  .psvc-bar__dd-toggle {
    min-height: 48px;
    padding-top: 13px;
    padding-bottom: 13px;
  }

  #psvc-apply.psvc-bar__apply,
  .psvc-bar__collapsible-inner > .psvc-bar__apply {
    width: 100%;
    flex: 0 0 auto;
    min-height: 48px;
  }
}

/* MOTAREA: final vehicle selector corrections */
.psvc-bar {
  padding-right: 45px;
  padding-left: 45px;
}

.psvc-bar__inner {
  max-width: none;
}

.psvc-bar__dd--make { order: 1; }
.psvc-bar__dd--year { order: 2; }
.psvc-bar__dd--model { order: 3; }

.psvc-bar__search-wrapper {
  order: 4;
  display: flex !important;
  position: relative;
  align-items: center;
  flex: 1.3 1 260px;
  min-width: 230px;
}

.psvc-bar__search-input {
  width: 100%;
}

.psvc-bar__search-input input {
  min-height: 50px;
  border: 1px solid #dbe4ee;
  border-radius: 5px;
  background: #fff;
  color: #203a57;
  font-size: 14px;
  font-weight: 600;
}

.psvc-bar__search-input input::placeholder {
  color: #a5afbb;
}

#psvc-apply.psvc-bar__apply {
  order: 5;
  flex-basis: 240px;
}

@media (min-width: 1662px) {
  .psvc-bar {
    padding-right: 35px;
    padding-left: 35px;
  }
}

@media (max-width: 1199px) and (min-width: 992px) {
  .psvc-bar {
    padding-right: 45px;
    padding-left: 45px;
  }

  .psvc-bar__form-selectors {
    flex-wrap: wrap;
  }

  .psvc-bar__dd,
  .psvc-bar__search-wrapper {
    flex-basis: calc(50% - 7px);
  }

  #psvc-apply.psvc-bar__apply {
    flex: 1 1 100%;
  }
}

@media (max-width: 1399px) and (min-width: 992px) {
  .psvc-bar__inner {
    gap: 16px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .psvc-bar__garage-btn {
    flex-basis: 205px;
  }

  .psvc-bar__form-selectors {
    flex-wrap: wrap;
    gap: 14px;
  }

  .psvc-bar__dd,
  .psvc-bar__search-wrapper {
    flex: 1 1 calc(50% - 7px);
    min-width: 0;
  }

  #psvc-apply.psvc-bar__apply {
    flex: 1 1 calc(50% - 7px);
  }
}

@media (max-width: 991.98px) {
  .psvc-bar {
    padding-right: 12px;
    padding-left: 12px;
  }

  .psvc-bar__search-input--mobile {
    display: block !important;
    order: 4;
  }

  .psvc-mobile-dd-wrapper[data-for="psvc-manufacturer"] { order: 1; }
  .psvc-mobile-dd-wrapper[data-for="psvc-year"] { order: 2; }
  .psvc-mobile-dd-wrapper[data-for="psvc-model"] { order: 3; }
}

/* MOTAREA: user-requested wider selector */
@media (min-width: 992px) {
  .psvc-bar {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .psvc-bar__inner {
    width: 100%;
  }
}

/* MOTAREA: blue selector variant */
#psvc-selector.psvc-bar {
  --psvc-blue: #073c5e;
  --psvc-blue-dark: #052f4a;
  --psvc-blue-soft: rgba(255, 255, 255, .14);
  --psvc-white-soft: rgba(255, 255, 255, .78);
  --psvc-orange: #ff5a16;
  position: relative !important;
  z-index: 90 !important;
  margin: 0 0 18px;
  padding-right: 45px !important;
  padding-left: 45px !important;
  background: transparent !important;
  color: #fff !important;
  border-radius: 6px !important;
}

#psvc-selector .psvc-bar__inner {
  position: relative !important;
  z-index: 1 !important;
  min-height: 60px;
  padding: 7px 20px !important;
  gap: 18px !important;
  border-radius: 6px !important;
  overflow: visible !important;
  background: var(--psvc-blue) !important;
}

#psvc-selector .psvc-bar__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--psvc-blue);
}

#psvc-selector,
#psvc-selector button,
#psvc-selector a,
#psvc-selector .psvc-bar__garage-title,
#psvc-selector .psvc-bar__garage-sub,
#psvc-selector .psvc-field-label,
#psvc-selector .psvc-dropdown-label,
#psvc-selector .psvc-bar__vehicle-name,
#psvc-selector .psvc-bar__vehicle-sub {
  color: #fff !important;
}

#psvc-selector .psvc-garage-icon,
#psvc-selector .psvc-garage-icon svg,
#psvc-selector .psvc-garage-icon svg * {
  color: #fff !important;
  fill: currentColor !important;
  stroke: currentColor !important;
}

#psvc-selector .psvc-garage-icon {
  width: 44px !important;
  height: 26px !important;
}

#psvc-selector .psvc-bar__garage-btn {
  flex-basis: 285px;
  padding: 4px 18px;
  background: #073c5e !important;
  border-right: 0 !important;
}

#psvc-selector .psvc-bar__garage-btn:hover {
  background: #073c5e !important;
}

#psvc-selector .psvc-bar__garage-title {
  font-size: 16px;
  letter-spacing: 0;
}

#psvc-selector .psvc-bar__garage-sub {
  width: 220px;
  min-width: 220px;
  height: 17px;
  margin-top: 4px;
  color: var(--psvc-white-soft) !important;
  font-size: 11px;
  font-weight: 700;
  line-height: 17px;
  position: relative !important;
  display: block !important;
  overflow: hidden !important;
}

#psvc-selector .psvc-bar__garage-sub span {
  color: var(--psvc-white-soft) !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
}

#psvc-selector.psvc-bar--has-vehicle .psvc-bar__garage-sub span {
  animation: none;
  opacity: 1;
  position: static;
}

#psvc-selector.psvc-bar--has-vehicle .psvc-bar__garage-sub {
  text-overflow: ellipsis;
  white-space: nowrap;
}

#psvc-selector.psvc-bar--has-vehicle .psvc-bar__garage-sub span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#psvc-selector.psvc-bar--has-vehicle .psvc-bar__garage-sub span:not(:first-child) {
  display: none;
}

#psvc-selector .psvc-bar__form {
  padding: 4px 14px;
}

#psvc-selector .psvc-bar__form-selectors {
  align-items: center;
  gap: 16px;
}

#psvc-selector .psvc-field-label {
  display: none !important;
}

#psvc-selector .psvc-bar__dd-toggle,
#psvc-selector .psvc-bar__search-input input {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, .28) !important;
  border-radius: 6px;
  background: rgba(255, 255, 255, .1) !important;
  color: #fff !important;
  box-shadow: none !important;
}

#psvc-selector .psvc-dropdown-wrapper,
#psvc-selector .psvc-bar__dd,
#psvc-selector .psvc-bar__search-wrapper {
  position: relative !important;
  z-index: 2 !important;
}

#psvc-selector .psvc-dropdown-wrapper:focus-within,
#psvc-selector .psvc-dropdown-wrapper:has(.psvc-dropdown-panel[style*="display: block"]),
#psvc-selector .psvc-bar__search-wrapper:focus-within,
#psvc-selector .psvc-bar__search-wrapper:has(.psvc-search-results-panel.is-open) {
  z-index: 115 !important;
}

#psvc-selector .psvc-dropdown-panel,
#psvc-selector .psvc-search-results-panel {
  z-index: 116 !important;
}

#psvc-selector #psvc-apply[hidden] {
  display: none !important;
}

#psvc-selector .psvc-bar__dd-toggle::before,
#psvc-selector .psvc-bar__dd-toggle::after {
  color: rgba(255, 255, 255, .72) !important;
}

#psvc-selector .psvc-bar__dd-toggle:hover,
#psvc-selector .psvc-bar__dd-toggle.has-value,
#psvc-selector .psvc-bar__search-input input:focus {
  border-color: rgba(255, 255, 255, .58) !important;
  background: rgba(255, 255, 255, .16) !important;
}

#psvc-selector .psvc-bar__dd-toggle:disabled {
  opacity: .58;
}

#psvc-selector .psvc-bar__search-input input::placeholder {
  color: rgba(255, 255, 255, .62) !important;
}

#psvc-selector:not(.psvc-bar--has-vehicle) #psvc-apply {
  display: none !important;
}

#psvc-selector.psvc-bar--has-vehicle .psvc-bar__form {
  align-items: center;
}

#psvc-selector .psvc-bar__selected {
  width: 100%;
  min-height: 46px;
  padding: 7px 10px 7px 16px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 5px;
  background: rgba(255, 255, 255, .1);
}

#psvc-selector .psvc-bar__vehicle-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
}

#psvc-selector .psvc-bar__vehicle-name {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}

#psvc-selector .psvc-bar__vehicle-sub {
  margin-top: 3px;
  color: var(--psvc-white-soft) !important;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}

#psvc-selector .psvc-bar__selected-actions {
  align-items: center;
  gap: 10px;
}

#psvc-selector .psvc-bar__selected-actions a,
#psvc-selector .psvc-bar__selected-actions button,
#psvc-selector .psvc-bar__collapsible-inner > .psvc-bar__apply {
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  box-shadow: none;
}

#psvc-selector .psvc-bar__btn-products,
#psvc-selector .psvc-bar__apply--products,
#psvc-selector.psvc-bar--has-vehicle .psvc-bar__collapsible-inner > .psvc-bar__apply:first-child {
  background: var(--psvc-orange) !important;
  color: #fff !important;
}

#psvc-selector .psvc-bar__btn-products:hover,
#psvc-selector .psvc-bar__apply--products:hover,
#psvc-selector.psvc-bar--has-vehicle .psvc-bar__collapsible-inner > .psvc-bar__apply:first-child:hover {
  background: #e94f11 !important;
}

#psvc-selector .psvc-bar__btn-add-garage {
  border-color: #fff !important;
  background: #fff !important;
  color: var(--psvc-blue) !important;
}

#psvc-selector .psvc-bar__btn-add-garage:hover {
  background: #eef5fb !important;
  color: var(--psvc-blue) !important;
}

#psvc-selector .psvc-bar__btn-change,
#psvc-selector .psvc-bar__apply--change,
#psvc-selector.psvc-bar--has-vehicle .psvc-bar__collapsible-inner > .psvc-bar__apply:nth-child(2) {
  border-color: rgba(255, 255, 255, .44) !important;
  background: transparent !important;
  color: #fff !important;
}

#psvc-selector .psvc-bar__btn-change:hover,
#psvc-selector .psvc-bar__apply--change:hover,
#psvc-selector.psvc-bar--has-vehicle .psvc-bar__collapsible-inner > .psvc-bar__apply:nth-child(2):hover {
  border-color: #fff !important;
  background: rgba(255, 255, 255, .12) !important;
}

#psvc-selector .psvc-bar__selected-actions .material-icons,
#psvc-selector .psvc-bar__collapsible-inner > .psvc-bar__apply .material-icons {
  font-size: 18px;
}

@media (max-width: 991.98px) {
  #psvc-selector.psvc-bar {
    margin: 12px 0 16px;
    padding-right: 15px !important;
    padding-left: 15px !important;
    background: transparent !important;
  }

  #psvc-selector .psvc-bar__inner,
  #psvc-selector .psvc-bar__mobile-toggle,
  #psvc-selector .psvc-bar__collapsible {
    background: var(--psvc-blue) !important;
    color: #fff !important;
  }

  #psvc-selector .psvc-bar__inner {
    border-color: rgba(255, 255, 255, .18) !important;
    overflow: visible !important;
  }

  #psvc-selector .psvc-bar__mobile-toggle {
    min-height: 56px;
    padding: 8px 14px;
  }

  #psvc-selector .psvc-bar__mobile-toggle-title,
  #psvc-selector .psvc-bar__mobile-toggle-sub,
  #psvc-selector .psvc-bar__mobile-chevron,
  #psvc-selector .psvc-bar__mobile-chevron .material-icons {
    color: #fff !important;
  }

  #psvc-selector .psvc-bar__mobile-toggle-sub {
    color: var(--psvc-white-soft) !important;
  }

  #psvc-selector .psvc-bar__collapsible-inner {
    padding: 0 14px 14px;
  }

  #psvc-selector .psvc-bar__collapsible-inner > .psvc-bar__apply {
    width: 100%;
    justify-content: center;
  }
}

/* MOTAREA: refreshed vehicle selector controls and dropdowns */
#psvc-selector .psvc-bar__form-selectors .psvc-bar__dd-toggle,
#psvc-selector .psvc-bar__collapsible .psvc-bar__dd-toggle,
#psvc-selector .psvc-bar__search-input input,
#psvc-selector .psvc-mobile-search-clone {
  border: 1px solid #dbe5ef !important;
  background: #fff !important;
  color: #173b59 !important;
  box-shadow: 0 1px 0 rgba(7, 60, 94, .03) !important;
}

#psvc-selector .psvc-bar__form-selectors .psvc-bar__dd-toggle:hover,
#psvc-selector .psvc-bar__form-selectors .psvc-bar__dd-toggle:focus,
#psvc-selector .psvc-bar__form-selectors .psvc-bar__dd-toggle.has-value,
#psvc-selector .psvc-bar__collapsible .psvc-bar__dd-toggle:hover,
#psvc-selector .psvc-bar__collapsible .psvc-bar__dd-toggle:focus,
#psvc-selector .psvc-bar__collapsible .psvc-bar__dd-toggle.has-value,
#psvc-selector .psvc-bar__search-input input:focus,
#psvc-selector .psvc-mobile-search-clone:focus {
  border-color: #f76300 !important;
  background: #fff !important;
  color: #073c5e !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(247, 99, 0, .13) !important;
}

#psvc-selector .psvc-dropdown-label {
  color: inherit !important;
}

#psvc-selector .psvc-bar__dd-toggle:disabled {
  background: #f4f8fb !important;
  color: #8b9aad !important;
}

#psvc-selector .psvc-bar__dd-toggle::before {
  color: #7d8ea2 !important;
}

#psvc-selector .psvc-bar__dd-toggle::after {
  color: #f76300 !important;
}

#psvc-selector .psvc-bar__search-input input::placeholder,
#psvc-selector .psvc-mobile-search-clone::placeholder {
  color: #7f8da0 !important;
}

#psvc-selector .psvc-dropdown-panel {
  top: calc(100% + 10px) !important;
  padding: 8px !important;
  border: 1px solid #d9e4ef !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 18px 40px rgba(7, 38, 61, .18) !important;
  color: #173b59 !important;
}

#psvc-selector .psvc-dropdown-panel .psvc-dropdown-search {
  width: 100% !important;
  min-height: 42px !important;
  margin: 0 0 8px !important;
  padding: 10px 12px !important;
  border: 1px solid #dbe5ef !important;
  border-radius: 7px !important;
  background: #f8fbfd !important;
  color: #173b59 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}

#psvc-selector .psvc-dropdown-panel .psvc-dropdown-search:focus {
  border-color: #f76300 !important;
  background: #fff !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(247, 99, 0, .12) !important;
}

#psvc-selector .psvc-dropdown-panel .psvc-dropdown-options {
  max-height: 270px !important;
  padding: 2px !important;
  overflow-y: auto !important;
}

#psvc-selector .psvc-dropdown-panel .psvc-dropdown-option {
  margin: 2px 0 !important;
  padding: 10px 12px !important;
  border: 0 !important;
  border-radius: 7px !important;
  color: #173b59 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  transition: background .14s ease, color .14s ease, box-shadow .14s ease !important;
}

#psvc-selector .psvc-dropdown-panel .psvc-dropdown-option:hover,
#psvc-selector .psvc-dropdown-panel .psvc-dropdown-option.is-keyboard-target {
  background: #eef5fb !important;
  color: #073c5e !important;
  box-shadow: inset 3px 0 0 #f76300 !important;
}

#psvc-selector .psvc-dropdown-panel .psvc-dropdown-option.selected {
  background: #073c5e !important;
  color: #fff !important;
  box-shadow: inset 3px 0 0 #f76300 !important;
}

#psvc-selector .psvc-search-results-panel {
  top: calc(100% + 10px) !important;
  right: 0 !important;
  left: auto !important;
  width: min(640px, 100%) !important;
  min-width: 0 !important;
  max-height: 420px !important;
  padding: 8px !important;
  border: 1px solid #d9e4ef !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 18px 42px rgba(7, 38, 61, .18) !important;
  color: #173b59 !important;
}

#psvc-selector .psvc-search-result-item {
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 10px 14px !important;
  margin: 2px 0 !important;
  padding: 12px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #fff !important;
}

#psvc-selector .psvc-search-result-item:hover {
  background: #f5f9fc !important;
  box-shadow: inset 3px 0 0 #f76300 !important;
}

#psvc-selector .psvc-search-result-title {
  color: #073c5e !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}

#psvc-selector .psvc-search-result-actions .psvc-s-apply,
#psvc-selector .psvc-search-result-actions .psvc-s-garage {
  min-height: 34px !important;
  padding: 7px 12px !important;
  border: 1px solid transparent !important;
  border-radius: 7px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

#psvc-selector .psvc-search-result-actions .psvc-s-apply {
  background: #f76300 !important;
  color: #fff !important;
}

#psvc-selector .psvc-search-result-actions .psvc-s-apply:hover {
  background: #e85300 !important;
}

#psvc-selector .psvc-search-result-actions .psvc-s-garage {
  border-color: #d7e3ef !important;
  background: #fff !important;
  color: #073c5e !important;
}

#psvc-selector .psvc-search-result-actions .psvc-s-garage:hover {
  border-color: #f76300 !important;
  color: #f76300 !important;
}

@media (max-width: 991.98px) {
  /*
   * Mobile dropdowns are moved inside their matching field wrapper by the
   * selector JS. Keep them in normal flow: the desktop top offset otherwise
   * creates a large empty gap and the fixed collapsible height clips the
   * following year/model controls.
   */
  #psvc-selector.is-expanded .psvc-bar__collapsible {
    max-height: none !important;
    overflow: visible !important;
  }

  #psvc-selector .psvc-mobile-dd-wrapper .psvc-dropdown-panel.is-open {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-height: none !important;
    margin: 8px 0 0 !important;
    overflow: visible !important;
    transform: none !important;
  }

  #psvc-selector .psvc-mobile-dd-wrapper .psvc-dropdown-panel.is-open .psvc-dropdown-options {
    max-height: min(240px, 36vh) !important;
    overscroll-behavior: contain;
  }

  #psvc-selector .psvc-search-results-panel,
  #psvc-selector .psvc-mobile-search-results {
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  #psvc-selector .psvc-search-result-item {
    grid-template-columns: 1fr !important;
  }

  #psvc-selector .psvc-search-result-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
