/* Product lineup: three-card coverflow with one readable card at a time. */
.page-home #section-7 .product-coverflow {
    --product-coverflow-height: 560px;
    position: relative;
    width: 100%;
    max-width: 1428px;
    margin: 0 auto;
}

.page-home #section-7 .product-coverflow__button,
.page-home #section-7 .product-coverflow__status {
    display: none;
}

.page-home #section-7 .product-coverflow.is-coverflow-ready .products-showcase__frame {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: var(--product-coverflow-height) !important;
    min-height: var(--product-coverflow-height) !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    perspective: 1500px;
    transform-style: preserve-3d;
    isolation: isolate;
}

.page-home #section-7 .product-coverflow.is-coverflow-ready .product-card.product-card--summary {
    position: absolute !important;
    inset: 0 auto auto 50% !important;
    width: min(760px, 60vw) !important;
    max-width: 760px !important;
    height: auto !important;
    min-height: 410px !important;
    margin: 0 !important;
    opacity: 0 !important;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(-50%, 46px, -220px) scale(.78) !important;
    transform-origin: center bottom;
    filter: saturate(.65) brightness(.98);
    z-index: 0;
    transition:
        transform 560ms cubic-bezier(.22, 1, .36, 1),
        opacity 380ms ease,
        filter 420ms ease,
        box-shadow 420ms ease !important;
    will-change: transform, opacity;
}

.page-home #section-7 .product-coverflow.is-coverflow-ready .product-card.is-coverflow-active {
    opacity: 1 !important;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(-50%, 0, 100px) rotateY(0) scale(1) !important;
    filter: none !important;
    background: linear-gradient(145deg, #fff 0%, #f8fbff 100%) !important;
    box-shadow: 0 28px 60px rgba(27, 67, 135, .18) !important;
    isolation: isolate;
    z-index: 5;
    animation: product-coverflow-focus 620ms cubic-bezier(.22, 1, .36, 1) both;
}

.page-home #section-7 .product-coverflow.is-coverflow-ready .product-card.is-coverflow-prev {
    opacity: .64 !important;
    visibility: visible;
    transform: translate3d(calc(-50% - 360px), 34px, -150px) rotateY(12deg) scale(.85) !important;
    filter: saturate(.72) brightness(.985) !important;
    box-shadow: 0 18px 38px rgba(27, 67, 135, .11) !important;
    z-index: 1;
}

.page-home #section-7 .product-coverflow.is-coverflow-ready .product-card.is-coverflow-next {
    opacity: .64 !important;
    visibility: visible;
    transform: translate3d(calc(-50% + 360px), 34px, -150px) rotateY(-12deg) scale(.85) !important;
    filter: saturate(.72) brightness(.985) !important;
    box-shadow: 0 18px 38px rgba(27, 67, 135, .11) !important;
    z-index: 1;
}

.page-home #section-7 .product-coverflow.is-coverflow-ready .products-showcase__frame.product-stagger-ready .product-card {
    translate: none !important;
    scale: 1 !important;
}

.page-home #section-7 .product-coverflow.is-coverflow-ready .product-card:not(.is-coverflow-active) {
    cursor: pointer;
}

.page-home #section-7 .product-coverflow.is-initializing .product-card {
    transition: none !important;
}

.page-home #section-7 .product-coverflow.is-coverflow-ready .product-coverflow__button {
    position: absolute;
    top: calc((var(--product-coverflow-height) - 48px) / 2);
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 1px solid rgba(30, 94, 255, .22);
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: #1e5eff;
    font: inherit;
    font-size: 38px;
    line-height: 1;
    box-shadow: 0 12px 28px rgba(22, 61, 126, .13);
    cursor: pointer;
    z-index: 12;
    transition: color 180ms ease, background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.page-home #section-7 .product-coverflow.is-coverflow-ready .product-coverflow__button span {
    display: block;
    width: 12px;
    height: 12px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    font-size: 0;
    line-height: 0;
    transform: rotate(45deg);
    translate: -2px 0;
}

.page-home #section-7 .product-coverflow__button--prev span {
    transform: rotate(-135deg);
    translate: 2px 0;
}

.page-home #section-7 .product-coverflow__button--prev {
    left: clamp(12px, 3vw, 44px);
}

.page-home #section-7 .product-coverflow__button--next {
    right: clamp(12px, 3vw, 44px);
}

@media (hover: hover) and (pointer: fine) {
    .page-home #section-7 .product-coverflow__button:hover {
        color: #fff;
        background: #1e5eff;
        transform: scale(1.06);
        box-shadow: 0 16px 34px rgba(30, 94, 255, .25);
    }
}

