/* Home motorcycle showcase: all rules are scoped to this section. */
#motorcycleShowcase {
    --ms-green: #579e40;
    --ms-ink: #141816;
    color: var(--ms-ink);
    background: radial-gradient(ellipse at 54% 34%, #dce9d2 0, transparent 32%), radial-gradient(ellipse at 100% 100%, #f5f4d5 0, transparent 36%), radial-gradient(ellipse at 0 0, #e4eddd 0, transparent 30%), #f6f7f4;
    padding: 105px 0 72px;
    font-family: 'Jost', sans-serif;
}
#motorcycleShowcase *, #motorcycleShowcase *::before, #motorcycleShowcase *::after { box-sizing: border-box; }
#motorcycleShowcase [hidden] { display: none !important; }
#motorcycleShowcase .ms-shell { max-width: 1680px; width: min(88%, 1680px); margin: auto; position: relative; }
#motorcycleShowcase .ms-slider { overflow: hidden; min-width: 0; }
#motorcycleShowcase .ms-slider:not(.swiper-initialized) .ms-slide:not(:first-child) { display: none; }
#motorcycleShowcase .ms-slider:not(.swiper-initialized) .swiper-wrapper { transform: none; }
#motorcycleShowcase .ms-slide { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.85fr) minmax(0, .82fr); align-items: center; gap: 28px; height: auto; min-height: 390px; padding: 8px 0 16px; }
#motorcycleShowcase .ms-copy { min-width: 0; }
#motorcycleShowcase .ms-edition { color: #387a26; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; font-weight: 500; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
#motorcycleShowcase .ms-edition::before { content: ''; width: 9px; height: 9px; flex: 0 0 9px; border-radius: 2px; background: var(--ms-green); }
#motorcycleShowcase .ms-name { font-family: 'Prompt', 'Jost', sans-serif; font-size: clamp(36px, 4vw, 76px); font-weight: 600; line-height: 1.08; letter-spacing: -.045em; text-align: left; color: #090b09; margin: 0; text-transform: none; overflow-wrap: anywhere; }
#motorcycleShowcase .ms-capacity { font-family: 'Dancing Script', cursive; font-size: clamp(30px, 3vw, 46px); color: #438c2d; line-height: 1.2; margin: 8px 0 14px; }
#motorcycleShowcase .ms-description { font-size: 15px; line-height: 1.55; margin: 0 0 25px; color: #303531; }
#motorcycleShowcase .ms-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; }
#motorcycleShowcase .ms-rate strong { font-size: 34px; line-height: 1; color: #090b09; font-weight: 600; }
#motorcycleShowcase .ms-rate span { font-size: 13px; color: #4d5d6d; }
#motorcycleShowcase .ms-rate small { display: block; font-size: 13px; color: #4d5d6d; min-height: 19px; }
#motorcycleShowcase .ms-book { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 26px; background: #f2e900; color: #171717; font-size: 17px; font-weight: 600; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
#motorcycleShowcase .ms-book:hover { background: #ddd500; color: #171717; }
#motorcycleShowcase .ms-visual { min-width: 0; position: relative; display: grid; place-items: center; aspect-ratio: 1.36; padding: 10px 38px; }
#motorcycleShowcase .ms-bike { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: normal; user-select: none; -webkit-user-drag: none; }
#motorcycleShowcase .ms-specs { display: grid; gap: 11px; margin: 0; min-width: 0; }
#motorcycleShowcase .ms-spec { display: flex; gap: 10px; align-items: center; min-height: 65px; padding: 11px 13px;  border: 1px solid #d5d9d3; border-radius: 12px; box-shadow: 0 2px 3px #17221a10; min-width: 0; }
#motorcycleShowcase .ms-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; background: #292c2a; border-radius: 10px; }
#motorcycleShowcase .ms-icon img { display: block; object-fit: contain; filter: brightness(0) saturate(100%) invert(92%) sepia(99%) saturate(2050%) hue-rotate(1deg) brightness(104%); }
#motorcycleShowcase .ms-spec dt { font-size: 10px; line-height: 1.2; text-transform: uppercase; color: #536273; font-weight: 500; margin-bottom: 3px; }
#motorcycleShowcase .ms-spec dd { font-size: 14px; line-height: 1.25; font-weight: 600; margin: 0; overflow-wrap: anywhere; }
#motorcycleShowcase .ms-arrow { position: absolute; top: 43%; transform: translateY(-50%); width: 46px; height: 46px; border: 1px solid #e4e8e1; border-radius: 50%;  color: #1b241c; box-shadow: 0 5px 12px #17221a13; display: grid; place-items: center; z-index: 3; }
#motorcycleShowcase .ms-prev { left: 29%; }
#motorcycleShowcase .ms-next { right: 24%; }
#motorcycleShowcase .ms-arrow:hover { background: #e9f0e2; }
#motorcycleShowcase .ms-dots { position: absolute; left: 0; bottom: 66px; display: flex; gap: 8px; align-items: center; z-index: 3; }
#motorcycleShowcase .ms-dot { border: 0; padding: 0; width: 12px; height: 28px; background: transparent; position: relative; }
#motorcycleShowcase .ms-dot::after { content: ''; position: absolute; height: 6px; border-radius: 6px; background: #bfc6bd; left: 0; right: 0; top: 11px; }
#motorcycleShowcase .ms-dot[aria-pressed='true'] { width: 30px; }
#motorcycleShowcase .ms-dot[aria-pressed='true']::after { background: var(--ms-green); }
#motorcycleShowcase .ms-selectors { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; width: min(52%, 650px); margin: 8px 0 0 34%; }
#motorcycleShowcase .ms-choice { display: flex; align-items: center; gap: 9px; text-align: left; min-width: 0; min-height: 60px; padding: 10px; border-radius: 12px; border: 1px solid #e0e4df; background: #ffffffcc; color: #283647; box-shadow: 0 2px 3px #17221a0a; }
#motorcycleShowcase .ms-choice[aria-pressed='true'] { border-color: #389a28; box-shadow: inset 0 0 0 1px #389a28; background: #eaf1e9; color: #17212b; }
#motorcycleShowcase .ms-number { display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 32px; background: #f0f2ef; border-radius: 8px; font-size: 13px; font-weight: 600; }
#motorcycleShowcase .ms-choice[aria-pressed='true'] .ms-number {  color: #347c27; }
#motorcycleShowcase .ms-choice-copy { min-width: 0; }
#motorcycleShowcase .ms-choice strong, #motorcycleShowcase .ms-choice small { display: block; line-height: 1.25; overflow-wrap: anywhere; }
#motorcycleShowcase .ms-choice strong { font-size: 14px; font-weight: 600; }
#motorcycleShowcase .ms-choice small { font-size: 12px; }
#motorcycleShowcase .ms-choice[aria-pressed='true'] small { color: #287a47; }
#motorcycleShowcase :is(button, a):focus-visible { outline: 3px solid #225d34; outline-offset: 3px; }
@media (max-width: 1199px) {
    #motorcycleShowcase .ms-shell { width: 92%; }
    #motorcycleShowcase .ms-slide { gap: 18px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr) minmax(0, .9fr); }
    #motorcycleShowcase .ms-spec { padding: 8px; gap: 7px; }
    #motorcycleShowcase .ms-icon { width: 34px; height: 34px; flex-basis: 34px; }
    #motorcycleShowcase .ms-selectors { width: 65%; margin-left: 30%; }
    #motorcycleShowcase .ms-dots { bottom: 68px; }
}
@media (max-width: 991px) {
    #motorcycleShowcase { padding: 85px 0 42px; }
    #motorcycleShowcase .ms-slide { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px; min-height: 0; }
    #motorcycleShowcase .ms-specs { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #motorcycleShowcase .ms-visual { padding: 10px 18px; }
    #motorcycleShowcase .ms-controls { display: flex; justify-content: space-between; margin: 8px 0; }
    #motorcycleShowcase .ms-arrow { position: static; transform: none; }
    #motorcycleShowcase .ms-dots { bottom: 88px; left: 50%; transform: translateX(-50%); }
    #motorcycleShowcase .ms-selectors { width: 100%; margin: 8px 0 0; }
}
@media (max-width: 575px) {
    #motorcycleShowcase { padding: 76px 0 32px; }
    #motorcycleShowcase .ms-shell { width: calc(100% - 32px); }
    #motorcycleShowcase .ms-slide { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    #motorcycleShowcase .ms-name { font-size: clamp(34px, 9vw, 48px); }
    #motorcycleShowcase .ms-description { margin-bottom: 16px; }
    #motorcycleShowcase .ms-actions { gap: 10px; }
    #motorcycleShowcase .ms-book { min-height: 48px; padding: 10px 18px; font-size: 15px; }
    #motorcycleShowcase .ms-visual { aspect-ratio: 1.5; padding: 0 12px; }
    #motorcycleShowcase .ms-specs { gap: 8px; }
    #motorcycleShowcase .ms-spec { min-height: 64px; padding: 8px; border-radius: 10px; }
    #motorcycleShowcase .ms-icon { width: 29px; height: 29px; flex-basis: 29px; }
    #motorcycleShowcase .ms-icon img { width: 20px; height: 20px; }
    #motorcycleShowcase .ms-spec dd { font-size: 12px; }
    #motorcycleShowcase .ms-spec dt { font-size: 9px; }
    #motorcycleShowcase .ms-selectors { grid-auto-columns: minmax(0, 1fr); gap: 6px; }
    #motorcycleShowcase .ms-choice { flex-direction: column; align-items: flex-start; padding: 8px; gap: 5px; }
    #motorcycleShowcase .ms-choice strong { font-size: 12px; }
    #motorcycleShowcase .ms-number { width: 25px; height: 25px; flex-basis: 25px; font-size: 11px; }
    #motorcycleShowcase .ms-dots { position: static; transform: none; justify-content: center; margin-top: -44px; margin-bottom: 16px; width: max-content; margin-left: auto; margin-right: auto; }
}
@media (prefers-reduced-motion: reduce) { #motorcycleShowcase * { transition-duration: 0s !important; animation-duration: 0s !important; } }


/* Mobile motorcycle image navigation */
@media (max-width: 575px) {
    #motorcycleShowcase .ms-controls {
        position: absolute;
        top: var(--ms-arrow-top, 0px);
        left: 0;
        right: 0;
        height: 0;
        margin: 0;
        z-index: 5;
        pointer-events: none;
    }

    #motorcycleShowcase .ms-arrow {
        position: absolute;
        top: 0;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        background: #f0f3ed;
        font-size: 16px;
        pointer-events: auto;
    }

    #motorcycleShowcase .ms-prev {
        left: -8px;
        right: auto;
    }

    #motorcycleShowcase .ms-next {
        right: -8px;
        left: auto;
    }

    #motorcycleShowcase .ms-arrow:active {
        background: #e3ebdc;
    }

    #motorcycleShowcase .ms-dots {
        position: static;
        transform: none;
        margin: 12px auto 16px;
    }
}


