/* =====================================================================
   Produits liés de la fiche produit (01/12/2026, seo/lot-cross-selling)
   _partials/related-products.tpl. Variables --pc-* de aromex-catalog.css.
   ===================================================================== */
.arp {
  margin-top: 56px;
}
.arp-block + .arp-block {
  margin-top: 40px;
}
.arp-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin: 0 0 16px;
}
.apd .arp-title {
  margin: 0;
  font-family: var(--aromex-font-family-primary);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: 0;
  color: var(--pc-ink, #111418);
}
.arp-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--pc-ink-2, #3b414a);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.arp-more:hover {
  color: var(--pc-ink, #111418);
}
.arp-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.arp-list--formats {
  grid-template-columns: repeat(auto-fill, minmax(260px, 340px));
}
.arp-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--pc-line, #e5e8ec);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.arp-card:hover,
.arp-card:focus-visible {
  border-color: #c3c8cf;
  box-shadow: 0 4px 14px rgba(17, 20, 24, 0.06);
}
.arp-media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  padding: 14px;
  box-sizing: border-box;
  background: var(--pc-media, #f3f5f8);
}
.arp-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.arp-media .aromex-ph {
  margin: -14px;
  width: calc(100% + 28px);
  height: calc(100% + 28px);
  min-height: 0;
  border-radius: 0;
}
.arp-media .aromex-ph__label,
.arp-media .aromex-ph__brand {
  /* la marque est déjà écrite sous l'image */
  display: none;
}
.arp-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px 14px;
}
.arp-brand {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pc-ink-3, #6b7280);
}
.arp-name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--pc-ink, #111418);
}
.arp-facts {
  font-size: 13px;
  color: var(--pc-ink-3, #6b7280);
}
/* Autres formats : carte horizontale, le format est l'information principale */
.arp-list--formats .arp-card {
  flex-direction: row;
  align-items: center;
}
.arp-list--formats .arp-media {
  flex: 0 0 88px;
  width: 88px;
  padding: 8px;
}
.arp-list--formats .arp-media .aromex-ph {
  margin: -8px;
  width: calc(100% + 16px);
  height: calc(100% + 16px);
}
.arp-list--formats .arp-brand {
  display: none;
}
.arp-list--formats .arp-facts {
  order: -1;
  font-size: 15px;
  font-weight: 700;
  color: var(--pc-ink, #111418);
}
.arp-list--formats .arp-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--pc-ink-2, #3b414a);
}
@media (max-width: 1100px) {
  .arp-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 860px) {
  .arp {
    margin-top: 40px;
  }
  /* Téléphone : une carte horizontale par ligne, vignette à gauche (page moins longue) */
  .arp-list,
  .arp-list--formats {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .arp-card {
    flex-direction: row;
    align-items: center;
  }
  .arp-media {
    flex: 0 0 72px;
    width: 72px;
    padding: 6px;
  }
  .arp-media .aromex-ph {
    margin: -6px;
    width: calc(100% + 12px);
    height: calc(100% + 12px);
  }
  .arp-media .aromex-ph__icon {
    width: 46%;
    margin: 0;
  }
  .arp-body {
    padding: 10px 12px;
    gap: 2px;
  }
  .arp-name {
    font-size: 14px;
  }
}
