/* Verstecke alle originalen Dropdowns für Attribute */
.variations select[name^="attribute_"] {
    display: none;
}

/* Verstecke den Reset-Link */
.variations .reset_variations,
.variations .wd-reset-var {
    display: none !important;
}

/* Variation Row Layout Fix */
.variations tr {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.variations .label {
    margin: 0;
    min-width: 80px;
    flex-shrink: 0;
    font-weight: 600;
}

.variations .value {
    flex: 1;
    display: flex;
    align-items: center;
}

/* Swatch Container */
.text-swatches {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 0;
    flex-wrap: wrap;
}

/* Einzelne Text Swatches */
.text-swatch {
    padding: 10px 18px;
    border: 2px solid #ddd;
    border-radius: 6px;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
    font-weight: 500;
    text-transform: capitalize;
    color: #333;
    min-width: 80px;
    text-align: center;
    white-space: nowrap;
}

/* Hover Effekte */
.text-swatch:hover {
    border-color: #999;
    background: #f9f9f9;
    transform: translateY(-1px);
}

/* Aktiver Status */
.text-swatch.selected {
    border-color: #00aaff;
    background: #00aaff;
    color: white;
}

/* Deaktivierte Swatches */
.text-swatch.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .variations tr {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .variations .label {
        min-width: auto;
    }
    
    .text-swatch {
        padding: 8px 14px;
        font-size: 14px;
        min-width: 60px;
    }
    
    .text-swatches {
        gap: 8px;
    }
}
