/* PRATINIUM v173 — Footer compact, aligné latéralement sur le header/hero
   - supprime la marge latérale résiduelle du footer desktop
   - rend le bloc footer aussi compact que la carte header
   - conserve la structure PrestaShop existante */

@media (min-width: 992px) {
  body #footer,
  body footer#footer {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  body #footer .pf-footer-links.pf-footer-links--global,
  body footer#footer .pf-footer-links.pf-footer-links--global,
  body .pf-footer-links.pf-footer-links--global {
    width: auto !important;
    max-width: none !important;
    min-height: 76px !important;
    height: 76px !important;
    margin: 28px 8px 8px 8px !important;
    padding: 0 34px !important;
    border-radius: 24px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
  }

  body .pf-footer-links--global .pf-footer-links__inner {
    width: 100% !important;
    max-width: none !important;
    min-height: 76px !important;
    height: 76px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(300px, 1fr) auto minmax(390px, 1fr) !important;
    align-items: center !important;
    column-gap: clamp(18px, 2.6vw, 46px) !important;
    box-sizing: border-box !important;
  }

  body .pf-footer-links--global .pf-footer-links__brand,
  body .pf-footer-links--global .pf-footer-links__nav,
  body .pf-footer-links--global .pf-footer-links__copy {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.05 !important;
    min-height: 0 !important;
  }

  body .pf-footer-links--global .pf-footer-links__brand { justify-self: start !important; }
  body .pf-footer-links--global .pf-footer-links__nav { justify-self: center !important; gap: clamp(20px, 1.8vw, 32px) !important; }
  body .pf-footer-links--global .pf-footer-links__copy { justify-self: end !important; white-space: nowrap !important; }

  body .pf-footer-links--global .pf-footer-links__brand small,
  body .pf-footer-links--global .pf-footer-links__copy {
    font-size: clamp(.68rem, .78vw, .86rem) !important;
    line-height: 1.05 !important;
  }

  body .pf-footer-links--global .pf-footer-links__nav a {
    font-size: clamp(.82rem, .90vw, .98rem) !important;
    line-height: 1.05 !important;
  }
}

@media (min-width: 992px) and (max-width: 1320px) {
  body #footer .pf-footer-links.pf-footer-links--global,
  body footer#footer .pf-footer-links.pf-footer-links--global,
  body .pf-footer-links.pf-footer-links--global {
    margin-left: 8px !important;
    margin-right: 8px !important;
    padding-left: 28px !important;
    padding-right: 28px !important;
  }

  body .pf-footer-links--global .pf-footer-links__inner {
    grid-template-columns: minmax(250px, .9fr) auto minmax(320px, 1fr) !important;
    column-gap: 18px !important;
  }
}
