/* Several 18/11/2026 — Tarjetas de producto (plantilla CE «product-miniature») en listados, home, búsqueda y relacionados.
   Lo carga tunapschema (TunapPageCss) en cualquier página que tenga tarjetas.
   1) «SOLO PROFESIONALES» salía dos veces: en la foto y otra vez encima de «Donde comprar». Se deja solo el de la foto
      (en la ficha de producto no se toca: allí solo está el de .product-infos).
   2) Todas las tarjetas de una fila miden igual, y los botones / el precio quedan alineados abajo. */

/* 1) Insignia repetida */
[data-elementor-type="product-miniature"] .product-infos > .badge-solo-profesionales{display:none!important}

/* 2) Mismo alto: la tarjeta ocupa toda la fila (rejilla y carrusel) */
/* grid-auto-rows:1fr hace que todas las filas midan lo que la más alta: todas las tarjetas del listado iguales */
.ce-product-grid{align-items:stretch!important;grid-auto-rows:1fr!important}
.swiper-slide:has(> [data-elementor-type="product-miniature"]){height:auto!important;display:flex!important}
.swiper-wrapper:has(> .swiper-slide > [data-elementor-type="product-miniature"]){align-items:stretch!important}
.ce-product-grid > [data-elementor-type="product-miniature"],
.swiper-slide > [data-elementor-type="product-miniature"]{display:flex!important;flex-direction:column;width:100%;height:100%!important}
[data-elementor-type="product-miniature"] > article{display:flex!important;flex-direction:column;flex:1 1 auto}
/* La parte de abajo (categoría, nombre y botones) crece y empuja los botones al final */
[data-elementor-type="product-miniature"] > article > section:last-child{display:flex!important;flex-direction:column;flex:1 1 auto}
[data-elementor-type="product-miniature"] > article > section:last-child > .elementor-container,
[data-elementor-type="product-miniature"] > article > section:last-child .elementor-row,
[data-elementor-type="product-miniature"] > article > section:last-child .elementor-column,
[data-elementor-type="product-miniature"] > article > section:last-child .elementor-column-wrap{flex:1 1 auto;align-items:stretch!important}
[data-elementor-type="product-miniature"] > article > section:last-child .elementor-widget-wrap{flex-direction:column!important;flex-wrap:nowrap!important;align-content:stretch!important;height:100%}
[data-elementor-type="product-miniature"] > article > section:last-child .elementor-widget-wrap > .elementor-widget:last-child{margin-top:auto!important}

/* 3) La insignia de la foto se cortaba («SOLO PROFESIONALE»): su caja se limitaba a 150 px y el texto necesita ~160 */
[data-elementor-type="product-miniature"] .elementor-element:has(> .elementor-widget-container > .badge-solo-profesionales){left:12px!important;max-width:none!important;width:max-content!important}
[data-elementor-type="product-miniature"] .badge-solo-profesionales{max-width:none!important;width:max-content!important}

/* 4) Botones siempre alineados abajo: el bloque «Donde comprar / Iniciar sesión» llevaba 30 px de margen inferior
      y quedaba más arriba que el «Añadir» de las demás tarjetas */
[data-elementor-type="product-miniature"] .product-infos > :last-child,
[data-elementor-type="product-miniature"] .product-infos .inicia-sesion-profesional-centros{margin-bottom:0!important}
