.woocommerce-product-gallery__image {
    position: relative;
}

.woocommerce-product-gallery__image img.ltw-builder-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: fadeIn 0.3s ease-in;
    pointer-events: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

select[name^="attribute_"].ltw-disabled,
select[name^="attribute_"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f5f5f5;
}

.variations tr:has(select.ltw-disabled) {
    opacity: 0.6;
}

.variations tr:has(select.ltw-disabled) .label {
    color: #999;
}

.ltw-conditional-variations {
    margin-top: 0;
    border-top: none;
}

.ltw-conditional-variations tbody tr {
    transition: opacity 0.3s ease;
}

.ltw-conditional-variations select.ltw-conditional-attribute {
    width: 75%;
    max-width: 100%;
}

/* Selectores de color */
.color-content {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.color_option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
}

.color_option:hover {
    border-color: #999;
}

.color_option input[type="radio"] {
    display: none;
}

.color_option input[type="radio"]:checked + .color_circle {
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.2);
}

.color_option input[type="radio"]:checked ~ .color_name {
    font-weight: 700;
}

.color_circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #ddd;
    transition: box-shadow 0.3s ease;
}

.color_name {
    font-size: 14px;
    color: #333;
}

/* Selectores de color deshabilitados */
.color-content.ltw-disabled {
    opacity: 0.6;
    pointer-events: none;
}

.color-content.ltw-disabled .color_option {
    cursor: not-allowed;
    opacity: 0.5;
}

.woocommerce div.product form.cart .variations td.label{
width: 151px;
}