.ms-theme-swatches-hidden { display: none !important; }
.ms-select-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ms-swatches { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 12px; align-items: center; }
.ms-swatch { width: 46px; height: 46px; padding: 0; border: 2px solid #e2e2e2; border-radius: 8px; background: #fff; cursor: pointer; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; transition: border-color .15s, box-shadow .15s, transform .15s; }
.ms-swatch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ms-swatch:hover { border-color: #b9b9b9; transform: translateY(-1px); }
.ms-swatch.is-active { border-color: #111; box-shadow: 0 0 0 2px rgba(17,17,17,.18); }
.ms-swatch.is-text { font-size: 12px; font-weight: 700; color: #333; }
.ms-swatch-clear { width: 28px; height: 28px; border-radius: 50%; border: 1px solid #d6d6d6; background: #fff; color: #777; cursor: pointer; line-height: 1; font-size: 16px; }

.ms-theme-swatches-hidden { display: none !important; }
.ms-swatches { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.ms-swatch { position: relative; width: 54px; height: 54px; padding: 0; border: 2px solid #e2e2e2; border-radius: 10px; background: #fff; cursor: pointer; overflow: hidden; }
.ms-swatch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ms-swatch.is-active { border-color: #111; box-shadow: 0 0 0 2px #111 inset; }
.ms-swatch-code { position: absolute; inset-inline: 0; bottom: 0; font-size: 10px; line-height: 14px; background: rgba(255,255,255,.85); color: #222; text-align: center; }
.ms-swatch.is-text { font-size: 12px; padding-bottom: 14px; }
.ms-select-hidden { display: none !important; }
