/* Style de base pour la liste numérotée */
ol.custom-list {
  list-style: none;
  /* Supprime les puces par défaut */
  padding: 0;
  margin: 0;
  counter-reset: custom-counter;
  /* Initialise un compteur personnalisé */
}

/* Style des éléments de la liste */
ol.custom-list li {
  position: relative;
  padding-left: 3.5em;
  /* Décalage pour la puce personnalisée */
  margin-bottom: 1em;
  /* Espacement entre les éléments */
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}

/* Style des puces */
ol.custom-list li::before {
  content: counter(custom-counter) ". ";
  /* Affiche le numéro suivi d'un point */
  counter-increment: custom-counter;
  /* Incrémente le compteur */
  position: absolute;
  left: 0;
  top: 50%;
  /* Positionne au milieu de l'élément parent */
  transform: translateY(-50%);
  /* Ajuste le centrage vertical */
  background-color: #e7511b;
  /* Couleur de fond des puces */
  color: #fff;
  /* Couleur du texte des puces */
  width: 1.5em;
  height: 1.5em;
  display: flex;
  /* Active le modèle Flexbox */
  align-items: center;
  /* Centre verticalement avec Flexbox */
  justify-content: center;
  /* Centre horizontalement avec Flexbox */
  font-size: 16px;
  font-weight: bold;
  border-radius: 50%;
  /* Rend les puces circulaires */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  /* Ajoute une ombre pour l'effet 3D */
}

/* Optionnel : survol des éléments */
ol.custom-list li:hover {
  color: #e7511b;
  /* Change la couleur du texte au survol */
  transition: color 0.3s;
}

ol.custom-list li::before:hover {
  background-color: #d64512;
  /* Change la couleur de la puce au survol */
  transition: background-color 0.3s;
}

.special-offer-banner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  margin: 0 0 2rem 0;
  background: linear-gradient(135deg, #111 0%, #222 100%);
  border: 4px solid #ffcc00;
  border-radius: 12px;
  box-shadow:
    0 0 20px rgba(255, 204, 0, 0.4),
    0 8px 25px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.special-offer-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 12px,
    rgba(255, 255, 255, 0.03) 12px,
    rgba(255, 255, 255, 0.03) 24px
  );
  pointer-events: none;
}

.special-offer-badge {
  flex-shrink: 0;
  background: #ffcc00;
  color: #000;
  font-weight: 900;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(255, 204, 0, 0.4);
}

.special-offer-content {
  color: #fff;
  flex: 1;
}

.special-offer-content h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

.special-offer-content h2 strong {
  color: #ffcc00;
}

.offer-separator {
  text-align: center;
  margin: 0.75rem 0;
  font-size: 2rem;
  font-weight: 900;
  color: #ffcc00;
}

.special-offer-content p {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 500;
}

.special-offer-content h3 {
  margin: 0.4rem 0 0;
  font-size: 1.8rem;
  font-weight: 900;
  color: #ffcc00;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .special-offer-banner {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .special-offer-badge {
    width: 100%;
  }
}
