/* Pieza del kit: la carga pegaso_muestra() y las páginas que eligen color o medida. */

/* ---------- Miniatura de color (TextureSwatch 55:1583) ---------- */
.muestra {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.muestra__textura {
  display: flex;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border: 1px solid var(--borde);
  border-radius: 10px;
}
.muestra__imagen { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.muestra[aria-pressed="true"] .muestra__textura { padding: 3px; border: 2px solid var(--azul-700); }
.muestra[aria-pressed="true"] .muestra__imagen { border-radius: 7px; }
.muestra__nombre { max-width: 72px; color: var(--texto-secundario); font-size: 12px; font-weight: 500; line-height: 1.2; text-align: center; }
.muestra--sin-foto .muestra__textura { display: none; }
.muestra--sin-foto .muestra__nombre {
  max-width: none;
  padding: 8px 14px;
  border: 1px solid var(--borde);
  border-radius: var(--radio-pildora);
  color: var(--texto);
}
.muestra--sin-foto[aria-pressed="true"] .muestra__nombre { border: 2px solid var(--azul-700); }
