/* Design reference: https://codepen.io/mycnlz/pen/reLOZV */


/* ui_btn */
.ui_btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    border-radius: 3px;
    background-color: white;
    cursor: pointer;
}

.b_lg {
    padding: 8px;
    font-size: 14px;
}

.b_primaryCH {
    border: 1px solid #333;
}

.input-ch {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: snow;
}

/* custom scrollbar */
/* width */
::-webkit-scrollbar {
    width: 3px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* container */
.containerCH {
    display: flex;
    width: 600px;
    height: 450px;
    border-radius: 10px;
    background-color: snow;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    overflow: hidden;
}

/* box */
.boxCH {
    padding: 24px;
}

.boxCH .head {
    margin-bottom: 16px;
    color: #1E1F29;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}

/* order_box */
.order_boxCH {
    width: 260px;
}

/* order_list */
.order_listCH {
    height: auto;
    overflow: auto;
}

.order_listCH li {
    display: flex;
    padding: 8px 0;
}

.order_listCH ul {
    list-style: none;
}

.order_listCH li+li {
    border-top: 1px solid #ccc;
}

.order_listCH .prod_img {
    font-size: 0;
    display: flex;
    align-items: center;
}

.order_listCH .prod_info {
    padding: 0 8px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.order_listCH .prod_info .name {
    flex-grow: 1;
}

.order_listCH .prod_info .direccion {
    font-size: 10px;
}

.order_listCH .prod_info .price {
    color: #263c8f;
    font-size: 14px;
    font-weight: bold;
    align-self: end;
}

/* total_price */
.total_priceCH dd {
    text-align: right;
    color: #263c8f;
    font-size: 32px;
    font-weight: bold;
}

/* payment_box */
.payment_boxCH {
    height: 100%;
    margin: 50px auto;
    width: 100%;
    box-shadow: -1px 0 5px 1px #ccc;
    background: linear-gradient(180deg, rgba(20, 0, 0, 0.1), #18502b);
    position: relative;
}

.payment_boxCH .card_img {
    height: 180px;
    width: 100%;
    padding: 16px;
    margin-bottom: 16px;
    position: relative;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
    background-color: #ddd;
    overflow: hidden;
    border: 2px solid #18502b;
}

.payment_boxCH .card_img:before,
.payment_boxCH .card_img:after {
    content: "";
    display: block;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background-color: rgba(20, 0, 0, 0.1);
    position: absolute;
    z-index: 1;
}

.payment_boxCH .card_img:before {
    top: 40%;
    right: -40%;
}

.payment_boxCH .card_img:after {
    top: -40%;
    left: -40%;
}

.payment_boxCH .card_img .fa-cc-visa {
    color: white;
    font-size: 32px;
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
}

.payment_boxCH .card_info {
    margin-top: 40px;
    color: #1E1F29;
    text-shadow: 1px 1px 2px black;
    position: relative;
    z-index: 2;
}

.payment_boxCH .card_info dt {
    margin-bottom: 4px;
    color: #1E1F29;
    font-size: 12px;
    text-transform: uppercase;
}

.payment_boxCH .card_info li {
    display: inline-block;
}

.payment_boxCH .card_info li+li {
    margin-left: 4px;
}

.payment_boxCH .number,
.payment_boxCH .nombre {
    margin-bottom: 12px;
}

.payment_boxCH .expiration,
.payment_boxCH .cvc {
    display: inline-block;
    width: calc(50% - 2px);
}

.payment_boxCH .card_form {
    flex-grow: 1;
}

.payment_boxCH .card_form .footer {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
}

.card_boxCH {
    list-style: none;
    padding: 0px 10px;
}

.order-table td:last-of-type {
    vertical-align: top;
    padding-left: 25px;
}

.popup {
    width: 400px;
    background: #fff;
    border-radius: 6px;
    position: absolute;
    top: 0;
    left: 45%;
    transform: translate(-50, -50%) scale(0.1);
    text-align: center;
    padding: 0 30px 30px;
    color: #333;
    visibility: hidden;
    transition: transform 0.4s, top 0.4s;
}

.open-popup {
    visibility: visible;
    top: 50%;
    transform: translate(-50, 50%) scale(1);
}

.popup img {
    width: 100px;
    margin-top: -50px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.popup h2 {
    font: 38px;
    font-weight: 500;
    margin: 30px 0 10px;
}

.popup button {
    width: 100%;
    margin-top: 50px;
    padding: 10px 0;
    background: #fff;
    border: 0;
    outline: none;
    font-size: 18px;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
}

.cardCH {
    position: relative;
    display: flex;
    flex-direction: row;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 10px;
    padding: 10px;
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: .25rem;
    font-size: .875em;
    color: #dc3545;
}
.bg-light {
    background-color: #F7FAFF !important;
}
.text-muted {
    color: #6c757d !important;
}
.text-danger {
    color: #dc3545 !important;
}
.div-block-address-checkout {
    position: relative;
    width: 100%;
    height: 270px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.border-blur::before,
.border-blur::after {
    border-radius: 50%;
    height: 400px !important;
    width: 500px !important;
}
.div-block-address-checkout::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background-image: conic-gradient(
        transparent,
        transparent,
        #b5011a
    );
}
.div-block-address-checkout::before{
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background-image: conic-gradient(
        transparent,
        transparent,
        #18502b
    );
    transform: rotate(190deg);
}
.reverse-address::after{
    transform: rotate(190deg)!important;
}
.reverse-address::before{
    transform: rotate(0deg)!important;
}
.div-block-address-checkout .div-content-address {
    position: absolute;
    padding:10px;
    inset: 6px;
    border-radius: 16px;
    background: white;
    z-index: 1;
}
.div-block-address-checkout .div-content-address label{
    color:#b5011a;
}
.div-block-address-checkout{
    border-radius:10px; padding:10px 10px;
}
.badge-success{
    background:#18502b;
}
.mb-10{
    margin-bottom: 10px;
}
@media (max-width: 764px) {
    .cardCH {
        flex-direction: column;
    }

    .payment_boxCH .card_img {
        height: 180px;
        width: 100%;
        padding: 16px;
        margin-bottom: 16px;
        position: relative;
        border-radius: 10px;
        box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
        background-color: #263c8f;
        overflow: hidden;
    }
}