/* autoplay */

.autoplay-progress * {
    transition: unset;
}

.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(--color-secondary-highlight);
}

.autoplay-progress svg {
    --progress: 0;
    position: absolute;
    left: 0;
    top: 0px;
    z-index: 10;
    width: 100%;
    height: 100%;
    stroke-width: 4px;
    stroke: var(--color-secondary-highlight);
    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: 2px;
    stroke: var(--color-secondary-highlight);
    border-radius: 50%;
}

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

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

.swiper-pagination-bullet {
    background: var(--color-secondary-highlight);
}

.swiper-pagination-bullet-active {
    background: var(--color-secondary-highlight);
}

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

/* swiper overflow */

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

.plans--swiper-1 .swiper-pagination-bullet,
.plans--swiper-2 .swiper-pagination-bullet {
    height: 2px;
    width: 30px;
    border-radius: 2px;
}

.meals--swiper-1 .swiper-pagination-bullet,
.meals--swiper-2 .swiper-pagination-bullet {
    height: 2px;
    width: 30px;
    border-radius: 2px;
}

.meals--swiper-1.with--pagination .swiper-pagination,
.meals--swiper-2.with--pagination .swiper-pagination {
    bottom: 0px;
}
