/* Variation Swatches */
.aws-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}

.aws-swatch {
    width: var(--aws-sw-size, 32px);
    height: var(--aws-sw-size, 32px);
    border: 2px solid #ddd;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    position: relative;
}

.aws-swatches--circle .aws-swatch {
    border-radius: 50%;
}

.aws-swatches--square .aws-swatch {
    border-radius: 0;
}

.aws-swatches--rounded .aws-swatch {
    border-radius: 4px;
}

.aws-swatch:hover {
    border-color: #999;
    transform: scale(1.1);
}

.aws-swatch.is-selected {
    border-color: #333;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #333;
}

.aws-swatch.is-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.aws-swatch.is-disabled::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #999;
    transform: rotate(-45deg);
}
