/**
 * Top FIND YOUR VEHICLE — three-panel mockup layout.
 */
.region--hero {
  padding: 0 !important;
  margin: 0 !important;
}

#block-olivero-subtheme-topfindyourvehicle,
#block-olivero-subtheme-findyourvehicle {
  margin: 0 !important;
  width: 100%;
  max-width: none;
}

#block-olivero-subtheme-topfindyourvehicle .block__content,
#block-olivero-subtheme-findyourvehicle .block__content {
  padding: 0 !important;
  margin: 0 !important;
  width: 100%;
  max-width: none;
}

.top-find-vehicle {
  background: #23282d;
  border-top: 1px solid #3d444b;
  border-bottom: 1px solid #3d444b;
  padding: 16px 24px;
  width: 100%;
}

.top-find-vehicle-inner {
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.top-find-vehicle-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 11px;
}

.top-find-vehicle-title {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 900;
  color: #e8edf1;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.top-find-vehicle-title-icon {
  width: 15px;
  height: 15px;
  background: #00a3a3;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.top-find-vehicle-tagline {
  font-size: 12px;
  color: #9aa3ac;
  font-weight: 500;
}

.top-find-vehicle-panels {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 14px;
  align-items: start;
}

.top-find-vehicle-panel {
  background: #1b1f23;
  border: 1px solid #3d444b;
  border-top: 3px solid #008080;
  border-radius: 6px;
  padding: 13px 14px;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.top-find-vehicle-panel-head {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  margin-bottom: 11px;
}

.top-find-vehicle-panel-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background: #00a3a3;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
}

.top-find-vehicle-panel-icon--car {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M5 17h14M5 17a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1l2-3h8l2 3h1a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2M5 17l-1 2M19 17l1 2M7 13h.01M17 13h.01'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M5 17h14M5 17a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1l2-3h8l2 3h1a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2M5 17l-1 2M19 17l1 2M7 13h.01M17 13h.01'/%3E%3C/svg%3E");
}

.top-find-vehicle-panel-icon--vin {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M4 7V4h16v3M9 20h6M12 4v16'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M4 7V4h16v3M9 20h6M12 4v16'/%3E%3C/svg%3E");
}

.top-find-vehicle-panel-icon--oem {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v8M8 12h8'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v8M8 12h8'/%3E%3C/svg%3E");
}

.top-find-vehicle-panel-body {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  min-width: 0;
  width: 100%;
}

.top-find-vehicle-fields {
  display: flex;
  gap: 8px;
  align-items: center;
  flex: 1;
  min-width: 0;
}

/* YMME — single flex row like mockup .p3-fields */
.top-find-vehicle-panel--ymm .top-find-vehicle-panel-body {
  display: flex;
  gap: 8px;
  align-items: center;
}

.top-find-vehicle-panel--ymm .top-find-vehicle-fields {
  display: flex;
  flex: 1;
  gap: 8px;
  align-items: center;
  min-width: 0;
  width: auto;
}

.top-find-vehicle-panel--ymm .top-find-vehicle-fields:has(.top-find-vehicle-submodel-wrap:not([hidden])) {
  flex-wrap: wrap;
}

.top-find-vehicle-panel--ymm .top-find-vehicle-fields > select,
.top-find-vehicle-panel--ymm .top-find-vehicle-submodel-wrap {
  flex: 1 1 0;
  min-width: 0;
  max-width: none;
  width: auto;
}

.top-find-vehicle-panel--ymm .top-find-vehicle-submodel-wrap select {
  width: 100%;
}

.top-find-vehicle-submodel-wrap {
  display: none !important;
  min-width: 0;
}

.top-find-vehicle-input-wrap {
  flex: 1;
  min-width: 0;
}

.top-find-vehicle-oem-input-wrap {
  position: relative;
}

.top-find-vehicle-panel--oem .top-find-vehicle-oem-suggestions {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  right: 0;
  z-index: 600;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 2px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  max-height: 360px;
  overflow: auto;
}

.top-find-vehicle-panel--oem .top-find-vehicle-oem-form {
  width: 100%;
  flex: 0 0 auto;
  align-items: center;
}

