/* Checkout Page */
.checkout-section {
    padding: 2rem 1rem;
    padding-bottom: 100px; /* footer space */
    max-width: 1200px;
    margin: 0 auto;
}

.checkout-section h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.checkout-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

/* Billing Form */
.billing-form {
    flex: 1 1 400px;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.billing-form h2 {
    margin-bottom: 1rem;
    color: #059E84;
}

.billing-form label {
    display: block;
    margin: 0.5rem 0 0.2rem;
    font-weight: 500;
}

.billing-form input, .billing-form select {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.billing-form button {
    background: #059E84;
    color: #fff;
    border: none;
    padding: 0.7rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.25s;
}

.billing-form button:hover {
    background: #048a72;
}

/* Order Summary */
.order-summary {
    flex: 1 1 300px;
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.checkout-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.checkout-table th, .checkout-table td {
    padding: 0.5rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.checkout-subtotal {
    text-align: right;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Footer */
.cart-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #f8f9fa;
    padding: 1rem 0;
    text-align: center;
    border-top: 1px solid #ddd;
    z-index: 1000;
}

.cart-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.cart-footer a {
    color: #059E84;
    text-decoration: none;
}

.cart-footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .checkout-grid {
        flex-direction: column;
        gap: 1.5rem;
    }

    .billing-form, .order-summary {
        flex: 1 1 100%;
    }
}