/* Coffrets n°8 / n°9 : pastilles des exceptions dans les listes et les en-têtes, légende,
   rappel du coffret dans le bloc offre des fiches. Seules les exceptions sont marquées : un partenaire présent dans les
   deux coffrets ne porte rien. Les couleurs gardent un contraste >= 4.5:1. */

.edition-tag {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 700;
  white-space: nowrap;
  vertical-align: middle;
}

/* Dans le coffret en vente uniquement */
.edition-tag--new { background: #c2006b; color: #fff; }

/* Dans un coffret précédent uniquement */
.edition-tag--old {
  padding: 1px 9px;
  border: 1px solid #5b6578;
  background: #fff;
  color: #3d4658;
  font-weight: 600;
}

/* Dans les listes : le nom à gauche, la pastille calée au bord droit de la ligne */
a.offer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.offer-link__name { min-width: 0; }
.offer-link .edition-tag { flex: 0 0 auto; }
.gallery-heading__meta .edition-tag { margin-left: 8px; letter-spacing: 0; text-transform: none; }

/* Légende, en tête des listes : une ligne qui se replie si besoin */
.edition-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 22px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  color: #3d4658;
  font-size: 13px;
  line-height: 1.6;
}

.edition-legend li { display: inline-flex; align-items: center; gap: 8px; }

/* Rappel du coffret au-dessus de l'offre */
.offer-edition {
  margin: 0 0 8px;
  color: rgb(255 255 255 / 85%);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}

/* Page Offres : cartes d'entrée et page de catégorie */
.offer-cat-card { display: block; color: #fff; text-decoration: none; }
.offer-cat-card:focus-visible { outline: 3px solid #6d3fa6 !important; outline-offset: 3px; }

.offer-cat-card .offer-cat-card__count {
  margin: 6px 0 0;
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
}

.offer-cat-card .edition-tag { margin-top: 8px; }

.offers-intro,
.offers-count {
  margin: 0 0 20px;
  max-width: 640px;
  color: #4a5568;
  font-size: 16px;
  line-height: 1.6;
}

.offers-intro strong { color: #1f2d4f; }

.offers-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-bottom: 8px;
  color: #c2006b;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.offers-back:hover { color: #8f004f; text-decoration: underline; }
.offers-back:focus-visible { outline: 3px solid #6d3fa6 !important; outline-offset: 3px; }

.offers-group { margin-bottom: 28px; }