/* Motorcycle scroll entrance and exit */
#motorcycleShowcase .ms-bike {
    transform: translate3d(0, 0, 0);
}

#motorcycleShowcase .ms-bike.ms-arriving {
    animation: msBikeArrival 950ms cubic-bezier(.16, 1, .3, 1) both;
}

#motorcycleShowcase .ms-bike.ms-departing {
    animation: msBikeDeparture 750ms cubic-bezier(.55, .06, .85, .45) both;
}

@keyframes msBikeArrival {
    from {
        transform: translate3d(-110vw, 0, 0);
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes msBikeDeparture {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(110vw, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    #motorcycleShowcase .ms-bike {
        animation: none !important;
        transform: none !important;
    }
}


/* Extended motorcycle selector layout */
#motorcycleShowcase .ms-selectors {
    width: min(100%, 1000px);
    margin-left: auto;
    margin-right: auto;
}

#mcycleShowcase .ms-choice {
    height: 100%;
}

#motorcycleShowcase .ms-spec > div {
    min-width: 0;
}

@media (max-width: 991px) {
    #motorcycleShowcase .ms-selectors {
        width: 100%;
    }
}

@media (max-width: 575px) {
    #motorcycleShowcase .ms-selectors {
        grid-auto-flow: row;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    #motorcycleShowcase .ms-choice {
        flex-direction: row;
        align-items: center;
        min-height: 68px;
        padding: 9px;
        gap: 7px;
    }

    #motorcycleShowcase .ms-choice strong {
        font-size: 12px;
        line-height: 1.3;
    }

    #motorcycleShowcase .ms-choice small {
        margin-top: 4px;
    }
}

