/* =========================================================
   MIRACLE LIQUORS – PREMIUM MENUBALK
   Alle classes beginnen met custom-mlm-menubalk
   ========================================================= */


/* ---------------------------------------------------------
   1. VARIABELEN
   --------------------------------------------------------- */

.custom-mlm-menubalk {
  --custom-mlm-green-900: #29483e;
  --custom-mlm-green-850: #304d43;
  --custom-mlm-green-800: #375248;
  --custom-mlm-green-700: #45645a;

  --custom-mlm-gold: #ffc857;
  --custom-mlm-aqua: #80cda7;

  --custom-mlm-white: #ffffff;
  --custom-mlm-text-soft: rgba(255, 255, 255, 0.88);
  --custom-mlm-border: rgba(255, 255, 255, 0.12);

  --custom-mlm-height: 94px;

  position: relative;
  z-index: 99999;

  width: 100%;

  color: var(--custom-mlm-white);
  background:
    linear-gradient(
      135deg,
      var(--custom-mlm-green-800),
      var(--custom-mlm-green-900)
    );

  border-bottom: 2px solid var(--custom-mlm-gold);

  font-family: "Fauna One", serif;
}


/* ---------------------------------------------------------
   2. CONTAINER
   --------------------------------------------------------- */

.custom-mlm-menubalk-container {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(28px, 4vw, 64px);

  width: min(1360px, calc(100% - 48px));
  min-height: var(--custom-mlm-height);

  margin: 0 auto;
}


/* ---------------------------------------------------------
   3. LOGO
   --------------------------------------------------------- */

.custom-mlm-menubalk-logo {
  flex: 0 0 auto;
}


.custom-mlm-menubalk-logo a {
  display: flex;
  align-items: center;
}


.custom-mlm-menubalk-logo img {
  display: block;

  width: clamp(190px, 18vw, 270px);
  height: auto;

  margin: 0;
}


/* ---------------------------------------------------------
   4. HOOFDNAVIGATIE DESKTOP
   --------------------------------------------------------- */

.custom-mlm-menubalk-nav {
  justify-self: center;
}


.custom-mlm-menubalk-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 38px);

  margin: 0 !important;
  padding: 0 !important;

  list-style: none !important;
}


.custom-mlm-menubalk-item {
  position: relative;

  margin: 0 !important;
  padding: 0 !important;

  list-style: none !important;
}


.custom-mlm-menubalk-item::marker,
.custom-submenu li::marker {
  content: "";
}


.custom-mlm-menubalk-main-link {
  position: relative;

  display: flex;
  align-items: center;

  padding: 34px 0;

  color: var(--custom-mlm-white) !important;

  font-family: "Fauna One", serif;
  font-size: 0.83rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.075em;
  text-decoration: none !important;
  text-transform: uppercase;

  transition: color 0.22s ease;
}


.custom-mlm-menubalk-main-link::after {
  content: "";

  position: absolute;
  right: 0;
  bottom: 24px;
  left: 0;

  height: 1px;

  background-color: var(--custom-mlm-gold);

  transform: scaleX(0);
  transform-origin: center;

  transition: transform 0.22s ease;
}


.custom-mlm-menubalk-main-link:hover,
.custom-mlm-menubalk-main-link:focus-visible {
  color: var(--custom-mlm-gold) !important;
}


.custom-mlm-menubalk-main-link:hover::after,
.custom-mlm-menubalk-main-link:focus-visible::after {
  transform: scaleX(1);
}


/* ---------------------------------------------------------
   5. DESKTOP SUBMENU-PARENT
   --------------------------------------------------------- */

.custom-mlm-menubalk-parent {
  display: flex;
  align-items: center;
}


.custom-submenu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 28px;
  height: 40px;

  margin: 0 0 0 3px;
  padding: 0;

  color: var(--custom-mlm-white);

  background: transparent;
  border: 0;
  border-radius: 0;

  cursor: pointer;
}


.custom-submenu-arrow {
  display: block;

  width: 8px;
  height: 8px;

  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;

  transform: rotate(45deg) translate(-1px, -1px);
  transform-origin: center;

  transition:
    transform 0.22s ease,
    color 0.22s ease;
}


.custom-mlm-menubalk-item.submenu-open
.custom-submenu-arrow {
  color: var(--custom-mlm-gold);

  transform: rotate(225deg) translate(-1px, -1px);
}


/* ---------------------------------------------------------
   6. DESKTOP SUBMENU
   --------------------------------------------------------- */

