.variations select[data-wac-swatches-hidden] {
    display: none !important;
}
.variations .combobox-wrapper:has(select[data-wac-swatches-hidden]) {
    display: none !important;
}
.variations .thegem-combobox-wrap:has(select[data-wac-swatches-hidden]) {
    display: none !important;
}

.wac-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 6px 0 4px;
}

.wac-swatch {
    position: relative;
    box-sizing: border-box;
    width: 96px;
    height: 96px;
    padding: 4px;
    background: #fff;
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    line-height: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    -webkit-appearance: none;
    appearance: none;
}

.wac-swatch:hover,
.wac-swatch:focus-visible {
    border-color: #b8a672;
    outline: none;
}

.wac-swatch--selected {
    border-color: #b8a672;
    box-shadow: 0 0 0 1px #b8a672 inset;
}

.wac-swatch--disabled,
.wac-swatch[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
    filter: grayscale(40%);
}

.wac-swatch__image {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

.wac-swatch__label {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    color: #333;
    padding: 0 6px;
    text-align: center;
}

/* Match the size of WooCommerce's "Clear" link to the swatch label scale. */
.variations .reset_variations {
    font-size: 13px;
}


.quantity input.qty {
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
}