/** Shopify CDN: Minification failed

Line 168:3 Expected "}" to go with "{"

**/
/* ============================================================
   UCRO - Swatches en Product Cards
   SOLO afecta tarjetas de producto en colecciones/recomendados
   NO afecta la página de producto principal
   ============================================================ */

/* --- SOLO EN TARJETAS DE PRODUCTO --- */

/* Contenedor relativo solo en tarjetas */
product-card .group-block-content,
product-card-link .group-block-content,
.product-card .group-block-content,
.resource-list__item .group-block-content {
  position: relative !important;
}

/* Swatches a la derecha del título en tarjetas */
product-card product-swatches,
product-card-link product-swatches,
.product-card product-swatches,
.resource-list__item product-swatches {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  width: auto !important;
  max-width: 100px !important;
  z-index: 10 !important;
}

/* Título con espacio para swatches en tarjetas */
product-card .group-block-content .text-block,
product-card-link .group-block-content .text-block,
.product-card .group-block-content .text-block,
.resource-list__item .group-block-content .text-block {
  padding-right: 90px !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
}

/* Swatches en línea */
product-card product-swatches overflow-list,
product-card-link product-swatches overflow-list,
.product-card product-swatches overflow-list,
.resource-list__item product-swatches overflow-list {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 4px !important;
  justify-content: flex-end !important;
}

/* Mostrar todos los swatches en tarjetas */
product-card product-swatches li.variant-option__swatch,
product-card-link product-swatches li.variant-option__swatch,
.product-card product-swatches li.variant-option__swatch,
.resource-list__item product-swatches li.variant-option__swatch {
  display: flex !important;
}

/* Ocultar contador +N en desktop */
product-card product-swatches li[slot="more"],
product-card-link product-swatches li[slot="more"],
.product-card product-swatches li[slot="more"],
.resource-list__item product-swatches li[slot="more"],
product-card product-swatches li.ucro-more-colors,
product-card-link product-swatches li.ucro-more-colors,
.product-card product-swatches li.ucro-more-colors,
.resource-list__item product-swatches li.ucro-more-colors {
  display: none !important;
}

/* --- ESTILOS DE SWATCHES EN TARJETAS: CUADRADO CON BORDE --- */

product-card product-swatches .swatch,
product-card-link product-swatches .swatch,
.product-card product-swatches .swatch,
.resource-list__item product-swatches .swatch {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  position: relative !important;
  outline: 0.5px solid rgba(0,0,0,0.3) !important;
  outline-offset: 0.5px !important;
  overflow: hidden !important;
  text-indent: -9999px !important;
}

/* Hover en swatches de tarjetas */
product-card product-swatches .swatch:hover,
product-card-link product-swatches .swatch:hover,
.product-card product-swatches .swatch:hover,
.resource-list__item product-swatches .swatch:hover {
  transform: scale(1.1);
  transition: transform 0.2s ease;
}

/* Swatch agotado en tarjetas: solo opacidad */
product-card product-swatches .swatch--unavailable,
product-card-link product-swatches .swatch--unavailable,
.product-card product-swatches .swatch--unavailable,
.resource-list__item product-swatches .swatch--unavailable {
  opacity: 0.4 !important;
}

/* --- MÓVIL: Ajustes para tarjetas --- */
@media screen and (max-width: 989px) {
  
  /* Mostrar solo primer swatch en móvil */
  product-card product-swatches li.variant-option__swatch:not(:first-child),
  product-card-link product-swatches li.variant-option__swatch:not(:first-child),
  .product-card product-swatches li.variant-option__swatch:not(:first-child),
  .resource-list__item product-swatches li.variant-option__swatch:not(:first-child) {
    display: none !important;
  }
  
  /* Mostrar contador +N en móvil */
  product-card product-swatches li[slot="more"],
  product-card-link product-swatches li[slot="more"],
  .product-card product-swatches li[slot="more"],
  .resource-list__item product-swatches li[slot="more"],
  product-card product-swatches li.ucro-more-colors,
  product-card-link product-swatches li.ucro-more-colors,
  .product-card product-swatches li.ucro-more-colors,
  .resource-list__item product-swatches li.ucro-more-colors {
    display: flex !important;
    align-items: center !important;
  }
  
  product-card product-swatches .hidden-swatches__count,
  product-card-link product-swatches .hidden-swatches__count,
  .product-card product-swatches .hidden-swatches__count,
  .resource-list__item product-swatches .hidden-swatches__count {
    display: flex !important;
    font-size: 11px !important;
    color: #666 !important;
    background: transparent !important;
    border: none !important;
  }
  
  product-card product-swatches .hidden-swatches__count::before,
  product-card-link product-swatches .hidden-swatches__count::before,
  .product-card product-swatches .hidden-swatches__count::before,
  .resource-list__item product-swatches .hidden-swatches__count::before {
    content: '+' attr(data-count) !important;
  }
  
  product-card product-swatches .hidden-swatches__count[data-count="0"],
  product-card-link product-swatches .hidden-swatches__count[data-count="0"],
  .product-card product-swatches .hidden-swatches__count[data-count="0"],
  .resource-list__item product-swatches .hidden-swatches__count[data-count="0"] {
    display: none !important;
  }
  
  /* Menos padding en móvil */
  product-card .group-block-content .text-block,
  product-card-link .group-block-content .text-block,
  .product-card .group-block-content .text-block,
  .resource-list__item .group-block-content .text-block {
    padding-right: 65px !important;
  }