﻿

/* Media Queries */
/* Media Query for smaller screens */
@media (max-width: 767px) {
    .order-card {
        padding: 5px;
        /* other styles for smaller screens */
    }

    .order-column {
        flex: 1 1 100%;
        /* other styles for smaller screens */
    }

    .cart-table {
        display: block;
        overflow: hidden;
    }

    .cart-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 10px;
    }

        .cart-item img {
            width: 60px;
            height: 60px;
        }

    .product-name {
        margin-top: 0;
        font-size: 14px;
    }

    .quantity-input {
        width: 50%;
        margin: 0 auto;
        text-align: center;
    }

    .total_price {
        font-size: 14px;
    }

    .btn-remove {
        font-size: 14px;
        margin-right: 0;
        float: none;
        display: block;
        text-align: center;
    }
}
/* Portrait Cart Styles */
@media (max-width: 375px) { /* iPhone 12 width */
    .cart-table {
        display: block;
        overflow: hidden;
    }

    .cart-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 10px;
    }

        .cart-item img {
            width: 60px;
            height: 60px;
        }

    .product-name {
        margin-top: 0;
        font-size: 14px;
    }

    .quantity-input {
        width: 50%;
        margin: 0 auto;
        text-align: center;
    }

    .total_price {
        font-size: 14px;
    }

    .btn-remove {
        font-size: 14px;
        margin-right: 0;
        float: none;
        display: block;
        text-align: center;
    }
}

/* Grand Total Section */
.total-section {
    margin-top: 40px;
    padding: 20px;
    background-color: #f7f7f7;
    text-align: right;
    border-top: 2px solid #ddd;
}

.subtotal {
    font-size: 18px;
    margin-bottom: 5px;
    color: #333;
}

.grand-total {
    font-size: 24px;
    font-weight: bold;
    color: #d9534f;
}

/* Button Styles */
.btn-clear, .btn-continue, .btn-success {
    margin-top: 5px;
    margin-right: 5px;
    background-color: #007bff;
    border-color: #007bff;
}

    .btn-clear:hover, .btn-continue:hover, .btn-success:hover {
        background-color: #0056b3;
        border-color: #0056b3;
    }

.btn-remove {
    color: #d9534f;
}
