/**
 * Electropo — Header Responsive CSS
 * Réplication exacte de Header.tsx (Next.js) → WordPress
 *
 * SOURCE DE VÉRITÉ : /mobile-fixes/reference-nextjs/Header.tsx
 *
 * Structure :
 *  Row 1 — bg-[#F4F6F7] border-b, h-20 (80px)
 *    Logo | [desktop] btn-catégories | [desktop] SearchBar | actions
 *    Actions : LanguageSelector (sm+) | user | cart | LanguageSelector compact (mobile) | burger (mobile) | search (mobile)
 *  Row 2 — hidden md:block bg-[#3E3E3A] — quicknav h-10 (40px)
 *  MegaMenu — fixed overlay, drawer 2 colonnes (dark #3E3E3A + white)
 *  CookieBanner — fixed bottom center max-w-lg
 *
 * Breakpoints : < 640px = xs/mobile, 640–767px = sm, 768px+ = md/desktop
 *
 * Version : 1.0.0 — 2026-08-31
 * @package Electropo
 */

/* ══════════════════════════════════════════════════════════════════════════
   RESET TOPBAR ANCIEN — supprimer l'ancien topbar iOS-style
══════════════════════════════════════════════════════════════════════════ */
.electropo-topbar,
#electropo-topbar {
  display: none !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   HEADER PRINCIPAL
══════════════════════════════════════════════════════════════════════════ */
.ep-header {
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ── Row 1 ── */
.ep-row1 {
  background: #F4F6F7;
  border-bottom: 1px solid #e5e7eb; /* gray-200 */
}

.ep-row1__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 80px; /* h-20 */
}

/* ── Logo ── */
.ep-logo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.15s ease;
}
.ep-logo:hover { transform: scale(1.03); }
.ep-logo img {
  display: block;
  object-fit: contain;
}
/* Mobile logo — sm:hidden = masqué dès sm */
.ep-logo--sm {
  height: 22px;
  width: 112px;
}
.ep-logo--md {
  display: none;
  height: 28px;
  width: 144px;
}
@media (min-width: 640px) {
  .ep-logo--sm { display: none; }
  .ep-logo--md { display: inline-flex; }
}

