/* Ensure the container is responsive */
.container-cart {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Cart steps - Responsive alignment */
.cart-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.cart-steps .step {
    text-align: center;
    flex: 1;
    font-size: 14px;
}

.cart-steps .step i {
    font-size: 20px;
    margin-bottom: 5px;
}

/* Cart Table Styling */
.cart-table table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th, .cart-table td {
    padding: 10px;
    text-align: left;
}

.cart-table img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 10px;
}

.cart-product {
    display: flex;
    align-items: center;
}

.cart-product div {
    display: flex;
    flex-direction: column;
}

/* Quantity Box */
.quantity-box {
    display: flex;
    align-items: center;
}

.quantity-box input {
    width: 40px;
    text-align: center;
    margin: 0 5px;
}

/* Order Summary */
.order-summary {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 5px;
}

.order-summary h4 {
    text-align: center;
    margin-bottom: 15px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.summary-item.total {
    font-weight: bold;
}

/* Coupon Input */
.coupon-box {
    display: flex;
    align-items: center;
    margin: 15px 0;
}

.coupon-box input {
    flex: 1;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.apply-coupon {
    background: #5D8736;
    color: white;
    border: none;
    padding: 5px 10px;
    margin-left: 5px;
    cursor: pointer;
    border-radius: 3px;
}

/* Checkout Button */
.checkout-btn {
    width: 100%;
    padding: 10px;
    background: #809D3C;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* 🛠️ Responsive Adjustments */
@media (max-width: 992px) {
    .row {
        display: flex;
        flex-direction: column;
    }

    .col-lg-8, .col-lg-4 {
        width: 100%;
    }

    .cart-table th, .cart-table td {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .cart-steps {
        flex-direction: column;
        align-items: center;
    }

    .cart-table th, .cart-table td {
        display: block;
        width: 100%;
    }

    .cart-product {
        flex-direction: column;
        align-items: start;
    }

    .cart-table img {
        width: 100%;
        height: auto;
    }

    .quantity-box {
        justify-content: center;
    }

    .order-summary {
        text-align: center;
    }

    .coupon-box {
        flex-direction: column;
    }

    .coupon-box input {
        margin-bottom: 10px;
    }
}
