/* Custom WooCommerce Variation Swatches CSS */

/* Hide the default WooCommerce select dropdowns */
.skp-hidden-select {
    display: none !important;
}

/* Wrapper for the custom swatches */
.skp-swatches-wrapper {
    margin-bottom: 15px;
}

/* Container for all swatches in an attribute */
.skp-swatches-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

/* Individual swatch button style */
.skp-swatch {
    border: 1px solid #ccc;
    background-color: #fff;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Hover state */
.skp-swatch:hover:not(.disabled) {
    border-color: #000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Selected state */
.skp-swatch.selected {
    border-color: #000;
    background-color: #000;
    color: #fff;
}

/* Disabled/Out of stock state (added by JS when woo triggers update) */
.skp-swatch.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Clear selection button container */
.skp-clear-swatches {
    margin-top: 10px;
    font-size: 13px;
}
.skp-clear-swatches a {
    color: #777;
    text-decoration: underline;
}
.skp-clear-swatches a:hover {
    color: #000;
}
