.mono-installment-trigger {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px 8px 8px;
    background-color: #F9F9F9;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 24px;
    width: fit-content;
    box-sizing: border-box;
}

.mono-installment__icon {
    width: 19px;
    height: auto;
    flex-shrink: 0;
}

.mono-installment__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mono-installment__title {
    font-weight: 500;
    font-size: 11px;
    line-height: 16px;
    color: #5A5A5A;
}

.mono-installment__price {
    font-weight: 500;
    font-size: 12px;
    line-height: 18px;
    color: #161619;
}

.mono-installment__price strong {
    font-weight: 700;
}

.mono-panel .panel {
    padding: 16px 44px 45px;
    display: flex;
    flex-direction: column;
}

.mono-panel .panel-header {
    padding: 0;
}

.mono-panel .panel-header .mono-panel__title {
    font-weight: 600;
    font-size: 16px;
    line-height: 150%;
    margin: 0 0 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #E5E5E5;
}

.mono-panel .button-close {
    right: 46px;
    top: 18px;
}

.mono-panel .mono-panel-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    overflow-y: auto;
    height: 100%;
    font-size: 14px;
    line-height: 155%;
    color: #0B1215;
}

.mono-panel__desc {
    margin: 0 0 30px;
}

.mono-panel__subtitle {
    font-weight: 500;
    font-size: 16px;
    line-height: 155%;
    margin: 0 0 18px;
}

.mono-panel__steps {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.mono-panel__step {
    position: relative;
    padding-left: 25px;
    padding-bottom: 30px;
}

.mono-panel__step::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 8px;
    height: 8px;
    background-color: #0B1215;
    border-radius: 50%;
    z-index: 1;
}

.mono-panel__step::after {
    content: '';
    position: absolute;
    left: 3.5px;
    top: 18px;
    bottom: 13px;
    width: 1px;
    background-color: #0B1215;
    z-index: 0;
}

.mono-panel__step:last-child::after {
    height: 34px;
}

.mono-panel__text {
    font-size: 14px;
    margin: 0;
}

.mono-panel__text b {
    font-weight: 700;
}

.mono-panel__step-content {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.mono-panel__icon {
    width: 92px;
    height: auto;
    display: block;
}

.mono-panel__footer {
    margin-top: auto;
    padding-top: 12px;
}

.mono-panel__notes-list {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
    display: flex;
    flex-direction: column;
}

.mono-panel__note {
    font-size: 12px;
    position: relative;
    padding-left: 8px;
    line-height: 160%;
    max-width: 380px;
}

.mono-panel__note::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 2px;
    height: 2px;
    background-color: #000000;
    border-radius: 50%;
}

.mono-panel__link {
    text-decoration: underline;
}

.mono-installment-buy-wrapper {
    width: 100%;
}

.mono-installment-buy-btn {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #F3F3F4;
    border-radius: 4px;
    padding: 4px 10px;
    cursor: pointer;
}

.mono-installment-buy-btn.is-loading {
    opacity: 0.6;
    pointer-events: none;
}

.mono-installment-buy-btn__title {
    font-weight: 500;
    font-size: 12px;
    line-height: 18px;
    color: #161619;
    margin-bottom: 2px;
}

.mono-installment-buy-btn__info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 13px;
    line-height: 18px;
    color: #161619;
}

.mono-installment-buy-btn__icon {
    width: 16px;
    height: auto;
}

.mono-mobile-only {
    display: none;
}

.mono-panel__footer .mono-installment-modal-btn {
    width: 100%;
    font-weight: 600;
    font-size: 14px;
    line-height: 19px;
    padding: 14.5px 0;
    margin-top: 12px;
    text-align: center;
    transition: opacity 0.3s;
    text-transform: initial;
}

.mono-installment-modal-btn:hover {
    opacity: 0.8;
}

.mono-installment-modal-btn.is-loading {
    opacity: 0.6;
    pointer-events: none;
}

#mono-cart-total-state {
    display: none;
}

.mini-cart-extra-actions {
    display: flex;
    flex-direction: row;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
}

.mini-cart-extra-actions #buy-one-click-button-mini-cart,
.mini-cart-extra-actions .mono-installment-buy-wrapper {
    flex: 1 1 calc(50% - 4px);
    margin: 0;
}

.mini-cart-extra-actions .mono-installment-buy-wrapper {
    display: flex;
}

.mini-cart-extra-actions .mono-installment-buy-btn {
    width: 100%;
    height: 100%;
}

@media screen and (min-width: 768px) {
    .mono-panel.offscreen-panel .panel {
        right: auto;
        bottom: auto;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        height: auto;
    }
    .mono-panel.offscreen-panel.open .panel,
    .mono-panel.offscreen-panel.active .panel {
        transform: translate(-50%, -50%);
    }
}

@media screen and (max-width: 767px) {
    .mono-desktop-only {
        display: none;
    }

    .mono-installment-buy-wrapper {
        display: none;
    }

    .mono-mobile-only {
        display: block;
    }

    .mono-panel .panel {
        height: auto;
        max-height: 85vh;
        top: auto;
        bottom: 0;
        width: 100%;
        border-radius: 8px 8px 0 0;
        position: fixed;
        padding: 16px 16px 31px;
    }

    .mono-panel .panel-header .mono-panel__title {
        margin: 0 0 16px;
        padding-bottom: 16px;
    }

    .mono-panel .mono-panel-content {
        height: auto;
        min-height: 0;
    }

    .mono-panel .button-close {
        right: 16px;
    }

    .mono-mobile-layout-below {
        background: none;
        padding: 16px 0;
        margin: 0;
    }

    .mono-mobile-layout-below .mono-mobile-text-limit {
        font-weight: 500;
        font-size: 12px;
        line-height: 18px;
    }

    .mono-mobile-layout-below .mobile-more-link {
        font-weight: 500;
        font-size: 12px;
        line-height: 16px;
        text-decoration: underline;
        color: #838889;
    }

    .mono-installment-buy-btn.mobile-action-btn {
        background: none;
        text-transform: uppercase;
        padding: 12.5px 19.5px;
        color: #000000;
        border: 1px solid #000000;
        border-radius: 0;
        width: auto;
        font-weight: 600;
        font-size: 10px;
        line-height: 18px;
    }

    .mono-mobile-layout-above {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: 12px;
        padding: 16px 0;
    }

    .mono-mobile-layout-above .mobile-info-block {
        background: none;
        padding: 0;
        margin: 0;
    }

    .mono-mobile-layout-above .mono-mobile-installment-price {
        font-weight: 500;
        font-size: 13px;
        line-height: 18px;
    }

    .mono-installment-mobile-wrapper {
        width: 100%;
    }

    .mini-cart-extra-actions {
        flex-direction: column;
    }

    .mini-cart-extra-actions #buy-one-click-button-mini-cart,
    .mini-cart-extra-actions .mono-installment-buy-wrapper {
        flex: 1 1 100%;
    }

}
