/* Flatsome Theme — Custom Variations Integration */
/* External file for browser caching (moved from inline style) */

.theme-flatsome .custom-variations-wrapper {
    margin: 30px 0;
    padding: 25px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.theme-flatsome .attribute-row {
    margin-bottom: 20px;
    align-items: center;
}

.theme-flatsome .attribute-name {
    font-weight: 700;
    color: #2c3e50;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.theme-flatsome .variation-option {
    border: 2px solid #f1f1f1;
    background: #fafafa;
    transition: border-color 0.3s, background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.theme-flatsome .variation-option::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.theme-flatsome .variation-option:hover::before {
    left: 100%;
}

.theme-flatsome .variation-option:hover {
    border-color: #d26e4b;
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(210, 110, 75, 0.2);
}

.theme-flatsome .variation-option.selected {
    border-color: #d26e4b;
    background: linear-gradient(135deg, #fff5f2 0%, #fefefe 100%);
    box-shadow: 0 0 0 3px rgba(210, 110, 75, 0.15);
    transform: translateY(-1px);
}

.theme-flatsome .color-swatches {
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Flatsome responsive adjustments */
@media (max-width: 768px) {
    .theme-flatsome .custom-variations-wrapper {
        margin: 20px 0;
        padding: 15px;
    }

    .theme-flatsome .attribute-row {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}
