.ex_credit_main_block {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 8px;
}

.ex_credit_main_title {
    display: flex;
    flex-direction: row;
    gap: 4px;
    flex-wrap: nowrap;
    align-items: center;
    font-size: 14px;
    color: #212121;
}

.ex_credit_main_block_content {
    border: 1px solid #F2F2F2;
    border-radius: 8px;
    padding: 16px;
    color: #212121;
    font-size: 14px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.ex_credit_main_block_content_top {
    flex: 2;
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.ex_credit_main_block_content_price {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.ex_credit_main_block_content_images {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

.ex_credit_main_block_content_images img {
    max-width: 24px;
    max-height: 24px;
    padding: 2px;
}

.ex_credit_main_block_content_images_item {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.ex_c_counter {
    background: #F4F4F4;
    border-radius: 50px;
    width: 16px;
    height: 16px;
    font-size: 10px;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
}

.ex_credit_main_block_content_btn {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.ex_credit_main_block_toogle {
    padding: 12px 32px;
    border-radius: 8px;
    background: #3FA240;
    color: white !important;
    width: 100%;
}

.ex_credit_icon_info {
    display: inline-flex;
    text-align: center;
    color: gray;
    font-weight: normal;
    border-radius: 100%;
    font-size: 11px;
    cursor: pointer;
    position: relative;
}

.ex_credit_icon_info_content {
    position: absolute;
    left: 100%;
    bottom: 100%;
    background-color: white;
    width: max-content;
    max-width: 250px;
    padding: 8px;
    border-radius: 4px;
    color: #00171f;
    display: none;
    z-index: 9999;
    font-size: 12px;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .1);
}

.ex_credit_icon_info:hover .ex_credit_icon_info_content {
    display: block;
}

@media (max-width: 768px) {
    .ex_credit_main_block_content {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .ex_credit_main_block_content_top {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
        justify-content: space-between;
        gap: 12px;
    }

    .ex_credit_main_block_content_btn {
        width: 100%;
    }

    .ex_credit_main_block_toogle {
        width: 100%;
        text-align: center;
    }

    .ex_credit_main_block_content_separator {
        display: none;
    }
}


/* Popup */
.ex_credit_modal {
    position: relative;
    background: #FFF;
    padding: 24px;
    width: auto;
    max-width: 860px;
    margin: 20px auto;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ex_credit_modal_header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 32px;
}

.ex_credit_modal_header_title {
    font-size: 20px;
    color: black;
    font-weight: 500;
}

.ex_credit_modal_header_close {
}

.ex_credit_modal_header_close_btn {
    position: relative;
    background: #F4F4F4 !important;
    border-radius: 10px;
    opacity: 1;
    height: 32px;
    width: 32px;
    padding: 4px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    top: 0 !important;
}

.ex_credit_modal_credit_item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border: 1px solid #F2F2F2;
    border-radius: 8px;
}

.ex_credit_modal_credit_item_service {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

.ex_credit_modal_credit_item_service_image {
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background: #FAFAFA;
    border-radius: 8px;
}

.ex_credit_modal_credit_item_service_image img {
    width: 32px;
    height: 32px;
}

.ex_credit_modal_credit_item_service_title {
    color: #00171f;
    font-weight: 500;
}

.ex_credit_modal_credit_item_service_text {
    font-size: 14px;
    color: #9CA3AF;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ex_credit_modal_credit_item_selector {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.ex_credit_modal_credit_item_selector_select {
    position: relative;
    width: 160px;
    height: 42px;
    font-size: 14px;
    padding: 12px !important;
    border-radius: 8px !important;
    border: 1px solid #F2F2F2 !important;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: url("data:image/svg+xml,%3Csvg width='17' height='17' viewBox='0 0 17 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.5 6.5L8.5 10.5L12.5 6.5' stroke='%239CA3AF' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center;
    background-color: #fff;
    background-size: 17px 17px;
}

.ex_credit_modal_credit_item_selector_select_arrow {
    position: relative;
    right: 25px;
}

.ex_credit_modal_credit_item_price {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

.ex_credit_modal_credit_item_price_value {
    font-size: 20px;
    color: black;
    font-weight: 500;
}

.ex_credit_modal_credit_item_price_btn {
    background: #5C8DF5;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    color: white;
    transition: 0.3s ease-out;
}

.ex_credit_modal_credit_item_price_btn:hover {
    background: #3B68D9;
    transition: 0.3s ease-out;
}

.mfp-close-btn-in .mfp-close {
    display: none;
}

@media (max-width: 768px) {
    .ex_credit_modal_credit_item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .ex_credit_modal_credit_item_selector {
        width: 100%;
    }

    .ex_credit_modal_credit_item_selector_select {
        width: 100%;
    }

    .ex_credit_modal_credit_item_selector_select_arrow {
        position: absolute;
        right: 10px;
    }

    .ex_credit_modal_credit_item_price {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }
}

@media (max-width: 1366px) {
    .ex_credit_main_block_toogle {
        padding: 12px 16px;
    }
}

/* Popup */

/* Checkout */
.ex_smart_link {
    position: absolute;
    right: 16px;
    top: 16px;
}

.ex_credit_smart_block {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.ex_credit_smart_image {
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background: #FAFAFA;
    border-radius: 8px;
}

.ex_credit_smart_image img {
    width: 32px;
    height: 32px;
}

.ex_credit_smart_text {
    font-size: 12px;
    color: #9CA3AF;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ex_credit_smart_select {

}

.ex_credit_smart_title {
    color: black;
    font-weight: 500;
    font-size: 14px;
}

.ex_credit_smart_price {
    color: black;
    font-weight: 500;
    font-size: 16px;
}

/* Checkout */