/************ 7afila — Collage global + anti-overlay Astra ************/
:root{
  --z-7f-topbar: 2147483000;
  --z-7f-menu:   2147482998;
  --z-7f-tv:     2147482997;
}
.dmp7-sticky{position:fixed!important;inset:0 0 auto 0!important;z-index:var(--z-7f-topbar)!important;box-shadow:0 1px 0 rgba(0,0,0,.15)}
.dmp7-menu-mobile{z-index:var(--z-7f-menu)!important}
.dmp7-tv{z-index:var(--z-7f-tv)!important;pointer-events:auto!important}
.dmp7-tv, .dmp7-tv *{pointer-events:auto!important}

/* Admin bar WordPress */
.admin-bar .dmp7-sticky{top:32px!important}
@media (max-width:782px){ .admin-bar .dmp7-sticky{top:46px!important} }

/* Abaisser tout ce qu’Astra peut superposer */
.site-header, .main-header-bar, .ast-desktop-header,
.ast-mobile-header-wrap, .ast-hfb-header,
.ast-builder-menu-mobile, .ast-builder-menu-1,
.ast-mobile-popup-wrapper, .ast-mobile-popup-inner,
.ast-mobile-popup-overlay, .ast-off-canvas-overlay,
.ast-header-break-point .main-header-bar,
.ast-theme-transparent-header{
  z-index:100!important;
}

/* Overlays qui interceptent les clics */
.ast-mobile-popup-overlay,
.ast-off-canvas-overlay{ pointer-events:none!important }

/* Effets sticky/transform qui créent un stacking context */
.ast-sticky-active, .ast-header-sticked,
.ast-theme-transparent-header, .ast-mobile-header-wrap{
  transform:none!important; will-change:auto!important;
}

/* ===== Coller le 1er bloc sur toutes les pages ===== */
body .entry-content > *:first-child{ margin-top:0!important }
body .site-main > *:first-child,
body #primary > *:first-child,
body #content > *:first-child,
body .site-content > *:first-child{ margin-top:0!important }
body .wp-block-group.alignfull:first-child,
body .wp-block-cover:first-child,
body .alignfull:first-child,
body .alignwide:first-child{ margin-top:0!important }
body .elementor-section-wrap > .elementor-section:first-child{ margin-top:0!important }
body .swiper:first-child,
body .rev_slider_wrapper:first-child,
body .rs-module-wrap:first-child{ margin-top:0!important }

html, body{ overflow-x:hidden }
body{ padding-top:var(--dmp7-offset) }  /* (offset calculé par le plugin) */

/* ---------- SYNCHRO ICONES + BURGER BLANCS & VISIBLES ---------- */

/* Le bloc de droite est poussé à l'extrême droite */
.dmp7-right{ margin-left:auto; display:flex; align-items:center; gap:12px }

/* Burger : toujours affiché, cliquable, 100% blanc */
.dmp7-burger{
  display:inline-flex!important; align-items:center; justify-content:center;
  width:32px; height:32px; background:transparent!important; border:0!important;
  color:#fff!important; opacity:1!important; filter:none!important; pointer-events:auto!important;
}
.dmp7-burger svg{
  width:22px; height:22px;
  color:#fff!important; fill:currentColor!important; stroke:currentColor!important; opacity:1!important; filter:none!important; mix-blend-mode:normal!important;
}
.dmp7-burger:focus-visible{ outline:2px solid #ffffff55; outline-offset:2px }

/* Icônes (globe, panier, compte) en blanc permanent */
.dmp7-icon, .dmp7-icon svg{
  color:#fff!important; fill:currentColor!important; stroke:currentColor!important; opacity:1!important; filter:none!important;
}

/* Neutralise toute règle du thème qui ternit/camoufle les SVG */
:where(#masthead,.site-header,.ast-mobile-header-wrap,.ast-header-break-point)
 :is(.dmp7-burger svg, .dmp7-icon svg){
  color:#fff!important; fill:currentColor!important; stroke:currentColor!important; opacity:1!important; filter:none!important; mix-blend-mode:normal!important;
}
/* Si un style tente de cacher le burger via visibility/opacity */
:where(#masthead,.site-header) :is(.dmp7-burger){ visibility:visible!important; opacity:1!important }

/* Masquer les burgers Astra pour éviter les conflits visuels */
.ast-mobile-menu-trigger, .menu-toggle{ display:none!important }

/* ---------- FOND DE PAGE (blanc cassé) ---------- */
body{ background:#FFF9F0!important }
