.checkout-page-wrapper {
    padding: 60px 0;
}

.checkout-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
}

.checkout-columns {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.checkout-section {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.checkout-section h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

/* Form Fields */
.form-row {
    margin-bottom: 15px;
    /* display:flex;
    flex-direction: column; */
}
.place-order {
    display:flex !important;
    flex-direction: column !important;
}

.form-row label {
    display: block;
    margin-bottom: 5px;
    color: #555;
}

.form-row input, 
.form-row select, 
.form-row textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Order Review */
.order-review {
    position: sticky;
    top: 20px;
}

#order_review_heading {
    display: none;
}

.woocommerce-checkout-review-order-table {
    width: 100%;
    margin-bottom: 20px;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 12px;
}

/* Payment Section */
#payment {
    margin-top: 20px;
}

#payment .payment_methods {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

#payment .payment_methods li {
    padding: 10px;
    background: #f7f7f7;
    border-radius: 4px;
    margin-bottom: 10px;
}

#place_order {
    width: 100%;
    padding: 15px;
    background: #0077B6;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s;
}

#place_order:hover {
    background: #005b8c;
}

/* Responsive */
@media (max-width: 768px) {
    .checkout-columns {
        grid-template-columns: 1fr;
    }

    .checkout-title {
        font-size: 2rem;
    }

    .order-review {
        position: static;
    }
}

/* Messages & Validation */
.woocommerce-error {
    background: #fff5f5;
    color: #c53030;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.woocommerce-message {
    background: #f0fff4;
    color: #2f855a;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* ...existing code... */

/* .order-item-with-thumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.order-item-thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
} */

/* Ajuste en tablas de "Your Order" */
.woocommerce-checkout-review-order-table .product-name .order-item-with-thumb,
.woocommerce-cart-form .product-name .order-item-with-thumb {
    display: inline-flex;
    align-items: center;
}

/* ...existing code... */
.order-item-thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}
.order-item-thumb-link { display:inline-flex; align-items:center; }
.product-title { vertical-align: middle; }