.l24-product-carousel {
--l24-carousel-gap: 28px;
--l24-carousel-visible: 4;
max-width: 100%;
width: 100%;
font-family: "Inter", Arial, sans-serif;
}
.l24-product-carousel__shell {
position: relative;
width: 100%;
}
.l24-product-carousel__viewport {
overflow-x: auto;
overflow-y: hidden;
width: 100%;
scroll-behavior: auto;
scroll-snap-type: x mandatory;
scrollbar-width: none;
-webkit-overflow-scrolling: touch;
}
.l24-product-carousel__viewport::-webkit-scrollbar {
display: none;
}
.l24-product-carousel__viewport.is-animating {
scroll-snap-type: none;
}
.l24-product-carousel__track {
display: flex;
align-items: stretch;
gap: var(--l24-carousel-gap);
min-width: 100%;
}
.l24-product-carousel .l24-product-card {
display: flex;
flex-direction: column;
flex: 0 0 calc((100% - ((var(--l24-carousel-visible) - 1) * var(--l24-carousel-gap))) / var(--l24-carousel-visible));
align-self: stretch;
height: auto;
min-height: 0;
min-width: 0;
scroll-snap-align: start;
scroll-snap-stop: always;
}
.l24-product-carousel .l24-product-card__media {
flex: 0 0 auto;
}
.l24-product-carousel .l24-product-card__body {
display: flex;
flex: 1 1 auto;
flex-direction: column;
min-height: 0;
}
.l24-product-carousel .l24-product-card__price {
margin-top: auto;
}
.l24-product-carousel .l24-product-card__button,
.l24-product-carousel .l24-product-card__button.button {
align-self: stretch;
flex: 0 0 auto;
width: 100% !important;
min-width: 0;
max-width: 100%;
min-height: 48px;
margin-top: 18px !important;
white-space: normal !important;
}
.l24-product-carousel .added_to_cart {
display: none;
}
.l24-product-carousel__button {
position: absolute;
z-index: 6;
top: 40%;
display: inline-flex;
align-items: center;
justify-content: center;
width: 42px;
height: 42px;
padding: 0;
border: 0;
border-radius: 999px;
background: rgba(255, 255, 255, 0.94);
color: #121212;
font-size: 0;
line-height: 0;
cursor: pointer;
box-shadow: 0 12px 30px rgba(18, 18, 18, 0.13), inset 0 0 0 1px rgba(255, 255, 255, 0.68);
transform: translateY(-50%);
transition: background-color 160ms ease, box-shadow 160ms ease, color 160ms ease, opacity 160ms ease, transform 160ms ease;
appearance: none;
-webkit-backdrop-filter: blur(10px);
backdrop-filter: blur(10px);
}
.l24-product-carousel__button:hover,
.l24-product-carousel__button:focus-visible {
background: #121212;
color: #ffffff;
box-shadow: 0 14px 34px rgba(18, 18, 18, 0.18);
outline: none;
transform: translateY(-50%) scale(1.04);
}
.l24-product-carousel__button:active {
transform: translateY(-50%) scale(0.96);
}
.l24-product-carousel .l24-product-card.is-clone {
pointer-events: none;
}
.l24-product-carousel__button::before,
.l24-product-carousel__button::after {
display: none !important;
content: none !important;
}
.l24-product-carousel__button span {
display: block;
width: auto;
height: auto;
color: inherit;
font-family: Arial, sans-serif;
font-size: 32px;
font-weight: 400;
line-height: 0.82;
transform: translateY(-2px);
}
.l24-product-carousel__button--prev {
left: -20px;
}
.l24-product-carousel__button--next {
right: -20px;
}
@media (max-width: 1200px) {
.l24-product-carousel {
--l24-carousel-visible: 3;
}
}
@media (max-width: 767px) {
.l24-product-carousel {
--l24-carousel-gap: 14px;
--l24-carousel-visible: 1.18;
max-width: calc(100vw - 30px);
width: calc(100vw - 30px);
margin-right: auto;
margin-left: auto;
overflow: visible;
}
.l24-product-carousel__viewport {
width: 100%;
padding-right: 0;
}
.l24-product-carousel__button {
top: 35%;
width: 34px;
height: 34px;
opacity: 0.96;
box-shadow: 0 8px 22px rgba(18, 18, 18, 0.14), inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}
.l24-product-carousel__button span {
font-size: 27px;
transform: translateY(-1px);
}
.l24-product-carousel__button--prev {
left: 8px;
}
.l24-product-carousel__button--next {
right: 8px;
}
}
@media (prefers-reduced-motion: reduce) {
.l24-product-carousel__viewport {
scroll-behavior: auto;
}
}