.dt-image-slider {
    --dt-image-slider-gap: 0px;
    --dt-image-slider-radius: 14px;
    --dt-image-slider-arrow-size: 48px;
    --dt-image-slider-dot-size: 7px;
    --dt-image-slider-active-dot-width: 18px;
    --dt-image-slider-mobile-offset: 0px;

    position: relative;
    direction: rtl;
    width: 100%;
    margin-inline: auto;
    margin: 20px auto;
}

.dt-image-slider,
.dt-image-slider * {
    box-sizing: border-box;
}

.dt-image-slider__viewport {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.dt-image-slider__track {
    display: flex;
    flex-direction: row;
    gap: var(--dt-image-slider-gap);
    width: 100%;
    will-change: transform;
    transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
    touch-action: pan-y;
    cursor: grab;
}

.dt-image-slider__track.is-dragging {
    cursor: grabbing;
}

.dt-image-slider__track.is-no-animation {
    transition: none !important;
}

.dt-image-slider__slide {
    flex: 0 0 100%;
    display: block;
    margin: 0;
    padding: 14px 14px 10px;
    background: #ffffff;
    border-radius: var(--dt-image-slider-radius);
    overflow: hidden;
}

.dt-image-slider__image-wrap {
    width: 100%;
    overflow: hidden;
    border-radius: 9px;
    background: #f6f7f9;
}

.dt-image-slider__image {
    display: block;
    width: 100%;
    height: auto;
    user-select: none;
    -webkit-user-drag: none;
}

.dt-image-slider__caption {
    margin: 10px 0 0;
    padding: 0 8px;
    color: #1f2937;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.9;
    text-align: center;
}

.dt-image-slider__arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--dt-image-slider-arrow-size);
    height: var(--dt-image-slider-arrow-size);
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #ffffff;
    color: #4187ff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-50%) scale(0.96);
    transition: opacity 220ms ease, visibility 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.dt-image-slider:hover .dt-image-slider__arrow,
.dt-image-slider:focus-within .dt-image-slider__arrow {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1);
}

.dt-image-slider__arrow:hover {
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16);
}

.dt-image-slider__arrow:disabled {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.dt-image-slider__arrow--next {
    left: -24px;
}

.dt-image-slider__arrow--prev {
    right: -24px;
}

.dt-image-slider__arrow-svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
}

.dt-image-slider__arrow-svg svg {
    display: block;
    width: 11px;
    height: 23px;
}

.dt-image-slider__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 12px;
    direction: ltr;
}

.dt-image-slider__dot {
    width: var(--dt-image-slider-dot-size);
    height: var(--dt-image-slider-dot-size);
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #dbeafe;
    cursor: pointer;
    transition: width 220ms ease, background-color 220ms ease, opacity 220ms ease;
}

.dt-image-slider__dot.is-active {
    width: var(--dt-image-slider-active-dot-width);
    background: #3b82f6;
}

.dt-image-slider.is-single .dt-image-slider__track {
    cursor: default;
}

.dt-image-slider.is-single .dt-image-slider__arrow,
.dt-image-slider.is-single .dt-image-slider__dots {
    display: none;
}

@media (max-width: 767px) {
    .dt-image-slider {
        --dt-image-slider-gap: 10px;
        --dt-image-slider-radius: 14px;
        --dt-image-slider-mobile-offset: 0px;
    }

    .dt-image-slider__track {
        touch-action: pan-y;
    }

    .dt-image-slider__slide {
        flex-basis: 90%;
        padding: 8px 8px 10px;
    }

    .dt-image-slider__caption {
        margin-top: 8px;
        font-size: 12px;
        line-height: 1.8;
    }

    .dt-image-slider__arrow {
        display: none !important;
    }

    .dt-image-slider__dots {
        margin-top: 10px;
    }
}
