header#site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #fff;
  box-sizing: border-box;
  transition: box-shadow 0.25s ease;
}

header#site-header.is-fixed {
  position: fixed;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease-out;
}

header#site-header a {
  text-decoration: none !important;
}

header#site-header a,
header#site-header .topbar a {
  color: inherit !important;
}

.mega-intro.is-empty {
  opacity: 0;
}

.mega-card.is-empty {
  opacity: 0;
}

.mega-card--image,
.mega-intro--image {
  width: 270px;
  height: 346px;
  min-height: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  justify-content: flex-end !important;
}

.mega-card--image::before,
.mega-intro--image::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0) 55%
  );
  pointer-events: none;
}
.mega-card--image,
.mega-intro--image {
  position: relative;
  overflow: hidden;
}

.mega-card--image .mega-cta,
.mega-intro--image .mega-cta {
  position: relative;
  z-index: 1;
}

.topbar {
  height: 48px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  line-height: 1.3;
  box-sizing: border-box;
}
.topbar-inner {
  height: 100%;
  /* max-width: 1440px; */
  max-width: 1840px;
  width: 100%;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-sizing: border-box;
}
.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
}
.topbar-search {
  flex: 0 1 430px;
  height: 32px;
  border-radius: 999px;
  background: #fff;
  color: var(--grey);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
}
.topbar-search svg {
  width: 16px;
  height: 16px;
  color: var(--blue);
  flex: 0 0 auto;
}
.topbar-search input {
  width: 100%;
  min-width: 0;
  border: 0 !important;
  outline: 0;
  padding: 0 !important;
  background: transparent;
  color: var(--blue) !important;
  font: inherit;
  font-size: 14px;
}
.topbar-search input::placeholder {
  color: #6a7282;
}
.toplink {
  padding: 4px 8px;
  border-radius: 120px;
  white-space: nowrap;
  transition:
    color 0.18s ease,
    background-color 0.18s ease,
    transform 0.18s ease;
}
.toplink:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transform: translateY(-1px);
}
.top-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  transition:
    background-color 0.18s ease,
    transform 0.18s ease;
}
.top-icon:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}
.top-icon svg {
  width: 19px;
  height: 19px;
  stroke-width: 2;
}
#site-header .topbar-right .toplink.cart {
  width: 73px;
  height: 26px;
  background: var(--yellow);
  color: var(--blue) !important;
  display: inline-flex;
  justify-content: center;
  gap: 4px;
  align-items: center;
  margin-left: 4px;
  padding: 0 9px;
  font-size: 14px;
  line-height: 1;
}
.toplink.cart:hover {
  background: #ffd45f;
  color: var(--blue);
  box-shadow: 0 8px 18px rgba(253, 200, 49, 0.24);
}
.toplink.cart svg {
  width: 15px;
  height: 15px;
  stroke-width: 2;
  flex: 0 0 auto;
}

/* ==========================================================
   MAINNAV
   .mainnav       = fond, hauteur, blur, ombre -> pleine largeur
   .mainnav-inner  = layout (flex) + max-width capé et centré
   ========================================================== */
.mainnav {
  height: 60px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  z-index: 5;
  box-sizing: border-box;
}
.mainnav-inner {
  height: 100%;
  /* max-width: 1440px; */
  max-width: 1840px;
  width: 100%;
  margin: 0 auto;
  padding: 6px 60px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  position: relative; /* repère pour .mega-menu (absolute) */
}

