/* sm_productoptions - selector de opciones */
.smpo { margin: 0 0 1rem; max-width: 360px; }
.smpo__label { display: block; margin-bottom: .35rem; font-weight: 600; }
.smpo__select { position: relative; }
.smpo__toggle {
  display: flex; align-items: center; gap: .5rem; width: 100%; min-height: 40px;
  padding: .35rem .75rem; border: 1px solid #ccc; border-radius: 3px; background: #fff;
  color: inherit; font: inherit; text-align: left; cursor: pointer;
}
.smpo__toggle:focus { outline: 2px solid #2e86de; outline-offset: -2px; }
.smpo__cur { flex: 1 1 auto; }
.smpo:not(.has-value) .smpo__toggle .smpo__swatch { display: none; }
.smpo__caret { width: 0; height: 0; border: 5px solid transparent; border-top-color: #666; margin-top: 5px; }
.smpo__list {
  position: absolute; z-index: 50; left: 0; right: 0; max-height: 320px; overflow-y: auto;
  margin: 2px 0 0; padding: .25rem 0; list-style: none; background: #fff;
  border: 1px solid #ccc; border-radius: 3px; box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}
.smpo__list[hidden] { display: none; }
.smpo__opt { display: flex; align-items: center; gap: .5rem; padding: .35rem .75rem; cursor: pointer; }
.smpo__opt:hover, .smpo__opt:focus { background: #f2f6fa; outline: none; }
.smpo__opt[aria-selected="true"] { font-weight: 600; }
.smpo__swatch {
  flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, .2);
}
.smpo__name { flex: 1 1 auto; }
.smpo__sup { color: #8a5a00; font-size: .85em; white-space: nowrap; }
.smpo__msg { margin: .35rem 0 0; font-size: .875rem; }
.smpo__msg:empty { display: none; }
.smpo__msg.is-error { color: #a12622; }
/* Botón de compra bloqueado hasta elegir la opción */
[data-smpo-lock] { opacity: .55; cursor: not-allowed !important; }
