/* The real <select> stays in the page (hidden) so WooCommerce keeps working. */
.msw-hidden-select { display: none !important; }

.msw-swatches { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 8px; }

.msw-sw {
  appearance: none;
  background: #fff;
  border: 1.5px solid #cfc7bb;
  border-radius: 999px;
  padding: 8px 16px;
  font: inherit;
  line-height: 1.2;
  cursor: pointer;
  color: #2b2118;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.msw-sw:hover:not(:disabled) { border-color: #8a6a3b; }
.msw-sw.is-active { border-color: #8a6a3b; background: #f6efe3; box-shadow: 0 0 0 2px #8a6a3b33; font-weight: 600; }
.msw-sw:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.msw-sw:focus-visible { outline: 2px solid #8a6a3b; outline-offset: 2px; }

/* Options that have a photo */
.msw-sw--img {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  border-radius: 10px; padding: 6px; width: 84px;
}
.msw-sw--img .msw-img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; display: block; }
.msw-sw--img .msw-label { font-size: 11px; line-height: 1.15; text-align: center; }

@media (max-width: 480px) {
  .msw-sw { padding: 9px 14px; }
}