#block-olivero-subtheme-topfindyourvehicle .top-find-vehicle select.top-find-vehicle-select,
#block-olivero-subtheme-findyourvehicle .top-find-vehicle select.top-find-vehicle-select,
.top-find-vehicle select.top-find-vehicle-select {
  /* Override global main.css: select { min-width:100%; width:100%; height:44px } */
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  flex: 1 1 0 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 9px 24px 9px 9px !important;
  box-sizing: border-box !important;
  background-color: #2a2f34 !important;
  /* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%238a939c' d='M1 1l4 4 4-4'/%3E%3C/svg%3E") !important; */
  background-repeat: no-repeat !important;
  background-position: right 8px center !important;
  background-size: 10px 6px !important;
  border: 1px solid #3d444b !important;
  border-radius: 3px !important;
  font-family: 'Barlow', sans-serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: #dde3e9 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  box-shadow: none !important;
  line-height: 1.2 !important;
  display: block !important;
}

#block-olivero-subtheme-topfindyourvehicle .top-find-vehicle input.top-find-vehicle-input,
.top-find-vehicle input.top-find-vehicle-input {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  flex: 1 1 0 !important;
  height: 33px !important;
  min-height: 0 !important;
  max-height: 33px !important;
  margin: 0 !important;
  padding: 9px !important;
  box-sizing: border-box !important;
  background: #2a2f34 !important;
  border: 1px solid #3d444b !important;
  border-radius: 3px !important;
  font-family: 'Barlow', sans-serif !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  color: #dde3e9 !important;
  box-shadow: none !important;
}

.top-find-vehicle input.top-find-vehicle-input.top-find-vehicle-input--error {
  border-color: #e85d5d !important;
}

.top-find-vehicle-error {
  margin: 6px 0 0;
  padding: 0 2px;
  font-family: 'Barlow', sans-serif;
  font-size: 12px;
  line-height: 1.35;
  color: #e85d5d;
}

.top-find-vehicle-panel--vin .top-find-vehicle-error {
  grid-column: 1 / -1;
}

/* Beat external apa_autocomplete .search_query_adv { height:40px; line-height:40px; padding-right:65px } */
#block-olivero-subtheme-topfindyourvehicle .top-find-vehicle-panel--oem input.search_query_adv,
#block-olivero-subtheme-topfindyourvehicle .top-find-vehicle-panel--oem input.APAform-control,
.top-find-vehicle-panel--oem input.search_query_adv,
.top-find-vehicle-panel--oem input.APAform-control {
  height: 33px !important;
  max-height: 33px !important;
  line-height: 1.2 !important;
  padding: 9px !important;
  padding-right: 9px !important;
  align-self: center !important;
  flex: 1 1 0 !important;
}

.top-find-vehicle-panel--oem .top-find-vehicle-oem-input-wrap {
  display: flex;
  align-items: center;
  align-self: center;
  flex: 1;
  min-width: 0;
}

.top-find-vehicle input.top-find-vehicle-input::placeholder {
  color: #7d868f;
}

#block-olivero-subtheme-topfindyourvehicle .top-find-vehicle .top-find-vehicle-go,
.top-find-vehicle .top-find-vehicle-go {
  flex: 0 0 auto;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 9px 18px !important;
  box-sizing: border-box !important;
  line-height: 1.2 !important;
  background: #008080 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 3px !important;
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s;
  box-shadow: none !important;
}

.top-find-vehicle .top-find-vehicle-go:hover {
  background: #006666 !important;
}

.top-find-vehicle select.top-find-vehicle-select:disabled {
  opacity: 0.55;
}

@media (max-width: 1080px) {
  .top-find-vehicle-panels {
    grid-template-columns: 1fr;
  }

  .top-find-vehicle-panel--ymm .top-find-vehicle-fields {
    flex-wrap: wrap;
  }
}

@media (max-width: 520px) {
  .top-find-vehicle-inner {
    padding: 0 12px;
  }

  .top-find-vehicle-panel-body {
    flex-wrap: wrap;
  }

  .top-find-vehicle-fields {
    flex: 1 1 100%;
    grid-template-columns: 1fr 1fr;
  }

  .top-find-vehicle .top-find-vehicle-go {
    flex: 1 1 100%;
    width: 100%;
  }
}