.custom-submenu {
  position: absolute;
  top: calc(100% - 12px);
  left: 0;
  z-index: 10;

  width: max-content;
  min-width: 230px;

  margin: 0 !important;
  padding: 10px !important;

  list-style: none !important;

  background-color: var(--custom-mlm-green-900);

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 2px solid var(--custom-mlm-gold);
  border-radius: 3px;

  box-shadow: 0 18px 40px rgba(11, 28, 23, 0.24);

  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);

  pointer-events: none;

  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;
}


.custom-mlm-menubalk-item.submenu-open > .custom-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);

  pointer-events: auto;
}


.custom-submenu li {
  margin: 0 !important;
  padding: 0 !important;

  list-style: none !important;
}


.custom-submenu li a {
  display: flex;
  align-items: center;

  min-height: 43px;

  padding: 9px 13px;

  color: var(--custom-mlm-text-soft) !important;
  background-color: transparent;

  font-family: "Fauna One", serif;
  font-size: 0.79rem;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.025em;
  text-decoration: none !important;

  border-radius: 2px;

  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    padding-left 0.2s ease;
}


.custom-submenu li a:hover,
.custom-submenu li a:focus-visible {
  padding-left: 18px;

  color: var(--custom-mlm-gold) !important;
  background-color: rgba(255, 255, 255, 0.055);
}


/* ---------------------------------------------------------
   7. RECHTERZIJDE
   --------------------------------------------------------- */

.custom-mlm-menubalk-right {
  display: flex;
  align-items: center;
  gap: 12px;
}


/* ---------------------------------------------------------
   8. WINKELWAGEN
   --------------------------------------------------------- */

.custom-cart {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 54px;
  height: 54px;

  color: var(--custom-mlm-white) !important;
  background-color: rgba(255, 255, 255, 0.025);

  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;

  text-decoration: none !important;

  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}


.custom-cart i {
  font-size: 1.12rem;
}


.custom-cart:hover,
.custom-cart:focus-visible {
  color: var(--custom-mlm-green-900) !important;
  background-color: var(--custom-mlm-gold);
  border-color: var(--custom-mlm-gold);

  transform: translateY(-1px);
}


/* ---------------------------------------------------------
   9. MOBIELE MENUKNOP
   --------------------------------------------------------- */

.custom-mlm-menubalk-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;

  width: 54px;
  height: 54px;

  margin: 0;
  padding: 0;

  color: var(--custom-mlm-white);
  background-color: transparent;

  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;

  cursor: pointer;

  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}


.custom-mlm-menubalk-toggle span {
  display: block;

  width: 21px;
  height: 1.5px;

  background-color: currentColor;

  transition:
    transform 0.24s ease,
    opacity 0.2s ease;
}


.custom-mlm-menubalk-toggle.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}


.custom-mlm-menubalk-toggle.active span:nth-child(2) {
  opacity: 0;
}


.custom-mlm-menubalk-toggle.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}


/* ---------------------------------------------------------
   10. FOCUS
   --------------------------------------------------------- */

.custom-mlm-menubalk a:focus-visible,
.custom-mlm-menubalk button:focus-visible {
  outline: 2px solid var(--custom-mlm-gold);
  outline-offset: 3px;
}


/* =========================================================
   11. TABLET EN MOBIEL
   ========================================================= */