.logo {
  width: 141.486px;
  height: 48px;
  flex: 0 0 auto;
}
.mainnav .menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--blue);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}
.mainnav .menu-toggle:hover {
  background: #1f2348;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(32, 35, 68, 0.16);
}
.mainnav .menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition:
    transform 0.18s ease,
    opacity 0.18s ease;
}
.mainnav.is-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mainnav.is-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}
.mainnav.is-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.navlinks {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  color: #000;
  font-size: 14px;
  line-height: 1.3;
}
.nav-item {
  height: 100%;
  display: inline-flex;
  align-items: center;
  position: static;
}
.navlink {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  border-radius: 120px;
  white-space: nowrap;
  transition:
    background 0.18s ease,
    color 0.18s ease;
}
.nav-item:hover .navlink,
.nav-item:focus-within .navlink,
.navlink:hover {
  background: #f5f8fc;
  color: var(--title);
}
.nav-item.featured .navlink {
  position: relative;
  margin-inline: 6px;
  padding: 8px 18px;
  border: 1px solid rgba(253, 200, 49, 0.8);
  background: rgba(253, 200, 49, 0.16);
  color: var(--blue);
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}
.nav-item.featured:hover .navlink,
.nav-item.featured:focus-within .navlink,
.nav-item.featured .navlink:hover {
  background: var(--yellow);
  color: var(--blue);
  box-shadow: 0 8px 18px rgba(253, 200, 49, 0.22);
}
.mega-menu {
  position: absolute;
  top: 60px;
  left: 60px;
  right: 60px;
  min-height: 284px;
  padding: 26px;
  display: grid;
  grid-template-columns: 268px 1fr 252px;
  gap: 28px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 24px 60px rgba(17, 17, 49, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
  z-index: 30;
  color: var(--blue);
}
.mega-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}
.nav-item.is-mega-open .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.mega-intro {
  min-height: 232px;
  padding: 24px;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.mega-tag {
  width: max-content;
  max-width: 100%;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--blue);
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}
.mega-intro-title {
  display: block;
  margin: 18px 0 10px;
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1.08;
  font-weight: 600;
}
.mega-intro p {
  margin: 0;
  color: #f1f1ff;
  font-size: 15px;
  line-height: 1.45;
}
header#site-header .mega-intro .mega-cta {
  width: max-content;
  margin-top: 18px;
  padding: 11px 18px;
  border-radius: 999px;
  background: #fff;
  color: var(--blue) !important;
  font-weight: 700;
  font-size: 14px;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}
.mega-cta:hover {
  background: var(--yellow) !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 24px;
  align-content: start;
}
.mega-grid.two-cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.mega-col {
  min-width: 0;
  padding: 2px 0;
}
.mega-col.wide {
  grid-column: span 2;
}
.mega-heading {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.45px;
  text-transform: uppercase;
}
.mega-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--blue);
  font-size: 15px;
  line-height: 1.2;
  transition:
    background 0.16s ease,
    color 0.16s ease,
    transform 0.16s ease;
}
.mega-link::after {
  content: "›";
  color: #c4cad7;
  font-size: 18px;
  line-height: 1;
  opacity: 0.8;
}
header#site-header .mega-link:hover {
  background: #f5f8fc;
  color: var(--green) !important;
  transform: translateX(2px);
}
.mega-note {
  display: block;
  margin-top: 8px;
  padding: 9px 10px;
  border-radius: 8px;
  background: rgba(253, 200, 49, 0.14);
  color: #6a5a14;
  font-size: 13px;
  line-height: 1.35;
}
.mega-card {
  min-height: 232px;
  padding: 22px;
  border-radius: 12px;
  background: #f1f1ff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(46, 49, 86, 0.08);
}
.mega-card-title {
  display: block;
  margin: 0;
  color: var(--title);
  font-family: var(--font-serif);
  font-size: 21px;
  line-height: 1.15;
  font-weight: 600;
}
.mega-card p {
  margin: 10px 0 18px;
  color: var(--grey);
  font-size: 14px;
  line-height: 1.42;
}
.mega-card a {
  width: max-content;
  padding: 11px 17px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}
.mega-card a:hover {
  background: #ffd45f;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(253, 200, 49, 0.18);
}
.mobile-menu-promo {
  display: none;
}
.chev {
  width: 12px;
  height: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}