/* ── Bouton Catégories — hidden md:flex ── */
.ep-btn-categories {
  display: none;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  color: #0A2F43;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease;
  white-space: nowrap;
}
.ep-btn-categories:hover { background: #fff; }
.ep-btn-categories svg { flex-shrink: 0; width: 16px; height: 16px; }
@media (min-width: 768px) {
  .ep-btn-categories { display: inline-flex; }
}

/* ── Search desktop — hidden md:flex flex-1 max-w-2xl mx-2 ── */
.ep-search-desktop {
  display: none;
  flex: 1 1 auto;
  max-width: 672px; /* ~max-w-2xl */
  margin: 0 8px;
  position: relative;
}
@media (min-width: 768px) {
  .ep-search-desktop { display: flex; }
}
.ep-search-form {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0;
  position: relative;
}
.ep-search-input {
  box-sizing: border-box;
  flex: 1;
  height: 44px;
  padding: 0 0 0 16px;
  border: 1px solid #E4EDF2;
  border-right: 0;
  border-radius: 8px 0 0 8px;
  background: #fff;
  color: #0A2F43;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ep-search-input::placeholder { color: #5A7A8C; }
.ep-search-input:focus {
  border-color: #08AAC5;
  box-shadow: 0 0 0 3px rgba(8, 170, 197, 0.15);
}
.ep-search-btn {
  flex-shrink: 0;
  height: 44px;
  padding: 0 16px;
  background: #08AAC5;
  border: 0;
  border-radius: 0 8px 8px 0;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
  font-family: inherit;
}
.ep-search-btn:hover { background: #069AB3; }
.ep-search-btn svg { width: 18px; height: 18px; }

/* Search results dropdown */
.ep-search-results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  background: #fff;
  border: 1px solid #E4EDF2;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(8, 62, 94, 0.12);
  z-index: 60;
  overflow: hidden;
  animation: epSlideDown 0.12s ease;
}
.ep-search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid #E4EDF2;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.1s ease;
  text-decoration: none;
}
.ep-search-result-item:last-child { border-bottom: 0; }
.ep-search-result-item:hover { background: #F3F7FA; }
.ep-search-result-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #F3F7FA;
  border: 1px solid #E4EDF2;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ep-search-result-img img { width: 100%; height: 100%; object-fit: contain; }
.ep-search-result-name {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 500;
  color: #0A2F43;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ep-search-result-brand {
  font-size: 11px;
  color: #5A7A8C;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ep-search-result-price {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 700;
  color: #083E5E;
}
.ep-search-result-price--promo { color: #FF7058; }
.ep-search-view-all {
  display: block;
  width: 100%;
  padding: 10px 16px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: #08AAC5;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.1s ease;
}
.ep-search-view-all:hover { background: #F3F7FA; }
.ep-search-no-results {
  padding: 24px 16px;
  text-align: center;
  font-size: 14px;
  color: #5A7A8C;
}

/* ── Actions droite ── */
.ep-header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  margin-left: auto;
}

/* Language selector wrapper — hidden sm:block sur desktop, sm:hidden sur mobile */
.ep-lang-desktop {
  display: none;
}
@media (min-width: 640px) {
  .ep-lang-desktop { display: block; }
}
.ep-lang-mobile {
  display: block;
}
@media (min-width: 640px) {
  .ep-lang-mobile { display: none; }
}

/* Lien compte */
.ep-account-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  color: #3E3E3A;
  font-size: 14px;
  border-radius: 10px;
  text-decoration: none;
  transition: color 0.15s ease;
}
.ep-account-link:hover { color: #08AAC5; }
.ep-account-link svg { width: 16px; height: 16px; flex-shrink: 0; }
.ep-account-link__label {
  display: none;
  white-space: nowrap;
}
@media (min-width: 1024px) {
  .ep-account-link__label { display: inline; }
}

/* Cart link */
.ep-cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: #083E5E;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.ep-cart-link:hover { background: rgba(8, 62, 94, 0.08); color: #08AAC5; }
.ep-cart-link svg { width: 20px; height: 20px; flex-shrink: 0; }
.ep-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: #08AAC5;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Mobile icon buttons — md:hidden */
.ep-btn-icon-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: transparent;
  border: 0;
  color: #3E3E3A;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  transition: background 0.12s ease;
  /* WCAG 2.5.5 — min touch target */
  min-width: 36px;
  min-height: 36px;
}
.ep-btn-icon-mobile:hover { background: rgba(0, 0, 0, 0.06); }
.ep-btn-icon-mobile svg { width: 20px; height: 20px; flex-shrink: 0; }
@media (min-width: 768px) {
  .ep-btn-icon-mobile { display: none !important; }
}

/* Mobile search bar — slides down */
.ep-mobile-search-bar {
  display: none;
  padding: 0 0 12px;
}
.ep-mobile-search-bar.is-open { display: block; }
.ep-mobile-search-bar .ep-search-form {
  /* Ajout icône search à gauche (mobile mode) */
}
.ep-mobile-search-input {
  box-sizing: border-box;
  flex: 1;
  height: 44px;
  padding: 0 0 0 40px; /* room for icon */
  border: 1px solid #E4EDF2;
  border-right: 0;
  border-radius: 8px 0 0 8px;
  background: #fff;
  color: #0A2F43;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease;
}
.ep-mobile-search-input::placeholder { color: #5A7A8C; }
.ep-mobile-search-input:focus { border-color: #08AAC5; }
.ep-mobile-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #5A7A8C;
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════════════════════════
   ROW 2 — QUICKNAV SOMBRE (desktop-only)
══════════════════════════════════════════════════════════════════════════ */
.ep-quicknav {
  display: none;
  background: #3E3E3A;
}
@media (min-width: 768px) {
  .ep-quicknav { display: block; }
}
.ep-quicknav__list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 40px;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 0;
}
.ep-quicknav__list::-webkit-scrollbar { display: none; }
.ep-quicknav__item { flex-shrink: 0; }
.ep-quicknav__item--right { margin-left: auto; }
.ep-quicknav__link {
  display: inline-block;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.12s ease;
}
.ep-quicknav__link:hover { color: #fff; }
.ep-quicknav__link.is-active { color: #08AAC5; }

/* ══════════════════════════════════════════════════════════════════════════
   LANGUAGE SELECTOR
   Mirrors LanguageSelector.tsx : flag + code (desktop) / flag seul (compact)
══════════════════════════════════════════════════════════════════════════ */
.ep-lang {
  position: relative;
  display: inline-block;
}
.ep-lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 8px;
  background: transparent;
  border: 0;
  color: #083E5E;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.12s ease;
}
.ep-lang__btn:hover,
.ep-lang__btn[aria-expanded="true"] {
  background: rgba(8, 62, 94, 0.08);
}
.ep-lang__flag {
  font-size: 18px;
  line-height: 1;
}
.ep-lang__code {
  font-size: 14px;
  color: #083E5E;
}
/* Compact : code caché */
.ep-lang--compact .ep-lang__code {
  display: none;
}
.ep-lang__chevron {
  width: 12px;
  height: 12px;
  color: #5A7A8C;
  transition: transform 0.15s ease;
  flex-shrink: 0;
}
.ep-lang__btn[aria-expanded="true"] .ep-lang__chevron {
  transform: rotate(180deg);
}

/* Dropdown */
.ep-lang__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  width: 160px;
  background: #fff;
  border: 1px solid #E4EDF2;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(8, 62, 94, 0.12);
  z-index: 50;
  overflow: hidden;
  animation: epSlideDown 0.12s ease;
  list-style: none;
  margin: 0;
  padding: 4px;
}
.ep-lang__menu[hidden] { display: none; }
.ep-lang__item a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: #0A2F43;
  text-decoration: none;
  transition: background 0.1s ease;
}
.ep-lang__item a:hover { background: #F3F7FA; }
.ep-lang__item[aria-selected="true"] a {
  background: rgba(8, 170, 197, 0.1);
  color: #08AAC5;
  font-weight: 600;
}
.ep-lang__item-flag { font-size: 18px; line-height: 1; }
.ep-lang__item-label { font-size: 14px; }

/* ══════════════════════════════════════════════════════════════════════════
   MEGA MENU — Fixed overlay, drawer 2 colonnes (dark + white)
   Mirrors CategoryMegaMenu.tsx exactement
══════════════════════════════════════════════════════════════════════════ */
/* Overlay backdrop */
.ep-mega-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.5);
  display: none;
}
.ep-mega-backdrop.is-open { display: block; }

/* Panel container */
.ep-mega-panel {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  z-index: 50;
  display: flex;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  /* Full width mobile, auto on desktop */
  width: 100%;
}
@media (min-width: 640px) {
  .ep-mega-panel { width: auto; }
}
.ep-mega-panel.is-open { transform: translateX(0); }

/* Col 1 — dark (#3E3E3A) — w-full mobile, md:w-64 */
.ep-mega-col1 {
  background: #3E3E3A;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: 100%;
  overflow: hidden;
}
@media (min-width: 768px) {
  .ep-mega-col1 { width: 256px; } /* md:w-64 */
}
/* Mobile: show groups col, hide subcats col by default */
.ep-mega-col1.is-subcat-view { display: none; }
@media (min-width: 768px) {
  .ep-mega-col1.is-subcat-view { display: flex; }
}

/* Col 2 — white — w-full mobile, md:w-72 */
.ep-mega-col2 {
  background: #fff;
  display: flex;
  flex-direction: column;
  border-left: 1px solid #f3f4f6;
  overflow-y: auto;
  width: 100%;
  /* Hidden on mobile until group selected */
  display: none;
}
@media (min-width: 768px) {
  .ep-mega-col2 {
    display: flex;
    width: 288px; /* md:w-72 */
  }
}
.ep-mega-col2.is-visible { display: flex; }

/* Col 1 header */
.ep-mega-col1__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  height: 64px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}
.ep-mega-col1__title {
  color: #fff;
  font-weight: 600;
  font-size: 14px;
}
.ep-mega-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.12s ease, color 0.12s ease;
}
.ep-mega-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.ep-mega-close svg { width: 16px; height: 16px; }

