.woo-custom-checkout-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
    max-width: 1200px; /* Optional: Limit max width for better control */
    margin-left: auto;
    margin-right: auto;
}

.woo-col {
    flex: 1 1 30%; /* Grow, shrink, and base width at 30% */
    min-width: 300px; /* Minimum width to prevent columns from collapsing */
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.woo-col h3 {
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 8px;
    font-size: 20px;
    color: #333;
}

#order_review table {
    width: 100%;
    border-collapse: collapse;
}

#order_review table th,
#order_review table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e0e0e0;
    text-align: left;
    font-size: 14px;
}

#order_review table tfoot tr:last-child td,
#order_review table tfoot tr:last-child th {
    border-bottom: none;
    font-weight: bold;
    font-size: 15px;
    color: #000;
}

.place-order button[type="submit"] {
    background-color: #2d89ef;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s ease;
}

.place-order button[type="submit"]:hover {
    background-color: #1b5fa5;
}

select#custom_shipping_method {
    width: 100%;
}

/* Responsive: Stack columns on small screens */
@media (max-width: 1024px) { /* Adjusted breakpoint for better row display */
    .woo-col {
        flex: 0 0 48%;
        max-width: 48%;
    }
}

@media (max-width: 768px) {
    .woo-col {
        flex: 0 0 100%;
        max-width: 100%;
    }
}