
/* FYRDENAF V73 – PRODUCT TITLE ALIGNMENT */
/* KUN BATTERIER */

/* Ensartet placering af tekstindhold */
#batterier .product-card .product-content {
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
}

/* Produktnavne: maks. to linjer */
#batterier .product-card .product-title {
  display:-webkit-box !important;
  -webkit-box-orient:vertical !important;
  -webkit-line-clamp:2 !important;
  line-clamp:2;

  overflow:hidden !important;
  text-overflow:ellipsis !important;

  line-height:1.2 !important;
  height:2.4em !important;
  min-height:2.4em !important;
  max-height:2.4em !important;

  margin:0 !important;
}

/* Priserne starter på samme niveau */
#batterier .product-card .price {
  flex-shrink:0 !important;
  margin-top:10px !important;
}

/* Produktinfo */
#batterier .product-card .product-meta {
  flex-shrink:0 !important;
}

/* SE DETALJER holdes mod kortets bund */
#batterier .product-card a.details-link {
  margin-top:auto !important;
  align-self:flex-start !important;
  text-decoration:none !important;
  border-bottom:0 !important;
}

/* Mobil: tillad tre linjer */
@media(max-width:750px) {
  #batterier .product-card .product-title {
    -webkit-line-clamp:3 !important;
    line-clamp:3;

    height:3.6em !important;
    min-height:3.6em !important;
    max-height:3.6em !important;
  }

  #batterier .product-card a.details-link {
    margin-top:10px !important;
  }
}
