/* ---------------------------------------------------------------------------
   Pied de page Achyll : colonnes de liens a gauche, bloc d'inscription a droite.
   Le module newsletter arrive avec ses propres classes Bootstrap (bg-body-tertiary,
   .container, .col-lg-4/6) qui posent une carte claire etroite au milieu du fond
   noir : tout est neutralise ici.
--------------------------------------------------------------------------- */
.achyll-footer { background: #111; color: #e8e8e8; }

.achyll-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, 1fr);
  gap: 0;
  padding: 4.5rem 1.5rem 3.5rem;
  max-width: 1400px;
}

/* ---- Colonnes de liens ---------------------------------------------------- */
.achyll-footer__links { padding-right: 2.5rem; }

/* On remplace la grille Bootstrap par une grille a quatre colonnes : les libelles
   longs (« Conditions d'utilisation », « Suivi de commande ») tiennent sur une ligne
   et les colonnes suivantes viendront se ranger d'elles-memes. */
.achyll-footer__links .footer__main-top {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.5rem 1.5rem;
  margin: 0;
  --bs-gutter-x: 0;
}
.achyll-footer__links .footer__main-top > * {
  flex: none;
  width: auto;
  max-width: none;
  padding: 0;
  margin: 0;
}
/* ⚠️ Le module liste d'envies s'accroche lui aussi a displayFooter et depose quatre
   conteneurs de fenetres modales, vides a l'affichage mais reels dans la grille :
   ils mangeaient quatre colonnes et renvoyaient la 2e colonne de liens a la ligne.
   `display: contents` les sort de la grille sans les retirer du DOM, les modales
   restant fonctionnelles (elles s'ouvrent en position fixe).
   `.wishlist-toast` est deja en position fixe : le laisser tel quel, sinon c'est son
   paragraphe interieur qui prend la cellule. */
.achyll-footer__links .footer__main-top > *:not(.footer-block):not(.wishlist-toast) {
  display: contents;
}

@media (max-width: 767px) {
  .achyll-footer__links .footer__main-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 479px) {
  .achyll-footer__links .footer__main-top { grid-template-columns: 1fr; gap: 2rem; }
}

.achyll-footer .footer-block__title {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: .01em;
  margin: 0 0 1.1rem;
}
.achyll-footer .footer-block__list { list-style: none; margin: 0; padding: 0; }
.achyll-footer .footer-block__list li { margin: 0 0 0.7rem; }
.achyll-footer .footer-block__list a,
.achyll-footer .footer-block__content a {
  color: #b9b9b9;
  text-decoration: none;
  font-size: 0.925rem;
  line-height: 1.5;
}
.achyll-footer .footer-block__list a:hover,
.achyll-footer .footer-block__content a:hover { color: #fff; }

.achyll-footer .ps-contactinfo__infos { color: #b9b9b9; font-style: normal; font-size: 0.925rem; line-height: 1.6; margin: 0; }
/* L'adresse e-mail n'est pas affichee : on renvoie vers le formulaire de contact. */
.achyll-footer .ps-contactinfo__email { display: none; }

/* ---- Bloc « Rejoignez-nous » ---------------------------------------------- */
.achyll-footer__join {
  padding-left: 4rem;
  border-left: 1px solid rgba(255, 255, 255, .14);
}

.achyll-footer__title {
  font-size: clamp(1.7rem, 2.4vw, 2.25rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 1rem;
}

.achyll-footer__pitch {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #a8a8a8;
  margin: 0 0 2rem;
}

/* ---- Newsletter (balisage repris dans la surcharge du module) ------------- */
.achyll-footer .achyll-newsletter { margin: 0; }
.achyll-footer .achyll-newsletter__form { width: 100%; }

.achyll-footer .achyll-newsletter__row { display: flex; align-items: stretch; margin: 0 0 1rem; }

.achyll-footer .achyll-newsletter__input {
  flex: 1 1 auto;
  min-width: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .4);
  border-right: 0;
  color: #fff;
  border-radius: 0;
  padding: 1rem 1.15rem;
  font-size: 0.9rem;
  outline: none;
}
.achyll-footer .achyll-newsletter__input:focus { border-color: #fff; }
.achyll-footer .achyll-newsletter__input::placeholder {
  color: #8d8d8d;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: .08em;
}

.achyll-footer .achyll-newsletter__button {
  flex: 0 0 auto;
  background: #fff;
  color: #111;
  border: 1px solid #fff;
  border-radius: 0;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: .08em;
  padding: 1rem 2rem;
  cursor: pointer;
  transition: background .15s ease;
}
.achyll-footer .achyll-newsletter__button:hover { background: #ddd; border-color: #ddd; }

.achyll-footer .achyll-newsletter__legal,
.achyll-footer .achyll-newsletter__consent { color: #7d7d7d; font-size: 0.78rem; line-height: 1.55; margin: 0; }
.achyll-footer .achyll-newsletter__consent label { color: #9a9a9a; }
.achyll-footer .achyll-newsletter a { color: #a8a8a8; text-decoration: underline; }
.achyll-footer .achyll-newsletter__message { color: #fff; font-size: .85rem; margin: 0 0 .75rem; }
.achyll-footer .achyll-newsletter__message--error { color: #ff9b9b; }

/* ---- Reseaux sociaux ------------------------------------------------------ */
.achyll-footer .ps-socialfollow { margin-top: 1.75rem; }
.achyll-footer .ps-socialfollow ul { display: flex; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.achyll-footer .ps-socialfollow a { color: #c4c4c4; }
.achyll-footer .ps-socialfollow a:hover { color: #fff; }

/* ---- Bas de page ---------------------------------------------------------- */
.achyll-footer .copyright {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin: 0 1.5rem;
  padding: 1.75rem 0;
  text-align: center;
}
.achyll-footer .copyright a { color: #7d7d7d; font-size: 0.82rem; text-decoration: none; }

/* ---- Mobile --------------------------------------------------------------- */
@media (max-width: 1199px) {
  .achyll-footer__grid { grid-template-columns: 1fr; padding: 3rem 1.25rem 2rem; }
  .achyll-footer__links { padding-right: 0; }
  .achyll-footer__join {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .14);
    margin-top: 3rem;
    padding-top: 3rem;
  }
}
@media (max-width: 575px) {
  .achyll-footer .achyll-newsletter__row { flex-direction: column; }
  .achyll-footer .achyll-newsletter__input { border-right: 1px solid rgba(255,255,255,.4); width: 100%; }
  .achyll-footer .achyll-newsletter__button { width: 100%; margin-top: 0.75rem; }
}
