body {
    background-color: #f9f9f9;
}

.payment-container {
    max-width: 1200px;
    margin: 40px auto;
    display: flex;
    gap: 40px;
    padding: 0 20px;
}

/* Cột Form bên trái */
.payment-form {
    flex: 3;
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.payment-form h2, .payment-form h3 {
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.payment-form h3 {
    margin-top: 30px;
    font-size: 1.2rem;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}

.form-row {
    display: flex;
    gap: 20px;
}

.half-width {
    flex: 1;
}

.pay-now-btn {
    width: 100%;
    padding: 15px;
    background-color: #333;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px;
    margin-top: 20px;
    transition: background-color 0.2s;
}

.pay-now-btn:hover {
    background-color: #000;
}

/* Cột Hóa đơn bên phải */
.order-summary {
    flex: 2;
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    height: fit-content; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.order-summary h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.summary-item-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #eee;
}

.summary-item-info {
    flex-grow: 1;
}

.summary-item-name {
    font-weight: 500;
    margin: 0;
}

.summary-item-qty {
    font-size: 0.9rem;
    color: #777;
    margin: 4px 0 0;
}

.summary-item-price {
    font-weight: 500;
}

.summary-total {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 1rem;
}

.total-row span {
    color: #555;
}

.total-row.final-total {
    margin-top: 15px;
    font-size: 1.2rem;
}

.total-row.final-total span,
.total-row.final-total strong {
    color: #000;
}

@media (max-width: 992px) {
    .payment-container {
        flex-direction: column-reverse;
    }
    .payment-form, .order-summary {
        padding: 20px;
    }
}