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

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

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

.ninetheme-variations {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ninetheme-term {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    text-align: center;
    position: relative;
    min-width: 60px;
    min-height: 25px;
    border-radius: 0;
    font-size: 12px;
    line-height: 1;
    height: 0;
}

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

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

.terms-outline .ninetheme-term {
    padding: 3px;
    border: 1px solid var(--ninetheme-primary);
}

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

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

.ninetheme-type-button:not(.terms-outline) .ninetheme-term {
    color: var(--ninetheme-light);
    background: var(--ninetheme-primary);
}
.terms-outline .ninetheme-term .type-button {
    color: var(--ninetheme-light);
    background: var(--ninetheme-primary);
}
.terms-outline .type-button {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.type-color {
    height: 100%;
    width: 100%;
    display: flex;
}

.ninetheme-product.row .ninetheme-variations {
    position: relative;
}

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

.terms-radius .ninetheme-term,
.terms-radius .type-color,
.terms-radius .type-button {
    border-radius: 4px;
}

.ninetheme-term.ninetheme-selected {
    border-color: #25d366;
    border-width: 2px;
    border-style: solid;
}
