/* RFU Home Ready-to-Wear - swatches
   Migrated from Snippet 357 inline CSS. Home-only enqueue.
   V2: swatches are real buttons and can switch the card image/link from the component source. */
.rfu-home-rtw__swatches {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 7px 0 5px;
}

.rfu-home-rtw__swatch {
    appearance: none;
    -webkit-appearance: none;
    width: 13px;
    height: 13px;
    min-width: 13px;
    min-height: 13px;
    padding: 0;
    border-radius: 999px;
    display: inline-block;
    border: 1px solid rgba(7, 19, 31, 0.16);
    box-shadow: 0 2px 6px rgba(7, 19, 31, 0.08);
    flex: 0 0 auto;
    cursor: pointer;
    line-height: 1;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.rfu-home-rtw__swatch:hover,
.rfu-home-rtw__swatch:focus-visible,
.rfu-home-rtw__swatch.is-active {
    transform: translateY(-1px) scale(1.14);
    border-color: rgba(255, 255, 255, 0.88);
    box-shadow: 0 0 0 2px rgba(245, 130, 32, 0.38), 0 4px 10px rgba(7, 19, 31, 0.18);
    outline: none;
}

.rfu-home-rtw__swatch[style*="#d8c3a5"] {
    border-color: rgba(7, 19, 31, 0.18);
}

.rfu-home-rtw__image {
    transition: opacity .16s ease, transform .16s ease;
}

.rfu-home-rtw__image.is-switching {
    opacity: .72;
    transform: scale(.992);
}

@media (max-width: 768px) {
    .rfu-home-rtw__swatches {
        gap: 5px;
        margin: 6px 0 4px;
    }

    .rfu-home-rtw__swatch {
        width: 11px;
        height: 11px;
        min-width: 11px;
        min-height: 11px;
    }
}
