
/* Visual product variants use Afayi's editorial palette; individual swatches represent catalogue colours. */
.af-variant-native{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;max-width:1px!important;padding:0!important;border:0!important;margin:0!important;clip-path:inset(50%)!important;overflow:hidden!important;white-space:nowrap!important;opacity:0!important}
.af-variant-set{margin:0 0 5px;min-width:0}
.af-variant-readout{display:flex;justify-content:space-between;align-items:center;gap:9px;margin:0 0 9px;font-size:11px;color:var(--muted);font-weight:400}
.af-variant-readout strong{color:var(--ink);font-size:12px;font-weight:700}
.af-variant-grid{display:flex;flex-wrap:wrap;align-items:stretch;gap:9px}
.af-variant-choice{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:48px;min-width:49px;max-width:100%;padding:10px 14px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg);color:var(--ink);font:600 13px/1.3 var(--body);text-align:center;transition:border-color .2s,background .2s,transform .2s;cursor:pointer;overflow:hidden}
.af-variant-choice:not(:disabled):hover{border-color:var(--ink);transform:translateY(-1px)}
.af-variant-choice[aria-pressed=true]{border-color:var(--ink);box-shadow:0 0 0 1px var(--ink);background:var(--surface)}
.af-variant-set[data-kind=size] .af-variant-text[aria-pressed=true],.af-variant-set[data-kind=shoe-size] .af-variant-text[aria-pressed=true]{background:var(--ink);color:var(--bg)}
.af-variant-set[data-kind=size] .af-variant-text,.af-variant-set[data-kind=shoe-size] .af-variant-text{min-width:54px;min-height:49px;font-weight:700}
.af-variant-label{display:block;max-width:100%;overflow-wrap:anywhere}
.af-variant-photo{width:108px;padding:5px 5px 9px;justify-content:flex-start;gap:7px}
.af-variant-photo-frame{display:block;width:100%;aspect-ratio:1/1;overflow:hidden;background:var(--surface);border:1px solid var(--border);border-radius:7px}
.af-variant-photo-frame img{display:block;width:100%;height:100%;object-fit:contain}
.af-variant-photo .af-variant-label{font-size:11px;line-height:1.4;padding:0 3px}
.af-variant-colour{min-width:74px;padding:8px 10px 9px;gap:7px;font-size:11px}
.af-variant-dot{display:block;width:30px;height:30px;border-radius:50%;background:var(--af-swatch);border:1px solid rgba(0,0,0,.16);box-shadow:0 0 0 2px var(--bg)}
.af-variant-check{display:none;position:absolute;top:5px;right:5px;background:var(--ink);color:var(--bg);width:17px;height:17px;border-radius:50%;font:700 10px/17px var(--body);text-align:center}
.af-variant-choice[aria-pressed=true]:not(:disabled) .af-variant-check{display:block}
.af-variant-text .af-variant-check{display:none!important}
.af-variant-choice:disabled{opacity:.48;cursor:not-allowed;background:var(--bg);color:var(--muted);box-shadow:none}
.af-variant-choice:disabled .af-variant-label{text-decoration:line-through}
.af-variant-unavailable{font:400 9px/1.3 var(--body);color:var(--muted);white-space:normal;max-width:100%}
.af-variant-reset{border:0;background:transparent;align-self:flex-start;padding:4px 0;font:600 11px var(--body);text-decoration:underline;text-underline-offset:3px}
.af-qv-option{position:relative;min-width:0}
.af-qv-option .af-variant-grid{gap:7px}.af-qv-option .af-variant-photo{width:93px}
@media(max-width:600px){.af-variant-grid{gap:7px}.af-variant-choice{min-height:46px;padding:8px 12px}.af-variant-photo{width:91px;padding:4px 4px 7px}.af-qv-option .af-variant-photo{width:84px}.af-variant-colour{min-width:67px;padding:7px 8px}.af-variant-dot{width:27px;height:27px}.af-variant-readout{font-size:10px}.af-variant-unavailable{font-size:8px}}
@media(prefers-reduced-motion:reduce){.af-variant-choice{transition:none}}
