/* autoplay */

.autoplay-progress {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 10;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary);
}

/* icon */

.autoplay-progress svg {
    --progress: 0;
    position: absolute;
    left: 0;
    top: 0px;
    z-index: 10;
    width: 100%;
    height: 100%;
    stroke-width: 4px;
    stroke: var(--primary);
    fill: none;
    stroke-dashoffset: calc(125.6px * (1 - var(--progress)));
    stroke-dasharray: 125.6;
    transform: rotate(-90deg);
}

/* with pagination */

.swiper.with--pagination .swiper-pagination {
    bottom: 15px;
}

.swiper.with--pagination .autoplay-progress {
    top: 60px;
    right: 20px;
}

.autoplay-progress svg {
    stroke-width: 4px;
    stroke: var(--primary);
    border-radius: 50%;
}
.autoplay-progress.for-banners svg {
    stroke-width: 6px;
    stroke: var(--primary);
    border-radius: 30px;
}

.autoplay-progress.for-menu svg {
    stroke-width: 2px;
    stroke: var(--primary);
}

.autoplay-progress span {
    color: var(--primary) !important;
}

.autoplay-progress.for-menu span {
    color: var(--primary) !important;
}

.autoplay-progress {
    font-size: 13px;
    font-weight: 500;
}

.swiper-pagination-bullet {
    background: var(--primary);
    width: 9px;
    height: 9px;
    border-radius: 2px;
}

.swiper-pagination-bullet-active {
    background: var(--primary);
}

.banners-pagination .swiper-pagination-bullet {
    background: var(--primary);
}

.banners-pagination .swiper-pagination-bullet-active {
    background: var(--primary);
}

.menu-pagination .swiper-pagination-bullet {
    background: var(--primary);
}

.menu-pagination .swiper-pagination-bullet-active {
    background: var(--primary);
}

.swiper-button-disabled {
    opacity: 0.3 !important;
}

/* swiper overflow */

.swiper-wrapper.with--overflow-y {
    margin-top: 50px;
}

.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic
    .swiper-pagination-bullet,
.swiper-vertical
    > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic
    .swiper-pagination-bullet {
    display: block;
}
