/* Header Desktop/tablette */
/* Base navbar styles */
#navBar {
  border-top: 2px solid #e7ddd4;
  border-bottom: 2px solid #e7ddd4;
  font-weight: 600;
  font-size: 14px;
  background-color: #ffffff;
}

.navbar-links li {
  position: relative;
}

.navbar-links > li:hover {
  color: #7c7777;
}

.navbar-links a {
  padding: 5px 0;
  position: relative;
}

.shopBtn {
  border-top: 2px solid #e7ddd4;
  border-bottom: 2px solid #e7ddd4;
}

.shopBtn:hover {
  background-color: #ffffff;
}

/*
.......##..............########..########...#######..########..########...#######..##....##.##......##....................##
......##...##...##.....##.....##.##.....##.##.....##.##.....##.##.....##.##.....##.###...##.##..##..##.....##...##.......##.
.....##.....##.##......##.....##.##.....##.##.....##.##.....##.##.....##.##.....##.####..##.##..##..##......##.##.......##..
....##....#########....##.....##.########..##.....##.########..##.....##.##.....##.##.##.##.##..##..##....#########....##...
...##.......##.##......##.....##.##...##...##.....##.##........##.....##.##.....##.##..####.##..##..##......##.##.....##....
..##.......##...##.....##.....##.##....##..##.....##.##........##.....##.##.....##.##...###.##..##..##.....##...##...##.....
.##....................########..##.....##..#######..##........########...#######..##....##..###..###...............##......
*/
/* Dropdown styles du menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  list-style: none;
  background-color: rgba(255, 255, 255);
  display: none;
  padding: 1.5rem 1.5rem;
  margin: 0;
  box-shadow: 0 8px 16px rgba(231, 221, 212, 0.4);
  z-index: 100;
  min-width: 220px;
  color: #7c7777;
}

.dropdown:hover > .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  padding: 10px 20px;
  display: block;
  transition: background 0.2s;
}

/* Submenu (sous-menu) */
.has-submenu {
  position: relative;
}

.submenu {
  position: absolute;
  top: 0;
  left: 100%;
  list-style: none;
  background-color: #ffffff;
  padding: 1.5rem 1.5rem;
  margin: 0;
  display: none;
  min-width: 220px;
  box-shadow: 0 8px 16px rgba(231, 221, 212, 0.4);
  border-left: 2px solid #e7ddd4;
  z-index: 2;
}

.has-submenu:hover > .submenu {
  display: block;
}

.submenu li a {
  padding: 10px 20px;
  display: block;
  color: #7c7777;
  transition: background 0.2s ease;
}

/* arrow indicators menu*/
.has-submenu1 > a::after {
  content: ">";
  font-size: 12px;
  margin-left: 8px;
  display: inline-block;
  transform: rotate(0deg);
  transition: transform 0.2s ease;
}

.has-submenu1:hover > a:after {
  transform: rotate(90deg);
}

/* arrow indicators sous-menu*/
.has-submenu > a::after {
  content: ">";
  font-size: 12px;
  margin-left: 8px;
  display: inline-block;
  transform: rotate(90deg);
  transition: transform 0.2s ease;
}

.has-submenu:hover > a:after {
  transform: rotate(0deg);
}

/*
.......##...............#######..##.....##.########.########..##.......####.##....##.########....................##
......##...##...##.....##.....##.##.....##.##.......##.....##.##........##..###...##.##...........##...##.......##.
.....##.....##.##......##.....##.##.....##.##.......##.....##.##........##..####..##.##............##.##.......##..
....##....#########....##.....##.##.....##.######...########..##........##..##.##.##.######......#########....##...
...##.......##.##......##.....##..##...##..##.......##...##...##........##..##..####.##............##.##.....##....
..##.......##...##.....##.....##...##.##...##.......##....##..##........##..##...###.##...........##...##...##.....
.##.....................#######.....###....########.##.....##.########.####.##....##.########..............##......
*/
/* Surligner dynamiquement */
.link-overline {
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
}
.link-overline::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -10%;
  width: 120%;
  height: 16px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  background-color: #e7ddd480;
}
.link-overline:hover::after {
  transform: scaleX(1);
}

.link-overline2 {
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
}
.link-overline2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -5%;
  width: 120%;
  height: 16px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  background-color: #e7ddd480;
}
.link-overline2:hover::after {
  transform: scaleX(1);
}
/* 
.arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.dropdown:hover .arrow {
  transform: rotate(90deg);
} */
/*
.......##..............##.....##..#######..########..####.##.......########....................##
......##...##...##.....###...###.##.....##.##.....##..##..##.......##...........##...##.......##.
.....##.....##.##......####.####.##.....##.##.....##..##..##.......##............##.##.......##..
....##....#########....##.###.##.##.....##.########...##..##.......######......#########....##...
...##.......##.##......##.....##.##.....##.##.....##..##..##.......##............##.##.....##....
..##.......##...##.....##.....##.##.....##.##.....##..##..##.......##...........##...##...##.....
.##....................##.....##..#######..########..####.########.########..............##......
*/
/* Header Mobile */
h1 {
  font-family: "Ma_Fonte_3", sans-serif;
}

.btn-menu span {
  border: 3px solid #e7ddd4;
}

#sidenav-1 {
  background-color: #fffcf7;
}

/* Masque les menus par défaut */
.dropdown-mob-menu,
.submenu-mob,
.subsubmenu-mob {
  display: none;
}

/* Affiche le menu principal quand le toggle est ouvert */
.dropdown-mob-toggle.open + .dropdown-mob-menu {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 16px;
}

/* Affiche le sous-menu quand le toggle est ouvert */
.has-submenu-mob-toggle.open + .submenu-mob {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 5px;
  padding-left: 16px;
}

/* Affiche le sous sous-menu quand le toggle est ouvert */
.has-subsubmenu-mob-toggle.open + .subsubmenu-mob {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 5px;
  padding-left: 16px;
}

/* Rotation de la flèche */
.dropdown-mob-toggle.open .arrow,
.has-submenu-mob-toggle.open .arrow,
.has-subsubmenu-mob-toggle.open .arrow {
  transform: rotate(90deg);
  transition: transform 0.3s ease;
}

/* Apparence des liens */
.submenu-mob a,
.dropdown-mob-menu a,
.subsubmenu-mob a {
  text-decoration: none;
}

.dropdown-mob-toggle,
.has-submenu-mob-toggle,
.has-subsubmenu-mob-toggle {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
