/* HENNIO-SIMILI-1 — «Capi simili» nella scheda capo di hennio.
   Le schede sono quelle del catalogo (hnz-card): copertina, bandierina,
   titolo, prezzo e gallina dei preferiti. FotoFatto non carica questo file. */

body.hennio-body .ad-other .ad-related-pane .hnz-card {
  flex: 0 0 auto;
  width: 132px;
}
body.hennio-body .ad-other .ad-related-pane .hnz-card .hnz-card-media {
  background: var(--hennio-paper, #FBF6F1);
}
body.hennio-body .ad-other .ad-related-pane .hnz-card .hnz-card-title,
body.hennio-body .ad-other .ad-related-pane .hnz-card .hnz-card-brand,
body.hennio-body .ad-other .ad-related-pane .hnz-card .hnz-card-price {
  color: var(--hennio-ink, #3B2A26);
}
body.hennio-body .ad-other .ad-related-pane .hnz-card .hnz-card-title {
  font-size: 13px;
  line-height: 1.3;
}
body.hennio-body .ad-other .ad-related-pane .hnz-card .hnz-card-price {
  font-size: 13.5px;
}
body.hennio-body .ad-other .ad-related-pane .hnz-card .card-heart {
  background: var(--hennio-paper, #FBF6F1);
  color: var(--hennio-ink, #3B2A26);
}

/* Telefono: 8 capi, scorrimento orizzontale come le altre file della scheda. */
@media (max-width: 1023px) {
  body.hennio-body .ad-other .ad-related-pane .hnz-card {
    width: 138px;
  }
  body.hennio-body .ad-other .ad-related-pane[data-ad-pane="simili"] .hnz-card:nth-child(n + 9) {
    display: none;
  }
}

/* Desktop: la griglia 3/4 colonne già usata dal riquadro; qui 8-12 schede. */
@media (min-width: 1024px) {
  body.hennio-body .ad-other .ad-related-pane .hnz-card {
    width: auto;
    flex: none;
  }
}
