/**
 * McLean Product Swatches
 * Color swatch styles for WooCommerce product cards
 *
 * @version 1.1.0
 */

.mclean-color-swatches {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    justify-content: center;
}

.mclean-color-swatch {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #2a2a2a;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    flex-shrink: 0;
}

.mclean-color-swatch:hover {
    border-color: #fcb316;
    transform: scale(1.1);
}

.mclean-swatch-more {
    font-size: 12px;
    color: #888;
    font-weight: 500;
    padding-left: 4px;
    display: flex;
    align-items: center;
}

/* Ensure swatches display properly in JetWooBuilder cards */
.jet-woo-products .mclean-color-swatches,
.jet-woo-builder-products .mclean-color-swatches,
.jet-woo-products__item .mclean-color-swatches,
.jet-woo-builder-product .mclean-color-swatches {
    margin-top: 8px;
    margin-bottom: 15px;
}

/* Dark theme compatibility */
.jet-woo-products .mclean-color-swatch,
.jet-woo-builder-products .mclean-color-swatch,
.jet-woo-products__item .mclean-color-swatch,
.jet-woo-builder-product .mclean-color-swatch {
    border-color: #2a2a2a;
}

.jet-woo-products .mclean-color-swatch:hover,
.jet-woo-builder-products .mclean-color-swatch:hover,
.jet-woo-products__item .mclean-color-swatch:hover,
.jet-woo-builder-product .mclean-color-swatch:hover {
    border-color: #fcb316;
}
