/** Shopify CDN: Minification failed

Line 3805:0 Expected "}" to go with "{"

**/


.product-card__content>*:first-child{
  aspect-ratio:1.1/1!important;
  overflow:hidden!important
}

.product-card__content>*:first-child img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important
}

.product-card__content>*:first-child{
  position:relative;
}

/*
.product-card__content>*:first-child:after{
  content:"COMPRAR AHORA";
  position:absolute;
  left:55px;
  right:55px;
  bottom:12px;
  z-index:6;
  padding:12px 16px;
  border-radius:999px;
  background:#F8E08E;
  color:#212121;
  text-align:center;
  font-size:14px;
  font-weight:600;
  line-height:1;
  opacity:0;
  transform:translateY(10px);
  transition:opacity .25s ease,transform .25s ease;
  pointer-events:none;
}
*/

.product-card__content:hover>*:first-child:after{
  opacity:1;
  transform:translateY(0);
}

.product-card__content>*:first-child.ucan-btn-hover:after{
  background:#4F59D9;
  color:#F8E08E;
}



@media screen and (min-width: 750px) {

  body:has(#cart-drawer[open]) .product-card button.quick-add__button {
    width: 170px !important;
    min-width: 170px !important;
    max-width: 170px !important;
    max-inline-size: 170px !important;
    left: 50% !important;
    right: auto !important;
    inset-inline-end: auto !important;
    transform: translateX(-50%) !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    justify-content: center !important;
    white-space: nowrap !important;
  }

}

/* SOLO TARJETAS QUE TIENEN PRECIO ANTERIOR / DESCUENTO */
product-price [ref="priceContainer"]:has(.compare-at-price){
  display:flex!important;
  flex-direction:column-reverse!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  gap:2px!important;
  width:100%!important;
}

/* QUE CADA PRECIO OCUPE SU PROPIA LÍNEA */
product-price [ref="priceContainer"]:has(.compare-at-price) .price-item__group{
  display:block!important;
  width:100%!important;
  margin:0!important;
}

@media screen and (max-width:749px){

  /* BLOQUES DE TEXTO REALES DE LA TARJETA */
  .product-card__content .text-block,
  .product-card__content product-price,
  .product-card__content swatches-variant-picker-component{
    --width:100%!important;
    width:100%!important;
    max-width:100%!important;

    margin-left:0!important;
    margin-right:0!important;

    padding-left:12px!important;
    padding-right:12px!important;

    box-sizing:border-box!important;

    text-align:left!important;
    align-self:stretch!important;
    justify-self:stretch!important;
  }

  /* TÍTULO Y DESCRIPCIÓN */
  .product-card__content .text-block p{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    text-align:left!important;
  }

  /* PRECIO */
  .product-card__content product-price{
    --text-align:left!important;
  }

  .product-card__content product-price [ref="priceContainer"]{
    width:100%!important;
    justify-content:flex-start!important;
    text-align:left!important;
  }

  /* SWATCHES */
  .product-card__content swatches-variant-picker-component{
    --overflow-list-alignment:flex-start!important;
    --overflow-list-alignment-mobile:flex-start!important;
    --swatches-variant-picker-component-alignment:start!important;
    --swatches-variant-picker-component-alignment-mobile:start!important;
  }

  .product-card__content swatches-variant-picker-component swatches-variant-picker-component,
  .product-card__content swatches-variant-picker-component fieldset,
  .product-card__content swatches-variant-picker-component overflow-list,
  .product-card__content swatches-variant-picker-component ul{
    width:100%!important;
    justify-content:flex-start!important;
  }


  
}

@media screen and (max-width:749px){

  .product-card quick-add-component.quick-add{
    inline-size:170px!important;
    min-inline-size:170px!important;
    max-inline-size:170px!important;

    width:170px!important;
    min-width:170px!important;
    max-width:170px!important;

    transform:translateX(-75px)!important;
  }

  .product-card quick-add-component.quick-add .quick-add__button{
    inline-size:170px!important;
    min-inline-size:170px!important;
    max-inline-size:170px!important;

    width:170px!important;
    min-width:170px!important;
    max-width:170px!important;
  }

}

/* SOLO MAYÚSCULAS EN BADGE AGOTADO */
.product-badges__badge--rectangle {
  text-transform: uppercase !important;
    font-weight: 700 !important;

}

/* SOLO VER TODOS LOS PRODUCTOS — MÓVIL */
@media screen and (max-width:749px){

  ul.product-grid .product-card quick-add-component.quick-add{
    transform: translateX(-35px) !important;
  }

}





.product-recommendations {
  --info: #cbd3eb;
}

