/**
 * Variation Button Widget Styles
 * Version: 1.0.0
 */

.vbw-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vbw-group {
    display: flex;
    flex-direction: column;
}

.vbw-label {
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 14px;
    color: #333;
}

.vbw-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.vbw-button {
    padding: 10px 20px;
    border: 1px solid #ddd;
    background-color: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    outline: none;
    line-height: 1.5;
    text-align: center;
}

.vbw-button:hover {
    border-color: #999;
    background-color: #f5f5f5;
}

.vbw-button.active {
    background-color: #000;
    border-color: #000;
    color: #fff;
}

.vbw-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
    .vbw-wrapper {
        gap: 15px;
    }
    
    .vbw-buttons {
        gap: 8px;
    }
    
    .vbw-button {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* Smooth image transition */
.elementor-widget-woocommerce-product-images img,
.woocommerce-product-gallery__image img {
    transition: opacity 0.3s ease;
}