body.home #solo-discovery[hidden],
#solo-home-entry [hidden],
#solo-home-category-shortcuts [hidden] { display: none !important; }

#solo-home-entry {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    margin: 16px 0 0;
    overflow: hidden;
    padding-inline: 0;
    color: #252525;
}
#solo-home-entry .solo-home-entry-copy {
    min-width: 0;
    padding: 16px 20px;
}
#solo-home-entry h2 { margin: 0 0 10px; font-size: clamp(22px, 2.5vw, 28px); line-height: 1.22; }
#solo-home-entry p { margin: 0 0 5px; }
#solo-home-entry .solo-home-entry-copy { align-self: start; }
#solo-home-entry:not([data-saved]) #solo-home-picker .solo-home-entry-actions { display: none; }
#solo-home-entry [data-home-history-section] { min-width: 0; padding: 16px 20px; }
#solo-home-entry[data-saved]:not([data-editing]) [data-home-history-section] { display: none; }
#solo-home-entry .solo-home-browse-links { display: flex; flex-wrap: wrap; gap: 0 16px; margin-top: 4px; }
#solo-home-entry .solo-home-browse-links a { display: inline-flex; align-items: center; min-height: 44px; }
#solo-home-entry[data-saved] .solo-home-browse-links { display: none; }
#shop-by-category { scroll-margin-top: 100px; }
@media (min-width: 768px) {
    #solo-home-entry:not([data-saved], [data-editing]):has([data-home-history-section]:not([hidden])),
    #solo-home-entry[data-editing]:has([data-home-history-section]:not([hidden])) {
        grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr);
    }
}
#solo-home-entry [data-home-history] { display: grid; justify-items: start; }
#solo-home-entry [data-home-history] a {
    display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; overflow-wrap: anywhere;
}
#solo-home-entry figure { float: right; width: 24%; max-width: 128px; margin: 0 0 8px 8px; }
#solo-home-entry figure img { display: block; width: 100%; height: auto; max-height: 90px; object-fit: contain; }
#solo-home-entry[data-saved] #solo-home-picker { margin-top: 18px; }
#solo-home-entry .solo-home-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
#solo-home-entry .solo-home-fields label {
    flex: 1 1 150px;
    min-width: 0;
    max-width: 320px;
    margin: 0;
    font-weight: normal;
}
#solo-home-entry .solo-home-fields select { width: 100%; }
@media (max-width: 767px) {
    #solo-home-entry .solo-home-fields { display: grid; grid-template-columns: minmax(0, 1fr); }
    #solo-home-entry .solo-home-fields label { max-width: none; }
}
#solo-home-entry .solo-home-entry-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; }
#solo-home-entry .solo-home-entry-actions :is(a,button), #solo-home-category-shortcuts a[data-home-recent] { display: inline-flex; align-items: center; min-height: 44px; }
#solo-home-entry .solo-home-entry-actions button { padding: 0; background: transparent; border: 0; color: #4267b2; text-decoration: underline; font: inherit; }
#solo-home-entry a:not(.solo-home-entry-primary), #solo-home-category-shortcuts .solo-home-category-links a, #solo-home-category-shortcuts .solo-home-category-browse a { color: #4267b2; text-decoration: underline; text-underline-offset: 2px; }
#solo-home-entry .solo-home-entry-actions :is(a:not(.solo-home-entry-primary),button):hover,
#solo-home-category-shortcuts :is(.solo-home-category-links,.solo-home-category-browse) a:hover { color: #31528f; }
#solo-home-entry .solo-home-entry-primary { color: white; background: #4267b2; font-weight: 700; text-decoration: none; padding: 6px 14px; border-radius: 4px; }
#solo-home-entry .solo-home-entry-primary:hover { background: #31528f; }
@media (min-width: 992px) {
    #solo-home-entry[data-saved]:not([data-editing]) .solo-home-entry-copy {
        display: flex;
        align-items: center;
        gap: clamp(8px, 1.2vw, 18px);
    }
    #solo-home-entry[data-saved]:not([data-editing]) [data-home-saved] {
        flex: 1;
        display: grid;
        grid-template-columns: auto auto auto;
        align-items: center;
        justify-content: start;
        gap: 0 8px;
    }
    #solo-home-entry[data-saved]:not([data-editing]) .solo-home-vehicle-label {
        grid-column: 1 / -1;
        margin: 0;
    }
    #solo-home-entry[data-saved]:not([data-editing]) :is([data-home-name], [data-home-years]) {
        margin: 0;
    }
    #solo-home-entry[data-saved]:not([data-editing]) [data-home-name] {
        font-size: clamp(20px, 2vw, 28px);
    }
    #solo-home-entry[data-saved]:not([data-editing]) .solo-home-entry-actions {
        flex-wrap: nowrap;
        margin: 0 0 0 clamp(4px, 1vw, 16px);
    }
    #solo-home-entry[data-saved]:not([data-editing]) figure {
        order: 1;
        flex: 0 1 80px;
        min-width: 44px;
        margin: 0;
    }
}
#solo-home-entry :focus-visible { outline: 2px solid #4267b2; outline-offset: 2px; }
#solo-home-category-shortcuts .solo-home-category-links > li > a {
    display: flex; flex-direction: column; align-items: center;
    padding-block: 12px 4px;
}
#solo-home-category-shortcuts .solo-home-category-links .solo-home-category-icon {
    inline-size: 44px; block-size: 44px; aspect-ratio: 1; object-fit: contain;
}
#solo-home-category-shortcuts .solo-home-category-links > li > a:focus-visible {
    outline: 2px solid #4267b2; outline-offset: -2px;
}
#solo-home-category-shortcuts .solo-home-category-browse { display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; }
body.home #solo-home-category-shortcuts { margin-block-start: 0; }
#content #solo-home-category-shortcuts > .solo-home-featured-divider {
    width: 100%;
    margin: 8px 0;
    --solo-section-ink: #d1d1d1;
}
#solo-home-category-shortcuts [data-vehicle-products] .solo-home-category-browse { margin: 4px 0 0; padding: 0; border: 0; }
#solo-home-category-shortcuts [data-home-product-status]:empty { display: none; }
#solo-home-category-shortcuts [data-home-product-status]:has(+ [aria-busy=true]) {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%);
}
#solo-home-category-shortcuts :is(.solo-home-featured .solo-product-grid, [data-catalog-categories] .solo-home-product-grid) {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
@media (min-width: 1200px) {
    #solo-home-category-shortcuts :is(.solo-home-featured .solo-product-grid, [data-catalog-categories] .solo-home-product-grid),
    #solo-home-sale-products .solo-home-curated-sale .solo-product-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 12px;
    }
}
@media (width < 1200px) {
    #solo-home-category-shortcuts .solo-home-featured .solo-product-grid > .product:nth-child(n+5),
    #solo-home-sale-products .solo-home-curated-sale .solo-product-grid > .product:nth-child(n+5) { display: none; }
}
#solo-home-category-shortcuts .solo-home-product-grid > li > a { height: 100%; text-decoration: none; }
#solo-home-category-shortcuts .solo-home-product-grid .solo-tile-title {
    padding: 8px 10px; text-align: center; color: #333; font-size: 18px; line-height: 1.35; font-weight: 600;
}
#solo-home-category-shortcuts .solo-home-product-grid a:hover .solo-tile-title { text-decoration: underline; }
#solo-home-category-shortcuts [data-product-links][aria-busy=true] { visibility: hidden; }
@media (max-width: 767px) {
    #solo-home-entry [data-home-saved] .solo-home-entry-actions { clear: both; }
    #solo-home-entry [data-home-shop] { flex: 1 0 100%; justify-content: center; }
    #solo-home-entry [data-home-history-section] { margin-inline: 20px; padding: 12px 0 16px; border-top: 1px solid #d1d1d1; }
    #solo-home-category-shortcuts :is(.solo-home-featured .solo-product-grid, [data-catalog-categories] .solo-home-product-grid) {
        grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
    }

}

