/* Variation buttons (inc/variation-swatches.php). The select stays for WooCommerce, hidden from the start,
   so the buttons show without a jump. Borders follow the linked-product tiles ("Setup options"). */
.single-product form.variations_form td.value:has(.sw-swatches) select{display:none!important}
.sw-swatches-current{margin:0 0 10px;font:700 16px/1.4 var(--sw-font-body);color:var(--sw-ink)}
.sw-swatches-choices{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 8px}
.single-product .sw-swatch{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;margin:0;padding:0 16px;border:2px solid var(--sw-line);border-radius:0;background:var(--sw-white);color:var(--sw-ink);box-shadow:none;font:400 16px/1.2 var(--sw-font-body);letter-spacing:0;cursor:pointer}
/* Option names keep their case; the global button rule (uppercase) carries an id. */
html body.switch-native #wrapper #main .sw-swatches .sw-swatch{text-transform:none!important}
.single-product .sw-swatch--image{width:88px;height:88px;padding:4px}
.single-product .sw-swatch--image img{display:block;width:100%;height:100%;margin:0;object-fit:contain}
.single-product .sw-swatch:hover{border-color:var(--sw-ink)}
.single-product .sw-swatch[aria-pressed="true"]{border-color:var(--sw-orange)}
.single-product .sw-swatch:focus-visible{outline:2px solid var(--sw-ink);outline-offset:2px}
.single-product .sw-swatch:disabled{opacity:.35;cursor:not-allowed}
.single-product .sw-swatch:disabled:not(.sw-swatch--image){text-decoration:line-through}
