@font-face {
    font-family: "Montserrat";
    src: url("fonts/montserrat-700.woff2") format("woff2"),
        url("fonts/montserrat-700.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("fonts/montserrat-600.woff2") format("woff2"),
        url("fonts/montserrat-600.woff") format("woff");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("/fonts/montserrat-400.woff2") format("woff2"),
        url("/fonts/montserrat-400.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url("fonts/roboto-700.woff2") format("woff2"),
        url("fonts/roboto-700.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url("fonts/roboto-500.woff2") format("woff2"),
        url("fonts/roboto-500.woff") format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url("fonts/roboto-400.woff2") format("woff2"),
        url("fonts/roboto-400.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

.bnpl-card,
.bnpl-modal {
    --bnpl-main-color: #25bf61;
    --bnpl-main-color-light: #daffe8;
    --bnpl-secondary-color: #f1f1f1;
}

.bnpl-card *,
.bnpl-card *::before,
.bnpl-card *::after {
    box-sizing: inherit;
}

.bnpl-card {
    border: 1px solid #f1f1f1;
    box-shadow: 0px 14px 14px rgba(116, 116, 116, 0.09);
    border-radius: 12px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.bnpl-descr {
    font: 400 14px/1.25 "Montserrat", sans-serif;
    color: #333333;
    padding: 0;
    margin: 0;
}

.bnpl-descr__multiply {
    color: #BFBFBF;
}

.bnpl-descr b {
    font-weight: 600;
    color: inherit;
}

.bnpl-desktop-only {
    display: none;
}

.bnpl-logo {
    display: block;
}

.bnpl-help-button {
    width: 34px;
    height: 34px;
    padding: 0;
    cursor: pointer;
    border: none;
    position: absolute;
    top: 3px;
    right: 3px;
    background: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22none%22%20viewBox%3D%220%200%2016%2016%22%3E%3Ccircle%20cx%3D%228.003%22%20cy%3D%228%22%20r%3D%226.667%22%20stroke%3D%22%23BFBFBF%22%2F%3E%3Cpath%20fill%3D%22%23BFBFBF%22%20fill-rule%3D%22evenodd%22%20d%3D%22M8.425%209.019v.26H7.368l-.005-.31c-.04-.684.224-1.094.852-1.463.566-.342.757-.583.757-1.035%200-.474-.383-.815-.957-.815-.588%200-.966.355-1.003.911h-1.07c.036-1.08.779-1.864%202.132-1.864%201.249%200%202.083.72%202.083%201.727%200%20.698-.346%201.185-.966%201.554-.597.351-.766.584-.766%201.035Zm.28%201.71c0%20.437-.292.724-.757.724-.456%200-.757-.287-.757-.725%200-.442.301-.729.757-.729.465%200%20.756.287.756.73Z%22%20clip-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E)
        no-repeat center / 16px;
}

@media (min-width: 620px) {
    .bnpl-mobile-only {
        display: none;
    }

    .bnpl-desktop-only {
        display: block;
    }
}

/* 
* bnpl-card--small-1
* Frame 112402
*/
.bnpl-card--small-1 {
    padding: 11px 15px 15px 15px;
}

.bnpl-card--small-1 .bnpl-logo {
    height: 24px;
    width: 84.83px;
    margin: 0 0 12px 0;
    padding: 0;
}

/* 
* bnpl-card--small-2
* Frame 112403
*/
.bnpl-card--small-2 {
    padding: 11px 15px;
    display: flex;
    align-items: center;
}

.bnpl-card--small-2 .bnpl-logo {
    height: 28px;
    margin: 0 17px 0 0;
    padding: 0;
}

.bnpl-card--small-2 .bnpl-descr {
    padding: 0 20px 0 0;
    margin: 0;
    font: 400 14px/1.25 "Montserrat", sans-serif;
    color: #333333;
}

/* 
* bnpl-card--small-3
* Frame 427321710
* Frame 427321704
*/
.bnpl-card--small-3 {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    padding: 7px 43px 7px 15px;
}

.bnpl-card--small-3 .bnpl-logo {
    height: 28px;
    margin: 0;
    padding: 0;
}

.bnpl-card--small-3 .bnpl-help-button {
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
}

.bnpl-card--small-3 .bnpl-descr {
    line-height: 17px;
    margin-left: 12px;
    white-space: nowrap;
}

/* 
* bnpl-card--small-4
* bnpl-card--small-5
* Frame 427321722
* Frame 427321725
*/
.bnpl-card--small-4,
.bnpl-card--small-5 {
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    padding: 7px 39px 7px 11px;
}

.bnpl-card--small-4 .bnpl-descr,
.bnpl-card--small-5 .bnpl-descr  {
    line-height: 17px;
    margin-left: 16px;
    white-space: nowrap;
}

/* 
* bnpl-card--schedule
*/
.bnpl-card--schedule {
    padding: 11px 15px 15px 15px;
}

.bnpl-card--schedule .bnpl-logo {
    height: 24px;
    width: 84.83px;
    margin: 0 0 12px 0;
    padding: 0;
}

.bnpl-card--schedule .bnpl-help-button {
    width: 20px;
    height: 20px;
    padding: 0;
    cursor: pointer;
    border: none;
    position: absolute;
    top: 8px;
    right: 8px;
}

.bnpl-card--schedule .bnpl-descr {
    font: 400 14px/1.25 "Montserrat", sans-serif;
    color: #333333;
    padding: 0;
    margin: 0 0 16px;
}

.bnpl-card--schedule .bnpl-schedule-calc {
    display: flex;
}

.bnpl-card--schedule .bnpl-schedule-calc__today {
    max-width: 130px;
    margin-right: 10px;
}

.bnpl-card--schedule .bnpl-schedule-calc__today::before,
.bnpl-card--schedule:not(.bnpl-card--schedule-combined) .bnpl-schedule-calc__part::before {
    content: "";
    display: block;
    width: 100%;
    height: 6px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.bnpl-card--schedule .bnpl-schedule-calc__today::before {
    background: var(--bnpl-main-color);
}

.bnpl-card--schedule .bnpl-schedule-calc__part::before {
    background: var(--bnpl-secondary-color);
}

.bnpl-card--schedule .bnpl-schedule-calc__today,
.bnpl-card--schedule .bnpl-schedule-calc__part {
    flex-grow: 1;
    flex-shrink: 1;
}

.bnpl-card--schedule .bnpl-schedule-calc__today:not(:last-child),
.bnpl-card--schedule .bnpl-schedule-calc__part:not(:last-child) {
    margin-right: 12px;
}

.bnpl-card--schedule .bnpl-schedule-calc__descr {
    margin: 0 0 4px;
    padding: 0;
    font: 400 12px/16px "Roboto", sans-serif;
    color: #808080;
}

.bnpl-card--schedule .bnpl-schedule-calc__sum {
    font: 600 14px/20px "Montserrat", sans-serif;
    color: #333333;
    white-space: nowrap;
}


.bnpl-card--schedule .bnpl-schedule-calc__lines {
    width: 100%;
    display: flex;
}

.bnpl-card--schedule .bnpl-schedule-calc__lines div:not(:last-child) {
    margin-right: 12px;
}

.bnpl-card--schedule .bnpl-schedule-calc__lines div {
    content: "";
    display: block;
    height: 6px;
    border-radius: 20px;
    margin-bottom: 12px;
    background: var(--bnpl-secondary-color);
    flex-grow: 1;
}

.bnpl-card--schedule-combined .bnpl-schedule-calc__today {
    /* max-width: 29%; */
}

/* 
* bnpl-modal
*/
.bnpl-modal {
    position: fixed !important;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(63, 63, 63, 0.85);
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;

    pointer-events: none;
    opacity: 0;

    transition: opacity 0.1s cubic-bezier(0.465, 0.183, 0.153, 0.946);
}

.bnpl-modal--open {
    pointer-events: auto;
    opacity: 1;
    transition: opacity 0.3s cubic-bezier(0.465, 0.183, 0.153, 0.946);
    z-index: 4;
}

.bnpl-modal-wrapper {
    height: 100%;
    margin: 0;
    background: #ffffff;
    overflow-y: auto;
    scrollbar-width: 4px;
    scrollbar-color: transparent #fff;
}

.bnpl-modal-wrapper::-webkit-scrollbar {
    width: 4px;
    padding-right: 2px;
}

.bnpl-modal-wrapper::-webkit-scrollbar {
    width: 4px;
    padding-right: 2px;
}

.bnpl-modal-wrapper::-webkit-scrollbar-thumb {
    background: transparent;
}

.bnpl-modal-wrapper::-webkit-scrollbar-thumb {
    background: transparent;
    opacity: 0.5;
    border-radius: 4px;
}

.bnpl-modal .bnpl-modal__header {
    position: absolute;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 0 16px;
    height: 88px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.92) 38.82%,
        rgba(255, 255, 255, 0) 100%
    );
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bnpl-modal .bnpl-modal__close {
    display: block;
    width: 32px;
    height: 32px;
    position: relative;
    padding: 0;
    background-color: transparent;
    border: 1px solid #f1f1f1;
    border-radius: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-indent: 300px;
    cursor: pointer;
    
    transition: background-color 0.3s ease;
}

.bnpl-modal .bnpl-modal__close::before {
    content: '';
    display: block;
    width: 15px;
    height: 15px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: transparent url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2220%22%20height%3D%2220%22%20fill%3D%22none%22%20viewBox%3D%220%200%2020%2020%22%3E%3Cg%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22m15.146%204.399%201.132%201.131L5.53%2016.278l-1.132-1.131z%22%2F%3E%3Cpath%20d%3D%22M5.53%204.4%204.398%205.53%2015.146%2016.28l1.132-1.132z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A)
        no-repeat center / cover;
    pointer-events: none;
    color: #4a4a4a;
}

.bnpl-modal .bnpl-modal__close:hover {
    background-color: #f1f1f1;
}

.bnpl-modal .bnpl-modal__body {
    display: flex;
    flex-direction: column;
    padding: 104px 16px 0;
}

@supports (position: sticky) {
    .bnpl-modal .bnpl-modal__body {
        padding-top: 16px;
    }
}

.bnpl-modal .bnpl-banks-label {
    padding: 8px 16px;
    margin: 0 0 24px;
    display: flex;
    align-items: center;
    font: normal 500 14px/18px "Roboto", sans-serif;
    color: #000000;
    background: #f4f7ff;
    border-radius: 30px;
    align-self: flex-start;
}

.bnpl-modal .bnpl-banks-label__logotypes {
    display: flex;
    white-space: nowrap;
    font: 400 12px/24px "Roboto", sans-serif;
    color: #808080;
    margin-left: 20px;
}

.bnpl-modal .bnpl-banks-label__logo {
    display: block;
    width: 24px;
    height: 24px;
    position: relative;
    margin-left: -8px;
}

.bnpl-modal .bnpl-modal__title {
    font: 700 28px/34px "Montserrat", sans-serif;
    padding: 0;
    margin: 0 0 24px;
}

.bnpl-modal .bnpl-modal-features {
    padding: 0;
    margin: 0 0 24px;
    list-style: none;
}

.bnpl-modal .bnpl-modal-features__item {
    display: flex;
    align-items: center;
    padding: 20px 0;
    margin: 0;
    border-bottom: 1px solid #f1f1f1;
}

.bnpl-modal .bnpl-modal-features__item p {
    padding: 0;
    margin: 0;
    font: 400 16px/24px "Roboto", sans-serif;
}

.bnpl-modal .bnpl-modal-features__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 8.72727px;
    margin-right: 24px;
    background: var(--bnpl-main-color-light);
    color: var(--bnpl-main-color);
}

.bnpl-modal .bnpl-modal-spoiler {
    border: 1px solid #f1f1f1;
    border-radius: 24px;
    margin-bottom: 32px;
}

.bnpl-modal .bnpl-modal-spoiler__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    position: relative;

    color: #333333;
    cursor: pointer;
}

.bnpl-modal .bnpl-modal-spoiler__header-text {
    font: 600 17px/25px "Montserrat", sans-serif;
    padding-right: 24px;
    transition: padding 0.3s ease;
}

.bnpl-modal .bnpl-modal-spoiler__header::after {
    content: "";
    display: block;
    width: 32px;
    height: 32px;
    border: 0.8px solid #f1f1f1;
    border-radius: 8px;
    color: #000000;
    background: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2220%22%20height%3D%2220%22%20fill%3D%22none%22%20viewBox%3D%220%200%2020%2020%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M14%207.736a.8.8%200%200%200-1.128%200L10%2010.568%207.168%207.736A.8.8%200%201%200%206.04%208.872l3.392%203.392a.8.8%200%200%200%201.136%200L14%208.872a.801.801%200%200%200%200-1.136Z%22%2F%3E%3C%2Fsvg%3E)
        no-repeat center / 20px;
    transition: all 0.3s ease;
}

.bnpl-modal .bnpl-modal-spoiler--open .bnpl-modal-spoiler__header::after {
    background-color: #f1f1f1;
    transform: rotateX(180deg);
}

.bnpl-modal .bnpl-modal-spoiler__body {
    padding: 0 23px 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.3s ease;
    opacity: 0;
}

.bnpl-modal .bnpl-modal-spoiler--open .bnpl-modal-spoiler__body {
    opacity: 1;
}

.bnpl-modal .bnpl-modal__questions {
    padding: 0 0 23px;
    margin: 0;
}

.bnpl-modal .bnpl-modal__question {
    padding: 0;
    margin: 0 0 12px;
    font: 600 16px/24px "Montserrat", sans-serif;
    color: #333333;
}

.bnpl-modal .bnpl-modal__answer {
    margin: 0 0 25px;
    padding: 0;
    font: 400 16px/24px "Roboto", sans-serif;
    color: #333333;
}

.bnpl-modal .bnpl-modal__answer:last-child {
    margin: 0;
}

.bnpl-modal .bnpl-modal-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 0;
    color: #333333;
    border-top: 1px solid #f1f1f1;
}

