.course-sticky-checkout {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    color: #ffffff;
    background: #102f2b;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 -10px 34px rgba(15, 23, 42, 0.2);
}

.course-sticky-checkout__inner {
    width: min(1180px, calc(100% - 32px));
    min-height: 86px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
}

.course-sticky-checkout__timer {
    min-width: 112px;
    padding-right: 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.course-sticky-checkout__timer span,
.course-sticky-checkout__details span {
    display: block;
    color: #c8ddd9;
    font-size: 13px;
    line-height: 1.4;
}

.course-sticky-checkout__timer strong {
    display: block;
    margin-top: 2px;
    color: #ffffff;
    font-size: 25px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.course-sticky-checkout__details {
    min-width: 0;
}

.course-sticky-checkout__details strong {
    display: block;
    overflow: hidden;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.course-sticky-checkout__action form {
    margin: 0;
}

.course-buy-transition {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 13px 25px;
    color: #ffffff !important;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none !important;
    letter-spacing: 0;
    background: #32b234;
    border: 1px solid #278f29;
    border-radius: 15px;
    box-shadow: 0 7px 0 #1d731f, 0 12px 22px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease;
}

.course-buy-transition::before {
    position: absolute;
    top: -40%;
    bottom: -40%;
    left: -45%;
    z-index: -1;
    width: 32%;
    content: "";
    background: rgba(255, 255, 255, 0.24);
    transform: skewX(-20deg);
    transition: left 460ms ease;
}

.course-buy-transition:hover {
    color: #ffffff !important;
    background: #2ca72e;
    box-shadow: 0 4px 0 #1d731f, 0 10px 25px rgba(0, 0, 0, 0.24);
    transform: translateY(3px);
}

.course-buy-transition:hover::before {
    left: 120%;
}

.course-buy-transition:active {
    box-shadow: 0 1px 0 #1d731f, 0 5px 14px rgba(0, 0, 0, 0.22);
    transform: translateY(6px);
}

.course-buy-transition:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}

.course-buy-transition > span {
    font-size: 21px;
    line-height: 1;
    transition: transform 180ms ease;
}

.course-buy-transition:hover > span {
    transform: translateX(4px);
}

body.course-sticky-checkout-active {
    padding-bottom: 86px;
}

@media (max-width: 767px) {
    .course-sticky-checkout__inner {
        width: calc(100% - 24px);
        min-height: 0;
        padding: 12px 0;
        grid-template-columns: auto minmax(0, 1fr);
        gap: 9px 14px;
    }

    .course-sticky-checkout__timer {
        min-width: 86px;
        padding-right: 12px;
        grid-row: 1;
    }

    .course-sticky-checkout__timer strong {
        font-size: 21px;
    }

    .course-sticky-checkout__details {
        grid-row: 1;
    }

    .course-sticky-checkout__details strong {
        font-size: 14px;
    }

    .course-sticky-checkout__action {
        grid-column: 1 / -1;
    }

    .course-sticky-checkout__action form,
    .course-sticky-checkout__button {
        width: 100%;
    }

    .course-buy-transition {
        min-height: 48px;
        padding: 11px 18px;
        border-radius: 12px;
        font-size: 16px;
    }

    body.course-sticky-checkout-active {
        padding-bottom: 148px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .course-buy-transition,
    .course-buy-transition::before,
    .course-buy-transition > span {
        transition: none;
    }
}