/* Small color circles, with generous touch targets. The delivered theme stays intact. */
.fsh-color-picker strong{display:block;font-size:13px;font-weight:600}
.fsh-variant-picker{min-width:0;width:100%}
.fsh-variant-axis{margin:0;padding:0;min-width:0}
.fsh-variant-axis+.fsh-variant-axis{margin-top:18px}
.fsh-variant-axis strong{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px;line-height:1.5}
.fsh-variant-axis .fsh-color-name{margin-left:0;overflow-wrap:anywhere}
.fsh-variant-axis .fsh-combinations{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.fsh-variant-axis .fsh-combinations button{min-width:46px;max-width:100%;min-height:46px;padding:9px 13px;border:1px solid #dedede;border-radius:9px;background:#fff;color:#222;font:inherit;font-size:12px;line-height:1.4;overflow-wrap:anywhere;cursor:pointer}
.fsh-variant-axis .fsh-combinations button.active{border-color:#111;box-shadow:0 0 0 1px #111;background:#fafafa}
.fsh-color-options img.fsh-color-dot{object-fit:cover}
.fsh-color-unknown{background:repeating-linear-gradient(135deg,#fff 0 4px,#e6e6e6 4px 5px)}
.fsh-storefront .detail-gallery.fsh-gallery-with-colors .fsh-color-picker{grid-column:1/-1;grid-row:3;min-width:0;margin-top:12px}
.fsh-storefront .detail-gallery.fsh-gallery-with-colors .gallery-caption{grid-column:1/-1;grid-row:4}
.fsh-color-name{font-weight:400;color:#777;margin-left:10px}
.fsh-color-options{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.fsh-color-options .fsh-color-button{position:relative;display:inline-flex;align-items:center;justify-content:center;width:46px;min-height:46px;padding:5px;background:#fff;border:1px solid #ddd;border-radius:50%;cursor:pointer;transition:border-color .15s,box-shadow .15s}
.fsh-color-dot{display:block;width:28px;height:28px;background:var(--fsh-color);border:1px solid #0002;border-radius:50%}
.fsh-color-options .fsh-color-button.active{border-color:#111;box-shadow:0 0 0 1px #111}
.fsh-color-options .fsh-color-button:focus-visible,.fsh-combinations button:focus-visible{outline:2px solid #111;outline-offset:4px}
.fsh-color-options .fsh-color-button:disabled{cursor:not-allowed;opacity:.5}
.fsh-color-options .fsh-color-button:disabled::after{content:"";position:absolute;width:32px;height:1px;background:#333;transform:rotate(-45deg)}
.fsh-color-options .text-color{border-radius:4px;width:auto;min-width:46px;padding:8px 12px;font-size:12px}
.fsh-color-hint{display:block;margin-top:10px;color:#777;font-size:11px}
.fsh-color-picker .fsh-configuration-label{margin-top:20px}
.fsh-combinations button{min-height:46px}
.fsh-combinations button:disabled{opacity:.5;text-decoration:line-through;cursor:not-allowed}
@media(prefers-reduced-motion:reduce){.fsh-color-options .fsh-color-button{transition:none}}

/* Unknown shades keep a readable name; a product thumbnail must not masquerade as a swatch. */
.fsh-color-options .fsh-color-button:has(.fsh-color-value-label){width:auto;max-width:100%;border-radius:999px;padding:6px 12px 6px 6px;gap:8px}
.fsh-color-options .fsh-color-value-label{font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.fsh-color-options .fsh-color-unknown{flex:none}
