/* Progressive enhancement: the native WooCommerce selection remains the source of truth. */
#page .variations tr.vv-enhanced-variation {display:block}
#page .vv-enhanced-variation>th,#page .vv-enhanced-variation select {display:none}
#page .vv-enhanced-variation>td {display:block;width:100%}
#page .vv-variant-picker fieldset {border:0;background:none;padding:0;margin:0 0 22px;min-width:0}
#page .vv-variant-picker legend {padding:0;margin:0 0 12px;font-size:15px;font-weight:600;color:var(--forest);line-height:1.5}
#page .vv-variant-picker legend span {font-weight:400;color:var(--muted);margin-left:8px}
#page .vv-variant-grid {display:flex;flex-wrap:wrap;gap:8px}
#page button.vv-variant-choice {position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:54px;min-height:50px;max-width:100%;padding:12px 16px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--forest);font-size:14px;font-weight:500;line-height:1.4;box-shadow:none;overflow-wrap:anywhere}
#page button.vv-variant-choice:hover {border-color:var(--vv-focus);background:var(--soft);color:var(--forest)}
#page button.vv-variant-choice[aria-pressed=true] {border:2px solid var(--vv-action);padding:11px 15px;background:var(--soft);box-shadow:0 0 0 2px var(--sage)}
#page button.vv-variant-photo {width:78px;height:84px;min-width:0;padding:4px;background:#fff;overflow:hidden}
#page button.vv-variant-photo[aria-pressed=true] {padding:3px;background:#fff}
#page button.vv-variant-photo img {display:block;width:100%;height:100%;object-fit:contain;border-radius:6px}
#page button.vv-variant-photo[aria-pressed=true]:after {content:'✓';position:absolute;right:3px;bottom:3px;width:18px;height:18px;line-height:18px;border-radius:50%;background:var(--vv-action);color:#fff;font-size:11px;text-align:center}
#page button.vv-variant-choice:disabled {opacity:.35;cursor:not-allowed;text-decoration:line-through}
#page button.vv-variant-choice[hidden] {display:none}
#page button.vv-variant-more {display:block;min-height:40px;margin-top:9px;padding:5px 0;background:none;border:0;border-radius:0;color:var(--forest);text-decoration:underline;text-underline-offset:4px;font-size:12px;font-weight:400}
#page button.vv-variant-more:hover {background:none;color:var(--vv-hover)}
@media(max-width:767px){
 #page button.vv-variant-photo {width:68px;height:74px}
 #page .vv-variant-grid {gap:7px}
}
