.styler-empty,
.styler-terms + select:not(.styler-select),
.styler-term.styler-disabled.after {
    display: none !important;
}

.styler-term.styler-disabled {
    opacity: .4;
    cursor: default;
}

form.variations_form>div {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.styler-terms {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.styler-term {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    text-align: center;
    position: relative;
}

.styler-type-color .styler-term,
.styler-product .styler-term {
    height: 18px;
    width: 18px;
    min-height: 18px;
    min-width: 18px;
    border-radius: 100%;
    border-color:  1px solid var(--styler-gray);
    background-color: var(--styler-gray);
    color: var(--styler-dark);
}

.styler-term.styler-selected:before {
    content: '✓';
    min-height: 18px;
    min-width: 18px;
    border-radius: 100%;
    background-color: var(--styler-success);
    color: #fff;
    text-align: center;
    font-size: 10px;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
}

.styler-terms.hide-icon .styler-term.styler-selected:before {
    content: none;
}

span.styler-term.styler-disabled:after {
    content: "";
    position: absolute;
    width:  1px;
    height: 100%;
    background-color: #000;
    transform: rotate(45deg);
}

.styler-type-image .styler-term {
    height: 42px;
    width: 42px;
}

.styler-type-image .styler-term img {
    width: 100%;
    height: 100%;
    display: block;
}

.styler-type-color .styler-term {
    font-size: 0;
}

.styler-type-color .styler-term>span:not(.term-hint) {
    width: 100%;
    height: 100%;
	border-radius: 100%;
}

.styler-type-button .styler-term {
    font-size: 12px;
    min-width: 30px;
    border: 1px solid var(--styler-gray);
    border-radius: 0;
}

.styler-loop-swatches .styler-btn-reset-wrapper:not(.active) {
    display: none;
}

.styler-product.row .styler-variations-items .label {
    margin-right: 10px;
}

.show-hints .styler-terms .term-hint {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    -webkit-transition: .3s ease;
    -moz-transition: .3s ease;
    transition: .3s ease;
    -webkit-transition-delay: 0s;
    -moz-transition-delay: 0s;
    transition-delay: 0s;
    bottom: 100%;
    background: var(--styler-black);
    color: var(--styler-light);;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 5px 10px;
    font-size: 12px;
    z-index: 1;
}

.show-hints .styler-terms .styler-term:hover .term-hint {
    visibility: visible;
    opacity: 1;
    -webkit-transition-delay: .1s;
    -moz-transition-delay: .1s;
    transition-delay: .1s;
    bottom: calc(100% + 10px);
}

.show-hints .styler-terms .term-hint:before {
    content: '';
    border: 5px solid transparent;
    border-top-color: var(--styler-black);
    position: absolute;
    bottom: -10px;
}

.styler-terms.outline-1 .styler-term {
    padding: 3px;
    background: transparent;
    border: 1px solid var(--styler-black);
}

.styler-terms.styler-type-color.outline-1 .styler-term > span {
    min-height: 100%;
    min-width: 100%;
}