.lang {
  width: 141px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.lang button {
  border: 1px solid var(--grey);
  border-radius: 8px;
  padding: 4px 8px;
  height: 29px;
  color: var(--blue);
  background: #f5f8fc !important;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}
.lang button:hover {
  background: #f5f8fc !important;
  color: var(--blue) !important;
  border-color: var(--title);
  transform: translateY(-1px);
}

.lang button:focus {
  color: inherit;
}

.flag {
  width: 20px;
  height: 14px;
  display: inline-flex;
  overflow: hidden;
}
.flag span {
  flex: 1;
}
.flag .b {
  background: #03267f;
}
.flag .w {
  background: #fff;
}
.flag .r {
  background: #f32730;
}

/* GTranslate: compact language control used in the site header. */
.lang .gtranslate_wrapper,
.lang .gt_switcher_wrapper,
.lang .gt_switcher {
  position: relative;
  width: auto !important;
  min-width: 0;
  overflow: visible !important;
  font-family: var(--font-body, Arial, sans-serif) !important;
}

.lang {
  position: relative;
  overflow: visible;
}

.lang .gt_selected {
  position: relative;
  z-index: 2;
  display: block;
}

.lang .gt_selected a,
.lang .gt_switcher .gt_selected a {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  min-width: 70px;
  height: 32px;
  box-sizing: border-box;
  padding: 4px 10px !important;
  border: 1px solid var(--grey, #6b7280) !important;
  border-radius: 8px !important;
  background: #f5f8fc !important;
  color: var(--blue, #202344) !important;
  font-size: 14px !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap;
}

.lang .gt_selected a:hover,
.lang .gt_switcher .gt_selected a:hover {
  background: #f5f8fc !important;
  color: var(--blue, #202344) !important;
}

.lang .gt_selected a::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.lang .gt_option,
.lang .gt_switcher .gt_option {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  right: 0 !important;
  left: auto !important;
  z-index: 1001;
  width: 180px !important;
  max-height: 250px;
  padding: 8px 0 !important;
  overflow-y: auto;
  border: 0 !important;
  border-radius: 0 0 12px 12px !important;
  background: #fff !important;
  box-shadow: 0 10px 24px rgba(32, 35, 68, 0.12) !important;
}

/* Keep the active language in the upper control while the options float below. */
.lang .gt_switcher .gt_option {
  margin-top: 0 !important;
}

.lang .gt_option a,
.lang .gt_switcher .gt_option a {
  display: flex !important;
  align-items: center;
  gap: 9px;
  width: 100%;
  box-sizing: border-box;
  padding: 9px 14px !important;
  color: #4a4d59 !important;
  font-size: 15px !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  white-space: nowrap;
}

.lang .gt_option a:hover,
.lang .gt_switcher .gt_option a:hover {
  background: #f5f8fc !important;
  color: var(--blue, #202344) !important;
}

.lang .gt_option img,
.lang .gt_selected img,
.lang .gt_switcher img {
  width: 20px !important;
  height: 14px !important;
  flex: 0 0 20px;
  object-fit: cover;
}

/* ===== GTranslate : le dropdown ne doit pas pousser le header ===== */

#gt_float_wrapper,
#gt_float_wrapper .gt_float_switcher,
#gt_float_wrapper .gt_float_switcher .gt-selected {
  position: relative !important;
  overflow: visible !important;
}

/* Dropdown fermé par défaut */
#gt_float_wrapper .gt_options {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  right: 0 !important;
  left: auto !important;

  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: none !important;

  margin: 0 !important;
  padding: 8px 0 !important;
  min-width: 180px !important;
  max-height: 260px !important;
  overflow-y: auto !important;

  background: #fff !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
  z-index: 99999 !important;
}

/* Dropdown ouvert */
#gt_float_wrapper .gt_options.gt-open {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Liens des langues */
#gt_float_wrapper .gt_options a {
  display: block !important;
  padding: 10px 14px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}

/* Hover */
#gt_float_wrapper .gt_options a:hover {
  background: rgba(0, 0, 0, 0.05) !important;
}

/* Sélecteur principal */
#gt_float_wrapper .gt-selected {
  min-width: auto !important;
}

#gt_float_wrapper,
#gt_float_wrapper .gt_float_switcher,
#gt_float_wrapper .gt_float_switcher .gt-selected {
  position: relative !important;
  overflow: visible !important;
  font-family: var(--font-body, Arial, sans-serif) !important;
  order: 1px solid var(--grey);
  border-radius: 8px;
  height: 30px;
  color: var(--blue);
  background: #f5f8fc !important;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}

#gt_float_wrapper .gt_float_switcher img {
  width: 25px;
}