/* Group list */
.ep-mega-groups {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}
.ep-mega-group-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: transparent;
  border: 0;
  text-align: left;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.12s ease, color 0.12s ease;
}
.ep-mega-group-btn:hover,
.ep-mega-group-btn.is-active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.ep-mega-group-btn__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-right: 12px;
}
.ep-mega-group-btn__text { flex: 1; text-align: left; }
.ep-mega-group-btn__arrow {
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
}

/* Blog link at bottom of col1 */
.ep-mega-col1__footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 16px;
  flex-shrink: 0;
}
.ep-mega-blog-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.12s ease;
}
.ep-mega-blog-link:hover { color: #fff; }
.ep-mega-blog-link svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Col 2 header (back button mobile + title) */
.ep-mega-col2__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  height: 64px;
  border-bottom: 1px solid #f3f4f6;
  flex-shrink: 0;
}
.ep-mega-back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: transparent;
  border: 0;
  color: #6b7280;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.12s ease;
  flex-shrink: 0;
}
.ep-mega-back-btn:hover { background: #f3f4f6; }
.ep-mega-back-btn svg { width: 16px; height: 16px; }
@media (min-width: 768px) {
  .ep-mega-back-btn { display: none; }
}
.ep-mega-col2__title {
  font-size: 12px;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex: 1;
}
.ep-mega-col2__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: transparent;
  border: 0;
  color: #9ca3af;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.12s ease;
  margin-left: auto;
  flex-shrink: 0;
}
.ep-mega-col2__close:hover { background: #f3f4f6; }
.ep-mega-col2__close svg { width: 16px; height: 16px; }
@media (min-width: 768px) {
  .ep-mega-col2__close { display: none; }
}

/* Subcategory items */
.ep-mega-subcats {
  flex: 1;
  padding: 12px 0;
  overflow-y: auto;
}
.ep-mega-subcat-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
  color: #374151;
  text-decoration: none;
  transition: background 0.1s ease, color 0.1s ease;
}
.ep-mega-subcat-link:hover {
  background: #f9fafb;
  color: #083E5E;
}
.ep-mega-subcat-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #08AAC5;
  flex-shrink: 0;
}
.ep-mega-see-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #08AAC5;
  text-decoration: none;
  padding: 12px 20px;
  margin: 0 20px;
  border-top: 1px solid #f3f4f6;
  transition: color 0.12s ease;
}
.ep-mega-see-all:hover { color: #069AB3; }
.ep-mega-see-all svg { width: 14px; height: 14px; }

/* Body scroll lock when menu open */
body.ep-menu-open { overflow: hidden; }

/* ══════════════════════════════════════════════════════════════════════════
   COOKIE BANNER
   Mirrors CookieBanner.tsx : fixed bottom center, max-w-lg, rounded-2xl
══════════════════════════════════════════════════════════════════════════ */
.ep-cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: calc(100% - 32px);
  max-width: 512px; /* max-w-lg */
  background: #fff;
  border-radius: 16px;
  border: 1px solid #E4EDF2;
  box-shadow: 0 8px 32px rgba(8, 62, 94, 0.15);
  padding: 20px;
  animation: epFadeIn 0.25s ease;
}
.ep-cookie-banner[hidden] { display: none; }
.ep-cookie-banner__text {
  font-size: 14px;
  color: #0A2F43;
  line-height: 1.6;
  margin: 0 0 16px;
}
.ep-cookie-banner__link {
  color: #08AAC5;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.12s ease;
}
.ep-cookie-banner__link:hover { color: #069AB3; }
.ep-cookie-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (min-width: 480px) {
  .ep-cookie-banner__actions { flex-direction: row; }
}
.ep-cookie-btn-essential {
  flex: 1;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #083E5E;
  background: transparent;
  border: 1px solid #E4EDF2;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.12s ease;
}
.ep-cookie-btn-essential:hover { background: #F3F7FA; }
.ep-cookie-btn-all {
  flex: 1;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: #08AAC5;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.12s ease;
}
.ep-cookie-btn-all:hover { background: #069AB3; }

/* ══════════════════════════════════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════════════════════════════════ */
@keyframes epSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes epFadeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(8px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ══════════════════════════════════════════════════════════════════════════
   MOBILE OVERRIDES — supprimer anciennes règles topbar + bottom-nav
══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  /* Neutraliser tout padding-top hérité sur main (créait le décalage blanc) */
  .site-main,
  #main {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  /* Le hero doit toucher directement le header */
  body.home .site-main {
    padding-top: 0 !important;
  }
}

/* Supprimer le padding-bottom body lié à l'ancienne bottom-nav */
@media (max-width: 768px) {
  body {
    padding-bottom: 0 !important;
  }
  body.wp-admin {
    padding-bottom: 0 !important;
  }
}

/* Safety net overflow — garder du mobile-responsive.css */
html,
body {
  overflow-x: hidden;
}