/* ---- YMM selection bar — matches mockup .fitment-bar (search-results.html) ---- */
#block-olivero-subtheme-topfindyourvehicle .top-find-vehicle.top-find-vehicle--ymm-selection,
#block-olivero-subtheme-findyourvehicle .top-find-vehicle.top-find-vehicle--ymm-selection {
  padding: 0 !important;
  border-top: none !important;
  border-bottom: 2px solid #3d444b !important;
  background: #222831 !important;
}

#block-olivero-subtheme-topfindyourvehicle .top-find-vehicle--ymm-selection .top-find-vehicle-inner,
#block-olivero-subtheme-findyourvehicle .top-find-vehicle--ymm-selection .top-find-vehicle-inner {
  padding: 0 !important;
  max-width: none !important;
}

#block-olivero-subtheme-topfindyourvehicle .top-find-vehicle--ymm-selection .top-find-vehicle-search,
#block-olivero-subtheme-findyourvehicle .top-find-vehicle--ymm-selection .top-find-vehicle-search {
  display: none !important;
}

#block-olivero-subtheme-topfindyourvehicle .fitment-bar,
#block-olivero-subtheme-findyourvehicle .fitment-bar {
  display: none;
  background: #222831;
  border-bottom: none;
  padding: 10px 24px;
  align-items: center;
  gap: 0;
  font-size: 13px;
  font-family: 'Barlow', sans-serif;
  color: #ddd;
  width: 100%;
  box-sizing: border-box;
}

#block-olivero-subtheme-topfindyourvehicle .top-find-vehicle--ymm-selection .fitment-bar,
#block-olivero-subtheme-findyourvehicle .top-find-vehicle--ymm-selection .fitment-bar,
#block-olivero-subtheme-findyourvehicle .ymm-sticky-shell--selection .fitment-bar {
  display: flex !important;
}

#block-olivero-subtheme-findyourvehicle .ymm-sticky-shell--selection .ymm-sticky-search {
  display: none !important;
}

#block-olivero-subtheme-findyourvehicle .ymm-sticky-shell--editing .ymm-sticky-search {
  display: block !important;
}

#block-olivero-subtheme-findyourvehicle .ymm-sticky-shell--editing .fitment-bar {
  display: none !important;
}

.top-find-vehicle--editing .top-find-vehicle-search {
  display: block;
  width: 100%;
}

.top-find-vehicle--editing .fitment-bar {
  display: none !important;
}

.top-find-vehicle--editing .top-find-vehicle-panel--vin,
.top-find-vehicle--editing .top-find-vehicle-panel--oem {
  display: none;
}

.top-find-vehicle--editing .top-find-vehicle-panels {
  grid-template-columns: 1fr;
  width: 100%;
  max-width: none;
}

.top-find-vehicle--editing .top-find-vehicle-panel--ymm {
  width: 100%;
}

#block-olivero-subtheme-topfindyourvehicle .fitment-label,
#block-olivero-subtheme-findyourvehicle .fitment-label {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  font-style: normal !important;
  color: #008080 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  padding-right: 16px !important;
  border-right: 1px solid #3d444b !important;
  margin-right: 16px !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  background: transparent !important;
}

#block-olivero-subtheme-topfindyourvehicle .fitment-items,
#block-olivero-subtheme-findyourvehicle .fitment-items {
  display: flex !important;
  gap: 6px !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  flex: 1 !important;
  min-width: 0 !important;
  overflow-x: auto !important;
  background: transparent !important;
  scrollbar-width: thin;
  scrollbar-color: #008080 #222831;
}

#block-olivero-subtheme-topfindyourvehicle .fitment-chip,
#block-olivero-subtheme-findyourvehicle .fitment-chip {
  background: rgba(0, 128, 128, 0.1) !important;
  border: 1px solid #3d444b !important;
  border-radius: 2px !important;
  padding: 4px 10px !important;
  font-size: 12.5px !important;
  font-family: 'Barlow', sans-serif !important;
  font-style: normal !important;
  font-weight: 400 !important;
  color: #ddd !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
  line-height: 1.3 !important;
  box-shadow: none !important;
}

