.wcsvfs-hidden {
    display: none !important;
    visibility: hidden !important;
}

.wcsvfs-swatches {
    overflow: hidden;
    padding: 0.5em 0;
}

.wcsvfs-swatches .swatch-color {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    margin-right: 15px;
    cursor: pointer;
    border: 1px solid transparent;
    position: relative;
    opacity: 0.5;
}

.wcsvfs-swatches .swatch-label,
.wcsvfs-swatches .swatch-image {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    margin-right: 15px;
    cursor: pointer;
    border: 1px solid transparent;
    position: relative;
    opacity: 0.5;
}

.woocommerce-widget-layered-nav-list .wcsvfs-swatches .swatch {
    opacity: 1;
}

.wcsvfs-swatches .swatch.selected {
    border-color: #999;
    opacity: 1;
}

.wcsvfs-swatches .swatch:hover {
    opacity: 1;
}

.wcsvfs-swatches .swatch-color.selected {
    -webkit-box-shadow: 0 0 5px;
    -moz-box-shadow: 0 0 5px;
    box-shadow: 0 0 5px;
}

.woocommerce-widget-layered-nav-list .swatch.selected {
    border: none;
    box-shadow: none;
    overflow: initial;
}

.wcsvfs-swatches .swatch.disabled {
    opacity: 0.5;
}

.wcsvfs-swatches .swatch-color {
    text-indent: -9999px;
    border: 2px solid #ccc;
}

.wcsvfs-swatches .swatch-color.selected {
    border-color: #333;
}

@keyframes check {
    0% {
        width: 0px;
        height: 0px;
    }
    50% {
        width: 6px;
    }
    100% {
        height: 10px;
    }
}

.wcsvfs-swatches .swatch-color.selected:before {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
    content: "";
    width: 6px;
    height: 10px;
    display: block;
    border: solid #eee;
    border-width: 0 2px 2px 0;
    position: absolute;
    top: calc(50% - 1px);
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    animation: check 0.6s ease-in-out 0s 1 forwards;
}

.wcsvfs-swatches .swatch-label {
    background-color: #f1f1f1;
}

.wcsvfs-swatches .swatch-image {
    overflow: hidden;
}