/* Base Table */
.variation-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Roboto Condensed', sans-serif;
    margin: 20px 0;
}
.variation-table th,
.variation-table td {
    padding: 6px 8px;
    text-align: center;
    font-size: 15px;
    vertical-align: middle;
    border-bottom: 1px solid #ddd;
}
.variation-table th {
    background: #f5f5f5;
    font-weight: bold;
    white-space: nowrap;
}

/* Price styling */
.variation-table td:nth-child(3) .woocommerce-Price-amount {
    font-weight: 400 !important;
    font-size: 16px !important;
}

/* Hide crossed-out price */
.variation-table del { display: none !important; }

/* Qty dropdown column */
.variation-table td:nth-child(2),
.variation-table th:nth-child(2) { width: 60px; }
.variation-table select {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 4px;
    font-size: 13px;
    width: 33px;
    height: 28px;
    text-align: center;
}

/* Add to Cart button */
.variation-table .button {
    background: #102090 !important;
    color: #fff !important;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    min-width: 120px;
    display: inline-block;
}

/* Button column alignment (desktop) */
.variation-table td:last-child,
.variation-table th:last-child {
    width: 140px;
    text-align: center !important;
    padding: 6px !important;
}

/* MOBILE styles */
@media (max-width: 768px) {
    .variation-table th,
    .variation-table td {
        padding: 4px 6px !important;
        font-size: 13px !important;
    }
    .variation-table td:last-child,
    .variation-table th:last-child {
        width: 60px !important;
        padding: 0 !important;
    }
    .variation-table .button {
        width: 40px !important;
        height: 40px !important;
        padding: 0 !important;
        border-radius: 6px !important;
        font-size: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #102090 !important;
        box-shadow: none !important;
        border: none !important;
        margin: 0 auto !important;
        min-width: 0 !important;
    }
    .variation-table .button::before,
    .variation-table .button::after { content: none !important; }
    .variation-table .button img {
        max-width: 20px;
        max-height: 20px;
        display: block;
    }
}
