.cl-carousel {
    --cl-gap: 16px;
    --cl-slides-per-view: 4;
    --cl-image-max-height: none;
    --cl-responsive-slides-per-view: var(--cl-slides-per-view);
    position: relative;
    isolation: isolate;
    width: 100%;
    overflow: hidden;
}

.cl-carousel-slides-1 {
    --cl-slides-per-view: 1;
}

.cl-carousel-slides-2 {
    --cl-slides-per-view: 2;
}

.cl-carousel-slides-3 {
    --cl-slides-per-view: 3;
}

.cl-carousel-slides-4 {
    --cl-slides-per-view: 4;
}

.cl-carousel-slides-5 {
    --cl-slides-per-view: 5;
}

.cl-carousel-slides-6 {
    --cl-slides-per-view: 6;
}

.cl-carousel-slides-7 {
    --cl-slides-per-view: 7;
}

.cl-carousel-slides-8 {
    --cl-slides-per-view: 8;
}

.cl-carousel-viewport {
    position: relative;
    z-index: 1;
    width: 100%;
    overflow: hidden;
}

.cl-carousel-track {
    display: flex;
    align-items: flex-start;
    gap: var(--cl-gap);
    transition: transform 280ms ease, height 180ms ease;
    will-change: transform;
}

.cl-carousel-slide {
    min-width: 0;
    align-self: flex-start;
    flex: 0 0 calc((100% - (var(--cl-gap) * (var(--cl-responsive-slides-per-view) - 1))) / var(--cl-responsive-slides-per-view));
}

.cl-carousel-link {
    display: block;
    width: 100%;
    color: inherit;
    text-decoration: none;
}

.cl-carousel .cl-carousel-image {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: unset !important;
    object-fit: contain !important;
    border-radius: 8px !important;
}

.cl-carousel.has-image-max-height .cl-carousel-link,
.cl-carousel.has-image-max-height .cl-carousel-slide {
    text-align: center;
}

.cl-carousel.has-image-max-height .cl-carousel-image {
    width: auto !important;
    max-width: 100% !important;
    max-height: var(--cl-image-max-height) !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

.cl-carousel .cl-carousel-button {
    position: absolute !important;
    top: 50% !important;
    z-index: 50 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px;
    height: 42px;
    padding: 0 !important;
    margin: 0 !important;
    transform: translateY(-50%) !important;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
    color: #111;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 1 !important;
    opacity: 1 !important;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    pointer-events: auto !important;
    appearance: none;
}

.cl-carousel .cl-carousel-button:focus,
.cl-carousel .cl-carousel-button:active {
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.cl-carousel .cl-carousel-prev {
    right: auto !important;
    left: 12px !important;
}

.cl-carousel .cl-carousel-next {
    right: 12px !important;
    left: auto !important;
}

.cl-carousel .cl-carousel-button:hover,
.cl-carousel .cl-carousel-button:focus {
    background: #fff;
}

.cl-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.cl-carousel-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #b8bcc2;
    cursor: pointer;
}

.cl-carousel-dot.is-active {
    background: #111;
}

@media (max-width: 900px) {
    .cl-carousel {
        --cl-responsive-slides-per-view: min(2, var(--cl-slides-per-view));
    }
}

@media (max-width: 767px) {
    .cl-carousel {
        --cl-responsive-slides-per-view: 1;
        --cl-gap: 12px;
    }

    .cl-carousel .cl-carousel-button {
        width: 36px;
        height: 36px;
        font-size: 26px;
    }
}