/* Responsive motorcycle selector layout */
#motorcycleShowcase .ms-selectors {
    width: min(100%, 1400px);
    margin-left: auto;
    margin-right: auto;
    grid-auto-flow: row;
    grid-template-columns: repeat(
        auto-fit, minmax(165px, 1fr)
    );
}

#motorcycleShowcase .ms-choice {
    min-width: 0;
    height: 100%;
}

@media (max-width: 991px) {
    #motorcycleShowcase .ms-selectors {
        width: 100%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    #motorcycleShowcase .ms-selectors {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    #motorcycleShowcase .ms-choice {
        min-height: 68px;
    }

    #motorcycleShowcase .ms-choice:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}


/* Horizontal motorcycle selector */
#motorcycleShowcase .ms-selector-navigation {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    min-width: 0;
}

#motorcycleShowcase .ms-selectors {
    display: flex;
    flex: 1 1 0;
    align-items: stretch;
    width: 0;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    padding: 5px 3px 9px;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 3px;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
}

#motorcycleShowcase .ms-selectors::-webkit-scrollbar {
    display: none;
}

#motorcycleShowcase .ms-choice {
    flex: 0 0 190px;
    width: 190px;
    min-width: 0;
    min-height: 76px;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 12px;
    scroll-snap-align: start;
    cursor: pointer;
    transition:
        background-color .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

