.color-selector {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--color-gray-300);
}

.color-selector-label {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 10px;
}

.color-selector-label span {
    font-weight: 400;
    color: var(--color-gray-500, #8A8A8A);
}

.swatch-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.swatch {
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.swatch:hover {
    transform: scale(1.08);
}

.swatch:focus-visible {
    outline: 2px solid var(--color-orange);
    outline-offset: 3px;
}

.swatch.selected {
    border-color: var(--color-orange);
}

.swatch.selected::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 1px solid var(--color-orange);
    opacity: 0.5;
}

.swatch:disabled,
.swatch.unavailable {
    cursor: not-allowed;
    opacity: 0.35;
}

.swatch.unavailable::before {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    width: 140%;
    height: 1px;
    background: var(--color-gray-500, #8A8A8A);
    transform: rotate(45deg);
}

@media (max-width: 640px) {
    .swatch {
        width: 30px;
        height: 30px;
    }
}