.cart-box {
    padding: 20px;
}

.update-cart-box {
    margin: 20px 10px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.update-cart-box button {
    padding: 8px 12px;
    border-radius: 2px;
    background: #06402A;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    transition: 0.3s all;
    width: fit-content;
}

.update-cart-box button:hover {
    background: #000;
    color: #fff;
}

.cart-details-box {
    background-color: white;
    padding: 0 0 20px;
    overflow: hidden;
}

.table-header {
    display: flex;
    align-items: center;
    border-radius: 2px;
    padding: 15px;
    background: #F6F9FF;
    margin-bottom: 35px;
}

.trr-box {
    background: rgba(255, 255, 255, 0.55);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 20px 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #DDD;
}

.product-title {
    margin: 0;
    color: #1E1E21;
    font-size: 18px;
    font-weight: 500;
    text-transform: capitalize;
    line-height: 26px;
    word-wrap: break-word;
}

.product-title a:hover {
    color: #06402A;
}

.product {
    width: 40%;
}
.quantity{
    display: flex;
}
.price,
.quantity,
.subtotal {
    width: 20%;
    text-align: center;
    color: #1E1E21;
}

.cart-box-shadow .product-item {
    display: flex;
    align-items: center;
}

.cart-box-shadow .product-image {
    border: 1px solid #ddd;
    background: #fff;
    text-align: center;
    width: 35%;
    margin-right: 15px;
    border-radius: 2px;
}

.product-item .product-image img {
    width: 100%;
    height: 85px;
    object-fit: contain;
    padding: 5px;
}

.cart-box-shadow .wrapper {
    border: 1px solid #dddddd;
    background-color: #fff;
    border-radius: 5px;
    display: flex;
    align-items: center;
    cursor: pointer;
    margin: 0 10px;
}

input.text-center.quantity__number {
    border-right: 1px solid #ccc;
    border-left: 1px solid #ccc;
    text-align: center;
}

.cart-box-shadow .wrapper .minus,
.cart-box-shadow .wrapper .plus {
    display: block;
    width: 33.33%;
    padding: 1px;
}

.card-totals {
    border-radius: 6px;
    border: 1px solid #DDD;
    background: #FFF;
    padding: 25px;
    box-shadow: -5px 5px 5px rgba(0, 0, 0, 0.5);
}

.card-totals .flex-items {
    display: flex;
    padding: 10px 0;
    align-items: center;
    border-bottom: 1px solid #ccc;
}

.card-totals .flex-items p {
    width: 50%;
    font-size: 18px;
    color: #1E1E21;
}

.card-totals .new-total {
    margin: 80px 0 20px;
}

.card-totals .btncart a {
    border-radius: 6px;
    border: 1px solid #ddd;
    background: #1e1e21;
    padding: 13px 35px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    width: 100%;
    display: block;
    text-align: center;
}

.product-sub p {
    border-right: 1px solid #ddd;
    padding-right: 10px;
}

.product-sub i {
    background-color: #df3232;
    width: 25px;
    height: 25px;
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
}

.product-sub {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

@media only screen and (min-width: 1024px) and (max-width: 1400px) {
    .card-totals {
        padding: 15px;
    }

    .card-totals .flex-items p {
        font-size: 16px;
    }

    .card-totals .new-total {
        margin: 10px 0 20px;
    }

    .card-totals .btncart a {
        padding: 5px 10px;
        font-size: 12px;
    }

    #cart {
        font-size: 25px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
    .cart-box {
        padding: 30px 20px;
    }

    .card-totals {
        padding: 15px;
    }

    .card-totals .flex-items p {
        font-size: 16px;
    }

    .card-totals .new-total {
        margin: 50px 0 20px;
    }

    .card-totals .btncart a {
        padding: 5px 10px;
        font-size: 12px;
    }

    #cart {
        font-size: 25px;
    }
}

@media only screen and (min-width: 10px) and (max-width: 767px) {
    .cart-box {
        padding: 30px 10px;
        background-color: #F5F5F5;
    }

    .table-header {
        display: none;
    }

    .trr-box {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        margin: 20px 0;
    }

    .product {
        width: 100%;
        margin-bottom: 10px;
    }

    .price,
    .quantity,
    .subtotal {
        width: 33.33%;
        text-align: center;
        margin-bottom: 5px;
    }

    .cart-box-shadow .product-item {
        align-items: start;
        flex-direction: column;
    }

    .cart-box-shadow .product-item .product-image {
        width: 100px;
        margin-right: 15px;
    }

    .product-sub p {
        font-size: 16px;
        padding-right: 10px;
    }

    .card-totals {
        padding: 25px 15px;
    }

    .card-totals .flex-items p {
        font-size: 18px;
        font-weight: 700;
    }

    #cart {
        font-size: 25px;
    }

    .card-totals .new-total {
        margin: 40px 0 20px;
    }

    .card-totals .btncart a {
        padding: 5px 12px;
        font-size: 14px;
    }
}

@media (max-width: 624px) {
    .trr-box {
        padding: 15px 0;
    }

    .product {
        width: 100%;
        margin-bottom: 10px;
    }

    .price,
    .quantity,
    .subtotal {
        width: 33.33%;
        text-align: center;
    }

    .cart-box-shadow .product-item {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .cart-box-shadow .product-item .product-image {
        margin-right: 0;
    }

    .cart-box-shadow .product-info {
        text-align: center;
    }
}

@media (max-width: 468px) {
    .trr-box {
        padding: 15px 0;
    }

    .product {
        width: 100%;
        margin-bottom: 5px;
    }

    .price,
    .quantity,
    .subtotal {
        width: 100%;
        margin-bottom: 10px;
        font-size: 16px;
    }

    .cart-box-shadow .product-title a {
        font-size: 16px;
    }

    .product-sub p {
        font-size: 16px;
        padding-right: 10px;
    }

    .cart-box-shadow .product-item {
        align-items: center;
        flex-direction: column;
        justify-content: start;
    }

    .cart-box-shadow .wrapper .minus,
    .cart-box-shadow .wrapper .plus {
        padding: 0px;
    }

    .cart-box-shadow .product-info {
        text-align: center;
    }

    .card-totals {
        padding: 25px 15px;
    }

    .card-totals .flex-items p {
        width: 50%;
        font-size: 18px;
        font-weight: 700;
    }

    #cart {
        font-size: 25px;
    }

    .card-totals .new-total {
        margin: 40px 0 20px;
    }

    .card-totals .btncart a {
        padding: 5px 12px;
        font-size: 14px;
    }

    .product-sub {
        padding: 10px 0;
    }
}