:root {
    --ero-gold: #e6c069;
    --ero-black: #111111;
    --ero-cream: #fffaf2;
    --ero-muted: #a6a6a6;
}

.variations_form .ero-select-accessible {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.ero-swatches {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 3px 0 10px;
}

.ero-swatch {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.ero-swatches--color .ero-swatch {
    display: inline-block !important;
    width: 30px !important;
    max-width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    padding: 0 !important;
    border: 2px solid #ffffff;
    border-radius: 50% !important;
    background: var(--ero-swatch-color) !important;
    box-shadow: 0 0 0 1px #b9b9b9;
}

.ero-loop-options {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    margin: 10px 0 4px;
}

.ero-loop-option-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 7px;
}

.ero-loop-swatch {
    display: inline-block !important;
    width: 20px !important;
    max-width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    padding: 0 !important;
    border: 2px solid #fff !important;
    border-radius: 50% !important;
    background: var(--ero-swatch-color) !important;
    box-shadow: 0 0 0 1px #9b9b9b;
    transition: transform .18s ease, box-shadow .18s ease;
}

.ero-loop-swatch:hover,
.ero-loop-swatch:focus-visible {
    transform: scale(1.12);
    box-shadow: 0 0 0 2px var(--ero-gold);
    outline: none;
}

.ero-loop-pill {
    display: inline-flex !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 26px !important;
    align-items: center;
    justify-content: center;
    padding: 4px 10px !important;
    border: 1px solid #c9c9c9 !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: var(--ero-black) !important;
    font-size: 12px;
    line-height: 1.15;
    text-decoration: none !important;
}

.ero-loop-pill:hover,
.ero-loop-pill:focus-visible {
    border-color: var(--ero-gold) !important;
    box-shadow: 0 0 0 2px rgba(230, 192, 105, .25);
    outline: none;
}

.ero-swatches--color .ero-swatch:hover,
.ero-swatches--color .ero-swatch:focus-visible {
    transform: scale(1.08);
    box-shadow: 0 0 0 2px var(--ero-gold), 0 3px 12px rgba(0, 0, 0, .18);
    outline: none;
}

.ero-swatches--color .ero-swatch.is-selected {
    box-shadow: 0 0 0 3px var(--ero-gold), 0 4px 14px rgba(0, 0, 0, .2);
}

.ero-swatches--button .ero-swatch {
    min-width: 46px;
    min-height: 38px;
    padding: 8px 15px;
    border: 1px solid #c9c9c9;
    border-radius: 999px;
    background: #ffffff;
    color: var(--ero-black);
    font: inherit;
    font-size: 14px;
    line-height: 1.2;
}

.ero-swatches--button .ero-swatch:hover,
.ero-swatches--button .ero-swatch:focus-visible {
    border-color: var(--ero-gold);
    box-shadow: 0 0 0 2px rgba(230, 192, 105, .25);
    outline: none;
}

.ero-swatches--button .ero-swatch.is-selected {
    border-color: var(--ero-gold);
    background: var(--ero-gold);
    color: #000000;
    font-weight: 700;
}

.ero-swatch.is-unavailable {
    cursor: not-allowed;
    opacity: .32;
    text-decoration: line-through;
}

.ero-swatches--color .ero-swatch.is-unavailable {
    position: relative;
}

.ero-swatches--color .ero-swatch.is-unavailable::after {
    position: absolute;
    top: 50%;
    left: 3px;
    right: 3px;
    height: 1px;
    background: #c62828;
    content: '';
    transform: rotate(-45deg);
}

@media (max-width: 767px) {
    .ero-swatches {
        gap: 9px;
    }

    .ero-swatches--color .ero-swatch {
        width: 34px !important;
        max-width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
    }

    .ero-swatches--button .ero-swatch {
        min-height: 42px;
        padding: 9px 14px;
    }
}
