/* Homepage "spatial browsing" - the product carousels as a shelf with depth.
   The per-slide transform and transition duration are set by
   resources/js/home-spatial-carousel.js (which adds .ce-spatial). */

.home-page.ce-redesign .cec-section .cec-swiper.ce-spatial {
    /* room for the cards that turn in, so their edges are not cut */
    padding-block: 0.75rem;
    margin-block: -0.75rem;
}

.home-page.ce-redesign .cec-section .cec-swiper.ce-spatial .swiper-slide {
    transform-origin: 50% 55%;
    transition-property: transform;
    transition-timing-function: ease-out;
    backface-visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .home-page.ce-redesign .cec-section .cec-swiper.ce-spatial .swiper-slide {
        transform: none !important;
    }
}
