/**
 * London Workshop - UX Final Absolute Fix
 * Version: 1.9.1
 */

/* 1. THE COLOR KILLER */
select#color, 
tr:has(select#color),
tr:has(label[for="color"]) {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
}

/* 2. THE SIZE RESTORATION */
.variations tr { display: none !important; }
.variations tr:has(select#size),
.variations tr:has(.lw-swatch-container) {
    display: block !important;
}

/* 3. HIDE NATIVE DROPDOWN & JUNK */
select#size, 
.variations label, 
th.label, 
.reset_variations, 
.quantity,
.woocommerce-variation-description {
    display: none !important;
}

/* 4. TABLE RESET */
.variations, .variations tbody, .variations td, .variations th {
    display: block !important;
    width: 100% !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* 5. TEXT SWATCHES (The Buttons) */
.lw-swatch-container {
    display: flex !important;
    flex-wrap: wrap;
    gap: 20px;
    margin: 10px 0 25px 0;
}

.lw-swatch {
    cursor: pointer;
    font-family: "Inter", sans-serif;
    font-size: 11px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #999;
    position: relative;
}

.lw-swatch.selected { color: #000; font-weight: 700; }
.lw-swatch.selected::after {
    content: ''; position: absolute; bottom: -6px; left: 0; 
    width: 100%; height: 1px; background: #000;
}

/* STRIKETHROUGH / GREY OUT FOR OUT OF STOCK */
.lw-swatch.out-of-stock { 
    color: #e2e2e2 !important; 
    text-decoration: line-through !important; 
}

/* 6. ADD TO CART */
.single_add_to_cart_button {
    background: #000 !important; color: #fff !important;
    border-radius: 0 !important; text-transform: uppercase !important;
    letter-spacing: 0.15em !important; font-size: 11px !important;
    padding: 14px 50px !important; margin-top: 10px !important;
    display: block !important;
}

/* 7. ACCORDION & BREADCRUMBS */
.lw-info-accordion { border-top: 1px solid #eee; margin-top: 40px; padding-top: 10px; }
.lw-info-trigger { background: none; border: none; width: 100%; text-align: left; font-family: "Inter", sans-serif; font-size: 11px; letter-spacing: 0.1em; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: #000; padding: 15px 0; }
.lw-plus { font-size: 18px; font-weight: 300; transition: transform 0.4s ease; }
.lw-info-accordion.active .lw-plus { transform: rotate(45deg); }
.lw-info-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; font-size: 13px; line-height: 1.6; color: #666; }
.lw-info-accordion.active .lw-info-content { max-height: 1500px; padding: 20px 0; }

/* EN DASH STYLING FOR BULLET POINTS */
.lw-info-content ul { list-style: none !important; padding: 0 !important; }
.lw-info-content li { position: relative; padding-left: 20px; margin-bottom: 8px; }
.lw-info-content li::before { 
    content: "\2013"; /* En Dash */
    position: absolute; 
    left: 0; 
    color: #000; 
}

.woocommerce-breadcrumb { font-family: "Inter", sans-serif; font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: #999; margin-bottom: 25px !important; display: block !important; }
.woocommerce-breadcrumb a { color: #999 !important; text-decoration: none !important; }