.kcp-hidden-select {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.kcp-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 8px 0 14px;
}

.kcp-swatch {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 3px;
    border: 2px solid #d5d5d5;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    line-height: 1;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease, opacity .16s ease;
}

.kcp-swatch:hover,
.kcp-swatch:focus {
    border-color: #777;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, .08);
}

.kcp-swatch.selected {
    border-color: #111;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, .12);
    transform: translateY(-1px);
}

.kcp-swatch.disabled,
.kcp-swatch:disabled {
    cursor: not-allowed;
    opacity: .35;
    transform: none;
    box-shadow: none;
}

.kcp-swatch-visual {
    width: 32px;
    height: 32px;
    display: block;
    border-radius: 7px;
    border: 1px solid rgba(0, 0, 0, .18);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.kcp-swatch-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.kcp-swatch-none .kcp-swatch-visual {
    width: auto;
    min-width: 42px;
    padding: 0 8px;
    border: 0;
    background: transparent;
}

.kcp-swatch-none .kcp-swatch-label {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

.variations .value .kcp-swatches + .reset_variations {
    margin-left: 0;
}