#block-olivero-subtheme-topfindyourvehicle .fitment-chip strong,
#block-olivero-subtheme-findyourvehicle .fitment-chip strong {
  color: #00a3a3 !important;
  font-weight: 700 !important;
  font-family: 'Barlow', sans-serif !important;
  font-style: normal !important;
}

#block-olivero-subtheme-topfindyourvehicle .fitment-sep,
#block-olivero-subtheme-findyourvehicle .fitment-sep,
.path-catalogue .catalogue-top-find-vehicle .fitment-sep,
#searchcatalog.catalog-mockup .catalogue-ymm-selection-shell .fitment-sep {
  display: none !important;
}

#block-olivero-subtheme-topfindyourvehicle .fitment-change,
#block-olivero-subtheme-findyourvehicle .fitment-change {
  -webkit-appearance: none !important;
  appearance: none !important;
  color: #008080 !important;
  background: transparent !important;
  text-decoration: none !important;
  font-family: 'Barlow', sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  font-style: normal !important;
  padding: 5px 14px !important;
  border: 1.5px solid #008080 !important;
  border-radius: 2px !important;
  transition: all 0.2s !important;
  white-space: nowrap !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  margin-left: auto !important;
  box-shadow: none !important;
  line-height: 1.2 !important;
}

#block-olivero-subtheme-topfindyourvehicle .fitment-change:hover,
#block-olivero-subtheme-findyourvehicle .fitment-change:hover {
  background: #008080 !important;
  color: #f0f2f4 !important;
  border-color: #008080 !important;
}

@media (max-width: 768px) {
  #block-olivero-subtheme-topfindyourvehicle .fitment-bar,
  #block-olivero-subtheme-findyourvehicle .fitment-bar {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    padding: 10px 16px !important;
  }

  #block-olivero-subtheme-topfindyourvehicle .fitment-label,
  #block-olivero-subtheme-findyourvehicle .fitment-label {
    border-right: none !important;
    margin-right: 0 !important;
    padding-right: 0 !important;
  }

  #block-olivero-subtheme-topfindyourvehicle .fitment-items,
  #block-olivero-subtheme-findyourvehicle .fitment-items {
    flex-wrap: wrap !important;
    overflow-x: visible !important;
    width: 100% !important;
  }

  #block-olivero-subtheme-topfindyourvehicle .fitment-sep,
  #block-olivero-subtheme-findyourvehicle .fitment-sep {
    display: none !important;
  }

  #block-olivero-subtheme-topfindyourvehicle .fitment-change,
  #block-olivero-subtheme-findyourvehicle .fitment-change {
    margin-left: 0 !important;
    width: 100% !important;
    text-align: center !important;
  }
}

/* Final overrides — beat global main.css select { min-width:100%; height:44px } */
#block-olivero-subtheme-topfindyourvehicle .top-find-vehicle-panel,
#block-olivero-subtheme-findyourvehicle .top-find-vehicle-panel {
  background: #1b1f23 !important;
  border: 1px solid #3d444b !important;
  border-top: 3px solid #008080 !important;
  border-radius: 6px !important;
  padding: 13px 14px !important;
}

#block-olivero-subtheme-topfindyourvehicle .top-find-vehicle-panel--ymm .top-find-vehicle-fields,
#block-olivero-subtheme-findyourvehicle .top-find-vehicle-panel--ymm .top-find-vehicle-fields {
  display: flex !important;
  flex: 1 !important;
  gap: 8px !important;
  align-items: center !important;
}

#block-olivero-subtheme-topfindyourvehicle .top-find-vehicle-panel--ymm .top-find-vehicle-fields select,
#block-olivero-subtheme-findyourvehicle .top-find-vehicle-panel--ymm .top-find-vehicle-fields select,
#block-olivero-subtheme-topfindyourvehicle .top-find-vehicle select.top-find-vehicle-select,
#block-olivero-subtheme-findyourvehicle .top-find-vehicle select.top-find-vehicle-select {
  min-width: 0 !important;
  width: auto !important;
  max-width: none !important;
  flex: 1 1 0 !important;
  background-color: #2a2f34 !important;
  border: 1px solid #3d444b !important;
}