.page-home #section-7 .product-coverflow__button:focus-visible {
    outline: 3px solid rgba(30, 94, 255, .28);
    outline-offset: 3px;
}

.page-home #section-7 .product-coverflow.is-coverflow-ready .product-coverflow__status {
    position: absolute;
    left: 50%;
    bottom: 2px;
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    color: #657080;
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .08em;
    transform: translateX(-50%);
    z-index: 10;
}

.page-home #section-7 .product-coverflow__status [data-coverflow-current] {
    color: #1e5eff;
    font-weight: 900;
}

@media (max-width: 860px) {
    .page-home #section-7 .product-coverflow {
        --product-coverflow-height: 460px;
        width: 100%;
        max-width: none;
    }

    .page-home #section-7 .product-coverflow.is-coverflow-ready .products-showcase__frame {
        padding-inline: 0 !important;
        overflow: hidden !important;
    }

    .page-home #section-7 .product-coverflow.is-coverflow-ready .product-card.product-card--summary {
        width: calc(100% - 54px) !important;
        max-width: 390px !important;
        min-height: 370px !important;
    }

    .page-home #section-7 .product-coverflow.is-coverflow-ready .product-card.is-coverflow-active {
        transform: translate3d(-50%, 0, 60px) scale(1) !important;
    }

    .page-home #section-7 .product-coverflow.is-coverflow-ready .product-card.is-coverflow-prev {
        opacity: .28 !important;
        transform: translate3d(calc(-50% - 58px), 24px, -90px) rotateY(8deg) scale(.91) !important;
    }

    .page-home #section-7 .product-coverflow.is-coverflow-ready .product-card.is-coverflow-next {
        opacity: .28 !important;
        transform: translate3d(calc(-50% + 58px), 24px, -90px) rotateY(-8deg) scale(.91) !important;
    }

    .page-home #section-7 .product-coverflow.is-coverflow-ready .product-coverflow__button {
        top: calc((var(--product-coverflow-height) - 44px) / 2);
        width: 44px;
        height: 44px;
        font-size: 32px;
    }

    .page-home #section-7 .product-coverflow__button--prev {
        left: 0;
    }

    .page-home #section-7 .product-coverflow__button--next {
        right: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-home #section-7 .product-coverflow .product-card,
    .page-home #section-7 .product-coverflow__button {
        transition: none !important;
    }

    .page-home #section-7 .product-coverflow .product-card {
        animation: none !important;
    }
}

@keyframes product-coverflow-focus {
    0% {
        translate: 0 22px;
        scale: .965;
        opacity: .72;
        box-shadow: 0 14px 30px rgba(27, 67, 135, .1);
    }
    62% {
        translate: 0 -4px;
        scale: 1.012;
        opacity: 1;
    }
    100% {
        translate: 0 0;
        scale: 1;
        opacity: 1;
        box-shadow: 0 28px 60px rgba(27, 67, 135, .18);
    }
}


/* Keep the active desktop card on the normal text-rendering plane. */
@media (min-width: 861px) {
    html body.page-home #section-7 .product-coverflow.is-coverflow-ready .product-card.product-card--summary {
        left: calc(50% - min(380px, 30vw)) !important;
        transform: translate3d(0, 46px, -220px) scale(.78) !important;
    }

    html body.page-home #section-7 .product-coverflow.is-coverflow-ready .product-card.is-coverflow-active {
        transform: none !important;
        animation: product-coverflow-focus-crisp 520ms cubic-bezier(.22, 1, .36, 1) both;
        will-change: opacity, box-shadow;
        -webkit-font-smoothing: antialiased;
        text-rendering: geometricPrecision;
    }

    html body.page-home #section-7 .product-coverflow.is-coverflow-ready .product-card.is-coverflow-prev {
        transform: translate3d(-360px, var(--product-coverflow-align-y, 0px), -150px) rotateY(12deg) scale(.85) !important;
        transform-origin: center center;
    }

    html body.page-home #section-7 .product-coverflow.is-coverflow-ready .product-card.is-coverflow-next {
        transform: translate3d(360px, var(--product-coverflow-align-y, 0px), -150px) rotateY(-12deg) scale(.85) !important;
        transform-origin: center center;
    }
}

@keyframes product-coverflow-focus-crisp {
    0% {
        opacity: .7;
        box-shadow: 0 14px 30px rgba(27, 67, 135, .1);
    }
    100% {
        opacity: 1;
        box-shadow: 0 28px 60px rgba(27, 67, 135, .18);
    }
}