@media (max-width: 1100px) {

  body.custom-mlm-menubalk-is-open {
    overflow: hidden;
  }


  .custom-mlm-menubalk {
    --custom-mlm-height: 96px;
  }


  .custom-mlm-menubalk-container {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;

    width: 100%;
    min-height: var(--custom-mlm-height);

    padding: 0 22px;
  }


  .custom-mlm-menubalk-logo img {
    width: clamp(190px, 36vw, 265px);
  }


  .custom-mlm-menubalk-right {
    grid-column: 2;
  }


  .custom-cart,
  .custom-mlm-menubalk-toggle {
    width: 58px;
    height: 58px;
  }


  .custom-mlm-menubalk-toggle {
    display: flex;
  }


  /* -------------------------------------------------------
     Volledig mobiel menu
     ------------------------------------------------------- */

  .custom-mlm-menubalk-nav {
    position: fixed;
    top: var(--custom-mlm-height);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99998;

    display: block;

    width: 100%;
    height: calc(100dvh - var(--custom-mlm-height));

    padding: 0 0 32px;

    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;

    background:
      linear-gradient(
        160deg,
        var(--custom-mlm-green-900),
        var(--custom-mlm-green-800)
      );

    border-top: 1px solid rgba(255, 200, 87, 0.75);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);

    pointer-events: none;

    transition:
      opacity 0.22s ease,
      visibility 0.22s ease,
      transform 0.22s ease;
  }


  .custom-mlm-menubalk-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);

    pointer-events: auto;
  }


  .custom-mlm-menubalk-list {
    display: block;

    width: 100%;

    margin: 0 !important;
    padding: 0 !important;
  }


  .custom-mlm-menubalk-item {
    display: block;

    width: 100%;

    border-bottom: 1px solid var(--custom-mlm-border);
  }


  /* -------------------------------------------------------
     Hoofdlinks
     ------------------------------------------------------- */

  .custom-mlm-menubalk-item >
  .custom-mlm-menubalk-main-link {
    min-height: 74px;

    padding: 20px clamp(24px, 5vw, 52px);

    font-size: clamp(1.02rem, 3.2vw, 1.25rem);
    line-height: 1.35;
    letter-spacing: 0.08em;

    border: 0;
  }


  .custom-mlm-menubalk-main-link::after {
    display: none;
  }


  /* -------------------------------------------------------
     Hoofdlink met submenu-knop
     ------------------------------------------------------- */

  .custom-mlm-menubalk-parent {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 76px;
    align-items: stretch;

    width: 100%;
  }


  .custom-mlm-menubalk-parent
  .custom-mlm-menubalk-main-link {
    display: flex;
    align-items: center;

    min-height: 74px;

    padding: 20px clamp(24px, 5vw, 52px);

    font-size: clamp(1.02rem, 3.2vw, 1.25rem);
    line-height: 1.35;
    letter-spacing: 0.08em;
  }


  /* -------------------------------------------------------
     Mobiele submenu-knop
     ------------------------------------------------------- */

  .custom-submenu-toggle {
    width: 76px;
    height: auto;

    margin: 0;
    padding: 0;

    color: var(--custom-mlm-white);
    background-color: transparent;

    border: 0;
    border-left: 1px solid var(--custom-mlm-border);

    transition:
      color 0.2s ease,
      background-color 0.2s ease;
  }


  .custom-submenu-toggle:hover,
  .custom-submenu-toggle:focus-visible {
    color: var(--custom-mlm-gold);
    background-color: rgba(255, 255, 255, 0.035);
  }


  .custom-mlm-menubalk-item.submenu-open
  > .custom-mlm-menubalk-parent
  > .custom-submenu-toggle {
    color: var(--custom-mlm-gold);
    background-color: rgba(255, 200, 87, 0.06);
  }


  .custom-submenu-arrow {
    width: 10px;
    height: 10px;

    border-width: 2px;
  }


  /* -------------------------------------------------------
     Mobiel submenu
     ------------------------------------------------------- */

  .custom-submenu {
    position: static;

    display: grid;
    grid-template-rows: 0fr;

    width: 100%;
    min-width: 0;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden;

    background-color: var(--custom-mlm-green-850);

    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 0;

    box-shadow:
      inset 0 10px 24px rgba(0, 0, 0, 0.08);

    opacity: 1;
    visibility: visible;
    transform: none;

    pointer-events: none;

    transition:
      grid-template-rows 0.28s ease;
  }


  .custom-submenu::before {
    content: "";

    position: absolute;

    display: none;
  }


  .custom-mlm-menubalk-item.submenu-open
  > .custom-submenu {
    grid-template-rows: 1fr;

    pointer-events: auto;
  }


  .custom-submenu > li {
    min-height: 0;

    overflow: hidden;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }


  .custom-submenu > li:last-child {
    border-bottom: 0;
  }


  .custom-submenu > li > a {
    position: relative;

    display: flex;
    align-items: center;

    width: 100%;
    min-height: 58px;

    padding:
      14px
      clamp(34px, 8vw, 76px);

    color: var(--custom-mlm-text-soft) !important;
    background-color: transparent;

    font-size: clamp(0.92rem, 2.7vw, 1.05rem);
    line-height: 1.5;
    letter-spacing: 0.025em;

    border-radius: 0;

    opacity: 0;
    transform: translateY(-5px);

    transition:
      color 0.2s ease,
      background-color 0.2s ease,
      opacity 0.2s ease,
      transform 0.25s ease;
  }


  .custom-mlm-menubalk-item.submenu-open
  > .custom-submenu
  > li
  > a {
    opacity: 1;
    transform: translateY(0);
  }


  .custom-submenu > li > a::before {
    content: "";

    flex: 0 0 auto;

    width: 7px;
    height: 1px;

    margin-right: 13px;

    background-color: var(--custom-mlm-gold);

    opacity: 0.75;

    transition: width 0.2s ease;
  }


  .custom-submenu > li > a:hover,
  .custom-submenu > li > a:focus-visible {
    padding-left: clamp(34px, 8vw, 76px);

    color: var(--custom-mlm-gold) !important;
    background-color: rgba(255, 255, 255, 0.035);
  }


  .custom-submenu > li > a:hover::before,
  .custom-submenu > li > a:focus-visible::before {
    width: 14px;
  }

}


