/* Circular photo swatches and direct size choices, backed by native WC selects. */
.sx-choice-picker[hidden]{display:none!important}
.woocommerce-product-gallery .remote-gallery[hidden],.woocommerce-product-gallery .flex-control-thumbs[hidden]{display:none!important}
.sx-choice-picker{margin:0 0 24px;color:var(--ink,#272125)}
.sx-choice-picker .sx-choice-group{min-width:0;margin:0 0 25px;padding:0;border:0}
.sx-choice-group legend{float:none;width:auto;margin:0 0 12px;padding:0;font-size:15px;font-weight:400;line-height:1.5;color:var(--muted,#776b70)}
.sx-choice-group .sx-choice-value{margin-left:5px;color:var(--ink,#272125);font-weight:600}
.sx-choice-options{display:flex;flex-wrap:wrap;gap:10px}
.woocommerce .sx-choice-picker button.sx-choice{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:54px;min-height:54px;margin:0;padding:10px 15px;border:1px solid var(--line,#d8d1d3);border-radius:3px;background:transparent;color:var(--ink,#272125);font:400 15px/1.3 var(--sans,sans-serif);letter-spacing:0;cursor:pointer;transition:border-color .15s,box-shadow .15s,background .15s}
.woocommerce .sx-choice-picker button.sx-choice:hover:not(:disabled){border-color:var(--ink,#272125)}
.woocommerce .sx-choice-picker button.sx-choice[aria-pressed=true]{border-color:var(--ink,#272125);box-shadow:inset 0 0 0 1px var(--ink,#272125);background:#f6f2f4;font-weight:600}
.woocommerce .sx-choice-picker button.sx-choice:focus-visible,.sx-choice-reset:focus-visible{outline:2px solid var(--wine,#7c354d);outline-offset:4px}
.woocommerce .sx-choice-picker button.sx-choice:disabled{color:#a69b9f;cursor:not-allowed;opacity:1}
.sx-choice:disabled:after{content:"";position:absolute;inset:3px;background:linear-gradient(to bottom right,transparent calc(50% - 1px),var(--line,#d8d1d3) 50%,transparent calc(50% + 1px));pointer-events:none}
.woocommerce .sx-choice-picker button.sx-choice--swatch{width:64px;height:64px;min-width:64px;min-height:64px;padding:4px;border:1px solid transparent;border-radius:50%;background:transparent}
.woocommerce .sx-choice-picker button.sx-choice--swatch[aria-pressed=true]{border-color:var(--ink,#272125);box-shadow:inset 0 0 0 1px var(--ink,#272125);background:transparent}
.sx-choice-swatch{display:grid;place-items:center;overflow:hidden;width:54px;height:54px;border:1px solid var(--line,#d8d1d3);border-radius:50%;background:#f5f0f2}
.sx-choice-swatch img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center}
.sx-choice-initial{font-size:14px}
.sx-choice--swatch:disabled .sx-choice-swatch{opacity:.45}
.sx-choice--swatch:disabled:after{inset:7px;border-radius:50%}
.sx-choice-name{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.sx-choice-help{margin:0 0 9px;font-size:12px;line-height:1.5;color:var(--muted,#776b70)}
.woocommerce .sx-choice-picker .sx-choice-reset{display:inline-block;min-height:32px;padding:3px 0;margin:0;border:0;background:transparent;color:var(--muted,#776b70);font:400 13px/1.5 var(--sans,sans-serif);text-decoration:underline;text-underline-offset:4px;cursor:pointer}
/* Hide only after JS has successfully connected every native select. */
.woocommerce .variations_form.sx-picker-enhanced table.variations{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%);margin:0!important;padding:0!important;border:0!important;pointer-events:none}
.sx-picker-enhanced .sx-selected-variant{display:none}
@media(max-width:700px){.sx-choice-options{gap:8px}.woocommerce .sx-choice-picker button.sx-choice{min-width:49px;min-height:49px;padding:10px 13px}.woocommerce .sx-choice-picker button.sx-choice--swatch{width:60px;height:60px;min-width:60px;min-height:60px;padding:4px}.sx-choice-swatch{width:50px;height:50px}}
