/* 1. DESKTOP ALIGNMENT (Restores the Table Structure) */
.woocommerce div.product form.cart table.variations {
    display: table !important;
    width: 100% !important;
    border-collapse: separate;
    border-spacing: 0 15px; /* Adds space between rows without breaking alignment */
}

.woocommerce div.product form.cart table.variations tr {
    display: table-row !important;
}

.woocommerce div.product form.cart table.variations th.label,
.woocommerce div.product form.cart table.variations td.value {
    display: table-cell !important;
    vertical-align: middle;
    padding: 10px 0;
}

/* 2. FONTS & BOXES */
.variations th.label label {
    font-family: 'Century Gothic', sans-serif !important;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.15em;
}

.woocommerce div.product form.cart .variations select {
    border: 1px solid #333 !important;
    padding: 10px !important;
    font-family: 'Century Gothic', sans-serif !important;
    width: 100%;
}

.header__main-menu- ul li a {
    font-family: 'Bitter', serif !important;
}

/* 3. MOBILE FIX (Prevents Overlapping Frame Options) */
@media screen and (max-width: 768px) {
    /* Ensure the table doesn't hide the 3rd row */
    .woocommerce div.product form.cart table.variations {
        overflow: visible !important;
        height: auto !important;
    }

    /* Move the Price/Add to Cart block DOWN so it cannot cover Frame Options */
    .single_variation_wrap {
        display: block !important;
        clear: both !important;
        margin-top: 40px !important; 
        position: relative !important;
        z-index: 10;
    }

    /* Force row visibility */
    .woocommerce div.product form.cart table.variations tr {
        visibility: visible !important;
        opacity: 1 !important;
    }
}