/* Both original banners are 2000 × 440. The short desktop crop leaves room
   for the taller truck. Reserve the same space before the slideshow starts. */
.home #imageslider {
    width: 100%;
    max-width: none;
    padding: 0;
    container-type: inline-size;
}
#kt_slider_home {
    --race-height: clamp(min(22cqw, 106px), 15.5cqw, 310px);
    height: var(--race-height);
    overflow: hidden;
    background: transparent;
}
#kt_slider_home .kt-slick-slide,
#kt_slider_home .kt-slick-slide img {
    height: var(--race-height);
}
#kt_slider_home .kt-slick-slide { position: relative; }
#kt_slider_home:not(.slick-initialized) > .kt-slick-slide ~ .kt-slick-slide,
#kt_slider_home .slick-arrow,
#kt_slider_home .slick-dots { display: none !important; }
#kt_slider_home .kt-slick-slide img {
    display: block;
    width: 100%;
    object-fit: cover;
    object-position: center;
}
#kt_slider_home img[src*="norra-valley"] { object-position: center bottom; }

/* Match the heading map's viewport position through the category tile fill. */
@media screen and (prefers-reduced-motion: no-preference) and (forced-colors: none) {
    body.home #solo-home-category-shortcuts .solo-home-category-links > li > a {
        --solo-category-map-tint: rgb(246 247 244 / 80%);
        isolation: isolate;
        clip-path: inset(0 round var(--solo-photo-radius, 3px));
    }

    body.home #solo-home-category-shortcuts .solo-home-category-links > li > a::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: -1;
        pointer-events: none;
        background: linear-gradient(var(--solo-category-map-tint), var(--solo-category-map-tint)),
            var(--solo-map-image) var(--solo-map-position) / cover no-repeat #edf0ec;
    }
}

@media screen and (hover: hover) and (prefers-reduced-motion: no-preference) and (forced-colors: none) {
    body.home #solo-home-category-shortcuts .solo-home-category-links > li > a:hover {
        --solo-category-map-tint: rgb(237 242 251 / 80%);
    }
}