.product-card__content {
  border-radius: 16px;
  overflow: hidden;
  padding: 0;
  gap: 0;
  background: var(--info, #fffbe9) !important;
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  grid-template-rows: auto auto auto auto !important;
}

.product-card__content > * {
  margin: 0 !important;
  background: var(--info, #fffbe9) !important;
}

.product-card__content > *:nth-child(1) {
  grid-column: 1/-1 !important;
  grid-row: 1 !important;
  padding: 0;
  background: #dde1f5 !important;
}

.product-card__content > *:nth-child(1),
.product-card__content > *:nth-child(1) img,
.product-card__content > *:nth-child(1) .media {
  border-radius: 0 !important;
}

.product-card__content > *:nth-child(2) {
  grid-column: 1 !important;
  grid-row: 2 !important;
  padding: 16px 8px 0 20px !important;
  align-self: center;
}

.product-card__content > *:nth-child(3) {
  grid-column: 2 !important;
  grid-row: 2 !important;
  padding: 16px 20px 0 8px !important;
  align-self: center;
}

.product-card__content > *:nth-child(4) {
  grid-column: 1/-1 !important;
  grid-row: 3 !important;
  padding: 0 20px 0 25px !important;
  margin: -6px 0 0 !important;
}

.product-card__content > *:nth-child(5) {
  grid-column: 1/-1 !important;
  grid-row: 4 !important;
  padding: 6px 26px 18px !important;
}

.swatch-input__label {
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  min-height: 14px !important;
  --swatch-size: 14px;
}

.price-item--sale.price,
.price__regular .price {
  font-weight: 700;
}



/* TAMBIÉN TE PUEDE INTERESAR — 2 TARJETAS VISIBLES EN MÓVIL */
@media screen and (max-width: 749px) {

  /* El #ucan-force es intencional:
     hace que este selector tenga fuerza de ID sin depender del ID dinámico de Shopify */
  :is(#ucan-force, product-recommendations)
  .resource-list.resource-list--grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    gap: 12px !important;
    scroll-snap-type: x mandatory !important;
  }

  :is(#ucan-force, product-recommendations)
  .resource-list.resource-list--grid
  > .resource-list__item {
    flex: 0 0 calc((100% - 12px) / 2) !important;

    width: calc((100% - 12px) / 2) !important;
    min-width: calc((100% - 12px) / 2) !important;
    max-width: calc((100% - 12px) / 2) !important;

    inline-size: calc((100% - 12px) / 2) !important;
    min-inline-size: calc((100% - 12px) / 2) !important;
    max-inline-size: calc((100% - 12px) / 2) !important;

    scroll-snap-align: start !important;
  }

  :is(#ucan-force, product-recommendations)
  .resource-list__item
  > product-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

}

/* ==================================================
   SOLO BUSCADOR — SOLO PC
   NO AFECTA HOME, CARRUSELES NI COLECCIONES
   ================================================== */
@media screen and (min-width: 750px) {

  /* Card únicamente dentro del componente de resultados */
  results-list product-card .product-card__content {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-rows: auto auto auto !important;
    gap: 0 !important;
    padding: 0 !important;
  }

  /* 1 — IMAGEN */
  results-list product-card .product-card__content > *:nth-child(1) {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    padding: 0 !important;
  }

results-list product-card .product-card__content > *:nth-child(2) {
  grid-column: 1 !important;
  grid-row: 2 !important;

  padding: 16px 8px 0 25px !important;
  margin: 0 !important;

  align-self: start !important;
  justify-self: start !important;

  width: 100% !important;
  min-width: 0 !important;
}

results-list product-card .product-card__content > *:nth-child(2) overflow-list {
  display: block !important;
  width: auto !important;
  max-width: 180px !important;
}

results-list product-card .product-card__content > *:nth-child(2) overflow-list::part(list) {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
}
/* TÍTULO REAL */
results-list product-card
.product-card__content
> a[ref="productTitleLink"]
> .text-block {
  grid-column: 1 !important;
  grid-row: 2 !important;

  align-self: start !important;
  justify-self: start !important;

  margin: 0 !important;
  padding: 10px 0 0 25px !important;

  transform: none !important;
}


/* METACAMPO: Cubo antiestrés / Mat Cuff / etc. */
results-list product-card
.product-card__content
> *:nth-child(3) {
  grid-column: 1 / -1 !important;
  grid-row: 3 !important;

  margin: 0 !important;
  padding: 2px 20px 0 25px !important;

  align-self: start !important;
  justify-self: stretch !important;
}


/* PRECIO */
results-list product-card
.product-card__content
> *:nth-child(4) {
  grid-column: 1 / -1 !important;
  grid-row: 4 !important;

  margin: 0 !important;
  padding: 10px 26px 18px !important;
}

}



@media screen and (min-width: 750px) {

  /* =========================================
     BUSCADOR PC — TÍTULO DEL PRODUCTO
     ========================================= */
  results-list product-card
  .product-card__content
  > a[ref="productTitleLink"] .text-block {
    font-family: "Neue Haas Custom", sans-serif !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    line-height: 1.05 !important;
    color: #000 !important;
  }

  results-list product-card
  .product-card__content
  > a[ref="productTitleLink"] .text-block p {
    font-family: "Neue Haas Custom", sans-serif !important;
    font-weight: 700 !important;
    margin: 0 !important;
  }


  /* =========================================
     BUSCADOR PC — METACAMPO / SUBTÍTULO
     Ej: "Aro Pilates", "Bloque de Yoga"
     ========================================= */
  results-list product-card
  .product-card__content
  > a[ref="productTitleLink"]
  + .text-block {
    font-family: "Neue Haas Light", sans-serif !important;
    font-weight: 300 !important;
    font-size: 16px !important;
    line-height: 1.1 !important;

    padding-left: 25px !important;
    padding-right: 20px !important;
    margin: -6px 0 0 !important;
  }

  results-list product-card
  .product-card__content
  > a[ref="productTitleLink"]
  + .text-block p {
    font-family: "Neue Haas Light", sans-serif !important;
    font-weight: 300 !important;
    margin: 0 !important;
  }

}

@media screen and (min-width: 750px) {
  results-list product-card
  a[ref="productTitleLink"]
  > .text-block {
    padding-inline-start: 18px !important;
  }
}
 
@media screen and (min-width: 750px) {

  /* SOLO BUSCADOR PC — limitar swatches y usar +N */
  results-list product-card
  swatches-variant-picker-component overflow-list {
    width: 105px !important;
    max-width: 105px !important;
    min-width: 105px !important;
  }

  results-list product-card
  swatches-variant-picker-component overflow-list::part(list) {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    overflow: hidden !important;
  }

}

@media screen and (min-width: 750px) {

  /* SOLO BUSCADOR PC — todos los títulos arrancan en el mismo punto */
  results-list product-card
  .product-card__content
  a[ref="productTitleLink"]
  .text-block {
    grid-column: 1 / -1 !important;

    width: 100% !important;
    max-width: none !important;

    justify-self: stretch !important;
    align-self: start !important;

    transform: none !important;

    margin: 0 !important;
    padding: 10px 20px 0 25px !important;

    --padding-inline-start: 25px !important;
    --padding-inline-end: 20px !important;

    text-align: left !important;
  }

  results-list product-card
  .product-card__content
  a[ref="productTitleLink"]
  .text-block p {
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }

}

/* SOLO BUSCADOR PC — AJUSTE FINO DE POSICIÓN */
@media screen and (min-width: 750px) {

  /* SUBIR DESCRIPCIÓN:
     Soft Balls / Cubo antiestrés / Mat Cuff / Aro Peso */
  results-list product-card
  .product-card__content
  > a[ref="productTitleLink"]
  + .text-block {
    transform: translateY(10px) !important;
  }


  /* SUBIR BOLITAS DE COLORES */
  results-list product-card
  .product-card__content
  swatches-variant-picker-component {
    transform: translateY(18px) !important;
  }

}


@media screen and (min-width: 750px) {

  /* SOLO BUSCADOR PC — SUBTEXTO REAL */
  results-list product-card
  .product-card__content
  > .text-block:has(+ a[ref="productTitleLink"]) {
    transform: translateY(-30px) !important;
  }

}

@media screen and (min-width: 750px) {

  /* BUSCADOR PC — COLORES FIJOS JUNTO AL TÍTULO */
  results-list product-card
  .product-card__content
  > swatches-variant-picker-component {
    grid-column: 2 !important;
    grid-row: 2 !important;

    justify-self: end !important;
    align-self: start !important;

    margin: 0 !important;
    padding: 10px 20px 0 8px !important;
  }

}


/* =========================================
   SUBTÍTULO / TEXTO DE TARJETA — ROBUSTO
   No depende de nth-child
========================================= */

.product-card__content
> a[ref="productTitleLink"]
+ .text-block {

  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;

  grid-column: 1 / -1 !important;
  grid-row: 3 !important;

  width: 100% !important;
  max-width: none !important;

  margin: 0 !important;
  padding: 2px 20px 0 25px !important;

  align-self: start !important;
  justify-self: stretch !important;

  position: relative !important;
  z-index: 2 !important;

  font-family: "Neue Haas Light", sans-serif !important;
  font-weight: 300 !important;
}

.product-card__content
> a[ref="productTitleLink"]
+ .text-block p {

  display: block !important;

  margin: 0 !important;
  padding: 0 !important;

  font-family: "Neue Haas Light", sans-serif !important;
  font-weight: 300 !important;
}

/* =========================================================
   TARJETAS DE PRODUCTO — ORDEN FIJO PARA TODAS
   imagen / título / subtítulo / precio / swatches
========================================================= */

.product-card__content {
  display: grid !important;

  grid-template-columns: minmax(0, 1fr) auto !important;

  grid-template-areas:
    "image image"
    "title swatches"
    "subtitle swatches"
    "price swatches" !important;

  grid-template-rows: auto auto auto auto !important;

  column-gap: 8px !important;
  row-gap: 0 !important;

  padding: 0 !important;
}


/* =========================
   1. IMAGEN
========================= */

.product-card__content > :first-child {
  grid-area: image !important;

  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}


/* =========================
   2. TÍTULO
========================= */

.product-card__content
> a[ref="productTitleLink"] {
  grid-area: title !important;

  width: 100% !important;
  min-width: 0 !important;

  margin: 0 !important;
  padding: 12px 0 0 25px !important;

  align-self: end !important;
  justify-self: stretch !important;
}

.product-card__content
> a[ref="productTitleLink"]
> .text-block {

  width: 100% !important;
  max-width: none !important;

  margin: 0 !important;
  padding: 0 !important;

  transform: none !important;
}


/* =========================
   3. SUBTÍTULO / METACAMPO
========================= */

.product-card__content
> a[ref="productTitleLink"]
+ .text-block {

  grid-area: subtitle !important;

  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;

  width: 100% !important;
  max-width: none !important;

  margin: 0 !important;
  padding: 1px 0 0 25px !important;

  align-self: start !important;
  justify-self: stretch !important;

  transform: none !important;

  font-family: "Neue Haas Light", sans-serif !important;
  font-weight: 300 !important;
}

.product-card__content
> a[ref="productTitleLink"]
+ .text-block p {

  margin: 0 !important;
  padding: 0 !important;
}


/* =========================
   4. PRECIO
========================= */

.product-card__content
> product-price {

  grid-area: price !important;

  width: 100% !important;

  margin: 0 !important;
  padding: 5px 0 16px 25px !important;

  align-self: start !important;
  justify-self: stretch !important;

  transform: none !important;
}

.product-card__content
> product-price [ref="priceContainer"] {

  width: 100% !important;

  justify-content: flex-start !important;
  text-align: left !important;
}


/* =========================
   5. SWATCHES
========================= */

.product-card__content
> swatches-variant-picker-component {

  grid-area: swatches !important;

  align-self: center !important;
  justify-self: end !important;

  width: auto !important;
  max-width: 150px !important;

  margin: 0 !important;
  padding: 10px 20px 10px 6px !important;

  transform: none !important;
}


/* Contenido interno de swatches */
.product-card__content
> swatches-variant-picker-component
swatches-variant-picker-component,

.product-card__content
> swatches-variant-picker-component
overflow-list {

  width: auto !important;
  max-width: 150px !important;

  margin: 0 !important;
}


/* Lista horizontal */
.product-card__content
> swatches-variant-picker-component
overflow-list::part(list) {

  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;

  align-items: center !important;
  justify-content: flex-end !important;

  gap: 7px !important;
}

/* =========================================================
   TARJETAS — ORDEN FIJO DEFINITIVO
   título + colores / subtítulo / precio
========================================================= */

.product-card__content {
  display: grid !important;

  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-rows: auto auto auto auto !important;

  grid-template-areas:
    "image image"
    "title swatches"
    "subtitle subtitle"
    "price price" !important;

  column-gap: 8px !important;
  row-gap: 0 !important;

  padding: 0 !important;
}


/* IMAGEN */
.product-card__content > :first-child {
  grid-area: image !important;
  margin: 0 !important;
  padding: 0 !important;
}


/* =========================================================
   TÍTULO — ARRIBA IZQUIERDA
========================================================= */

.product-card__content
> a[ref="productTitleLink"] {
  grid-area: title !important;

  width: 100% !important;
  min-width: 0 !important;

  margin: 0 !important;
  padding: 12px 0 0 25px !important;

  align-self: start !important;
  justify-self: stretch !important;

  transform: none !important;
}

.product-card__content
> a[ref="productTitleLink"]
> .text-block {

  width: 100% !important;
  max-width: none !important;

  margin: 0 !important;
  padding: 0 !important;

  transform: none !important;
}


/* =========================================================
   COLORES — MISMA ALTURA QUE EL TÍTULO, DERECHA
========================================================= */

.product-card__content
> swatches-variant-picker-component {
  grid-area: swatches !important;

  align-self: start !important;
  justify-self: end !important;

  width: auto !important;
  max-width: 180px !important;

  margin: 0 !important;

  /* BAJAR LOS COLORES UN POQUITO */
  padding: 20px 20px 0 0 !important;

  transform: none !important;
}


/* wrapper interno */
.product-card__content
> swatches-variant-picker-component
swatches-variant-picker-component,

.product-card__content
> swatches-variant-picker-component
fieldset,

.product-card__content
> swatches-variant-picker-component
overflow-list {

  width: auto !important;
  max-width: 180px !important;

  margin: 0 !important;
  padding: 0 !important;
}


/* bolitas en una línea */
.product-card__content
> swatches-variant-picker-component
overflow-list::part(list) {

  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;

  align-items: center !important;
  justify-content: flex-end !important;

  gap: 7px !important;
}


/* =========================================================
   SUBTÍTULO — JUSTO DEBAJO DEL TÍTULO
========================================================= */

.product-card__content
> a[ref="productTitleLink"]
+ .text-block {

  grid-area: subtitle !important;

  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;

  width: 100% !important;
  max-width: none !important;

  margin: 0 !important;
  padding: 1px 20px 0 25px !important;

  align-self: start !important;
  justify-self: stretch !important;

  /* SUBIR SOLO EL SUBTÍTULO */
  position: relative !important;
  top: -12px !important;

  transform: none !important;

  font-family: "Neue Haas Light", sans-serif !important;
  font-weight: 300 !important;
}
/* TARJETAS SIN COLORES — BAJAR UN POCO EL SUBTÍTULO */
.product-card__content:not(:has(> swatches-variant-picker-component))
> a[ref="productTitleLink"]
+ .text-block {
  top: -5px !important;
}

.product-card__content
> a[ref="productTitleLink"]
+ .text-block p {

  margin: 0 !important;
  padding: 0 !important;

  line-height: 1.05 !important;
}


/* =========================================================
   PRECIO — DEBAJO DEL SUBTÍTULO
========================================================= */

.product-card__content
> product-price {

  grid-area: price !important;

  width: 100% !important;

  margin: 0 !important;

  /* prácticamente pegado al subtítulo */
  padding: 3px 20px 16px 25px !important;

  align-self: start !important;
  justify-self: stretch !important;

  transform: none !important;
}

.product-card__content
> product-price [ref="priceContainer"] {
  width: 100% !important;

  justify-content: flex-start !important;
  text-align: left !important;
}


/* CONTENEDOR: NO MOVER */
.product-card__content
> a[ref="productTitleLink"]
+ .text-block {
  position: static !important;
  top: auto !important;
  transform: none !important;
  margin: 0 !important;
}


/* TEXTO REAL: SÍ MOVER */
.product-card__content
> a[ref="productTitleLink"]
+ .text-block
> p {
  position: relative !important;
  top: -8px !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* TARJETAS CON COLORES NORMALES — SUBIR SUBTÍTULO */
.product-card__content:has(> swatches-variant-picker-component)
> a[ref="productTitleLink"]
+ .text-block
> p {
  top: -15px !important;
}

/* PRECIO — MOVER A LA DERECHA SOLO EN PC */
@media screen and (min-width: 990px) {

  ul.product-grid
  .product-card__content
  > product-price
  [ref="priceContainer"] {
    transform: translateX(8px) !important;
  }

}


/* =========================================================
   MOBILE — VISTA DE 2 COLUMNAS REAL DE SHOPIFY
   product-grid-view="default"
   NO AFECTA PC
========================================================= */
@media screen and (max-width: 749px) {

  /* SOLO cuando está activa la vista de cuadritos */
  ul.product-grid[product-grid-view="default"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    --mobile-columns: 2 !important;
    gap: 12px !important;
  }


  /* TARJETA COMPLETA */
  ul.product-grid[product-grid-view="default"]
  product-card
  .product-card__content {

    display: grid !important;

    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas:
      "image image"
      "title swatches"
      "subtitle subtitle"
      "price price" !important;

    grid-template-rows: auto auto auto auto !important;

    gap: 0 !important;
    width: 100% !important;
    min-width: 0 !important;

    padding: 0 !important;
    margin: 0 !important;

    border-radius: 22px !important;
    overflow: hidden !important;
  }


  /* ===============================
     IMAGEN
  =============================== */

  ul.product-grid[product-grid-view="default"]
  product-card
  .product-card__content
  > :first-child {

    grid-area: image !important;
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;

    width: 100% !important;
    min-width: 0 !important;

    aspect-ratio: 1 / 1 !important;

    padding: 0 !important;
    margin: 0 !important;

    position: relative !important;
    overflow: hidden !important;
  }

  ul.product-grid[product-grid-view="default"]
  product-card
  .product-card__content
  > :first-child img {

    width: 100% !important;
    height: 100% !important;

    object-fit: contain !important;
  }


  /* ===============================
     TÍTULO
  =============================== */

  ul.product-grid[product-grid-view="default"]
  product-card
  .product-card__content
  > a[ref="productTitleLink"] {

    grid-area: title !important;
    grid-column: 1 !important;
    grid-row: 2 !important;

    width: 100% !important;
    min-width: 0 !important;

    padding: 10px 4px 0 12px !important;
    margin: 0 !important;

    align-self: start !important;
    justify-self: stretch !important;

    transform: none !important;
  }

  ul.product-grid[product-grid-view="default"]
  product-card
  .product-card__content
  > a[ref="productTitleLink"]
  .text-block {

    width: 100% !important;
    max-width: none !important;

    padding: 0 !important;
    margin: 0 !important;

    transform: none !important;

    font-size: 16px !important;
    line-height: 1 !important;
  }


  /* ===============================
     SUBTÍTULO
  =============================== */

  ul.product-grid[product-grid-view="default"]
  product-card
  .product-card__content
  > a[ref="productTitleLink"]
  + .text-block {

    grid-area: subtitle !important;
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;

    width: 100% !important;
    max-width: none !important;

    padding: 1px 8px 0 12px !important;
    margin: 0 !important;

    position: static !important;
    top: auto !important;
    transform: none !important;

    align-self: start !important;
    justify-self: stretch !important;
  }

  ul.product-grid[product-grid-view="default"]
  product-card
  .product-card__content
  > a[ref="productTitleLink"]
  + .text-block
  > p {

    position: static !important;
    top: auto !important;
    transform: none !important;

    padding: 0 !important;
    margin: 0 !important;

    font-size: 13px !important;
    line-height: 1.05 !important;
  }


  /* ===============================
     PRECIO
  =============================== */

  ul.product-grid[product-grid-view="default"]
  product-card
  .product-card__content
  > product-price {

    grid-area: price !important;
    grid-column: 1 / -1 !important;
    grid-row: 4 !important;

    width: 100% !important;

    padding: 5px 8px 12px 12px !important;
    margin: 0 !important;

    transform: none !important;

    align-self: start !important;
    justify-self: stretch !important;
  }

  ul.product-grid[product-grid-view="default"]
  product-card
  product-price
  [ref="priceContainer"] {

    width: 100% !important;

    justify-content: flex-start !important;
    text-align: left !important;

    transform: none !important;
  }


  /* ===============================
     SWATCHES — JUNTO AL TÍTULO
  =============================== */

  ul.product-grid[product-grid-view="default"]
  product-card
  .product-card__content
  > swatches-variant-picker-component {

    grid-area: swatches !important;
    grid-column: 2 !important;
    grid-row: 2 !important;

    width: auto !important;
    max-width: 70px !important;

    margin: 0 !important;
    padding: 10px 10px 0 2px !important;

    align-self: start !important;
    justify-self: end !important;

    transform: none !important;

    --width: auto !important;
    --overflow-list-alignment: flex-end !important;
    --overflow-list-alignment-mobile: flex-end !important;
    --swatches-variant-picker-component-alignment: end !important;
    --swatches-variant-picker-component-alignment-mobile: end !important;
  }

  ul.product-grid[product-grid-view="default"]
  product-card
  swatches-variant-picker-component
  swatches-variant-picker-component,

  ul.product-grid[product-grid-view="default"]
  product-card
  swatches-variant-picker-component
  fieldset,

  ul.product-grid[product-grid-view="default"]
  product-card
  swatches-variant-picker-component
  overflow-list {

    width: auto !important;
    max-width: 70px !important;

    padding: 0 !important;
    margin: 0 !important;

    justify-content: flex-end !important;
  }

  ul.product-grid[product-grid-view="default"]
  product-card
  swatches-variant-picker-component
  overflow-list::part(list) {

    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;

    align-items: center !important;
    justify-content: flex-end !important;

    gap: 4px !important;
  }


  /* ===============================
     SWATCH PEQUEÑO EN MOBILE
  =============================== */

  ul.product-grid[product-grid-view="default"]
  product-card
  .swatch-input__label {

    width: 11px !important;
    height: 11px !important;

    min-width: 11px !important;
    min-height: 11px !important;

    --swatch-size: 11px !important;
  }


  /* ===============================
     MATAR LOS NTH-CHILD VIEJOS
     SOLO EN ESTA VISTA MOBILE
  =============================== */

  ul.product-grid[product-grid-view="default"]
  product-card
  .product-card__content
  > *:nth-child(2),

  ul.product-grid[product-grid-view="default"]
  product-card
  .product-card__content
  > *:nth-child(3),

  ul.product-grid[product-grid-view="default"]
  product-card
  .product-card__content
  > *:nth-child(4),

  ul.product-grid[product-grid-view="default"]
  product-card
  .product-card__content
  > *:nth-child(5) {

    margin: 0 !important;
  }

}
/* =========================================================
   MOBILE — TARJETAS EN 2 COLUMNAS COMO LA REFERENCIA
   SOLO MÓVIL
========================================================= */
@media screen and (max-width: 749px) {

  /* GRID EN 2 COLUMNAS */
  ul.product-grid[product-grid-view="default"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }

  ul.product-grid[product-grid-view="default"] > li {
    min-width: 0 !important;
  }

  /* TARJETA COMPLETA */
  ul.product-grid[product-grid-view="default"] product-card {
    display: flex !important;
    flex-direction: column !important;
    border-radius: 28px !important;
    overflow: hidden !important;
    height: 100% !important;
  }

  /* 1. IMAGEN ARRIBA */
  ul.product-grid[product-grid-view="default"] product-card > .product-grid-view-zoom-out--details {
    order: 1 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  ul.product-grid[product-grid-view="default"] product-card .product-media-container--image,
  ul.product-grid[product-grid-view="default"] product-card .product-media,
  ul.product-grid[product-grid-view="default"] product-card .product-media__image {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: contain !important;
  }

  /* 2. TÍTULO */
  ul.product-grid[product-grid-view="default"] product-card > a[ref="productTitleLink"] {
    order: 2 !important;
    display: block !important;
    width: 100% !important;
    padding: 14px 14px 0 14px !important;
    margin: 0 !important;
    text-decoration: none !important;
    min-width: 0 !important;
  }

  ul.product-grid[product-grid-view="default"] product-card > a[ref="productTitleLink"] * {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.05 !important;
    text-align: center !important;
  }

  /* 3. TEXTO / SUBTÍTULO */
  ul.product-grid[product-grid-view="default"] product-card > .text-block {
    order: 3 !important;
    width: 100% !important;
    padding: 4px 14px 0 14px !important;
    margin: 0 !important;
    min-width: 0 !important;
  }

  ul.product-grid[product-grid-view="default"] product-card > .text-block p {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.1 !important;
    text-align: center !important;
  }

  /* 4. PRECIO */
  ul.product-grid[product-grid-view="default"] product-card > product-price {
    order: 4 !important;
    display: block !important;
    width: 100% !important;
    padding: 8px 14px 0 14px !important;
    margin: 0 !important;
    text-align: center !important;
  }

  ul.product-grid[product-grid-view="default"] product-card > product-price * {
    text-align: center !important;
    justify-content: center !important;
    margin: 0 !important;
  }

  /* 5. SWATCHES ABAJO */
  ul.product-grid[product-grid-view="default"] product-card > swatches-variant-picker-component {
    order: 5 !important;
    width: 100% !important;
    padding: 10px 14px 14px 14px !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  ul.product-grid[product-grid-view="default"] product-card > swatches-variant-picker-component overflow-list,
  ul.product-grid[product-grid-view="default"] product-card > swatches-variant-picker-component overflow-list::part(list) {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px !important;
  }

  /* TAMAÑO DE LOS SWATCHES */
  ul.product-grid[product-grid-view="default"] product-card > swatches-variant-picker-component .swatch,
  ul.product-grid[product-grid-view="default"] product-card > swatches-variant-picker-component .swatch-input__label,
  ul.product-grid[product-grid-view="default"] product-card > swatches-variant-picker-component .variant-option__swatch {
    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important;
    min-height: 14px !important;
  }

  /* SI HAY BOTÓN "COMPRAR AHORA" SOBRE LA IMAGEN */
  ul.product-grid[product-grid-view="default"] product-card .button,
  ul.product-grid[product-grid-view="default"] product-card button {
    max-width: calc(100% - 24px) !important;
  }
}

@media screen and (max-width: 749px) {

  ul.product-grid[product-grid-view="default"]
  .product-card__content
  > a[ref="productTitleLink"] {
    display: block !important;
    width: 100% !important;

    padding-left: 0 !important;
    padding-right: 0 !important;

    text-align: center !important;
  }

  ul.product-grid[product-grid-view="default"]
  .product-card__content
  > a[ref="productTitleLink"]
  p[role="heading"] {
    width: 100% !important;
    text-align: center !important;

    /* AJUSTE FINO A LA DERECHA */
    transform: translateX(4px) !important;
  }

}

/* =========================================================
   MOBILE — SWATCHES REALES DEBAJO DEL PRECIO
   Mostrar TODOS, quitar +N
========================================================= */
@media screen and (max-width: 749px) {

  /* BLOQUE COMPLETO DE COLORES */
  ul.product-grid[product-grid-view="default"]
  .product-card__content
  swatches-variant-picker-component {

    grid-area: swatches !important;
    grid-column: 1 / -1 !important;
    grid-row: 5 !important;

    display: block !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 8px 8px 14px !important;

    position: static !important;
    inset: auto !important;

    transform: none !important;

    overflow: visible !important;

    --width: 100% !important;

    --overflow-list-alignment: center !important;
    --overflow-list-alignment-mobile: center !important;

    --swatches-variant-picker-component-alignment: center !important;
    --swatches-variant-picker-component-alignment-mobile: center !important;
  }


  /* COMPONENTE INTERNO */
  ul.product-grid[product-grid-view="default"]
  .product-card__content
  swatches-variant-picker-component
  swatches-variant-picker-component {

    display: block !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    position: static !important;

    transform: none !important;

    overflow: visible !important;
  }


  /* FORM */
  ul.product-grid[product-grid-view="default"]
  .product-card__content
  swatches-variant-picker-component form {

    display: block !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
  }


  /* FIELDSET */
  ul.product-grid[product-grid-view="default"]
  .product-card__content
  swatches-variant-picker-component fieldset {

    display: block !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: visible !important;
  }


  /* OVERFLOW-LIST */
  ul.product-grid[product-grid-view="default"]
  .product-card__content
  swatches-variant-picker-component overflow-list {

    display: block !important;

    width: 100% !important;
    max-width: none !important;

    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    position: static !important;

    transform: none !important;

    overflow: visible !important;
  }


  /* LISTA DONDE VIVEN LAS BOLITAS */
  ul.product-grid[product-grid-view="default"]
  .product-card__content
  swatches-variant-picker-component
  overflow-list::part(list) {

    display: flex !important;

    flex-direction: row !important;
    flex-wrap: wrap !important;

    width: 100% !important;
    height: auto !important;

    justify-content: center !important;
    align-items: center !important;

    gap: 7px !important;

    overflow: visible !important;
  }


  /* QUITAR EL +1 / +6 / +N DEL SISTEMA DE OVERFLOW */
  ul.product-grid[product-grid-view="default"]
  .product-card__content
  swatches-variant-picker-component
  overflow-list::part(overflow) {

    display: none !important;
  }


  /* ASEGURAR QUE LOS SWATCHES REALES SE VEAN */
  ul.product-grid[product-grid-view="default"]
  .product-card__content
  swatches-variant-picker-component
  li.variant-option__swatch {

    display: list-item !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

}
/* =========================================================
   SOLO MOBILE — COLORES DEBAJO DEL PRECIO
========================================================= */
@media screen and (max-width: 749px) {

  #shopify-section-template--23356303769840__main
  ul.product-grid[product-grid-view="default"]
  .product-card__content {

    display: grid !important;

    grid-template-columns: 1fr !important;

    grid-template-areas:
      "image"
      "title"
      "subtitle"
      "price"
      "swatches" !important;
  }


  /* IMAGEN */
  #shopify-section-template--23356303769840__main
  ul.product-grid[product-grid-view="default"]
  .product-card__content
  > :first-child {
    grid-area: image !important;
  }


  /* TÍTULO */
  #shopify-section-template--23356303769840__main
  ul.product-grid[product-grid-view="default"]
  .product-card__content
  > a[ref="productTitleLink"] {
    grid-area: title !important;
  }


  /* SUBTÍTULO */
  #shopify-section-template--23356303769840__main
  ul.product-grid[product-grid-view="default"]
  .product-card__content
  > a[ref="productTitleLink"]
  + .text-block {
    grid-area: subtitle !important;
  }


  /* PRECIO */
  #shopify-section-template--23356303769840__main
  ul.product-grid[product-grid-view="default"]
  .product-card__content
  > product-price {
    grid-area: price !important;
  }


  /* COLORES — SIEMPRE ABAJO DEL PRECIO */
  #shopify-section-template--23356303769840__main
  ul.product-grid[product-grid-view="default"]
  .product-card__content
  > swatches-variant-picker-component {

    grid-area: swatches !important;
    grid-column: 1 !important;
    grid-row: auto !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 7px 0 12px !important;

    justify-self: stretch !important;
    align-self: start !important;

    display: flex !important;
    justify-content: center !important;
    align-items: center !important;

    transform: none !important;
  }


  /* CENTRAR LAS BOLITAS */
  #shopify-section-template--23356303769840__main
  ul.product-grid[product-grid-view="default"]
  .product-card__content
  > swatches-variant-picker-component
  overflow-list::part(list) {

    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;

    justify-content: center !important;
    align-items: center !important;

    gap: 6px !important;
  }

}
/* =========================================================
   SOLO MOBILE — MÁXIMO 6 COLORES + CONTADOR NATIVO
========================================================= */
@media screen and (max-width: 749px) {

  ul.product-grid[product-grid-view="default"]
  .product-card__content
  > swatches-variant-picker-component {

    width: 100% !important;
    max-width: none !important;

    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }


  /* CONTENEDOR QUE DECIDE CUÁNTOS CABEN */
  ul.product-grid[product-grid-view="default"]
  .product-card__content
  > swatches-variant-picker-component
  overflow-list {

    width: 112px !important;
    max-width: 112px !important;
    min-width: 112px !important;

    margin: 0 auto !important;

    overflow: hidden !important;
  }


  /* FILA DE COLORES */
  ul.product-grid[product-grid-view="default"]
  .product-card__content
  > swatches-variant-picker-component
  overflow-list::part(list) {

    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;

    justify-content: center !important;
    align-items: center !important;

    gap: 6px !important;

    width: auto !important;
    overflow: hidden !important;
  }


  /* VOLVER A MOSTRAR EL +N NATIVO */
  ul.product-grid[product-grid-view="default"]
  .product-card__content
  > swatches-variant-picker-component
  overflow-list::part(overflow) {

    display: flex !important;

    justify-content: center !important;
    align-items: center !important;

    font-size: 11px !important;
    line-height: 1 !important;
  }


  /* LOS QUE SHOPIFY MANDA AL OVERFLOW NO SE FUERZAN A MOSTRAR */
  ul.product-grid[product-grid-view="default"]
  .product-card__content
  > swatches-variant-picker-component
  li.variant-option__swatch[slot="overflow"] {

    display: none !important;
  }

}

/* =========================================================
   UCAN MOBILE — ORDEN FORZADO DEFINITIVO
   IMAGEN
   TITULO
   SUBTITULO
   PRECIO
   COLORES
========================================================= */

@media screen and (max-width: 749px) {

  /* =====================================================
     2 PRODUCTOS POR FILA
  ===================================================== */

  html body ul.product-grid[product-grid-view="default"] {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

    --mobile-columns: 2 !important;

    column-gap: 12px !important;
    row-gap: 18px !important;
  }

  html body ul.product-grid[product-grid-view="default"] > li {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  html body ul.product-grid[product-grid-view="default"] product-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }


  /* =====================================================
     TARJETA
     AQUÍ DEJAMOS DE USAR GRID
  ===================================================== */

  html body ul.product-grid[product-grid-view="default"]
  product-card
  .product-card__content {

    display: flex !important;
    flex-direction: column !important;

    width: 100% !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    gap: 0 !important;

    border-radius: 24px !important;
    overflow: hidden !important;

    background: #CBD3EB !important;
  }


  /* =====================================================
     RESET TOTAL DE HIJOS
  ===================================================== */

  html body ul.product-grid[product-grid-view="default"]
  product-card
  .product-card__content
  > * {

    grid-area: unset !important;
    grid-column: unset !important;
    grid-row: unset !important;

    float: none !important;

    position: static !important;

    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;

    transform: none !important;

    margin-left: 0 !important;
    margin-right: 0 !important;
  }


  /* =====================================================
     1 — IMAGEN
  ===================================================== */

  html body ul.product-grid[product-grid-view="default"]
  product-card
  .product-card__content
  > :first-child {

    order: 1 !important;

    width: 100% !important;
    min-width: 0 !important;

    aspect-ratio: 1 / 1 !important;

    margin: 0 !important;
    padding: 0 !important;

    position: relative !important;

    background: #fff !important;

    overflow: hidden !important;
  }

  html body ul.product-grid[product-grid-view="default"]
  product-card
  .product-card__content
  > :first-child img,

  html body ul.product-grid[product-grid-view="default"]
  product-card
  .product-media__image {

    width: 100% !important;
    height: 100% !important;

    object-fit: contain !important;

    margin: 0 !important;
    padding: 0 !important;
  }


  /* =====================================================
     2 — TITULO
  ===================================================== */

  html body ul.product-grid[product-grid-view="default"]
  product-card
  .product-card__content
  > a[ref="productTitleLink"] {

    order: 2 !important;

    display: block !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 10px 8px 0 !important;

    position: static !important;

    transform: none !important;

    text-align: center !important;

    box-sizing: border-box !important;
  }


  html body ul.product-grid[product-grid-view="default"]
  product-card
  .product-card__content
  > a[ref="productTitleLink"]
  .text-block,

  html body ul.product-grid[product-grid-view="default"]
  product-card
  .product-card__content
  > a[ref="productTitleLink"]
  p[role="heading"] {

    display: block !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    position: static !important;

    transform: none !important;

    text-align: center !important;

    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;

    font-weight: 700 !important;
    line-height: 1.05 !important;
  }


  /* =====================================================
     3 — SUBTITULO
     SOLO TEXT-BLOCK HIJO DIRECTO
  ===================================================== */

  html body ul.product-grid[product-grid-view="default"]
  product-card
  .product-card__content
  > .text-block {

    order: 3 !important;

    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 3px 8px 0 !important;

    position: static !important;

    top: auto !important;

    transform: none !important;

    text-align: center !important;

    box-sizing: border-box !important;
  }


  html body ul.product-grid[product-grid-view="default"]
  product-card
  .product-card__content
  > .text-block
  p {

    display: block !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    position: static !important;

    top: auto !important;

    transform: none !important;

    text-align: center !important;

    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;

    line-height: 1.05 !important;
  }


  /* =====================================================
     4 — PRECIO
  ===================================================== */

  html body ul.product-grid[product-grid-view="default"]
  product-card
  .product-card__content
  > product-price {

    order: 4 !important;

    display: block !important;

    width: 100% !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 6px 8px 0 !important;

    position: static !important;

    transform: none !important;

    text-align: center !important;

    box-sizing: border-box !important;
  }


  html body ul.product-grid[product-grid-view="default"]
  product-card
  .product-card__content
  > product-price
  [ref="priceContainer"] {

    display: flex !important;

    width: 100% !important;

    margin: 0 !important;

    justify-content: center !important;
    align-items: center !important;

    transform: none !important;

    text-align: center !important;
  }


  /* PRECIO CON DESCUENTO */

  html body ul.product-grid[product-grid-view="default"]
  product-card
  .product-card__content
  > product-price
  [ref="priceContainer"]:has(.compare-at-price) {

    flex-direction: column-reverse !important;

    justify-content: center !important;
    align-items: center !important;

    gap: 2px !important;
  }


  /* =====================================================
     5 — COLORES
     SIEMPRE ÚLTIMOS
  ===================================================== */

  html body ul.product-grid[product-grid-view="default"]
  product-card
  .product-card__content
  > swatches-variant-picker-component {

    order: 5 !important;

    display: flex !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 9px 6px 13px !important;

    position: static !important;

    inset: auto !important;

    transform: none !important;

    justify-content: center !important;
    align-items: center !important;

    box-sizing: border-box !important;

    --width: 100% !important;

    --overflow-list-alignment: center !important;
    --overflow-list-alignment-mobile: center !important;

    --swatches-variant-picker-component-alignment: center !important;
    --swatches-variant-picker-component-alignment-mobile: center !important;
  }


  /* =====================================================
     INTERIOR DE SWATCHES
  ===================================================== */

  html body ul.product-grid[product-grid-view="default"]
  product-card
  .product-card__content
  > swatches-variant-picker-component
  swatches-variant-picker-component,

  html body ul.product-grid[product-grid-view="default"]
  product-card
  .product-card__content
  > swatches-variant-picker-component
  form,

  html body ul.product-grid[product-grid-view="default"]
  product-card
  .product-card__content
  > swatches-variant-picker-component
  fieldset {

    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    position: static !important;

    transform: none !important;
  }


  /* =====================================================
     CONTENEDOR DE COLORES
     APROX 6 + CONTADOR
  ===================================================== */

  html body ul.product-grid[product-grid-view="default"]
  product-card
  .product-card__content
  > swatches-variant-picker-component
  overflow-list {

    display: block !important;

    width: 126px !important;
    min-width: 0 !important;
    max-width: 126px !important;

    margin: 0 auto !important;
    padding: 0 !important;

    position: static !important;

    transform: none !important;

    overflow: hidden !important;
  }


  html body ul.product-grid[product-grid-view="default"]
  product-card
  .product-card__content
  > swatches-variant-picker-component
  overflow-list::part(list) {

    display: flex !important;

    flex-direction: row !important;
    flex-wrap: nowrap !important;

    justify-content: center !important;
    align-items: center !important;

    gap: 6px !important;

    width: auto !important;

    margin: 0 auto !important;

    overflow: hidden !important;
  }


  /* =====================================================
     CONTADOR NATIVO +N
  ===================================================== */

  html body ul.product-grid[product-grid-view="default"]
  product-card
  .product-card__content
  > swatches-variant-picker-component
  overflow-list::part(overflow) {

    display: flex !important;

    justify-content: center !important;
    align-items: center !important;

    font-size: 10px !important;
    line-height: 1 !important;
  }


  /* =====================================================
     SWATCH PEQUEÑO
  ===================================================== */

  html body ul.product-grid[product-grid-view="default"]
  product-card
  .swatch-input__label {

    width: 11px !important;
    height: 11px !important;

    min-width: 11px !important;
    min-height: 11px !important;

    --swatch-size: 11px !important;
  }


  /* =====================================================
     SI NO HAY COLORES
     DEJAR ESPACIO INFERIOR
  ===================================================== */

  html body ul.product-grid[product-grid-view="default"]
  product-card
  .product-card__content:not(:has(> swatches-variant-picker-component))
  > product-price {

    padding-bottom: 13px !important;
  }

}
@media screen and (max-width: 749px) {

  /* =========================
     TARJETA SIN FONDO LILA
  ========================== */
  html body ul.product-grid[product-grid-view="default"]
  product-card
  .product-card__content {
    background: transparent !important;
    border-radius: 0 !important;
    overflow: visible !important;
  }

  /* la imagen sigue con su cajita blanca/redondeada */
  html body ul.product-grid[product-grid-view="default"]
  product-card
  .product-card__content
  > :first-child {
    background: #fff !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    margin-bottom: 10px !important;
  }

  /* =========================
     TEXTO CENTRADO SIN FONDO
  ========================== */
  html body ul.product-grid[product-grid-view="default"]
  product-card
  .product-card__content
  > a[ref="productTitleLink"] {
    order: 2 !important;
    display: block !important;
    width: 100% !important;
    padding: 0 8px !important;
    margin: 0 !important;
    text-align: center !important;
    background: transparent !important;
  }

  html body ul.product-grid[product-grid-view="default"]
  product-card
  .product-card__content
  > .text-block {
    order: 3 !important;
    display: block !important;
    width: 100% !important;
    padding: 2px 8px 0 !important;
    margin: 0 !important;
    text-align: center !important;
    background: transparent !important;
  }

  html body ul.product-grid[product-grid-view="default"]
  product-card
  .product-card__content
  > product-price {
    order: 4 !important;
    display: block !important;
    width: 100% !important;
    padding: 4px 8px 0 !important;
    margin: 0 !important;
    text-align: center !important;
    background: transparent !important;
  }

  html body ul.product-grid[product-grid-view="default"]
  product-card
  .product-card__content
  > product-price [ref="priceContainer"] {
    justify-content: center !important;
    text-align: center !important;
  }

  /* =========================
     COLORES ABAJO DEL PRECIO
  ========================== */
  html body ul.product-grid[product-grid-view="default"]
  product-card
  .product-card__content
  > swatches-variant-picker-component {
    order: 5 !important;
    display: flex !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 8px 8px 0 !important;
    justify-content: center !important;
    align-items: center !important;
    background: transparent !important;
    position: static !important;
    transform: none !important;
  }

  html body ul.product-grid[product-grid-view="default"]
  product-card
  .product-card__content
  > swatches-variant-picker-component
  overflow-list {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    overflow: hidden !important;
  }

  html body ul.product-grid[product-grid-view="default"]
  product-card
  .product-card__content
  > swatches-variant-picker-component
  overflow-list::part(list) {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 auto !important;
  }

  html body ul.product-grid[product-grid-view="default"]
  product-card
  .swatch-input__label {
    width: 11px !important;
    height: 11px !important;
    min-width: 11px !important;
    min-height: 11px !important;
    --swatch-size: 11px !important;
  }

  /* si NO tiene colores, deja respiración abajo del precio */
  html body ul.product-grid[product-grid-view="default"]
  product-card
  .product-card__content:not(:has(> swatches-variant-picker-component))
  > product-price {
    padding-bottom: 10px !important;
  }
}

@media screen and (max-width: 749px) {

  /* CONTENEDOR de la info de la tarjeta */
  html body ul.product-grid[product-grid-view="default"] product-card .product-card__content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  /* Título */
  html body ul.product-grid[product-grid-view="default"] product-card .product-card__content > a[ref="productTitleLink"] {
    order: 2 !important;
  }

  /* Texto */
  html body ul.product-grid[product-grid-view="default"] product-card .product-card__content > .text-block {
    order: 3 !important;
  }

  /* Precio */
  html body ul.product-grid[product-grid-view="default"] product-card .product-card__content > product-price {
    order: 4 !important;
  }

  /* Colores ABAJO del precio */
  html body ul.product-grid[product-grid-view="default"] product-card .product-card__content > swatches-variant-picker-component {
    order: 5 !important;
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 8px !important;
    padding: 0 !important;
    position: static !important;
    transform: none !important;
  }

  html body ul.product-grid[product-grid-view="default"] product-card .product-card__content > swatches-variant-picker-component overflow-list {
    width: auto !important;
    margin: 0 auto !important;
    display: block !important;
    overflow: visible !important;
  }

  html body ul.product-grid[product-grid-view="default"] product-card .product-card__content > swatches-variant-picker-component overflow-list::part(list) {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
  }
}
@media screen and (max-width: 749px) {
  html body ul.product-grid[product-grid-view="default"] product-card swatches-variant-picker-component,
  html body ul.product-grid[product-grid-view="default"] product-card overflow-list {
    position: static !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
  }
}



/* =========================================================
   FIX MÓVIL — COLORES CORTADOS
   Causa: varios bloques anteriores dejan overflow:hidden en
   overflow-list y en overflow-list::part(list). El aro/sombra
   del swatch (y a veces la mitad del círculo) queda recortado.
   Este bloque va AL FINAL, con mayor especificidad.
========================================================= */
@media screen and (max-width: 749px) {

  html body ul.product-grid[product-grid-view="default"]
  product-card .product-card__content > swatches-variant-picker-component,
  html body ul.product-grid[product-grid-view="default"]
  product-card .product-card__content > swatches-variant-picker-component swatches-variant-picker-component,
  html body ul.product-grid[product-grid-view="default"]
  product-card .product-card__content > swatches-variant-picker-component form,
  html body ul.product-grid[product-grid-view="default"]
  product-card .product-card__content > swatches-variant-picker-component fieldset {
    overflow: visible !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  html body ul.product-grid[product-grid-view="default"]
  product-card .product-card__content > swatches-variant-picker-component overflow-list {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 22px !important;
    max-height: none !important;
    overflow: visible !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  html body ul.product-grid[product-grid-view="default"]
  product-card .product-card__content > swatches-variant-picker-component overflow-list::part(list) {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px !important;
    width: auto !important;
    height: auto !important;
    min-height: 22px !important;
    max-height: none !important;
    overflow: visible !important;      /* <- esto era lo que cortaba */
    padding: 4px !important;           /* espacio para aro/sombra */
    margin: 0 auto !important;
  }

  html body ul.product-grid[product-grid-view="default"]
  product-card .product-card__content > swatches-variant-picker-component li.variant-option__swatch {
    overflow: visible !important;
    height: auto !important;
    min-height: 0 !important;
    flex: 0 0 auto !important;
  }

  /* Sin contador +N: se muestran todos los colores */
  html body ul.product-grid[product-grid-view="default"]
  product-card .product-card__content > swatches-variant-picker-component overflow-list::part(overflow) {
    display: none !important;
  }

  html body ul.product-grid[product-grid-view="default"]
  product-card .product-card__content > swatches-variant-picker-component li.variant-option__swatch[slot="overflow"] {
    display: list-item !important;
  }
}


/* ===== U CAN — INFO DE LA TARJETA (SOLO PC) ===== */
@media screen and (min-width: 750px) {

  html body product-card .product-card__content:not(#ucan-pc) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: auto auto auto auto !important;
    grid-template-areas:
      "image    image"
      "title    swatches"
      "subtitle subtitle"
      "price    price" !important;
    column-gap: 8px !important;
    row-gap: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding-bottom: 18px !important;
  }

  html body product-card .product-card__content:not(#ucan-pc) > :first-child {
    grid-area: image !important;
  }

  /* TÍTULO (izquierda) */
  html body product-card .product-card__content:not(#ucan-pc) > a[ref="productTitleLink"] {
    grid-area: title !important;
    align-self: center !important;
    justify-self: stretch !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 14px 0 0 25px !important;
    position: static !important;
    top: auto !important;
    transform: none !important;
  }

  html body product-card .product-card__content:not(#ucan-pc) > a[ref="productTitleLink"] .text-block,
  html body product-card .product-card__content:not(#ucan-pc) > a[ref="productTitleLink"] .text-block p {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    top: auto !important;
    transform: none !important;
    text-align: left !important;
  }

  /* TEXTO LIGHT */
  html body product-card .product-card__content:not(#ucan-pc) > .text-block {
    grid-area: subtitle !important;
    align-self: start !important;
    justify-self: stretch !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 2px 22px 0 25px !important;
    position: static !important;
    top: auto !important;
    transform: none !important;
    text-align: left !important;
  }

  html body product-card .product-card__content:not(#ucan-pc) > .text-block p {
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    top: auto !important;
    transform: none !important;
    text-align: left !important;
  }

  /* PRECIO */
  html body product-card .product-card__content:not(#ucan-pc) > product-price {
    grid-area: price !important;
    align-self: start !important;
    justify-self: stretch !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 8px 22px 0 25px !important;
    overflow: visible !important;
    position: static !important;
    top: auto !important;
    transform: none !important;
    line-height: 1.25 !important;
  }

  html body product-card .product-card__content:not(#ucan-pc) > product-price [ref="priceContainer"] {
    justify-content: flex-start !important;
    text-align: left !important;
    height: auto !important;
    overflow: visible !important;
    margin: 0 !important;
    transform: none !important;
  }

  /* COLORES (derecha, misma línea que el título, chicos) */
  html body product-card .product-card__content:not(#ucan-pc) > swatches-variant-picker-component {
    grid-area: swatches !important;
    align-self: center !important;
    justify-self: end !important;
    display: block !important;
    position: static !important;
    inset: auto !important;
    transform: none !important;
    width: auto !important;
    max-width: 150px !important;
    margin: 0 !important;
    padding: 14px 22px 0 0 !important;
    overflow: visible !important;

    --swatch-size: 16px;
    --swatch-width: 16px;
    --swatch-height: 16px;
    --variant-picker-swatch-width: 16px;
    --variant-picker-swatch-height: 16px;
  }

  html body product-card .product-card__content:not(#ucan-pc) > swatches-variant-picker-component form,
  html body product-card .product-card__content:not(#ucan-pc) > swatches-variant-picker-component fieldset {
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  html body product-card .product-card__content:not(#ucan-pc) > swatches-variant-picker-component overflow-list {
    display: block !important;
    width: auto !important;
    max-width: 150px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body product-card .product-card__content:not(#ucan-pc) > swatches-variant-picker-component overflow-list::part(list) {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 3px !important;
    overflow: visible !important;
  }

  html body product-card .product-card__content:not(#ucan-pc) > swatches-variant-picker-component .swatch,
  html body product-card .product-card__content:not(#ucan-pc) > swatches-variant-picker-component .swatch-input__label,
  html body product-card .product-card__content:not(#ucan-pc) > swatches-variant-picker-component li.variant-option__swatch {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
  }
}

/* ===== U CAN — TARJETA ANGOSTA: COLORES DEBAJO DEL TÍTULO (SOLO TABLET EN VERTICAL, NO PC) ===== */
@media screen and (min-width: 750px) and (max-width: 1199px) and (orientation: portrait) and (any-pointer: coarse) {

  html body product-card .product-card__content:not(#ucan-pc):not(#ucan-tab) {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto auto auto !important;
    grid-template-areas:
      "image"
      "title"
      "swatches"
      "subtitle"
      "price" !important;
  }

  html body product-card .product-card__content:not(#ucan-pc):not(#ucan-tab) > swatches-variant-picker-component {
    justify-self: start !important;
    align-self: start !important;
    padding: 6px 22px 0 25px !important;
  }

  html body product-card .product-card__content:not(#ucan-pc):not(#ucan-tab) > swatches-variant-picker-component overflow-list::part(list) {
    justify-content: flex-start !important;
  }
}

/* ===== U CAN — FORZAR QUE SE VEA EL META CAMPO (SOLO PC) ===== */
@media screen and (min-width: 750px) {

  html body product-card .product-card__content:not(#ucan-pc) > .text-block {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
    content-visibility: visible !important;
    color: #000 !important;
  }

  html body product-card .product-card__content:not(#ucan-pc) > .text-block p {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
  }
}
/* ===== U CAN — PC: QUITAR COLORES DUPLICADOS + PRECIO EN SU LUGAR ===== */
@media screen and (min-width: 750px) {

  /* 1) Quita el set de colores duplicado (el de abajo) */
  html body product-card .product-card__content:not(#ucan-pc) > product-swatches {
    display: none !important;
  }

  /* 2) El precio también tiene la clase .text-block, así que la regla
        del texto light lo mandaba a la fila del subtítulo (encima de él).
        Esta regla lo devuelve a su fila. */
  html body product-card .product-card__content:not(#ucan-pc) > product-price.text-block {
    grid-area: price !important;
    padding: 8px 22px 0 25px !important;
  }
}
/* ===== U CAN — PC: TÍTULO ALINEADO (izq. con texto/precio, centrado con los colores) ===== */
@media screen and (min-width: 750px) {
  html body product-card .product-card__content:not(#ucan-pc) > a[ref="productTitleLink"] > .text-block {
    grid-area: title !important;
    align-self: center !important;
    justify-self: stretch !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 14px 0 0 25px !important;
  }
}


/* ===== U CAN — CARRUSELES MÓVIL: "Ver todos" (home) + "También te puede interesar" =====
   SOLO MÓVIL. No toca ul.product-grid ni PC. */
@media screen and (max-width: 749px) {

  /* =====================================================
     2 PRODUCTOS POR FILA
  ===================================================== */

  /* =====================================================
     TARJETA
     AQUÍ DEJAMOS DE USAR GRID
  ===================================================== */

  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m)
  product-card
  .product-card__content {

    display: flex !important;
    flex-direction: column !important;

    width: 100% !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    gap: 0 !important;

    border-radius: 24px !important;
    overflow: hidden !important;

    background: #CBD3EB !important;
  }


  /* =====================================================
     RESET TOTAL DE HIJOS
  ===================================================== */

  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m)
  product-card
  .product-card__content
  > * {

    grid-area: unset !important;
    grid-column: unset !important;
    grid-row: unset !important;

    float: none !important;

    position: static !important;

    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;

    transform: none !important;

    margin-left: 0 !important;
    margin-right: 0 !important;
  }


  /* =====================================================
     1 — IMAGEN
  ===================================================== */

  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m)
  product-card
  .product-card__content
  > :first-child {

    order: 1 !important;

    width: 100% !important;
    min-width: 0 !important;

    aspect-ratio: 1 / 1 !important;

    margin: 0 !important;
    padding: 0 !important;

    position: relative !important;

    background: #fff !important;

    overflow: hidden !important;
  }

  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m)
  product-card
  .product-card__content
  > :first-child img,

  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m)
  product-card
  .product-media__image {

    width: 100% !important;
    height: 100% !important;

    object-fit: contain !important;

    margin: 0 !important;
    padding: 0 !important;
  }


  /* =====================================================
     2 — TITULO
  ===================================================== */

  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m)
  product-card
  .product-card__content
  > a[ref="productTitleLink"] {

    order: 2 !important;

    display: block !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 10px 8px 0 !important;

    position: static !important;

    transform: none !important;

    text-align: center !important;

    box-sizing: border-box !important;
  }


  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m)
  product-card
  .product-card__content
  > a[ref="productTitleLink"]
  .text-block,

  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m)
  product-card
  .product-card__content
  > a[ref="productTitleLink"]
  p[role="heading"] {

    display: block !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    position: static !important;

    transform: none !important;

    text-align: center !important;

    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;

    font-weight: 700 !important;
    line-height: 1.05 !important;
  }


  /* =====================================================
     3 — SUBTITULO
     SOLO TEXT-BLOCK HIJO DIRECTO
  ===================================================== */

  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m)
  product-card
  .product-card__content
  > .text-block {

    order: 3 !important;

    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 3px 8px 0 !important;

    position: static !important;

    top: auto !important;

    transform: none !important;

    text-align: center !important;

    box-sizing: border-box !important;
  }


  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m)
  product-card
  .product-card__content
  > .text-block
  p {

    display: block !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    position: static !important;

    top: auto !important;

    transform: none !important;

    text-align: center !important;

    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;

    line-height: 1.05 !important;
  }


  /* =====================================================
     4 — PRECIO
  ===================================================== */

  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m)
  product-card
  .product-card__content
  > product-price {

    order: 4 !important;

    display: block !important;

    width: 100% !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 6px 8px 0 !important;

    position: static !important;

    transform: none !important;

    text-align: center !important;

    box-sizing: border-box !important;
  }


  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m)
  product-card
  .product-card__content
  > product-price
  [ref="priceContainer"] {

    display: flex !important;

    width: 100% !important;

    margin: 0 !important;

    justify-content: center !important;
    align-items: center !important;

    transform: none !important;

    text-align: center !important;
  }


  /* PRECIO CON DESCUENTO */

  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m)
  product-card
  .product-card__content
  > product-price
  [ref="priceContainer"]:has(.compare-at-price) {

    flex-direction: column-reverse !important;

    justify-content: center !important;
    align-items: center !important;

    gap: 2px !important;
  }


  /* =====================================================
     5 — COLORES
     SIEMPRE ÚLTIMOS
  ===================================================== */

  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m)
  product-card
  .product-card__content
  > swatches-variant-picker-component {

    order: 5 !important;

    display: flex !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 9px 6px 13px !important;

    position: static !important;

    inset: auto !important;

    transform: none !important;

    justify-content: center !important;
    align-items: center !important;

    box-sizing: border-box !important;

    --width: 100% !important;

    --overflow-list-alignment: center !important;
    --overflow-list-alignment-mobile: center !important;

    --swatches-variant-picker-component-alignment: center !important;
    --swatches-variant-picker-component-alignment-mobile: center !important;
  }


  /* =====================================================
     INTERIOR DE SWATCHES
  ===================================================== */

  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m)
  product-card
  .product-card__content
  > swatches-variant-picker-component
  swatches-variant-picker-component,

  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m)
  product-card
  .product-card__content
  > swatches-variant-picker-component
  form,

  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m)
  product-card
  .product-card__content
  > swatches-variant-picker-component
  fieldset {

    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    position: static !important;

    transform: none !important;
  }


  /* =====================================================
     CONTENEDOR DE COLORES
     APROX 6 + CONTADOR
  ===================================================== */

  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m)
  product-card
  .product-card__content
  > swatches-variant-picker-component
  overflow-list {

    display: block !important;

    width: 126px !important;
    min-width: 0 !important;
    max-width: 126px !important;

    margin: 0 auto !important;
    padding: 0 !important;

    position: static !important;

    transform: none !important;

    overflow: hidden !important;
  }


  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m)
  product-card
  .product-card__content
  > swatches-variant-picker-component
  overflow-list::part(list) {

    display: flex !important;

    flex-direction: row !important;
    flex-wrap: nowrap !important;

    justify-content: center !important;
    align-items: center !important;

    gap: 6px !important;

    width: auto !important;

    margin: 0 auto !important;

    overflow: hidden !important;
  }


  /* =====================================================
     CONTADOR NATIVO +N
  ===================================================== */

  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m)
  product-card
  .product-card__content
  > swatches-variant-picker-component
  overflow-list::part(overflow) {

    display: flex !important;

    justify-content: center !important;
    align-items: center !important;

    font-size: 10px !important;
    line-height: 1 !important;
  }


  /* =====================================================
     SWATCH PEQUEÑO
  ===================================================== */

  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m)
  product-card
  .swatch-input__label {

    width: 11px !important;
    height: 11px !important;

    min-width: 11px !important;
    min-height: 11px !important;

    --swatch-size: 11px !important;
  }


  /* =====================================================
     SI NO HAY COLORES
     DEJAR ESPACIO INFERIOR
  ===================================================== */

  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m)
  product-card
  .product-card__content:not(:has(> swatches-variant-picker-component))
  > product-price {

    padding-bottom: 13px !important;
  }

}
@media screen and (max-width: 749px) {

  /* =========================
     TARJETA SIN FONDO LILA
  ========================== */
  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m)
  product-card
  .product-card__content {
    background: transparent !important;
    border-radius: 0 !important;
    overflow: visible !important;
  }

  /* la imagen sigue con su cajita blanca/redondeada */
  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m)
  product-card
  .product-card__content
  > :first-child {
    background: #fff !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    margin-bottom: 10px !important;
  }

  /* =========================
     TEXTO CENTRADO SIN FONDO
  ========================== */
  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m)
  product-card
  .product-card__content
  > a[ref="productTitleLink"] {
    order: 2 !important;
    display: block !important;
    width: 100% !important;
    padding: 0 8px !important;
    margin: 0 !important;
    text-align: center !important;
    background: transparent !important;
  }

  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m)
  product-card
  .product-card__content
  > .text-block {
    order: 3 !important;
    display: block !important;
    width: 100% !important;
    padding: 2px 8px 0 !important;
    margin: 0 !important;
    text-align: center !important;
    background: transparent !important;
  }

  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m)
  product-card
  .product-card__content
  > product-price {
    order: 4 !important;
    display: block !important;
    width: 100% !important;
    padding: 4px 8px 0 !important;
    margin: 0 !important;
    text-align: center !important;
    background: transparent !important;
  }

  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m)
  product-card
  .product-card__content
  > product-price [ref="priceContainer"] {
    justify-content: center !important;
    text-align: center !important;
  }

  /* =========================
     COLORES ABAJO DEL PRECIO
  ========================== */
  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m)
  product-card
  .product-card__content
  > swatches-variant-picker-component {
    order: 5 !important;
    display: flex !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 8px 8px 0 !important;
    justify-content: center !important;
    align-items: center !important;
    background: transparent !important;
    position: static !important;
    transform: none !important;
  }

  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m)
  product-card
  .product-card__content
  > swatches-variant-picker-component
  overflow-list {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    overflow: hidden !important;
  }

  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m)
  product-card
  .product-card__content
  > swatches-variant-picker-component
  overflow-list::part(list) {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 auto !important;
  }

  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m)
  product-card
  .swatch-input__label {
    width: 11px !important;
    height: 11px !important;
    min-width: 11px !important;
    min-height: 11px !important;
    --swatch-size: 11px !important;
  }

  /* si NO tiene colores, deja respiración abajo del precio */
  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m)
  product-card
  .product-card__content:not(:has(> swatches-variant-picker-component))
  > product-price {
    padding-bottom: 10px !important;
  }
}

