/* Selected vehicle at the top of each individual product, including Divi layouts. */
body.single-product .trs-vf-product-vehicle-bar {
  box-sizing: border-box; width: 90%; max-width: none; margin: 0 auto;
  color: #2a3547; font-family: 'Open Sans', Arial, sans-serif;
  container: trs-product-vehicle / inline-size;
}
body.single-product .trs-vf-product-vehicle-bar *, body.single-product .trs-vf-product-vehicle-bar *::before,
body.single-product .trs-vf-product-vehicle-bar *::after { box-sizing: border-box; }
body.single-product .trs-vf-product-vehicle-summary {
  display: grid; grid-template-columns: 128px minmax(0, 1fr) auto;
  align-items: center; gap: 14px; width: 100%; min-width: 0; padding: 12px;
  border: 1px solid #d4dfec !important; border-radius: 7px;
  background: linear-gradient(#fbfcfe, #f5f8fc);
}
/* Match the Shop summary's typography, image, padding and action dimensions. */
body.single-product .trs-vf-product-vehicle-image { display: block; width: 128px; height: 74px; min-width: 0; object-fit: contain; }
body.single-product .trs-vf-product-vehicle-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
body.single-product .trs-vf-product-vehicle-copy strong { display: block; color: #2a3547; font: 700 14px/1.45 'Open Sans', Arial, sans-serif; white-space: normal; overflow-wrap: anywhere; }
body.single-product .trs-vf-product-vehicle-copy > span:last-child { display: block; color: #5e6e85; font: 400 11px/1.5 'Open Sans', Arial, sans-serif; }
body.single-product .trs-vf-product-vehicle-label { display: inline-flex; align-items: center; gap: 8px; color: #53657f; font: 800 9px/1.4 'Open Sans', Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
body.single-product .trs-vf-product-vehicle-label::before { content: ''; display: block; width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: #11805e; box-shadow: 0 0 0 3px #e7f4ef; }
body.single-product .trs-vf-product-vehicle-actions { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 6px; width: 260px; max-width: 100%; min-width: 0; }
body.single-product .trs-vf-product-vehicle-actions button { appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-width: 0; max-width: 100%; min-height: 40px; margin: 0; padding: 8px 10px; border: 1px solid #9eafc6 !important; border-radius: 5px; background: #fff; box-shadow: none; color: #2a3547; font: 400 15px/1.3 'Bayon', Impact, sans-serif; letter-spacing: 0; white-space: normal; cursor: pointer; text-align: center; }
body.single-product .trs-vf-product-vehicle-actions button::after { display: none; content: none; }
body.single-product .trs-vf-product-vehicle-actions button:hover { background: #edf4fb; }
body.single-product .trs-vf-product-vehicle-actions .trs-vf-product-vehicle-clear { flex: 0 0 auto; align-self: stretch; border-color: #d1232a !important; background: #fff3f3; color: #b41e24; text-decoration: none; }
body.single-product .trs-vf-product-vehicle-actions .trs-vf-product-vehicle-clear::before {
  content: ''; display: block; position: static; width: 12px; height: 12px; flex: 0 0 12px; margin: 0; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m5 5 10 10M15 5 5 15'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m5 5 10 10M15 5 5 15'/%3E%3C/svg%3E") center / contain no-repeat;
}
body.single-product .trs-vf-product-vehicle-actions .trs-vf-product-vehicle-clear:hover,
body.single-product .trs-vf-product-vehicle-actions .trs-vf-product-vehicle-clear:focus-visible { color: #fff; background: #d1232a; }
body.single-product .trs-vf-product-vehicle-actions button:disabled { cursor: progress; opacity: .65; }
body.single-product .trs-vf-product-vehicle-actions .trs-vf-product-vehicle-open { gap: 8px; padding: 5px 10px; }
body.single-product .trs-vf-product-vehicle-open img { width: 48px; height: 28px; flex: 0 0 48px; object-fit: contain; }
body.single-product .trs-vf-product-vehicle-picker[hidden] { display: none !important; }
body.single-product .trs-vf-product-vehicle-picker { width: 100%; max-width: none; margin: 8px 0 0; padding: 14px 16px; border: 1px solid #d4dfec; border-radius: 9px; background: #fff; box-shadow: 0 8px 28px #253b571c; }
body.single-product .trs-vf-product-vehicle-picker .trs-vf-finder { width: 100%; max-width: none; }
/* The existing finder uses container queries: on a wide product page its
   Year/Make/Model/Trim/Engine and actions share a horizontal row. */
@media (min-width: 1180px) {
  body.single-product .trs-vf-product-vehicle-picker .trs-vf-has-make .trs-vf-fields { grid-template-columns: minmax(74px,.6fr) minmax(95px,.8fr) repeat(3,minmax(100px,1fr)) minmax(110px,.85fr) minmax(140px,1fr); align-items: end; }
  body.single-product .trs-vf-product-vehicle-picker .trs-vf-no-make .trs-vf-fields { grid-template-columns: minmax(74px,.6fr) repeat(3,minmax(105px,1fr)) minmax(110px,.85fr) minmax(140px,1fr); align-items: end; }
  body.single-product .trs-vf-product-vehicle-picker .trs-vf-submit { grid-column: auto; }
}
body.single-product .trs-vf-product-picker-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
body.single-product .trs-vf-product-picker-heading strong { font: 400 24px/1.2 'Bayon', Impact, sans-serif; }
body.single-product .trs-vf-product-vehicle-close { width: 36px; height: 36px; border: 0; border-radius: 5px; background: #f4f6f9; color: #44536a; font: 25px/1 Arial, sans-serif; cursor: pointer; }
body.single-product .trs-vf-product-vehicle-bar :is(button, a, input, select):focus-visible { outline: 3px solid #38689e; outline-offset: 2px; }
@container trs-product-vehicle (max-width: 799px) {
  body.single-product .trs-vf-product-vehicle-summary { grid-template-columns: 100px minmax(0, 1fr); gap: 10px; }
  body.single-product .trs-vf-product-vehicle-image { width: 100px; height: 66px; }
  body.single-product .trs-vf-product-vehicle-actions { grid-column: 1 / -1; width: 100%; max-width: none; }
}
@media (min-width: 601px) and (max-width: 980.99px) {
  body.single-product .trs-vf-product-vehicle-summary { grid-template-columns: 100px minmax(0, 1fr); gap: 10px; }
  body.single-product .trs-vf-product-vehicle-image { width: 100px; height: 66px; }
  body.single-product .trs-vf-product-vehicle-actions { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; max-width: none; gap: 8px; }
  body.single-product .trs-vf-product-vehicle-actions:has(.trs-vf-product-vehicle-clear) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  body.single-product .trs-vf-product-vehicle-bar { width: 94%; margin: 0 auto; }
  body.single-product .trs-vf-product-vehicle-summary { grid-template-columns: 100px minmax(0, 1fr); gap: 10px; }
  body.single-product .trs-vf-product-vehicle-image { width: 100px; height: 66px; }
  body.single-product .trs-vf-product-vehicle-actions { grid-column: 1 / -1; width: 100%; max-width: none; }
  body.single-product .trs-vf-product-vehicle-picker { padding: 15px; }
}
@container trs-product-vehicle (max-width: 430px) {
  body.single-product .trs-vf-product-vehicle-summary { grid-template-columns: 76px minmax(0, 1fr); padding: 10px; }
  body.single-product .trs-vf-product-vehicle-image { width: 76px; height: 52px; }
  body.single-product .trs-vf-product-vehicle-copy strong { font-size: 12px; }
  body.single-product .trs-vf-product-vehicle-copy > span:last-child { font-size: 10px; }
  body.single-product .trs-vf-product-vehicle-actions .trs-vf-product-vehicle-open { padding: 5px 8px; }
}
body.single-product #page-container #et-boc .et-l .et_pb_section.trs-vf-has-product-vehicle {
  padding-top: 12px !important; padding-bottom: 24px !important; row-gap: 12px !important;
}
body.single-product .trs-vf-product-vehicle-picker .trs-vf-finder,
body.single-product .trs-vf-product-vehicle-picker .trs-vf-editor { margin: 0 !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; }
body.single-product .trs-vf-product-vehicle-picker .trs-vf-responsive-panel { margin-top: 0 !important; }
