.merchant_item {
    display: inline-block;
    text-align: start;
    background: #f0f0f0;
    margin-left: 5px;
}

.merchant_item.miniature {
    margin-right: 0rem;
}

.merchant_count.line,
.merchant_count.miniature {
    color: #ad1f00;
    position: relative;
    font-weight: 600;
}

.merchant_count.line {
    top: 10px;
    left: -6px;
}

.merchant_count.miniature {
    top: -10px;
    left: 10px;
}


.ecm_credit8 .card-body {
    text-align: left;
    background: #f3f3f3;
    margin-bottom: 1rem;
}

.img {
    vertical-align: bottom;
    width: 1.5rem;
}

.name,
.price_value {
    font-size: 1rem;
    font-weight: 501;
    vertical-align: -moz-middle-with-baseline;
    vertical-align: -webkit-baseline-middle;
}

.price_currency {
    vertical-align: -moz-middle-with-baseline;
    vertical-align: -webkit-baseline-middle;
}

.credit_text {
    font-size: 0.8rem;
    margin-bottom: 0;
    margin-left: 1.5rem;
}

.credit_term {
    font-size: 0.8rem;
    font-weight: 400;
    color: #7a7a7a;
    line-height: 1rem;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}

.merchantType {
    width: 0;
    height: 0;
    position: absolute;
}

label.button {
    text-align: initial;
    border: 1rem solid transparent;
    box-sizing: border-box;
    display: block !important;
    /*cursor: pointer;*/
}

.credit_button .showed {
    display: none;
}

.credit_button.checked .showed {
    display: initial;
}

.credit_button .media {
    display: initial;
}

.credit_button {
    margin-bottom: 1rem;
    border: 1px solid #e3e3e3;
    background-color: #f3f3f3;
    box-shadow: none;
    transition: all 0.5s ease;
    /* max-width: 640px;*/
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.credit_button.checked {
    border: 1px solid #7c7c7c;
    border-style: dashed;
    box-shadow: 0 5px 7px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.credit_button.checked.waiting {
    background-color: #eee;
}

.credit_button:hover {
    box-shadow: 0 5px 7px rgba(0, 0, 0, 0.1);
}

.ecm_credit8 .col-xs-4 {
    position: relative;
    min-height: 1px;
    padding-left: 0;
    float: left;
    width: 33.33333%;
    padding-right: 0.5rem;
}

.ecm_credit8 .credit_input {
    width: 100%;
    width: -moz-available;
    width: -webkit-fill-available;
    width: fill-available;
    max-width: 130px;
    border-radius: 0;
    border-width: thin;
    box-sizing: border-box;
    padding: 0.25rem 0.25rem 0.25rem 0.5rem;
    background: #f6f6f6 url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAQAAAD9CzEMAAAAPklEQVR4Ae3TwREAEBQD0V/6do4SXPZg7EsBhsQ8IEmSMOsiuEfg3gL3oXC7wK0bd1G4o8X9F4yIkyQfSrIByQBjp7QuND8AAAAASUVORK5CYII=) no-repeat right .25rem center / 1rem 1rem;
    -moz-appearance: none;
    -webkit-appearance: none;
}

.ecm_credit8 .row {
    margin-right: 0;
    margin-left: 0;
}

.btn.checkout {
    /* position: fixed;
    bottom: 1rem;
    right: 1rem;*/
}

div#ecm_credit8_product-modal .modal-footer {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: end;
    justify-content: center;
    padding: 1rem;
    border-top: 1px solid #e9ecef;
    border-bottom-right-radius: .3rem;
    border-bottom-left-radius: .3rem;
}

.btn.checkout {
    /* width: 100%; */
    margin-top: 20px;
    padding: 1rem 3rem;
}

.btn.credit {
    background-color: #fff;
    color: #000;
    border: 1px solid #000;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 500;
    text-transform: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.product-quantity {
    flex-wrap: wrap;
}

.credit_tip {
    margin-bottom: 1rem;
}

#ecm_credit8_product-modal .modal-footer .row {
    width: 100%;
}

#ecm_credit8_product-modal .modal-dialog {
    max-width: 900px;
}

.merchant_item_span img.merchant_img.product {
    width: 30px;
    padding: 3px 0px 3px 0px;
}

.merchant_item.product .merchant_item_span {
    display: flex;
    padding: 5px 10px 5px 10px;
    align-items: center;
}

.merchant_wrapper {
    margin-bottom: 10px;
}

.merchant_item_span span.merchant_count.product {
    font-size: 10px;
    line-height: 15px;
    color: #000;
    white-space: nowrap;
    padding-left: 5px;
}

img.merchant_img.miniature,
img.merchant_img.line {
    width: 36px;
    background: #F0EFEF;
    border-radius: 4px;
    /*border: 1px solid #DCDCDC;*/
    box-sizing: border-box;
    /*border-radius: 4px;*/
    padding: 3px;
}

.merchant_item_span {
    display: block;
    padding: 0px;
}

.merchant_item.line {
    margin-left: 0;
    margin-top: 5px;
}

.merchant_item.miniature {
    background: #fff;
}

.merchant_count.miniature,
.merchant_count.line {
    top: -35px;
    left: 25px;
    background: #fff;
    color: #000;
    width: 15px;
    height: 15px;
    position: absolute;
}

.merchant_item_span {
    position: relative;
}

.merchant_count.miniature,
.merchant_count.line {
    top: 1px;
    left: 20px;
    background: #fff;
    color: #000;
    width: 15px;
    height: 15px;
    position: absolute;
    border-radius: 25px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

label.ecm_credit8_label {
    display: block;
    text-align: start;
    color: #000;
    font-size: 13px;
}

input.credit_input {
    border-radius: 4px;
    padding: .5rem 1rem;
}

.ecm_credit8_img img {
    width: 100%;
    height: auto;
}

.required.flex {
    display: flex;
    align-items: center;
}

.p_l_n {
    padding-left: 0;
}

.p_r_n {
    padding-right: 0;
}



.attribute-item_ecm_credit8 {
    font-size: 11px;
    line-height: 15px;
}

.attributes_ecm_credit8 {
    padding-bottom: 10px;
}

.text-center {
    text-align: center;
}

@media (max-width: 767px) {
    .btn.credit {
        width: 100%;
    }

    div#ecm_credit8_product-modal .modal-body {
        flex: none;
    }

    .merchant_item.miniature,
    .merchant_item.line {
        width: auto;
    }

    .merchant_wrapper_span {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    .merchant_item {
        display: inline-block;
        text-align: start;
        background: #f0f0f0;
        margin-left: 0px;
        width: 49%;
    }
    #confirmation_mp{
        width: 100%;
        height: auto;  
      }
}