/*
 * PRATINIUM v418 — suppression globale des cadrans extérieurs.
 *
 * Objectif : sur toutes les pages internes, le header et le footer doivent
 * flotter sur le fond de page nu, exactement comme sur l'accueil.
 * Les cartes fonctionnelles internes restent intactes : seuls les wrappers
 * structurels PrestaShop et la carte racine .page-content.card sont neutralisés.
 */

/* Aucun retrait natif du document ne doit créer un cadre autour de la page. */
html body:not(#index) {
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

/* Coque générale PrestaShop : fond, bordure, ombre et arrondi supprimés. */
html body:not(#index) > main,
html body:not(#index) > #page,
html body:not(#index) > .page,
html body:not(#index) main#page,
html body:not(#index) #wrapper,
html body:not(#index) #wrapper > .container,
html body:not(#index) #wrapper > .container-fluid,
html body:not(#index) #content-wrapper,
html body:not(#index) #main {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  filter: none !important;
}

/* Le header premium interne reste inchangé ; seul son cadran parent disparaît. */
html body:not(#index) #header,
html body:not(#index) header#header,
html body:not(#index) #header > .container,
html body:not(#index) #header > .container-fluid {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  filter: none !important;
}

/* Même traitement pour le parent du footer ; le footer sombre arrondi est conservé. */
html body:not(#index) #footer,
html body:not(#index) footer#footer,
html body:not(#index) #footer > .footer-container,
html body:not(#index) #footer > .container,
html body:not(#index) #footer > .container-fluid {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  filter: none !important;
}

/* Carte Bootstrap racine : neutralisée sans toucher aux cartes métier imbriquées. */
html body:not(#index) #main > #content.page-content.card,
html body:not(#index) #main > .page-content.card,
html body:not(#index) #content-wrapper > #main > #content.page-content.card,
html body:not(#index) #content-wrapper > #main > .page-content.card,
html body:not(#index) #content-wrapper.card,
html body:not(#index) #main.card,
html body:not(#index) #content.page-content.card.pf-page-shell,
html body:not(#index) #content.page-content.card.pratinium-page-shell {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  filter: none !important;
  overflow: visible !important;
}

/* Les pseudo-éléments décoratifs des wrappers structurels ne recréent pas de cadre. */
html body:not(#index) > main::before,
html body:not(#index) > main::after,
html body:not(#index) #wrapper::before,
html body:not(#index) #wrapper::after,
html body:not(#index) #header::before,
html body:not(#index) #header::after,
html body:not(#index) #footer::before,
html body:not(#index) #footer::after {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}