/* =========================================================
   12. KLEINE MOBIELE SCHERMEN
   ========================================================= */

@media (max-width: 600px) {

  .custom-mlm-menubalk {
    --custom-mlm-height: 88px;
  }


  .custom-mlm-menubalk-container {
    padding: 0 16px;
  }


  .custom-mlm-menubalk-logo img {
    width: clamp(175px, 48vw, 230px);
  }


  .custom-mlm-menubalk-right {
    gap: 9px;
  }


  .custom-cart,
  .custom-mlm-menubalk-toggle {
    width: 52px;
    height: 52px;
  }


  .custom-cart i {
    font-size: 1rem;
  }


  .custom-mlm-menubalk-parent {
    grid-template-columns: minmax(0, 1fr) 64px;
  }


  .custom-submenu-toggle {
    width: 64px;
  }


  .custom-mlm-menubalk-item >
  .custom-mlm-menubalk-main-link,
  .custom-mlm-menubalk-parent
  .custom-mlm-menubalk-main-link {
    min-height: 68px;

    padding-right: 22px;
    padding-left: 22px;

    font-size: 1rem;
  }


  .custom-submenu > li > a {
    min-height: 55px;

    padding-right: 32px;
    padding-left: 32px;

    font-size: 0.92rem;
  }


  .custom-submenu > li > a:hover,
  .custom-submenu > li > a:focus-visible {
    padding-left: 32px;
  }

}


/* =========================================================
   13. ZEER KLEINE SCHERMEN
   ========================================================= */

@media (max-width: 390px) {

  .custom-mlm-menubalk-logo img {
    width: 165px;
  }


  .custom-cart,
  .custom-mlm-menubalk-toggle {
    width: 48px;
    height: 48px;
  }


  .custom-mlm-menubalk-container {
    gap: 10px;
    padding: 0 12px;
  }

}


/* =========================================================
   14. MINDER ANIMATIE
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  .custom-mlm-menubalk *,
  .custom-mlm-menubalk *::before,
  .custom-mlm-menubalk *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

}

/* =========================================================
   MIRACLE LIQUORS MENUBALK
   DEFINITIEVE UITLIJNING DESKTOP + MOBIEL
   Plaats helemaal onderaan de menubalk-CSS
   ========================================================= */


/* =========================================================
   1. DESKTOP
   ========================================================= */

