/* Color Swatch */
.color-swatch {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.color-swatch i {
    opacity: 0;
    color: white;
    font-size: 1.25rem;
    transition: opacity 0.2s;
}

.color-swatch.active {
    border-color: var(--color-border);
    box-shadow: 0 0 0 4px hsl(var(--background));
}

.color-swatch.active i {
    opacity: 1;
}

.color-swatch:hover {
    transform: scale(1.1);
}