.wccs-group-container {
    margin-bottom: 25px;
    font-family: inherit;
}
.wccs-title {
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 1.1em;
    color: inherit;
}
.wccs-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* --- Style: Color / Image --- */
.wccs-style-color .wccs-swatch {
    position: relative;
    cursor: pointer;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    padding: 3px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #fff;
}
.wccs-style-color .wccs-swatch:hover {
    border-color: #94a3b8;
    transform: scale(1.05);
}
.wccs-style-color .wccs-swatch.active {
    border-color: #0f172a;
    box-shadow: 0 0 0 1px #0f172a;
    transform: scale(1.1);
}
.wccs-style-color .wccs-swatch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.wccs-style-color .wccs-swatch-color {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

/* --- Style: Text Labels (Size Buttons) --- */
.wccs-style-label .wccs-swatch {
    cursor: pointer;
    padding: 8px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    background: #f8fafc;
    color: #334155;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    user-select: none;
}
.wccs-style-label .wccs-swatch:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
}
.wccs-style-label .wccs-swatch.active {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

/* --- Style: Radio Buttons --- */
.wccs-style-radio {
    flex-direction: column;
    gap: 8px;
}
.wccs-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 500;
    color: inherit;
    margin: 0;
}
.wccs-radio-label input[type="radio"] {
    margin: 0;
    cursor: pointer;
    width: 18px;
    height: 18px;
}

/* --- Tooltips (Only for Color/Image style) --- */
.wccs-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: #1e293b;
    color: #fff;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
    z-index: 10;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.wccs-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #1e293b transparent transparent transparent;
}
.wccs-style-color .wccs-swatch:hover .wccs-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
