
.your_cart h2{
    display: inline-block;
}
.number_after_tittle{
 display: inline-block ;
 position: relative;
 top:-30px;
 left: 10px;
}
@media (min-width: 1000px) {
    .your_cart{
    padding-top: 110px;
    padding-bottom: 10px;
}
.cart{
  display: grid;
    grid-template-columns: 75% 23%;
    grid-row-gap: 20px!important;
    grid-column-gap: 2%!important;
}
}
@media (max-width: 999px) {
    .your_cart{
    padding-top: 50px;
    padding-bottom: 10px;
}
}
/*Cart table*/
.top_cart{
    border-bottom: 1px solid var(--text-white);
}

.top_cart th{
    text-align: center!important;
}
.top_cart th:first-child {
    text-align: left!important;
}
.cart-table {
    width: 100%;
    border-collapse: collapse; 
}
.cart-table th {
    padding: 15px 10px;
    text-align: left;
    font-weight: 500!important;
}

.column-price,
.column-days,
.column-total {
    text-align: center;
    width: 15%; 
}
.cart-item-row{
 border-bottom: 1px solid var(--light-grey); 
}
.cart-item-row:last-child{
 border:none;
}
.cart-table td {
    padding: 20px 10px;
    vertical-align: middle;
}
.item-details {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%; 
}
.car-image {
    width: 200px;
    height: auto;
    aspect-ratio: 5/4;
    object-fit: contain;
    padding: 10px;
    background: var(--light-grey);
}
.item-price-per,
.item-total-price {
    text-align: center;
}
.item-quantity {
    text-align: center;
}
.quantity-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--light-grey);
    border-radius: 40px;
    overflow: hidden; 
}

.control-button {
    background: none;
    border: none;
    font-size: 24px;
    padding: 12px 20px;
    cursor: pointer;
    line-height: 1;
    transition: background-color 0.2s;
}

.quantity-value {
    padding: 0 15px;
}

.item-remove {
    text-align: right;
}

.remove-button {
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.5;
    font-size:30px!important;
    transition: opacity 0.2s;
}

.remove-button:hover {
    opacity: 1;
}

@media (max-width: 999px) {
    
    .cart-table thead {
        display: none;
    }
    .cart tbody{
        border-top: 1px solid var(--text-white);
    }
    .cart-table, 
    .cart-table tbody, 
    .cart-table tr, 
    .cart-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    
    .cart-table tr {
        margin-bottom: 20px;
        padding: 0;
        border: none;
    }

    .cart-table td {
        border: none;
        padding: 12px 0px;
        text-align: left !important; 
        border-bottom: 1px solid var(--super_light-grey);
        position: relative;
    }
    .cart-table td::before {
        content: attr(data-label);
        font-weight: normal;
        text-transform: uppercase;
        margin-right: 10px;
        display: inline-block;
        min-width: 100px; 
    }

    .item-details::before {
        content: none; 
    }

    .item-details {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 20px;
    }
    .car-image {
        width: 100%;
        max-width: 570px; 
        margin-bottom: 10px;
    }
    .control-button {
    padding: 10px 15px;
}

    .item-quantity .quantity-control {
        margin-top: 5px;
    }
    .item-remove {
        position: absolute;
        top: 0;
        right: 0;
        padding: 0;
        text-align: right;
        border-bottom: none;
    }
    .remove-button {
        font-size: 24px!important;
    }
    .item-total-price{
        width: calc(98% - 45px)!important;
        display: inline-block!important;
        padding-top: 22px!important;
    }
    .item-remove{
        width: 45px!important;
        display: inline-block!important;
    }
    .item-remove::before{
        display: none!important;
    }
}

/*Order total*/
.order_total_wrap{
   padding-top: 20px;
}
.order_box{
     background: var(--text-dark-gray);
    padding: 40px 20px;
}
.order_total{
    text-transform: uppercase;
    padding-bottom: 40px;
}
.car-deatails{
    display: grid;
    grid-template-columns: 70% 30%!important;
    grid-row-gap: 20px!important;
    grid-column-gap: 0%!important;
    padding-bottom: 30px;
}