@media (min-width: 1101px) {

  /* Hoofditem met submenu */
  #custom-mlm-menubalk
  .custom-mlm-menubalk-item--has-submenu {
    position: relative !important;
  }


  /* Link en pijltje netjes als één geheel */
  #custom-mlm-menubalk
  .custom-mlm-menubalk-parent {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-height: 0 !important;
  }


  /* Desktop hoofdlink */
  #custom-mlm-menubalk
  .custom-mlm-menubalk-parent
  .custom-mlm-menubalk-main-link {
    width: auto !important;
    min-height: 0 !important;

    padding: 34px 0 !important;
  }


  /* Compact pijltje direct naast de hoofdlink */
  #custom-mlm-menubalk
  .custom-submenu-toggle {
    flex: 0 0 28px !important;

    width: 28px !important;
    min-width: 28px !important;
    height: 38px !important;
    min-height: 38px !important;

    margin: 0 0 0 4px !important;
    padding: 0 !important;

    color: #ffffff !important;
    background: transparent !important;

    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
  }


  /* Geopend pijltje alleen goud, geen kader */
  #custom-mlm-menubalk
  .custom-mlm-menubalk-item--has-submenu.submenu-open
  > .custom-mlm-menubalk-parent
  > .custom-submenu-toggle {
    color: #ffc857 !important;
    background: transparent !important;

    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
  }


  /* Submenu gecentreerd onder het volledige hoofditem */
  #custom-mlm-menubalk
  .custom-submenu {
    position: absolute !important;
    top: calc(100% - 12px) !important;
    right: auto !important;
    left: 50% !important;

    display: block !important;

    width: max-content !important;
    min-width: 250px !important;
    max-width: 310px !important;

    margin: 0 !important;
    padding: 10px !important;

    background: #29483e !important;

    border: 1px solid rgba(255, 200, 87, 0.45) !important;
    border-top: 2px solid #ffc857 !important;
    border-radius: 3px !important;

    box-shadow: 0 18px 40px rgba(11, 28, 23, 0.28) !important;

    opacity: 0 !important;
    visibility: hidden !important;

    transform: translate(-50%, 9px) !important;

    pointer-events: none !important;

    transition:
      opacity 0.2s ease,
      visibility 0.2s ease,
      transform 0.2s ease !important;
  }


  /* Klein decoratief puntje boven het submenu */
  #custom-mlm-menubalk
  .custom-submenu::before {
    content: "" !important;

    position: absolute !important;
    top: -7px !important;
    left: 50% !important;

    display: block !important;

    width: 12px !important;
    height: 12px !important;

    background: #29483e !important;

    border-top: 1px solid rgba(255, 200, 87, 0.55) !important;
    border-left: 1px solid rgba(255, 200, 87, 0.55) !important;

    transform: translateX(-50%) rotate(45deg) !important;
  }


  /* Geopend submenu */
  #custom-mlm-menubalk
  .custom-mlm-menubalk-item--has-submenu.submenu-open
  > .custom-submenu {
    opacity: 1 !important;
    visibility: visible !important;

    transform: translate(-50%, 0) !important;

    pointer-events: auto !important;
  }


  /* Desktop submenu-items */
  #custom-mlm-menubalk
  .custom-submenu > li {
    display: block !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
  }


  #custom-mlm-menubalk
  .custom-submenu > li > a {
    display: flex !important;
    align-items: center !important;

    width: 100% !important;
    min-height: 49px !important;

    margin: 0 !important;
    padding: 11px 14px !important;

    color: rgba(255, 255, 255, 0.9) !important;
    background: transparent !important;

    font-size: 0.82rem !important;
    line-height: 1.45 !important;

    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 0 !important;
  }


  #custom-mlm-menubalk
  .custom-submenu > li:last-child > a {
    border-bottom: 0 !important;
  }


  #custom-mlm-menubalk
  .custom-submenu > li > a:hover,
  #custom-mlm-menubalk
  .custom-submenu > li > a:focus-visible {
    padding-left: 19px !important;

    color: #ffc857 !important;
    background: rgba(255, 255, 255, 0.045) !important;
  }

}


/* =========================================================
   2. TABLET EN MOBIEL
   ========================================================= */

