/* Review link in the Audi monitor grid. */
article.product-miniature .product-description .comments_note.ae-audi-card-reviews {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
  overflow: visible;
  text-align: left;
}
article.product-miniature .ae-audi-card-reviews > .ae-card-google-reviews {
  display: inline-block;
  max-width: 100%;
  color: #146b38;
  font-weight: 600;
  line-height: 1.4;
  white-space: normal;
  text-decoration: underline;
  text-underline-offset: .16em;
}

/* The full product name needs a third line at desktop card widths. */
article.product-miniature:is([data-id-product="212"], [data-id-product="597"]) .product-title,
article.product-miniature:is([data-id-product="212"], [data-id-product="597"]) .product-title a {
  display: block !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  white-space: normal !important;
  text-overflow: clip !important;
  -webkit-line-clamp: unset !important;
}

@media screen {
  article.product-miniature .product-title.ae-audi-title,
  article.product-miniature .product-title.ae-audi-title a {
    display: block !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    white-space: normal !important;
    text-overflow: clip !important;
    -webkit-line-clamp: unset !important;
    overflow-wrap: break-word;
  }
}

/* Audio Elite: pulsante leggibile nelle schede Audi. */
@media screen {
  article.product-miniature:has(.product-title.ae-audi-title) button.btn-primary.add-to-cart {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    height: auto;
    max-width: 100%;
    padding: 6px 8px;
    line-height: 1.2;
    white-space: normal;
    text-align: center;
  }
}