/* Catalogue page — embedded Find My Parts + Your Selection bar */
.path-catalogue .catalogue-top-find-vehicle {
  width: 100%;
  background: #23282d;
  border-bottom: 1px solid #3d444b;
}

.path-catalogue .catalogue-top-find-vehicle .top-find-vehicle {
  background: #23282d !important;
  border-top: none !important;
  border-bottom: none;
  padding: 16px 24px !important;
  width: 100% !important;
}

.path-catalogue .catalogue-top-find-vehicle .top-find-vehicle-inner {
  max-width: 1320px !important;
  margin: 0 auto;
  padding: 0 !important;
}

.path-catalogue .catalogue-top-find-vehicle .top-find-vehicle-panels {
  display: grid !important;
  grid-template-columns: 2fr 1fr 1fr !important;
  gap: 14px !important;
}

.path-catalogue .catalogue-top-find-vehicle .top-find-vehicle.top-find-vehicle--ymm-selection {
  padding: 0 !important;
  border-bottom: 2px solid #008080 !important;
  background: #222831 !important;
}

.path-catalogue .catalogue-top-find-vehicle .top-find-vehicle--ymm-selection .top-find-vehicle-inner {
  max-width: none !important;
  padding: 0 !important;
}

.path-catalogue .catalogue-top-find-vehicle .top-find-vehicle--ymm-selection .top-find-vehicle-search {
  display: none !important;
}

.path-catalogue .catalogue-top-find-vehicle .top-find-vehicle--ymm-selection .fitment-bar {
  display: flex !important;
}

.path-catalogue .catalogue-top-find-vehicle .top-find-vehicle--editing .top-find-vehicle-search {
  display: block !important;
  width: 100%;
}

.path-catalogue .catalogue-top-find-vehicle .top-find-vehicle--editing .top-find-vehicle-panel--vin,
.path-catalogue .catalogue-top-find-vehicle .top-find-vehicle--editing .top-find-vehicle-panel--oem {
  display: block !important;
}

.path-catalogue .catalogue-top-find-vehicle .top-find-vehicle--editing .top-find-vehicle-panels {
  grid-template-columns: 2fr 1fr 1fr !important;
}

