.variation-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0;
}

.swatch {
    cursor: pointer;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.swatch-color {
    border-radius: 50%;
}

.swatch-image {
    border-radius: 3px;
    overflow: hidden;
}

.swatch-label {
    padding: 5px 10px;
    background: #f5f5f5;
    border-radius: 3px;
}

.swatch.selected {
    border-color: #000;
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px #000;
}

.swatch.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    position: relative;
}

.swatch.disabled::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #ff0000;
    transform: rotate(-45deg);
}

.swatch-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    white-space: nowrap;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    margin-bottom: 5px;
}

.swatch:hover .swatch-tooltip {
    visibility: visible;
    opacity: 1;
}

.selected-attribute {
    margin-left: 10px;
    font-weight: bold;
}