.lwvb-native-select {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
}

.lwvb-value { width: 100%; }

.lwvb-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    margin: 0;
}

.lwvb-button {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    min-width: 108px;
    padding: 9px 15px;
    border: 1px solid var(--lwvb-border, #d8d8d8);
    border-radius: var(--lwvb-radius, 6px);
    background: #fff;
    color: #222;
    box-shadow: 0 1px 2px rgba(0,0,0,.03);
    font-family: inherit;
    font-size: 11px !important;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.lwvb-button:hover:not(:disabled) {
    border-color: var(--lwvb-selected, #138a4d);
    color: var(--lwvb-selected, #138a4d);
    background: #f6fbf8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
}

.lwvb-button.is-selected {
    border-color: var(--lwvb-selected, #138a4d) !important;
    background: var(--lwvb-selected, #138a4d) !important;
    color: var(--lwvb-selected-text, #fff) !important;
    box-shadow: 0 4px 14px rgba(0,0,0,.10);
}

.lwvb-check {
    display: none;
    width: 17px;
    height: 17px;
    margin-right: 6px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    font-size: 11px;
    line-height: 17px;
}

.lwvb-button.is-selected .lwvb-check { display: inline-flex; }

.lwvb-content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
}

.lwvb-name,
.lwvb-price { white-space: nowrap; }

.lwvb-price {
    font-size: 10px !important;
    font-weight: 700;
    opacity: .9;
}

.lwvb-price del { opacity: .65; font-weight: 400; }

.lwvb-button.is-selected .lwvb-name,
.lwvb-button.is-selected .lwvb-price { color: inherit !important; }

.lwvb-button.is-disabled,
.lwvb-button:disabled {
    opacity: .42;
    cursor: not-allowed;
    text-decoration: line-through;
    transform: none !important;
    box-shadow: none;
}

.lwvb-buttons .lwvb-button:focus-visible {
    outline: 2px solid var(--lwvb-selected, #138a4d);
    outline-offset: 2px;
}

/* Smoothly emphasize the real WooCommerce/WoodMart product price when a variation is selected. */
.lwvb-price-updated {
    transition: opacity .18s ease, transform .18s ease;
}

@media (max-width: 767px) {
    .lwvb-buttons { gap: 7px; }
    .lwvb-button {
        min-width: 88px;
        min-height: 43px;
        padding: 8px 10px;
        font-size: 10px !important;
    }
    .lwvb-price { font-size: 9px !important; }
}


@media (max-width: 380px) {
    .lwvb-button {
        min-width: 82px;
        min-height: 41px;
        padding: 7px 7px;
        font-size: 10px !important;
    }

    .lwvb-price {
        font-size: 8.5px !important;
    }
}
