
/* === Nouveau HEADER Modern === */
.ph-header-modern {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); /* ombre douce */
  transition: box-shadow 0.3s ease;
}
.ph-header-modern.scrolled {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}


.ph-header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 16px;
  max-width: 480px;
  margin: 0 auto;
}
.ph-header-container {
  position: relative;
}


/* === Logo === */
.ph-header-logo img {
  height: 25px;
  align-items: center;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.2));
  transition: transform 0.2s ease;
}
.ph-header-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}


.ph-header-logo:hover img {
  transform: scale(1.05);
}





/* === Menu Slide-In === */
.ph-slide-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: rgba(38, 30, 15, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
  z-index: 200;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: right 0.3s ease;
}

.ph-slide-menu.open {
  right: 0;
}

.ph-slide-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.ph-slide-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: #ffffff;
}

.ph-close-btn {
  background: none;
  border: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  line-height: 1;
}

.ph-slide-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ph-slide-links li a {
  color: white;
  font-size: 1.1rem;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.ph-slide-links li a:hover {
  color: #00d4ff;
}

/* === Overlay === */
.ph-slide-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.ph-slide-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* --- Bannière défilante sticky sous le header --- */
.product-banner {
  position: fixed !important;
  top: 64px;
  z-index: 45;
  width: 100%;
 
  margin-bottom: 0;
}

/* Adapter pour mobile XS */
@media (max-width: 350px) {
  .ph-header-logo img { height: 40px; }
  .ph-header-bar { height: 50px; padding: 0 7px;}
  .product-banner { top: 50px; }
}
/* --- Menu déroulant premium (version bleue) --- */
.ph-header-dropdown {
  position: absolute;
  left: 10px;
  right: 10px;
  margin: 0 auto;
  background: #fff;
  border-radius: 18px;

  /* Ombres bleutées élégantes */
  box-shadow: 
    0 8px 32px rgba(13, 28, 46, 0.10), 
    0 1.5px 10px rgba(13, 28, 46, 0.05);

  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-15px) scale(0.98);
  transition: all 0.22s cubic-bezier(.57,1.52,.46,.85);
  max-width: 92vw;
  width: 98vw;
  min-width: 0;
  z-index: 100;
}

/* TOP du menu dynamique en JS */
.ph-header-dropdown.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.ph-header-dropdown ul {
  margin: 0;
  padding: 10px 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ph-header-dropdown li {
  width: 100%;
}

/* Lien du menu */
.ph-dropdown-link {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 13px 24px;
  gap: 15px;
  font-size: 1.14rem;
  font-weight: 500;

  /* Couleur bleue principale */
  color: #0D1C2E;

  border: none;
  background: none;
  text-decoration: none;
  border-radius: 10px;

  /* Hover élégant */
  transition: background 0.12s;
}

/* Effet au survol */
.ph-dropdown-link:hover {
  background: rgba(13, 28, 46, 0.06);
}

.ph-dropdown-link:active {
  background: #f2fcf7;
}
.ph-dropdown-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Overlay */
.ph-header-overlay {
  display: none;
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0; right: 0; bottom: 0;
  background: rgba(20, 40, 40, 0.08);
  backdrop-filter: blur(1px);
  animation: fadeIn 0.25s;
}

.ph-header-overlay.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (min-width: 600px) {
  .ph-header-bar { max-width: 470px; margin: 0 auto; border-radius: 20px; }
  .ph-header-dropdown { max-width: 430px; }
}

/* === Notification ajout panier === */
.cart-confirm-banner {
  position: fixed;
  top: 60px; /* header (64px) + bannière (48px) */
  left: 0;
  width: 100%;
  background-color: #f6fbff; /* blanc cassé tirant vers le vert */
  border-bottom: 1px solid #d1e3f3;
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
  z-index: 99;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.3s ease;
}
.cart-confirm-banner.show {
  transform: translateY(0%);
  opacity: 1;
}
.cart-confirm-content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  color: #1e1e1e; /* noir clair */
  gap: 10px;
}


.site-footer-premium {
  background: none;
  text-align: center;
  padding: 34px 0 12px 0;
  color: #9FB1C8;
  font-size: .97em;
  font-family: 'Inter', Arial, sans-serif;
  user-select: none;
}
.footer-logo-link {
  display: inline-block;
  margin-bottom: 8px;
  transition: opacity .13s;
}
.footer-logo-link:hover { opacity: 0.8; }
.footer-logo-img {
  height: 20px;
  width: auto;
  display: block;
  margin: 0 auto 7px auto;
 
  box-shadow: none;
  background: none;
}
.footer-copyright {
  margin-bottom: 6px;
  color: #887f6b;
  font-size: 0.99em;
  letter-spacing: .02em;
}
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 11px;
  margin-top: 2px;
}
.footer-links a {
  color: #dedddd;
  text-decoration: none;
  font-weight: 600;
  transition: color .15s;
  font-size: 1em;
  padding: 0 3px;
}
.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}
.footer-link-sep {
  color: #B8B7B0;
  font-weight: bold;
  font-size: 1.05em;
  user-select: none;
}
@media (max-width: 600px) {
  .site-footer-premium {
    font-size: .97em;
    padding-bottom: 12px;
    padding-top: 24px;
  }
  .footer-logo-img { height: 20px; }
}