.bnpl-modal .bnpl-modal-footer p {
    font: 400 14px/16px "Roboto", sans-serif;
    padding: 0;
    margin: 0 0 4px;
}

.bnpl-modal .bnpl-modal-footer__phone {
    margin: 0 0 4px;
    font: 700 18px/24px "Montserrat", sans-serif;
    color: #333333;
    text-decoration: none;
}

.bnpl-modal .bnpl-modal-footer__site {
    font: 400 18px/24px "Roboto", sans-serif;
    color: #333333;
    text-decoration: none;
}

.bnpl-modal .bnpl-modal-footer__phone:hover,
.bnpl-modal .bnpl-modal-footer__site:hover {
    text-decoration: none;
}

/*bnpl-schedule-calc*/

.bnpl-modal .bnpl-schedule-calc {
    display: flex;
    flex-direction: column;
    padding: 24px 16px;
    margin: 0 0 24px;
    border: 1px solid #f1f1f1;
    box-shadow: 0px 14px 14px rgba(116, 116, 116, 0.09);
    border-radius: 16px;
}

.bnpl-modal .bnpl-schedule-calc__title {
    margin: 0 0 24px;
    font: 600 18px/24px "Montserrat", sans-serif;
    color: #2e2e2e;
}

.bnpl-modal .bnpl-schedule-calc__payments {
    display: flex;
}

