/* Clean Swatches Style - Minimalist & Modern - NO BACKGROUNDS */

/* Wrapper spacing */
.variations_form .variations .value {
    padding-bottom: 10px;
}

/* Base Swatch Item (Targeting common plugin classes) */
.variable-item,
.tawcvs-swatches .swatch,
.vi-wpvs-variation-wrap .vi-wpvs-option-wrap {
    box-shadow: none !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 4px !important;
    margin: 4px 6px 4px 0 !important;
    transition: all 0.2s ease-in-out !important;
    opacity: 1 !important;
    background: transparent !important; /* Force transparent background */
    background-color: transparent !important;
    color: #333 !important;
}

/* Ensure inner elements also don't have backgrounds */
.variable-item span,
.variable-item .variable-item-contents {
    background: transparent !important;
    background-color: transparent !important;
}

/* Button/Label Swatches */
.variable-item.button-variable-item,
.variable-item.text-variable-item {
    padding: 6px 12px !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    min-width: 35px;
    text-align: center;
}

/* Color/Image Swatches */
.variable-item.color-variable-item,
.variable-item.image-variable-item {
    padding: 2px !important;
}

.variable-item.color-variable-item span,
.variable-item.image-variable-item img {
    border-radius: 2px !important;
}

/* Hover State - Just border change, NO background */
.variable-item:not(.selected):not(.disabled):hover,
.tawcvs-swatches .swatch:hover {
    border-color: #333 !important;
    background: transparent !important;
    background-color: transparent !important;
    transform: translateY(-1px);
}

/* Selected State - Thick border, NO background */
.variable-item.selected,
.tawcvs-swatches .swatch.selected,
.vi-wpvs-variation-wrap .vi-wpvs-option-wrap.vi-wpvs-option-wrap-selected {
    border-color: #000 !important;
    border-width: 2px !important;
    background: transparent !important; /* Ensure transparent even when selected */
    background-color: transparent !important;
    color: #000 !important;
    font-weight: 700 !important;
    box-shadow: none !important;
    padding: 5px 11px !important; /* Adjust padding for border width */
}

/* Fix for checkmark inside selected items if present */
.variable-item.selected .variable-item-contents {
    color: #000 !important;
}

/* Disabled State */
.variable-item.disabled,
.tawcvs-swatches .swatch.disabled {
    opacity: 0.4 !important;
    border-color: #eee !important;
    background: transparent !important;
    background-color: transparent !important;
    color: #ccc !important;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Label styling cleanup */
.variations_form .label label {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    display: inline-block;
}

/* Reset Link */
.reset_variations {
    font-size: 12px;
    color: #888;
    text-decoration: underline;
    margin-left: 10px;
    display: inline-block;
    visibility: visible !important;
}