/* === Menu Slide-In gauche avec glassmorphisme === */
.ph-slide-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 280px;
  height: 100vh;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.2);
  z-index: 200;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  transition: left 0.3s ease;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.ph-slide-menu.open {
  left: 0;
}

.ph-slide-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.ph-slide-title {
  font-size: 1.35rem;
  font-weight: bold;
  color: #fff;
}

.ph-close-btn {
  background: none;
  border: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  line-height: 1;
}

.ph-slide-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ph-slide-links li a {
  color: white;
  font-size: 1.15rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.ph-slide-links li a:hover {
  color: #00d4ff;
  padding-left: 4px;
}
.info-bar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: sticky;
  top: 64px;
  z-index: 49;
  background: rgba(63, 38, 16, 0.05);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 8px;
  gap: 10px;
  flex-wrap: nowrap;
  overflow-x: auto;
  white-space: nowrap;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.info-item:hover {
  background: rgba(255,255,255,0.12);
}

.info-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-icon svg {
  width: 20px;
  height: 20px;
  stroke: white;
  fill: none;
}
.info-bar {
  background: rgba(40, 28, 10, 0.72); /* BLEU FONCÉ TRANSLUCIDE */
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.info-item {
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);

}

.info-text b {
  color: #00d4ff; /* Accent bleu moderne */
}
.info-marquee {
  overflow: hidden;
  position: sticky;
  top: 64px;
  background: rgba(10, 20, 40, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 45;
  height: 46px;
}

.info-track {
  display: flex;
  width: max-content;
  animation: scroll-left 16s linear infinite;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.info-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 20px;
  white-space: nowrap;
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
  flex-shrink: 0;
}

.info-icon {
  width: 20px;
  height: 20px;
  stroke: white;
  fill: none;
}
.site-footer-premium {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  padding: 40px 16px 24px 16px;
  color: #AABCD2;
  font-family: 'Inter', Arial, sans-serif;
  animation: fadeInFooter 0.8s ease-in-out;
}

.footer-logo-img {
  height: 26px;
  margin: 0 auto 14px auto;
  display: block;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 16px;
}

.footer-socials img {
  width: 24px;
  height: 24px;
  transition: transform 0.25s, filter 0.25s;
}

.footer-socials a:hover img {
  transform: scale(1.1);
  filter: drop-shadow(0 0 6px #00d4ff);
}

.footer-mini-menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.95em;
  margin-bottom: 18px;
}

.footer-mini-menu a {
  color: #bfaa8f;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-mini-menu a:hover {
  color: #ffc400;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: 0.93em;
  margin-bottom: 10px;
}

.footer-links a {
  color: #bfaa8f;
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  color: #00d4ff;
  text-decoration: underline;
}

.footer-link-sep {
  color: #637185;
  font-weight: 600;
}

@keyframes fadeInFooter {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  .site-footer-premium {
    padding: 28px 10px;
  }
  .footer-logo-img {#menuOverlay {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;

    display: flex !important;

    opacity: 0;
    pointer-events: none;
 
  }
  #menuOverlay.show {
    opacity: 1;
    pointer-events: auto;
  }
  
    height: 30px;
  }
}
@keyframes cart-bounce {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.3) rotate(-5deg); }
  50%  { transform: scale(1.1) rotate(3deg); }
  70%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}
.ph-header-modern.animate-header {
  animation: shake-header 0.3s ease;
}

/* Header sticky blanc à la Dundle */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 16px;
  max-width: 100%;
  margin: 0 auto;
}

/* Menu + logo */
.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-btn svg {
  width: 24px;
  height: 24px;
}

.logo img {
  height: 22px;
}