@media (max-width: 1100px) {

  /* Volledige navigatiebreedte herstellen */
  #custom-mlm-menubalk
  .custom-mlm-menubalk-nav {
    right: 0 !important;
    left: 0 !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 0 28px !important;
  }


  #custom-mlm-menubalk
  .custom-mlm-menubalk-list {
    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
  }


  #custom-mlm-menubalk
  .custom-mlm-menubalk-item {
    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
  }


  /* Reguliere hoofdlinks exact gelijk uitlijnen */
  #custom-mlm-menubalk
  .custom-mlm-menubalk-item
  > .custom-mlm-menubalk-main-link {
    display: flex !important;
    align-items: center !important;

    width: 100% !important;
    min-height: 70px !important;

    margin: 0 !important;
    padding:
      20px
      clamp(24px, 6vw, 38px) !important;

    color: #ffffff !important;
  }


  /* Rij van hoofdlink en submenu-knop */
  #custom-mlm-menubalk
  .custom-mlm-menubalk-parent {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 68px !important;
    align-items: stretch !important;

    width: 100% !important;
    min-height: 70px !important;

    margin: 0 !important;
    padding: 0 !important;
  }


  /* Webshop en Winkel dezelfde link-inspringing geven */
  #custom-mlm-menubalk
  .custom-mlm-menubalk-parent
  > .custom-mlm-menubalk-main-link {
    display: flex !important;
    align-items: center !important;

    width: 100% !important;
    min-width: 0 !important;
    min-height: 70px !important;

    margin: 0 !important;
    padding:
      20px
      clamp(24px, 6vw, 38px) !important;

    color: #ffffff !important;
  }


  /* Submenu-knop rustiger maken */
  #custom-mlm-menubalk
  .custom-submenu-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 68px !important;
    min-width: 68px !important;
    height: auto !important;
    min-height: 70px !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #ffffff !important;
    background: transparent !important;

    border: 0 !important;
    border-left: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 0 !important;

    outline: 0 !important;
    box-shadow: none !important;
  }


  /* Geopende knop: alleen subtiel goud */
  #custom-mlm-menubalk
  .custom-mlm-menubalk-item--has-submenu.submenu-open
  > .custom-mlm-menubalk-parent
  > .custom-submenu-toggle {
    color: #ffc857 !important;
    background: rgba(255, 200, 87, 0.05) !important;

    border: 0 !important;
    border-left: 1px solid rgba(255, 200, 87, 0.3) !important;

    outline: 0 !important;
    box-shadow: none !important;
  }


  /* Gesloten mobiel submenu */
  #custom-mlm-menubalk
  .custom-submenu {
    position: static !important;

    display: block !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    max-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;

    background: #304d43 !important;

    border: 0 !important;
    border-radius: 0 !important;

    box-shadow:
      inset 0 10px 22px rgba(0, 0, 0, 0.08) !important;

    opacity: 0 !important;
    visibility: hidden !important;

    transform: none !important;

    pointer-events: none !important;

    transition:
      max-height 0.32s ease,
      opacity 0.22s ease,
      visibility 0.22s ease !important;
  }


  /* Geen gele verticale balk */
  #custom-mlm-menubalk
  .custom-submenu::before {
    display: none !important;
    content: none !important;
  }


  /* Geopend mobiel submenu */
  #custom-mlm-menubalk
  .custom-mlm-menubalk-item--has-submenu.submenu-open
  > .custom-submenu {
    max-height: 520px !important;

    opacity: 1 !important;
    visibility: visible !important;

    pointer-events: auto !important;
  }


  /* Mobiele submenu-items */
  #custom-mlm-menubalk
  .custom-submenu > li {
    display: block !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;

    border: 0 !important;
  }


  /* Submenu-links */
  #custom-mlm-menubalk
  .custom-submenu > li > a {
    position: relative !important;

    display: flex !important;
    align-items: center !important;

    width: 100% !important;
    min-height: 57px !important;

    margin: 0 !important;
    padding:
      14px
      clamp(30px, 8vw, 52px) !important;

    color: rgba(255, 255, 255, 0.9) !important;
    background: transparent !important;

    font-size: 0.93rem !important;
    line-height: 1.45 !important;
    letter-spacing: 0.025em !important;

    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09) !important;
    border-radius: 0 !important;

    opacity: 1 !important;
    transform: none !important;
  }


  #custom-mlm-menubalk
  .custom-submenu > li:last-child > a {
    border-bottom: 0 !important;
  }


  /* Klein goud streepje vóór de tekst */
  #custom-mlm-menubalk
  .custom-submenu > li > a::before {
    content: "" !important;

    display: block !important;
    flex: 0 0 auto !important;

    width: 9px !important;
    height: 1px !important;

    margin: 0 14px 0 0 !important;

    background: #ffc857 !important;

    opacity: 0.8 !important;
  }


  #custom-mlm-menubalk
  .custom-submenu > li > a:hover,
  #custom-mlm-menubalk
  .custom-submenu > li > a:focus-visible {
    padding-left: clamp(30px, 8vw, 52px) !important;

    color: #ffc857 !important;
    background: rgba(255, 255, 255, 0.04) !important;
  }

}


/* =========================================================
   3. KLEINE MOBIELE SCHERMEN
   ========================================================= */

@media (max-width: 600px) {

  #custom-mlm-menubalk
  .custom-mlm-menubalk-parent {
    grid-template-columns: minmax(0, 1fr) 62px !important;
  }


  #custom-mlm-menubalk
  .custom-submenu-toggle {
    width: 62px !important;
    min-width: 62px !important;
  }


  #custom-mlm-menubalk
  .custom-mlm-menubalk-item
  > .custom-mlm-menubalk-main-link,
  #custom-mlm-menubalk
  .custom-mlm-menubalk-parent
  > .custom-mlm-menubalk-main-link {
    min-height: 66px !important;

    padding-right: 24px !important;
    padding-left: 24px !important;
  }


  #custom-mlm-menubalk
  .custom-submenu > li > a {
    min-height: 55px !important;

    padding-right: 30px !important;
    padding-left: 30px !important;
  }


  #custom-mlm-menubalk
  .custom-submenu > li > a:hover,
  #custom-mlm-menubalk
  .custom-submenu > li > a:focus-visible {
    padding-left: 30px !important;
  }

}

