﻿.checkout-container {
    /*display: flex;
    gap: 2rem;
    padding: 2rem;*/
    max-width: 1200px;
    margin: auto;
}

.checkout-left, .checkout-right {
    flex: 1;
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
}

h2 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-transform: uppercase;
    font-weight: bold;
}

.form-group {
    margin-bottom: 1rem;
}

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: bold;
    }

    .form-group input[type="text"],
    .form-group input[type="tel"] {
        width: 100%;
        padding: 0.5rem;
        border-radius: 5px;
        border: 1px solid #ccc;
    }


.coupon-group {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin: 10px 0;
}

    .coupon-group input {
        flex: 1;
    }


    .coupon-group .apply-coupon {
        padding: 0.5rem 1rem;
        background: #333;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }

.total-summary {
    margin-top: 1rem;
}

    .total-summary p {
        display: flex;
        justify-content: space-between;
        margin: 0.5rem 0;
    }

.btn-complete-order {
    margin-top: 2rem;
    width: 100%;
    padding: 1rem;
    background-color: #000;
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

    .btn-complete-order:hover {
        background-color: #444;
    }

.product-summary {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .product-summary li {
        display: grid;
        grid-template-columns: 60px 2fr 2fr 2fr auto;
        align-items: center;
        gap: 1rem;
        padding: 0.75rem 0;
        border-bottom: 1px solid #eee;
    }

        .product-summary li .product-thumb img {
            width: 60px;
            height: 60px;
            object-fit: cover;
            border-radius: 8px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }

        .product-summary li .product-name {
            font-weight: 600;
            font-size: 1rem;
        }

        .product-summary li .quantity-control {
            display: flex;
            align-items: center;
        }

            .product-summary li .quantity-control button {
                width: 32px;
                height: 32px;
                font-size: 1rem;
                background: #f2f2f2;
                border: 1px solid #ccc;
                border-radius: 6px;
                cursor: pointer;
                transition: 0.2s;
            }

                .product-summary li .quantity-control button:hover {
                    background-color: #e6e6e6;
                }

            .product-summary li .quantity-control .qty-input {
                width: 40px;
                text-align: center;
                font-size: 1rem;
                padding: 5px;
                margin: 0 5px;
                border-radius: 5px;
                border: 1px solid #ccc;
            }

        .product-summary li .product-price {
            font-weight: bold;
            color: #333;
            text-align:right;
            display:block;
        }

        .product-summary li .remove-item {
            cursor: pointer;
            font-size: 1.2rem;
            color: #c00;
            transition: 0.2s;
            margin-bottom: 0.5rem;
        }

            .product-summary li .remove-item:hover {
                color: #f00;
            }


/*Validate*/
form .error{
    color: red;
    font-size:11px;
    font-weight:unset;
}