#motorcycleShowcase .ms-choice strong {
    font-size: 13px;
    line-height: 1.35;
    overflow-wrap: break-word;
}

#motorcycleShowcase .ms-choice small {
    font-size: 12px;
    line-height: 1.3;
    margin-top: 4px;
}

#motorcycleShowcase .ms-choice:hover {
    border-color: var(--ms-green);
}

#motorcycleShowcase .ms-rail-arrow {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border: 1px solid #d5d9d3;
    border-radius: 50%;
    background: #fff;
    color: var(--ms-ink);
    font-size: 14px;
    cursor: pointer;
    transition: background-color .2s ease;
}

#motorcycleShowcase .ms-rail-arrow:hover:not(:disabled) {
    background: #e6efe2;
}

#motorcycleShowcase .ms-rail-arrow:disabled {
    opacity: .35;
    cursor: default;
}

#motorcycleShowcase .ms-dots {
    position: static;
    transform: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 7px;
    width: 100%;
    margin: 12px 0 14px;
}

#motorcycleShowcase .ms-dot {
    flex-shrink: 0;
}

#motorcycleShowcase .ms-swipe-hint {
    display: none;
}

@media (min-width: 576px) and (max-width: 991px) {
    #motorcycleShowcase .ms-controls {
        margin-bottom: 4px;
    }

    #motorcycleShowcase .ms-choice {
        flex-basis: 175px;
        width: 175px;
    }
}

@media (max-width: 575px) {
    #motorcycleShowcase .ms-selector-navigation {
        gap: 0;
    }

    #motorcycleShowcase .ms-rail-arrow {
        display: none;
    }

    #motorcycleShowcase .ms-selectors {
        gap: 8px;
        padding: 4px 3px 8px;
    }

    #motorcycleShowcase .ms-choice {
        flex-basis: clamp(118px, 42%, 165px);
        width: auto;
        min-height: 100px;
        padding: 10px;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    #motorcycleShowcase .ms-choice strong {
        font-size: 12px;
        line-height: 1.35;
    }

    #motorcycleShowcase .ms-choice small {
        font-size: 11px;
    }

    #motorcycleShowcase .ms-dots {
        margin: 12px 0 10px;
        gap: 5px;
    }

    #motorcycleShowcase .ms-swipe-hint:not([hidden]) {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 7px;
        margin: 6px 0 0;
        color: #657060;
        font-size: 11px;
        line-height: 1.5;
    }
}

@media (prefers-reduced-motion: reduce) {
    #motorcycleShowcase .ms-selectors {
        scroll-behavior: auto;
    }
}