@media (max-width: 1180px) {
  .topbar-inner {
    padding: 0 24px;
    gap: 18px;
  }
  .topbar-left,
  .topbar-right {
    gap: 12px;
  }
  .topbar-search {
    flex-basis: 340px;
  }
  .mainnav-inner {
    padding: 6px 24px;
    gap: 12px;
  }
  .navlinks {
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .navlinks::-webkit-scrollbar {
    display: none;
  }
  .nav-item {
    flex: 0 0 auto;
  }
  .navlink {
    padding: 8px 12px;
  }
  .mega-menu {
    left: 24px;
    right: 24px;
    grid-template-columns: 240px 1fr 230px;
    gap: 22px;
  }
}

@media (max-width: 900px) {
  html.vdlv-mobile-menu-open,
  body.vdlv-mobile-menu-open {
    overflow: hidden;
    overscroll-behavior: none;
  }

  /* Prevent browser focus/double-tap zoom inside the mobile navigation. */
  #site-header {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  #site-header input,
  #site-header select,
  #site-header textarea {
    font-size: 16px !important;
  }

  #site-header a,
  #site-header button,
  #site-header input,
  #site-header select,
  #site-header summary {
    touch-action: manipulation;
  }

  /* propriétés de boîte -> restent sur .topbar / .mainnav */
  .topbar {
    height: auto;
    min-height: 42px;
    overflow: visible;
  }
  .mainnav {
    height: auto;
    position: relative;
    z-index: 5;
    background: rgba(255, 255, 255, 0.96);
  }

  /* propriétés de layout -> passent sur .topbar-inner / .mainnav-inner */
  .topbar-inner {
    padding: 8px 16px;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 12px;
  }
  .mainnav-inner {
    padding: 10px 16px 12px;
    flex-wrap: wrap;
    gap: 10px 12px;
    align-items: center;
  }

  .topbar-left {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .topbar-left::-webkit-scrollbar {
    display: none;
  }
  .topbar-search {
    order: 3;
    flex: 1 0 100%;
    height: 40px;
  }
  .topbar-right {
    order: 2;
    gap: 10px;
    margin-left: auto;
  }
  .toplink {
    flex: 0 0 auto;
    font-size: 13px;
  }
  .topbar-right > .toplink:not(.cart) {
    display: none;
  }
  .top-icon {
    width: 30px;
    height: 30px;
  }
  .logo {
    width: 112px;
    height: auto;
  }
  .mainnav .menu-toggle {
    order: 2;
    display: inline-flex;
    margin-left: 0;
    flex-grow: unset;
  }
  .lang {
    order: 1;
    width: auto;
    margin-left: auto;
  }
  .lang button {
    height: 32px;
    font-size: 14px;
  }
  .navlinks {
    order: 3;
    width: 100vw;
    flex: 0 0 100vw;
    height: auto;
    display: none;
    justify-content: flex-start;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: calc(100dvh - 152px);
    margin: 0 calc(50% - 50vw) -12px;
    padding: 0;
    border: 0;
    border-top: 1px solid #e5e7eb;
    border-radius: 0;
    background: #fff;
    box-shadow: 0 20px 44px rgba(17, 17, 49, 0.14);
    color: var(--blue);
    position: relative;
  }
  .mainnav.is-open .navlinks {
    display: flex;
    height: var(--vdlv-mobile-menu-height, calc(100dvh - 152px));
    min-height: var(--vdlv-mobile-menu-height, calc(100dvh - 152px));
    max-height: var(--vdlv-mobile-menu-height, calc(100dvh - 152px));
    box-sizing: border-box;
    overscroll-behavior: contain;
  }
  .mobile-menu-promo {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
    background: var(--blue);
    color: #fff;
  }
  .mobile-menu-promo.bottom {
    border-top: 1px solid #e5e7eb;
    border-bottom: 0;
    background: #f1f1ff;
    color: var(--blue);
  }
  .mobile-menu-promo .mega-tag {
    display: inline-flex;
  }
  .mobile-menu-promo-title {
    display: block;
    margin: 0;
    font-family: var(--font-serif);
    font-size: 22px;
    line-height: 1.12;
    font-weight: 600;
  }
  .mobile-menu-promo p {
    margin: 0;
    color: inherit;
    opacity: 0.86;
    font-size: 14px;
    line-height: 1.4;
  }
  #site-header .mobile-menu-promo a {
    width: max-content;
    max-width: 100%;
    padding: 11px 17px;
    border-radius: 999px;
    background: #fff;
    color: var(--blue) !important;
    font-size: 14px;
    font-weight: 700;
  }
  .mobile-menu-promo.bottom a {
    background: var(--yellow);
  }
  .navlinks.has-drawer > .mobile-menu-promo {
    display: none;
  }
  .nav-item {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid #edf0f5;
  }
  .navlink {
    width: 100%;
    min-height: 52px;
    justify-content: space-between;
    padding: 15px 20px;
    background: #fff;
    border-radius: 0;
    font-size: 15px;
    font-weight: 600;
  }

  .navlink .chev,
  .navlink .chev svg,
  .navlink .chev svg path {
    color: var(--blue);
    fill: currentColor;
  }

  .navlink:active,
  .navlink:focus,
  .nav-item.is-subopen > .navlink,
  .nav-item.featured .navlink:active,
  .nav-item.featured .navlink:focus,
  .nav-item.featured.is-subopen > .navlink {
    color: var(--blue);
  }
  .navlinks.has-drawer > .nav-item:not(.is-subopen) {
    display: none;
  }
  .navlinks.has-drawer > .nav-item.is-subopen {
    min-height: calc(100dvh - 152px);
    border-bottom: 0;
    background: #f8fafc;
  }
  .navlinks.has-drawer > .nav-item.is-subopen > .navlink {
    position: sticky;
    top: 0;
    z-index: 2;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
  }
  .navlinks.has-drawer > .nav-item.is-subopen > .navlink::before {
    content: "‹";
    margin-right: 10px;
    font-size: 24px;
    line-height: 1;
    color: var(--blue);
  }
  .navlinks.has-drawer > .nav-item.is-subopen > .navlink {
    justify-content: flex-start;
  }
  .navlinks.has-drawer > .nav-item.is-subopen > .navlink .chev {
    margin-left: auto;
    transform: rotate(90deg);
  }
  .nav-item.featured .navlink {
    margin-inline: 0;
    padding: 15px 20px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .navlinks.has-drawer > .nav-item.featured.is-subopen > .navlink {
    border-bottom: 1px solid #e5e7eb;
  }
  .chev {
    display: inline-flex;
    transform: rotate(-90deg);
    transition: transform 0.16s ease;
  }
  .nav-item.is-subopen .chev {
    transform: rotate(0deg);
  }
  .navlinks.has-drawer > .nav-item.is-subopen > .navlink .chev {
    transform: rotate(90deg);
  }
  .mega-menu {
    position: static;
    display: none;
    min-height: 0;
    padding: 0 20px 18px;
    grid-template-columns: 1fr;
    gap: 12px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    background: #f8fafc;
  }
  .nav-item.is-subopen .mega-menu {
    display: grid;
    animation: drawerOpen 0.22s ease both;
  }
  @keyframes drawerOpen {
    from {
      opacity: 0;
      transform: translateX(24px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  @keyframes cascadeOpen {
    from {
      opacity: 0;
      transform: translateY(-4px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .mega-menu::before,
  .mega-note {
    display: none;
  }
  .mega-menu > .mega-intro,
  .mega-menu > .mega-card {
    min-height: 0;
    padding: 18px;
    border-radius: 8px;
  }
  .mega-menu > .mega-intro {
    display: flex;
    margin: 16px 0 8px;
    order: -1;
  }
  .mega-menu > .mega-card {
    display: flex;
    margin: 12px 0 20px;
    order: 1;
  }
  .mega-menu > .mega-intro.is-empty,
  .mega-menu > .mega-card.is-empty {
    display: none;
  }
  .mega-menu > .mega-intro--image,
  .mega-menu > .mega-card--image {
    width: 100%;
    height: auto;
    aspect-ratio: 270 / 346;
  }
  .mega-menu.has-col-drawer > .mega-intro,
  .mega-menu.has-col-drawer > .mega-card {
    display: none;
  }
  .mega-grid,
  .mega-grid.two-cols {
    display: grid;
    order: 0;
    grid-template-columns: 1fr;
    gap: 0;
  }
  .mega-col,
  .mega-col.wide {
    grid-column: auto;
    padding: 0;
    border-bottom: 1px solid #e5e7eb;
  }
  .mega-menu.has-col-drawer {
    padding: 0 0 18px;
  }
  .mega-menu.has-col-drawer .mega-col:not(.is-colopen) {
    display: none;
  }
  .mega-menu.has-col-drawer .mega-grid,
  .mega-menu.has-col-drawer .mega-grid.two-cols {
    min-height: calc(100dvh - 204px);
  }
  .mega-heading {
    min-height: 64px;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--blue);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
  }
  .mega-heading::after {
    content: "›";
    color: var(--blue);
    font-size: 18px;
    line-height: 1;
    transition: transform 0.16s ease;
  }
  .mega-menu.has-col-drawer .mega-col.is-colopen .mega-heading {
    position: sticky;
    top: 0;
    z-index: 2;
    min-height: 52px;
    justify-content: flex-start;
    padding: 0 20px;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
  }
  .mega-menu.has-col-drawer .mega-col.is-colopen .mega-heading::before {
    content: "‹";
    margin-right: 10px;
    font-size: 24px;
    line-height: 1;
    color: var(--blue);
  }
  .mega-menu.has-col-drawer .mega-col.is-colopen .mega-heading::after {
    margin-left: auto;
    transform: rotate(180deg);
  }
  .mega-link {
    min-height: 52px;
    padding: 15px 0;
    border-bottom: 1px solid #e5e7eb;
    border-radius: 0;
    background: transparent;
    color: var(--blue);
    font-size: 15px;
    font-weight: 600;
    display: none;
  }
  .mega-menu.has-col-drawer .mega-link {
    padding: 15px 20px;
  }
  .mega-col.is-colopen .mega-link {
    display: flex;
    animation: drawerOpen 0.22s ease both;
  }
}

@media (max-width: 560px) {
  .topbar {
    font-size: 12px;
  }
  .topbar-left .toplink {
    font-size: 12px;
    padding-inline: 4px;
  }
  /* .topbar-left .toplink:nth-child(3) {
    display: none;
  } */
  .topbar-search input {
    font-size: 16px;
  }
  .mainnav-inner {
    padding-inline: 14px;
  }
  .logo {
    width: 104px;
  }
}

@media (min-width: 1920px) {
  .navlinks {
    gap: 20px;
  }
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 34px;
  height: 53px;
  padding: 10px;
  gap: 10px;
  border: none;
  border-radius: 20px;
  background: #202344;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s ease;
  z-index: 999;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #2c3060;
}

/* Keep the mobile menu icon visible when the navigation is open. */
@media (max-width: 900px) {
  .mainnav .menu-toggle,
  .mainnav .menu-toggle:hover,
  .mainnav .menu-toggle:focus,
  .mainnav .menu-toggle:active,
  .mainnav.is-open .menu-toggle {
    background: #202344 !important;
    color: #fff !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .mainnav.is-open .menu-toggle span {
    display: block !important;
    width: 18px !important;
    height: 2px !important;
    background: #fff !important;
  }

  .mainnav.is-open .menu-toggle span:nth-child(1),
  .mainnav.is-open .menu-toggle span:nth-child(3) {
    opacity: 1 !important;
  }

  /* Remove decorative hover/touch movement without affecting drawer controls. */
  #site-header
    :is(
      .toplink,
      .top-icon,
      .mainnav .menu-toggle,
      .navlink,
      .mega-cta,
      .mega-link,
      .mega-card a,
      .mobile-menu-promo a,
      .lang button
    ) {
    transition: none !important;
  }

  #site-header
    :is(
      .toplink,
      .top-icon,
      .mainnav .menu-toggle,
      .navlink,
      .mega-cta,
      .mega-link,
      .mega-card a,
      .mobile-menu-promo a,
      .lang button
    ):is(:hover, :focus, :focus-visible, :active) {
    transform: none !important;
  }

  #site-header
    :is(
      .toplink,
      .top-icon,
      .mainnav .menu-toggle,
      .navlink,
      .mega-cta,
      .mega-link,
      .mega-card a,
      .mobile-menu-promo a,
      .lang button
    ):is(:hover, :focus, :focus-visible, :active) {
    box-shadow: none !important;
  }

  #site-header .blpx-search-panel,
  #site-header .blpx-search-panel:focus-within,
  #site-header .blpx-search-panel:has(input[aria-expanded="true"]) {
    width: 100%;
    transition: none !important;
  }
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
  }
}

.socials.socials--footer svg {
  width: 24px;
  height: 24px;
}

.socials--floating {
  position: fixed;
  right: 35px;
  bottom: 130px;
  width: auto !important;
  display: flex !important;
  flex-direction: column;
  align-items: center !important;
  gap: 10px;
  z-index: 998;
}

.socials--floating .socials__item {
  width: 30px;
  height: 30px;
  max-width: 30px;
  border-radius: 50%;
  background: #fdf7f7;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.socials--floating .socials__item svg {
  width: 24px;
  height: 24px;
}

.socials--floating .socials__item:hover {
  transform: scale(1.08);
}

@media (max-width: 768px) {
  .socials--floating {
    display: none;
  }
}

@media (max-width: 900px) {
  .footer.bpx-block-footer {
    height: auto;
    margin-top: 0px;
    padding: 52px 16px 24px;
  }

  .socials--floating {
    display: none !important;
  }

  .socials--footer {
    position: static;
    width: min(100%, 360px);
    max-width: 100%;
    margin: 0 auto;
    padding: 4px 0 0;
    transform: none;
  }
}

.blpx-autocomplete-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 1024px) {
  .blpx-autocomplete-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.blpx-search-panel {
  position: relative;
  width: 350px;
  max-width: 100%;
  margin: auto;
  transition: all ease-in-out 0.3s;
  &:focus-within,
  &:has(input[aria-expanded="true"]) {
    width: 100%;
  }
}
/* .blpx-search-panel:has(#main-search-input:focus) {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 111;
  margin-block-end: auto;
} */
body .blpx-autocomplete {
  background: #fff;
  color: #000;
  position: fixed;
  top: 50px;
  height: calc(100vh - 120px);
  max-height: 700px;
  overflow: auto;
  z-index: 100;
  width: 100vw;
  left: calc(50%);
  transform: translateX(-50%);
  border-radius: 0 0 24px 24px !important;
  box-shadow: 0 0 22px -15px #000000;
  padding: 16px 32px !important;

  @media (max-width: 420px) {
    padding: 16px !important;
  }
}
.blpx-search-panel:has(#search-btn-clear):after {
  content: "";
  position: fixed;
  top: 97px;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff48;
  z-index: -1;
  backdrop-filter: blur(11px) brightness(98%);
  pointer-events: none;
}
.blpx-search-panel:has(.blpx-autocomplete[hidden])::after {
  display: none;
}
body:has(.blpx-autocomplete) .site {
  pointer-events: none;
}
body:has(.blpx-autocomplete[hidden]) .site {
  pointer-events: all;
}
body .search-sidebar {
  border: 1px solid #d2d8dd;
  background: #fff;
  padding: 26px 24px;
  height: max-content;
}
.blpx-result-section h3,
#blpx-full-search-page h3 {
  display: flex;
  padding: 0.5rem;
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.4px;
  font-weight: 600;
  color: var(--blue);
  background-color: #f2f3ff;
  border-radius: 4px;
}
.blpx-result-title,
#blpx-full-search-page h4 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -0.4px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 24px;
}
.blpx-formation-result.blpx-autocomplete-link {
  display: flex;
  align-items: center;
  gap: 8px;
}
.blpx-formation-details .blpx-result-meta {
  margin-bottom: 0.5rem;
}
.blpx-result-section.blpx-result-section--suggestions .blpx-result-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  button {
    text-align: left;
  }
}
.blpx-result-section.blpx-result-section--suggestions
  .blpx-result-content
  button {
  border-radius: 4px;
  padding: 0;
  background: none;
  color: var(--blue);
}

