/* Merch — réutilise le système de mise en page de la home/à-propos
   (container-fig, hero-wrap, about-section/about-centered/partner-section,
   footer-grid : tous définis dans ../home.css) et n'ajoute que ce qui est
   spécifique à cette page. */

/* Taille de titre plus grande que le h1 secondaire standard
   d'about-hero-title-block (mesurée sur la maquette 05_MERCH). */
.hero-title-block--lead h1 {
  font-size: clamp(48px, 7vw, 88px);
}

/* Collection : même affichage que la boutique Shopify (repris de
   pog-shopify-theme/assets/pog-v3.css, section « Collection ») — 2 cartes
   centrées de 520px max, fond illustré PoG, t-shirt posé dessus ; au survol
   le dos remplace la face avec un léger zoom et les 2 pastilles
   apparaissent ; dessous le nom et la pastille « Voir ». */
.product-section {
  margin-top: 80px;
  padding: 30px 16px 0;
}

.pog-col__title {
  margin: 0 0 41px;
  text-align: center;
  font-size: 30px;
  font-weight: 600;
  line-height: 35px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #251816;
}

.pog-col__grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 520px));
  justify-content: center;
  gap: 80px;
}

.pog-card {
  position: relative;
}

.pog-card__media {
  position: relative;
  display: block;
  aspect-ratio: 520 / 582;
  background-size: cover;
  background-position: center;
}

.pog-card__img {
  /* assez bas pour laisser visibles les logos dans les coins de la carte */
  position: absolute;
  left: 11%;
  top: 18%;
  width: 78%;
  height: 72%;
  object-fit: contain;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.pog-card__img--back {
  opacity: 0;
}

.pog-card__media:hover .pog-card__img,
.pog-card__media:focus-visible .pog-card__img {
  transform: scale(1.08);
}

.pog-card__media:hover .pog-card__img--back,
.pog-card__media:focus-visible .pog-card__img--back {
  opacity: 1;
}

.pog-card__media:hover .pog-card__img--front,
.pog-card__media:focus-visible .pog-card__img--front {
  opacity: 0;
}

.pog-card__actions {
  position: absolute;
  right: 9%;
  bottom: 10%;
  display: flex;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pog-card__media:hover .pog-card__actions,
.pog-card__media:focus-visible .pog-card__actions {
  opacity: 1;
}

.pog-card__act {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  background: #fff;
  color: #251816;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pog-card__act svg {
  width: 18px;
  height: 18px;
}

.pog-card__foot {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.pog-card__name {
  margin: 0 0 0 4px;
  font-size: 20px;
  font-weight: 500;
  line-height: 23px;
  text-transform: none;
  color: #251816;
}

.pog-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 38px;
  border-radius: 19px;
  background: #f3efe8;
  color: #251816;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.pog-pill:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* une carte par ligne sur téléphone */
@media (max-width: 760px) {
  .pog-col__grid {
    grid-template-columns: minmax(0, 520px);
    gap: 48px;
  }
}