.path-catalogue .catalogue-top-find-vehicle .fitment-bar {
  display: none;
  background: #222831;
  border-bottom: none;
  padding: 10px 24px;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.path-catalogue .catalogue-top-find-vehicle .fitment-label,
.path-catalogue .catalogue-top-find-vehicle .fitment-items,
.path-catalogue .catalogue-top-find-vehicle .fitment-chip,
.path-catalogue .catalogue-top-find-vehicle .fitment-chip strong,
.path-catalogue .catalogue-top-find-vehicle .fitment-sep,
.path-catalogue .catalogue-top-find-vehicle .fitment-change {
  /* Inherit shared fitment-bar rules from selectors above when combined with block ids */
}

.path-catalogue .catalogue-top-find-vehicle .fitment-label {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  color: #008080 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  padding-right: 16px !important;
  border-right: 1px solid #3d444b !important;
  margin-right: 16px !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.path-catalogue .catalogue-top-find-vehicle .fitment-items {
  display: flex !important;
  gap: 6px !important;
  align-items: center !important;
  flex: 1 !important;
  min-width: 0 !important;
  overflow-x: auto !important;
}

.path-catalogue .catalogue-top-find-vehicle .fitment-chip {
  background: rgba(0, 128, 128, 0.1) !important;
  border: 1px solid #3d444b !important;
  border-radius: 2px !important;
  padding: 4px 10px !important;
  font-size: 12.5px !important;
  color: #ddd !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}

.path-catalogue .catalogue-top-find-vehicle .fitment-chip strong {
  color: #00a3a3 !important;
  font-weight: 700 !important;
}

.path-catalogue .catalogue-top-find-vehicle .fitment-change {
  color: #008080 !important;
  background: transparent !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  padding: 5px 14px !important;
  border: 1.5px solid #008080 !important;
  border-radius: 2px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  margin-left: auto !important;
}

.path-catalogue .catalogue-top-find-vehicle .fitment-change:hover {
  background: #008080 !important;
  color: #f0f2f4 !important;
}

/* Responsive — catalogue embed must override desktop grid !important above */
@media (max-width: 1080px) {
  .catalogue-top-find-vehicle .top-find-vehicle-panels,
  .path-catalogue .catalogue-top-find-vehicle .top-find-vehicle-panels,
  #block-olivero-subtheme-topfindyourvehicle .top-find-vehicle-panels {
    grid-template-columns: 1fr !important;
  }

  .catalogue-top-find-vehicle .top-find-vehicle-panel--ymm .top-find-vehicle-fields,
  .path-catalogue .catalogue-top-find-vehicle .top-find-vehicle-panel--ymm .top-find-vehicle-fields {
    flex-wrap: wrap !important;
  }

  .catalogue-top-find-vehicle .top-find-vehicle--editing .top-find-vehicle-panels,
  .path-catalogue .catalogue-top-find-vehicle .top-find-vehicle--editing .top-find-vehicle-panels {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 520px) {
  .catalogue-top-find-vehicle .top-find-vehicle,
  .path-catalogue .catalogue-top-find-vehicle .top-find-vehicle,
  #block-olivero-subtheme-topfindyourvehicle .top-find-vehicle {
    padding: 16px 12px !important;
  }

  .catalogue-top-find-vehicle .top-find-vehicle-inner,
  .path-catalogue .catalogue-top-find-vehicle .top-find-vehicle-inner,
  #block-olivero-subtheme-topfindyourvehicle .top-find-vehicle-inner {
    padding: 0 12px !important;
  }

  .catalogue-top-find-vehicle .top-find-vehicle-panel-body,
  .path-catalogue .catalogue-top-find-vehicle .top-find-vehicle-panel-body,
  #block-olivero-subtheme-topfindyourvehicle .top-find-vehicle-panel-body {
    flex-wrap: wrap !important;
  }

  .catalogue-top-find-vehicle .top-find-vehicle-fields,
  .path-catalogue .catalogue-top-find-vehicle .top-find-vehicle-fields,
  #block-olivero-subtheme-topfindyourvehicle .top-find-vehicle-fields {
    flex: 1 1 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  .catalogue-top-find-vehicle .top-find-vehicle-panel--ymm .top-find-vehicle-fields > select,
  .path-catalogue .catalogue-top-find-vehicle .top-find-vehicle-panel--ymm .top-find-vehicle-fields > select,
  .catalogue-top-find-vehicle .top-find-vehicle-panel--ymm .top-find-vehicle-submodel-wrap,
  .path-catalogue .catalogue-top-find-vehicle .top-find-vehicle-panel--ymm .top-find-vehicle-submodel-wrap,
  #block-olivero-subtheme-topfindyourvehicle .top-find-vehicle-panel--ymm .top-find-vehicle-fields > select,
  #block-olivero-subtheme-topfindyourvehicle .top-find-vehicle-panel--ymm .top-find-vehicle-submodel-wrap {
    flex: 1 1 auto !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .catalogue-top-find-vehicle .top-find-vehicle .top-find-vehicle-go,
  .path-catalogue .catalogue-top-find-vehicle .top-find-vehicle .top-find-vehicle-go,
  #block-olivero-subtheme-topfindyourvehicle .top-find-vehicle .top-find-vehicle-go {
    flex: 1 1 100% !important;
    width: 100% !important;
  }
}

@media (max-width: 768px) {
  .catalogue-top-find-vehicle .fitment-bar,
  .path-catalogue .catalogue-top-find-vehicle .fitment-bar {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    padding: 10px 16px !important;
  }

  .catalogue-top-find-vehicle .fitment-label,
  .path-catalogue .catalogue-top-find-vehicle .fitment-label {
    border-right: none !important;
    margin-right: 0 !important;
    padding-right: 0 !important;
  }

  .catalogue-top-find-vehicle .fitment-items,
  .path-catalogue .catalogue-top-find-vehicle .fitment-items {
    flex-wrap: wrap !important;
    overflow-x: visible !important;
    width: 100% !important;
  }

  .catalogue-top-find-vehicle .fitment-change,
  .path-catalogue .catalogue-top-find-vehicle .fitment-change {
    margin-left: 0 !important;
    width: 100% !important;
    text-align: center !important;
  }
}