/* Icônes de droite */
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-icon {
  width: 24px;
  height: 24px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.header-icon:hover {
  transform: scale(1.1);
}

/* Menu slide-in (si tu l'utilises plus tard) */
.slide-menu {
  display: none;
}
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  padding: 0 16px;
  max-width: 1280px;
  margin: 0 auto;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.menu-btn svg {
  width: 26px;
  height: 26px;
}

.logo img {
  height: 24px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.header-icon:hover {
  transform: scale(1.1);
}

.header-icon svg {
  width: 24px;
  height: 24px;
  stroke: black;
}
.footer-zone {
  background-color: #0D1C2E ;
  color: #fff;
  font-family: 'Aeonik Pro', sans-serif;
}

.footer-main {
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  gap: 24px;
}

.footer-brand img {
  height: 40px;
  margin-bottom: 4px; /* rapproché */
}

.footer-brand .slogan {
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: #ccc;
}

.footer-help {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-block h4 {
  font-size: 15px;
  margin: 0 0 8px;
}

.footer-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-block ul li {
  margin-bottom: 6px;
}
.footer-block a {
  color: #e0e0e0;
  font-size: 14px;
  text-decoration: none;
}
.footer-block a:hover,
.contact-link:hover {
  text-decoration: underline;
}
.contact-link {
  display: inline-block;
  margin-top: 6px;
  color: #00caff;
  font-weight: 500;
  text-decoration: none;
}

.icon-title {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.icon-title h4 {
  margin: 0;
  font-size: 15px;
}

.footer-legal {
  background-color: #ededed;
  text-align: center;
  font-size: 13px;
  padding: 16px 20px;
  color: #383838;
}
.footer-legal a {
  color: #2b2b2b;
  text-decoration: none;
}
.footer-legal a:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .footer-main {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer-help {
    flex-direction: row;
    gap: 60px;
  }
}
.footer-main {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 32px 16px;
  max-width: 1280px;
  margin: auto;
}

.footer-brand {
  text-align: center;
}

.footer-help {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer-block {
  text-align: left;
}

@media (min-width: 768px) {
  .footer-main {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer-help {
    flex-direction: row;
    gap: 60px;
  }

  .footer-brand {
    text-align: left;
  }
}
.footer-separator {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 1px 0;
}
.footer-divider {
  height: 1px;
  background: rgba(58, 58, 58, 0.194);
  margin: 14px auto;
  max-width: 92%;
}
.footer-help {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-left: 16px; /* aligné comme le logo */
}

@media (min-width: 768px) {
  .footer-help {
    flex-direction: row;
    gap: 60px;
    padding-left: 0; /* sur desktop, recentré */
  }
}
.footer-main {
  padding: 32px 16px;
  max-width: 1280px;
  margin: 0 auto;
}
.footer-block {
  text-align: left;
}
.icon-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.icon-title h4 {
  font-size: 17px;
  letter-spacing: 0.3px;
  color: #fff;
}


.icon-title svg {
  width: 20px;   /* Augmente si nécessaire */
  height: 20px;
  flex-shrink: 0;
}
.icon-title svg {
  transition: transform 0.2s ease;
}
.icon-title:hover svg {
  transform: scale(1.15);
}
.full-search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  background: #f5f5f5;
  width: 100%;
  height: 100%;
  z-index: 9999;
  overflow-y: auto;
  font-family: 'Aeonik Pro', sans-serif;
}

.search-header {
  display: flex;
  align-items: center;
  padding: 1rem;
  background: white;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 10;
}

.search-header input {
  flex: 1;
  padding: 0.8rem 1rem;
  margin: 0 0.5rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.search-header button {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
}

.suggestion-title {
  padding: 1rem;
  font-weight: bold;
  color: #555;
}

.suggestions-full-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.suggestions-full-list li {
  display: flex;
  align-items: center;
  padding: 0.8rem 1rem;
  background: white;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  transition: background 0.2s;
}

.suggestions-full-list li:hover {
  background: #f0f0f0;
}

.suggestions-full-list img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  margin-right: 1rem;
}

.suggestions-full-list .arrow {
  margin-left: auto;
  color: #999;
}

.voir-tout {
  padding: 1rem;
  text-align: center;
  background: #fff;
  border-top: 1px solid #ddd;
}
.hidden {
  display: none !important;
}
/* Animation à l'ouverture */
.full-search-overlay {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.full-search-overlay.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  z-index: 9999;
  padding: 20px;
  overflow-y: auto;
 
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.menu-overlay.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.menu-header h2 {
  font-size: 1.5rem;
  font-weight: bold;
}

.menu-header button {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
}

.menu-section {
  margin-bottom: 30px;
}

.menu-section h3 {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #555;
}

.menu-list {
  list-style: none;
  padding: 0;
}

.menu-list li {
  display: flex;
  align-items: center;
  padding: 12px 0;
  gap: 12px;
  font-size: 1rem;
  border-bottom: 1px solid #eee;
}

.menu-list li img {
  width: 20px;
  height: 20px;
}
.menu-overlay {
  background: #fff;
  border-left: 1px solid #e0e0e0;
  box-shadow: -4px 0 16px rgba(0,0,0,0.06);
  font-family: 'Aeonik Pro', sans-serif;
}

.menu-section {
  margin-bottom: 28px;
  border-top: 1px solid #f0f0f0;
  padding-top: 20px;
}

.menu-section:first-of-type {
  border-top: none;
  padding-top: 0;
}

.menu-section h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-list li {
  display: flex;
  align-items: center;
  padding: 12px 0;
  gap: 12px;
  font-size: 0.97rem;
  color: #333;
  border-bottom: 1px solid #f5f5f5;
}

.menu-list li svg {
  width: 20px;
  height: 20px;
  stroke: #222;
  stroke-width: 1.5;
  fill: none;
}

.menu-list li a {
  text-decoration: none;
  color: #222;
}

.menu-list li a:hover {
  color: #000;
}
/* Fond de la fenêtre de menu */
.menu-overlay {
  background: #f4f6f8; /* gris clair élégant */
  z-index: 9999;
  padding: 24px;
  overflow-y: auto;
  height: 100vh;
  transition: transform 0.3s ease, opacity 0.3s ease;
 
  opacity: 0;
  pointer-events: none;
}

/* Affichage actif */
.menu-overlay.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Header */
.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.menu-header h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #111;
}

.menu-header button {
  font-size: 1.3rem;
  border: none;
  background: none;
  cursor: pointer;
}

/* Sections */
.menu-section {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 16px;
  margin-bottom: 18px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}

/* Titres */
.menu-section h3 {
  font-size: 0.9rem;
  color: #999;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* Liste */
.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 0.97rem;
  color: #222;
  border-bottom: 1px solid #f0f0f0;
}

.menu-list li:last-child {
  border-bottom: none;
}

/* Icônes SVG */
.menu-list li svg {
  width: 20px;
  height: 20px;
  stroke: #333;
  stroke-width: 1.6;
  fill: none;
}

/* Liens propres */
.menu-list li a {
  text-decoration: none;
  color: #222;
  transition: color 0.2s ease;
}

.menu-list li a:hover {
  color: #000;
}


/* === MENU FULLSCREEN SLIDE-IN LEFT === */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  background: rgba(0, 0, 0, 0.45); /* fond semi-transparent */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.menu-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* ✅ Le panneau prend toute la largeur */
.menu-panel {
  width: 100vw !important; /* force la largeur totale */
  height: 100vh;
  background: #f4f6f8;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.35s ease;
  display: flex;
  flex-direction: column;
}

.menu-overlay.show .menu-panel {
  transform: translateX(0);
}
/* ✅ CORRECTION PRIORITAIRE DU SLIDE HORIZONTAL FULLSCREEN */
.menu-overlay {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100vw !important;
  height: 100vh !important;
  display: flex !important;
  justify-content: flex-start;
  align-items: stretch;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.menu-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* Le panneau (le vrai bloc blanc qui slide) */
.menu-panel {
  width: 100vw !important;
  height: 100vh;
  background: #f4f6f8;
  transform: translateX(-100%);
  transition: transform 0.35s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: 0 0 20px rgba(0,0,0,0.08);
  padding: 24px;
}

.menu-overlay.show .menu-panel {
  transform: translateX(0);
}
/* ✅ FORCE LE MENU À PRENDRE TOUT L'ÉCRAN SANS CONTRAINTE */
#menuOverlay {
  width: 100vw !important;
  max-width: 100vw !important;
  inset: 0 !important;
}

.menu-panel {
  width: 100vw !important;
  max-width: 100vw !important;
  height: 100vh !important;
  transform: translateX(-100%);
  transition: transform 0.35s ease;
  display: flex;
  flex-direction: column;
  background: #f4f6f8;
  overflow-y: auto;
}

.menu-overlay.show .menu-panel {
  transform: translateX(0);
}
/* =============== FIX DEFINITIF MENU LATÉRAL =============== */
#menuOverlay {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  z-index: 9999 !important;
  display: flex !important;
  justify-content: flex-start;
  background: rgba(0, 0, 0, 0.45);
  overflow: hidden;
  padding: 0 !important;
  margin: 0 !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#menuOverlay.show {
  opacity: 1;
  pointer-events: auto;
}

#menuOverlay .menu-panel {
  width: 100vw !important;
  height: 100%;
  max-width: 100vw !important;
  background: #f4f6f8;
  transform: translateX(-100%);
  transition: transform 0.35s ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

#menuOverlay.show .menu-panel {
  transform: translateX(0);
}
/* Applique Inter partout */
body, html, input, button, select, textarea {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
#country-selector {
  width: 100%;
  text-align: center;
  margin-top: 6px;
}

#country-select {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-weight: 500;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 12px;
  appearance: none;
  cursor: pointer;
  transition: background 0.2s, border 0.2s;
}

#country-select:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

#country-select:focus {
  outline: none;
  border-color: #ffffff;
}
