/* Small e.l.f.-style previews. The parent continues to render the ProductCard. */
body.catalogo-theme :is(.wapu-product-card, .wapu-single__related-carousel-item) .catalogo-card-swatches {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  align-self: stretch;
  gap: 2px 0;
  min-width: 0;
  margin: 2px 0;
  padding: 0;
  grid-column: 1 / -1;
  line-height: 1;
}
body.catalogo-theme .catalogo-card-swatch {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 26px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
body.catalogo-theme .catalogo-card-swatch__media {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--wtds-fill-3, #eee);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / .16);
}
body.catalogo-theme .catalogo-card-swatch--text { width: auto; max-width: 100%; padding-inline: 2px; }
body.catalogo-theme .catalogo-card-swatch--text .catalogo-card-swatch__media {
  width: auto;
  max-width: 5rem;
  height: 22px;
  padding: 5px 5px;
  border-radius: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: 11px/12px var(--wtds-font-text, Arial, sans-serif);
}
body.catalogo-theme .catalogo-card-swatch:is(:hover, :focus-visible, .is-selected) .catalogo-card-swatch__media { outline: 1px solid currentColor; outline-offset: 2px; }
body.catalogo-theme .catalogo-card-swatch:focus-visible { outline: none; }
body.catalogo-theme .catalogo-card-swatches__more {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding-inline: 3px;
  color: var(--wtds-ink-3, #777);
  font: 12px/1 var(--wtds-font-text, Arial, sans-serif);
  text-decoration: none;
  background: transparent;
  border: 0;
  cursor: pointer;
}
body.catalogo-theme .catalogo-card-swatches [hidden] { display: none !important; }
body.catalogo-theme .catalogo-card-swatches__more:focus-visible { outline: 1px solid currentColor; outline-offset: 2px; }
body.catalogo-theme .wapu-product-card.catalogo-swatch-preview .wapu-product-card__img--featured { opacity: 1 !important; }
body.catalogo-theme .wapu-product-card.catalogo-swatch-preview .wapu-product-card__img--hover { opacity: 0 !important; }
