@charset 'utf-8';

.cart_left {
    width: 71%;
}



.cart_wrapper {
    background-image: url(../../../assets/images/share/bg_yellow.webp);
    background-position: top center;
    background-repeat: repeat-y;
    background-size: 100%;
    padding: 60px 0;
}

.cart_right {
    width: 26%;
}

.cart_title {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;

}


.total,
.trash a i {
    color: #C90000;
}

.total {
    font-weight: 700;
}



.table_cart .input-number {
    padding: 6px 1px;
    width: 30px;
    margin: 0 auto;
    text-align: center;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;

}

input[type="number"] {
    -moz-appearance: textfield;

}



.cart_totals {
    font-size: 20px;
    margin: 0 0 7px 0;
    padding: 10px 0 0 15px;
}



.product_cart_col {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    border-bottom: 1px solid #eae8dd;
    padding: 14px 15px;
}

.product_cart_col dt {
    font-size: 16px;
}

.product-price {
    font-weight: bold;
    color: #C90000;
    font-size: 16px;
}

table.table_cart {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: 16px;
    text-align: left;
}

/* Table header styling */
.table_cart thead th {
    background-color: #dfdcdc;
    color: #000;
    padding: 12px 15px;
    /* text-transform: uppercase; */
    font-size: 16px;
}

/* Table body styling */
.table_cart tbody td {
    padding: 12px 15px;
    border-bottom: 1px solid #dddddd;
}

/* Alternating row colors */
.table_cart tbody tr:nth-child(even) {
    /* background-color: #f3f3f3; */
}

.cart_right_in,
.table_cart tbody tr {
    background-color: #fff;
}

.cart_right_in {
    border: 1px solid #dddddd;
}

/* Hover effect on rows */
.table_cart tbody tr:hover {
    background-color: #f1f1f1;
}

/* Styling first column */
.table_cart tbody td:first-child {
    font-weight: bold;
}

/* Add spacing around the table */
table.table_cart {
    /* margin-top: 20px; */
    width: 100%;
}

.table_cart input {
    text-align: center;
}

.btn_confirm {
    display: block;
    margin-top: 10px;
}

.btn_confirm a {
    background-color: #C90000;
    font-size: 18px;
    color: #fff;
    text-align: center;
    display: block;
    padding: 10px 0;
}

.coupon_box {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
}

.form-control {
    display: block;
    padding: 10px;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    -webkit-transition: border-color .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
    -o-transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    width: 1%;
    font-size: 14px;
}

.apply {
    background-color: #C90000;
    color: #fff;
    font-size: 14px;
    border: 0;
    padding: 12px 20px;
    line-height: 1.5;
}

.coupon_inner {
    margin-top: 20px;
}

.coupon_inner h3 {
    font-size: 18px;
    color: #424242;
    margin-bottom: 10px;

}

.more_cart {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 15px 0 0 0;
}

.btn_shopping a {
    font-size: 14px;
    color: #000;
}

.btn_cart_up a {
    font-size: 14px;
    color: #000;
}
.btn_cart_up button{
    border: 0;
    padding: 0;
    margin: 0;
}
.btn_shopping a{
    position: relative;
    padding: 0 0 0 13px;
}
.btn_shopping a::before {
    content: '';   
    background-image: url(../../../assets/images/left_to.png);
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 100%;
    padding: 6px;
    position: absolute;
    top: 4px;
    left: 0;

}
.product-order {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}
@media only screen and (max-width: 991px) {

    .table-responsive {
        width: 100%;
        margin-bottom: 15px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: -ms-autohiding-scrollbar;

    }

    .cart_wrapper {
        padding: 40px 0;
    }

    .cart_warp {
        display: block;
    }

    .cart_left,
    .cart_right {
        width: 100%;
    }
}

@media only screen and (max-width: 767px) {
    table {

        min-width: 100%;
        /* Ensure the table is still scrollable */

    }

    table.table_cart {
        min-width: 767px;

    }
}