/* Keep vehicle tools beside the list while the desktop viewport has room. */
@media (min-width: 1000px) and (min-height: 640px) {
  body .hf8-page .hf8-layout > .hf8-filter {
    position: sticky !important;
    align-self: start;
    inset-block-start: calc(136px + var(--wp-admin--admin-bar--height, 0px)) !important;
    max-block-size: calc(100dvh - 136px - var(--wp-admin--admin-bar--height, 0px) - 1rem);
    overflow-y: auto;
    overscroll-behavior-y: auto;
    scrollbar-width: thin;
  }
}
@media (min-width: 1100px) {
  .results-drawer.p114-results-focused:has(> .shell > .p114-result-filters) {overflow:clip !important}
  .results-drawer .shell:has(> .p114-result-filters):has(> .vehicle-results > .vehicle-option) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(15rem, 30%);
    grid-template-areas: "intro intro" "title title" "route route" "guidance guidance" "toolbar toolbar" "list choices" "feedback feedback" "empty empty";
    gap: 1rem;
    align-items: start;
  }
  .results-drawer .shell > .p114-result-head {grid-area: intro}
  .results-drawer .shell > .results-head {grid-area: title}
  .results-drawer .shell > .results-summary-bar {grid-area: route}
  .results-drawer .shell > .results-guidance {grid-area: guidance}
  .results-drawer .shell > .results-toolbar {grid-area: toolbar}
  .results-drawer .shell > .p114-result-filters {grid-area: choices;grid-template-columns: minmax(0,1fr);min-inline-size:0}
  .results-drawer .shell > .vehicle-results {grid-area:list; min-inline-size:0}
  .results-drawer .shell > .p114-results-feedback {grid-area:feedback}
  .results-drawer .shell > .vehicle-results-empty {grid-area:empty}
}
@media (min-width: 1100px) and (min-height: 640px) {
  body .results-drawer .shell > .p114-result-filters {
    position: sticky !important;
    align-self: start;
    inset-block-start: calc(136px + var(--wp-admin--admin-bar--height, 0px)) !important;
    max-block-size: calc(100dvh - 136px - var(--wp-admin--admin-bar--height, 0px) - 1rem);
    overflow-y: auto;
    overscroll-behavior-y: auto;
    scrollbar-width: thin;
  }
}
@media (max-height: 639px) {
  body .hf8-page .hf8-layout > .hf8-filter,
  body .results-drawer .shell > .p114-result-filters {
    position: static !important;
    inset-block-start: auto !important;
    max-block-size: none !important;
    overflow: visible;
  }
}

@media (min-width:1000px) {
  .article-body .hut-fleet-models, :is(article,.p114-content):has(+ aside) .hut-fleet-models {
    display:grid!important;grid-auto-flow:column!important;grid-template-columns:none!important;
    grid-auto-columns:minmax(215px,calc((100% - 32px)/3))!important;gap:16px!important;
    overflow-x:auto!important;scroll-snap-type:x proximity;
  }
  .article-body .hut-fleet-model {width:auto!important;max-width:none!important;scroll-snap-align:start}
  .vehicle-results .quote-card {container-type:inline-size}
  @container (max-width: 510px) {
    .vehicle-results .quote-card > .quote-price {width:100%!important;max-width:none!important;min-width:0!important;box-sizing:border-box;align-self:stretch!important;justify-self:stretch!important;grid-column:1/-1;margin:0!important;padding:16px 0 0!important;border-inline-start:0!important}
    .vehicle-results .quote-card > .quote-price .quote-add {width:100%;min-height:44px}
  }
}
