.template-9851__head {
    gap: 24px;
}

.template-9851__title {
    color: #101828;
    font-weight: 500;
    line-height: 1.15;
    margin: 0;
}

.template-9851__controls {
    gap: 12px;
}

.template-9851__swipe-hint {
    color: #5d636a;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    margin-top: 16px;
    white-space: nowrap;
}

.template-9851__slide-index {
    color: #5d636a;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
}

.template-9851__arrow {
    width: 52px;
    height: 52px;
    border: 1.5px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    color: #6d3a93;
    font-size: 20px;
    line-height: 1;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.template-9851__arrow-icon {
    display: block;
    flex-shrink: 0;
}

.template-9851__arrow.swiper-button-disabled {
    opacity: 0.35;
    pointer-events: none;
}

.template-9851__card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px 24px;
    background: #f3f7fc;
    overflow: hidden;
}

.template-9851__card-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #6d3a93 0%, #58a9e0 100%);
}

.template-9851__card-top {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.template-9851__card-index {
    color: #5d636a;
    font-size: 14px;
    font-weight: 500;
}

.template-9851__card-value {
    gap: 0.25em;
    line-height: 1;
}

.template-9851__prefix {
    color: #333;
    font-size: 18px;
    font-weight: 300;
    text-transform: lowercase;
}

.template-9851__card-value .counter__num {
    font-size: 48px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    background-image: linear-gradient(90deg, #6d3a93 0%, #58a9e0 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.template-9851__card-desc {
    color: #333;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.4;
}

.template-9851__carousel-wrap {
    position: relative;
    overflow: visible;
    clip-path: inset(-100vw -100vw -100vw 0);
}

.template-9851__swiper.swiper,
.template-9851__swiper .swiper-wrapper {
    overflow: visible;
}

.template-9851__swiper .swiper-slide {
    width: 260px;
    height: auto;
}

.template-9851__progress {
    position: relative;
    width: 100%;
    height: 3px;
    margin-top: 20px;
    background: #e2e8f0;
    border-radius: 2px;
    overflow: hidden;
}

.template-9851__progress-thumb {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    border-radius: 2px;
    background: linear-gradient(90deg, #6d3a93 0%, #58a9e0 100%);
    transition: width 0.25s ease;
}

.template-9851--wheel-scroll .template-9851__progress-thumb {
    transition: none;
}

.template-9851--wheel-scroll.template-9851--wheel-active .template-9851__pin {
    position: relative;
}

.template-9851--wheel-scroll .template-9851__sticky {
    padding-block: 1.5rem;
}

.template-9851--wheel-scroll.template-9851--wheel-active .template-9851__sticky {
    position: sticky;
    z-index: 2;
    box-sizing: border-box;
}

@media (min-width: 991.92px) {

    .template-9851--wheel-scroll .template-9851__sticky {
        padding-block: 3rem;
    }
}


@media (min-width: 768px) {

    .template-9851__card-top {
        gap: 24px;
    }
    
    .template-9851__swipe-hint {
        font-size: 13px;
    }

    .template-9851__card {
        padding: 32px;
    }

    .template-9851__prefix {
        font-size: 20px;
    }

    .template-9851__card-value .counter__num {
        font-size: 56px;
    }

    .template-9851__card-desc {
        font-size: 16px;
    }

    .template-9851__swiper .swiper-slide {
        width: 320px;
    }

    .template-9851__progress {
        margin-top: 28px;
    }
}

@media (min-width: 1200px) {

    .template-9851__prefix {
        font-size: 22px;
    }

    .template-9851__card-value .counter__num {
        font-size: 64px;
    }

    .template-9851__swiper .swiper-slide {
        width: 360px;
    }
}