body .hits-section-product .ais-Hits-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

ins,
mark {
  text-decoration: none;
  font-weight: 600;
  background: none;
  color: color(srgb 1 0.7688 0.1601);
  border-radius: 4px;
}
.blpx-result-excerpt {
  margin-bottom: 0;
  font-size: 12px;
  display: none;
}
.blpx-page-result.blpx-autocomplete-link {
  display: block;
}
.blpx-page-result.blpx-autocomplete-link,
.blpx-formation-result.blpx-autocomplete-link {
  padding-block: 8px;
  border-bottom: 1px solid #cbcbcb;
}
#search-btn-clear {
  position: sticky;
  top: 0;
  z-index: 11111;
  border-radius: 999px;
  margin-left: auto;
  margin-bottom: -48px;
  display: block;
  padding: 10px 18px;
  translate: 0px -8px;
}
.blpx-all-results.blpx-autocomplete-link {
  background: #fdc731;
  color: #fff !important;
  min-height: 60px;
  padding: 18px 32px;
  margin-top: 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.3125px;
  white-space: nowrap;
  margin-left: 8px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;

  @media (max-width: 420px) {
    margin-left: 0;
    width: 100%;
  }
}
.blpx-result-section.blpx-result-section--categories .blpx-result-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.blpx-result-section.blpx-result-section--categories
  .blpx-result-content
  .blpx-category-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header#site-header .topbar a.blpx-more-results.blpx-autocomplete-link {
  background: #1f2348;
  color: #fff !important;
  min-height: 60px;
  padding: 18px 32px;
  margin-top: 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.3125px;
  white-space: nowrap;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
  @media (max-width: 420px) {
    width: 100%;
  }
}
.blpx-category-count {
  font-size: 12px;
  font-style: italic;
  font-weight: 500;
  color: color(srgb 0.61 0.61 0.61);
}
.blpx-category-label {
  font-weight: 600;
}
#blpx-full-search-page .hit-category,
#blpx-full-search-page .hit-description {
  font-size: 14px;
}
#blpx-full-search-page .ais-RefinementList-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-block: 8px;
  border-bottom: 1px solid #c5c5c5;
  span.ais-RefinementList-labelText {
    width: 100%;
    text-align: left;
  }
  span.ais-RefinementList-count {
    font-size: 12px;
    font-weight: 500;
    color: color(srgb 0.61 0.61 0.61);
    font-style: italic;
  }
}
.ais-Pagination-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ais-Pagination-link {
  min-width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #0e1726;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.ais-Pagination-item.ais-Pagination-item--page.ais-Pagination-item--selected
  .ais-Pagination-link {
  background: #000;
  color: #fff;
}
.ais-SearchBox-form {
  display: flex;
  border-radius: 999px;
  overflow: hidden;
  width: max-content;
  max-width: 100%;
  border: 1px solid #c8c8c8;
}
.ais-SearchBox-input {
  border: none !important;
  outline: none;
}
.ais-SearchBox-submit {
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  background: var(--blue) !important;
  fill: #fff;
}
.ais-SearchBox-reset {
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  background: #ffc429 !important;
  fill: var(--blue);
}
.blpx-formation-visual img {
  max-width: 70px !important;
}
/* .entry-content {
  margin-top: 4em;
} */
h5.hit-title {
  display: -webkit-box;
  height: auto;
  min-height: 54px;
  margin: 0 0 14px;
  overflow: hidden;
  font-family: Arsenica Variable;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0%;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  a {
    text-decoration: none !important;
    color: #2e3156;
  }
}
article.hit-item {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--bpx-product-card-shadow, 0 10px 17.2px rgba(0, 0, 0, 0.08));
  overflow: hidden;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
span.product-price {
  font-family: Arsenica Variable;
  font-weight: 600;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0%;
}
.hit-content {
  padding-inline: 16px;
}
.hits-section-other {
  margin-block-start: 32px;
}

.no-results {
  font-size: 12px;
  color: #fdc831;
}

.search-container {
  flex-wrap: wrap !important;
}

@media (max-width: 420px) {
  .hits-section-product li.ais-Hits-item {
    flex: 0 0 calc(100% - (16px * 3 / 4)) !important;
    box-sizing: border-box;
  }
}
.search-main {
  width: 100%;
}
@media (max-width: 768px) {
  div#page.site.container {
    margin-top: 180px;
  }
  .single.single-product div#page.site.container {
    margin-top: 90px;
  }
}

div#page.site.container {
  margin-top: 100px;
}
div#pagination-products {
  margin-top: 24px;
}

div#hits-products ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media screen and (max-width: 1440px) {
  div#hits-products ol {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (max-width: 1024px) {
  div#hits-products ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 768px) {
  div#hits-products ol {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}
