.gn2vs-color-group {
    gap: .5rem;
}

.gn2vs-color-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    /*width: 81px;*/
    width: 5.07rem;
    padding: 0.25rem;
    border: 2px solid transparent;
    background: none;
    cursor: pointer;
    transition: border-color 0.15s ease-in-out;
}

.gn2vs-color-tile:hover:not([disabled]):not(.active) {
    border-color: #C6C6C6 !important;
}

.gn2vs-color-tile.active {
    /*border-color: #333;*/
}

.gn2vs-color-tile[disabled] {
    opacity: 0.7;
    pointer-events: none;
}

.gn2vs-color-tile .swatch {
    display: block;
    width: 40px;
    height: 40px;
    border: 1px solid #dee2e6;
    border-radius: 2px;
}

.gn2vs-color-tile .label {
    font-size: .8rem !important;
}

@media (max-width: 575px) {
    .gn2vs-color-tile,
    .gn2vs-color-filter label {
        /* width: 78px; */
        width: 4.85rem;
    }
}

/* Color preview next to trigger */
.gn2vs-color-preview {
    display: inline-block;
    width: 15px;
    height: 15px;
    vertical-align: sub;
}

/* Color popup filter */
.gn2vs-color-filter {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #fff;
    margin-top: -.75rem;
    padding: .75rem 0;
    border-bottom: 1px solid #dee2e6;
}

.gn2vs-color-filter label {
    font-weight: 700;
    /*min-width: 81px; */
    min-width: 5.07rem;
}

.gn2vs-color-filter input {
    max-width: 10.75rem;
}

.gn2vs-color-tile.is-hidden,
.gn2vs-color-group.is-hidden,
.gn2vs-color-empty.is-hidden {
    display: none !important;
}

.gn2vs-color-empty {
    padding: 1rem 0;
    text-align: center;
}

/* Reset selection link */
.gn2vs-reset-link {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    font-size: .85rem;
    color: #6f6f6e;
    text-decoration: underline;
}

.gn2vs-reset-link:hover {
    color: #333;
    text-decoration: none;
}