.bnpl-modal .bnpl-schedule-calc__others {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.bnpl-modal .bnpl-schedule-calc__today {
    max-width: 28.571%;
    margin-right: 10px;
}

.bnpl-modal .bnpl-schedule-calc__part {
    display: none;
}

.bnpl-modal .bnpl-schedule-calc__today,
.bnpl-modal .bnpl-schedule-calc__part {
    flex-grow: 1;
    flex-shrink: 1;
}

.bnpl-modal .bnpl-schedule-calc__lines {
    width: 100%;
    display: flex;
}

.bnpl-modal .bnpl-schedule-calc__today,
.bnpl-modal .bnpl-schedule-calc__part:not(:last-child),
.bnpl-modal .bnpl-schedule-calc__lines div:not(:last-child) {
    margin-right: 12px;
}

.bnpl-modal .bnpl-schedule-calc__today::before,
.bnpl-modal .bnpl-schedule-calc__part::before,
.bnpl-modal .bnpl-schedule-calc__lines div {
    content: "";
    display: block;
    height: 6px;
    border-radius: 20px;
    margin-bottom: 12px;
    background: var(--bnpl-secondary-color);
}

.bnpl-modal .bnpl-schedule-calc__today::before,
.bnpl-modal .bnpl-schedule-calc__part::before {
    width: 100%;
}

.bnpl-modal .bnpl-schedule-calc__today::before {
    background: var(--bnpl-main-color);
}

.bnpl-modal .bnpl-schedule-calc__lines div {
    flex-grow: 1;
}

.bnpl-modal .bnpl-schedule-calc__descr {
    margin: 0 0 4px;
    padding: 0;
    font: 400 12px/16px "Roboto", sans-serif;
    color: #808080;
}

.bnpl-modal .bnpl-schedule-calc__sum {
    font: 600 14px/20px "Montserrat", sans-serif;
    color: #333333;
    white-space: nowrap;
}

@media (min-width: 620px) {
    .bnpl-modal-wrapper {
        border-radius: 32px;
        height: calc(100% - 100px);
        width: 594px;
        margin: auto;
        transform: scale(0.9);
        transition: transform 0.1s cubic-bezier(0.465, 0.183, 0.153, 0.946);
    }

    .bnpl-modal--open .bnpl-modal-wrapper {
        transition: transform 0.3s cubic-bezier(0.465, 0.183, 0.153, 0.946);
    }

    .bnpl-modal .bnpl-modal__close {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        background-position: center;
        background-size: 19px 19px;
    }

    .bnpl-modal .bnpl-modal__close::before {
        width: 19px;
        height: 19px;
    }

    .bnpl-modal .bnpl-modal__header {
        padding-left: 32px;
        padding-right: 32px;
        height: 104px;
    }

    .bnpl-modal .bnpl-modal__body {
        padding-top: 20px;
        padding-left: 32px;
        padding-right: 32px;
    }

    .bnpl-modal .bnpl-modal__title {
        line-height: 38px;
    }

    .bnpl-modal .bnpl-banks-label__logotypes {
        margin-left: 32px;
    }

    .bnpl-modal .bnpl-schedule-calc {
        padding: 32px;
        margin-bottom: 40px;
    }

    .bnpl-modal .bnpl-schedule-calc__title {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 32px;
    }

    .bnpl-modal .bnpl-schedule-calc__part {
        display: block;
    }

    .bnpl-modal .bnpl-schedule-calc__others {
        display: none;
    }

    .bnpl-modal .bnpl-schedule-calc__today,
    .bnpl-modal .bnpl-schedule-calc__part:not(:last-child) {
        margin-right: 16px;
        /* width: 25%; */
    }

    .bnpl-modal .bnpl-schedule-calc__today::before,
    .bnpl-modal .bnpl-schedule-calc__part::before {
        height: 6px;
        margin-bottom: 16px;
    }

    .bnpl-modal .bnpl-schedule-calc__descr {
        margin-bottom: 8px;
    }

    .bnpl-modal .bnpl-schedule-calc__sum {
        font-size: 24px;
        line-height: 1;
    }

    .bnpl-modal .bnpl-modal-features {
        margin: 0 0 40px;
    }

    .bnpl-modal .bnpl-modal-features__item {
        padding: 24px 0;
        min-height: 44px;
    }

    .bnpl-modal .bnpl-modal-features__icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    .bnpl-modal .bnpl-modal-features__icon svg {
        width: 24px;
        height: 24px;
    }

    .bnpl-modal .bnpl-modal-features__item p {
        font-size: 18px;
        line-height: 26px;
    }

    .bnpl-modal .bnpl-modal-spoiler {
        margin-bottom: 72px;
    }

    .bnpl-modal .bnpl-modal-spoiler__header-text {
        font-size: 18px;
        line-height: 26px;
    }

    .bnpl-modal .bnpl-modal-spoiler__header::after {
        width: 40px;
        height: 40px;
        background-size: 24px;
    }

    .bnpl-modal .bnpl-modal-spoiler--open .bnpl-modal-spoiler__header {
        padding-bottom: 32px;
    }

    .bnpl-modal .bnpl-modal-footer {
        padding: 32px 0;
    }

    .bnpl-modal .bnpl-modal-footer p {
        margin-bottom: 8px;
        font-size: 18px;
        line-height: 26px;
    }

    .bnpl-modal .bnpl-modal-footer__phone {
        margin-bottom: 8px;
        font-size: 28px;
        line-height: 38px;
    }

    .bnpl-modal .bnpl-modal-footer__site {
        font-size: 24px;
        line-height: 28px;
    }
}