@media screen and (max-width: 749px) {

  /* CONTENEDOR de la info de la tarjeta */
  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m) product-card .product-card__content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  /* Título */
  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m) product-card .product-card__content > a[ref="productTitleLink"] {
    order: 2 !important;
  }

  /* Texto */
  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m) product-card .product-card__content > .text-block {
    order: 3 !important;
  }

  /* Precio */
  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m) product-card .product-card__content > product-price {
    order: 4 !important;
  }

  /* Colores ABAJO del precio */
  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m) product-card .product-card__content > swatches-variant-picker-component {
    order: 5 !important;
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 8px !important;
    padding: 0 !important;
    position: static !important;
    transform: none !important;
  }

  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m) product-card .product-card__content > swatches-variant-picker-component overflow-list {
    width: auto !important;
    margin: 0 auto !important;
    display: block !important;
    overflow: visible !important;
  }

  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m) product-card .product-card__content > swatches-variant-picker-component overflow-list::part(list) {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
  }
}
@media screen and (max-width: 749px) {
  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m) product-card swatches-variant-picker-component,
  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m) product-card overflow-list {
    position: static !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
  }
}



/* =========================================================
   FIX MÓVIL — COLORES CORTADOS
   Causa: varios bloques anteriores dejan overflow:hidden en
   overflow-list y en overflow-list::part(list). El aro/sombra
   del swatch (y a veces la mitad del círculo) queda recortado.
   Este bloque va AL FINAL, con mayor especificidad.
========================================================= */
@media screen and (max-width: 749px) {

  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m)
  product-card .product-card__content > swatches-variant-picker-component,
  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m)
  product-card .product-card__content > swatches-variant-picker-component swatches-variant-picker-component,
  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m)
  product-card .product-card__content > swatches-variant-picker-component form,
  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m)
  product-card .product-card__content > swatches-variant-picker-component fieldset {
    overflow: visible !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m)
  product-card .product-card__content > swatches-variant-picker-component overflow-list {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 22px !important;
    max-height: none !important;
    overflow: visible !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m)
  product-card .product-card__content > swatches-variant-picker-component overflow-list::part(list) {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px !important;
    width: auto !important;
    height: auto !important;
    min-height: 22px !important;
    max-height: none !important;
    overflow: visible !important;      /* esto era lo que cortaba */
    padding: 4px !important;           /* espacio para aro/sombra */
    margin: 0 auto !important;
  }

  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m)
  product-card .product-card__content > swatches-variant-picker-component li.variant-option__swatch {
    overflow: visible !important;
    height: auto !important;
    min-height: 0 !important;
    flex: 0 0 auto !important;
  }

  /* Sin contador +N: se muestran todos los colores */
  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m)
  product-card .product-card__content > swatches-variant-picker-component overflow-list::part(overflow) {
    display: none !important;
  }

  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m)
  product-card .product-card__content > swatches-variant-picker-component li.variant-option__swatch[slot="overflow"] {
    display: list-item !important;
  }
}
/* Colores nativos duplicados (product-swatches) fuera en estos carruseles */
@media screen and (max-width: 749px) {
  html body :is(slideshow-component.resource-list__carousel, product-recommendations .resource-list):not(#ucan-m)
  product-card .product-card__content > product-swatches {
    display: none !important;
  }
}

/* SOLO MOBILE — bajar ligeramente los colores en "Ver todos" */
@media screen and (max-width: 749px) {

  html body
  ul.product-grid[product-grid-view="default"]
  product-card
  swatches-variant-picker-component {
    margin-top: 9px !important;
  }

}





/* MÓVIL — VISTA DE 1 POR FILA: título, subtítulo y precio alineados; colores a la derecha en la fila del título */
@media screen and (max-width: 749px) {

  body:has(input.column-options__option-input[name="grid-mobile"][value="mobile-single"]:checked)
  ul.product-grid product-card .product-card__content:not(#ucan-m1) {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }

  /* TÍTULO */
  body:has(input.column-options__option-input[name="grid-mobile"][value="mobile-single"]:checked)
  ul.product-grid product-card .product-card__content:not(#ucan-m1)
  > a[ref="productTitleLink"] > .text-block {
    grid-column: 1 !important;
    grid-row: 2 !important;
    align-self: center !important;
    margin: 10px 0 !important;
    padding: 0 8px 0 20px !important;
    text-align: left !important;
  }

  /* SUBTÍTULO */
  body:has(input.column-options__option-input[name="grid-mobile"][value="mobile-single"]:checked)
  ul.product-grid product-card .product-card__content:not(#ucan-m1)
  > div.text-block {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    margin: -6px 0 0 !important;
    padding: 0 20px !important;
    text-align: left !important;
    top: 0 !important;
  }

  /* el texto del subtítulo venía subido por reglas de PC */
  body:has(input.column-options__option-input[name="grid-mobile"][value="mobile-single"]:checked)
  ul.product-grid product-card .product-card__content:not(#ucan-m1)
  > div.text-block > p {
    top: 0 !important;
    margin: 0 !important;
    text-align: left !important;
  }

  /* PRECIO */
  body:has(input.column-options__option-input[name="grid-mobile"][value="mobile-single"]:checked)
  ul.product-grid product-card .product-card__content:not(#ucan-m1)
  > product-price {
    grid-column: 1 / -1 !important;
    grid-row: 4 !important;
    margin: 0 !important;
    padding: 8px 20px 18px !important;
    text-align: left !important;
  }


/* MÓVIL — VISTA DE 1 POR FILA: colores a la altura del título */
@media screen and (max-width: 749px) {
  body:has(input.column-options__option-input[name="grid-mobile"][value="mobile-single"]:checked)
  ul.product-grid product-card .product-card__content:not(#ucan-m1)
  > product-swatches {
    align-self: start !important;
    margin-top: 10px !important;
    position: static !important;
    transform: none !important;
  }
}

/* MÓVIL — VISTA DE 2 POR FILA: más aire entre título, subtítulo, precio y colores */
@media screen and (max-width: 749px) {
  body:not(:has(input.column-options__option-input[name="grid-mobile"][value="mobile-single"]:checked))
  ul.product-grid[product-grid-view="default"]
  product-card .product-card__content:not(#ucan-s2) {
    row-gap: 4px !important;
  }
}
