.dgo-menu {
  --dgo-menu-top: 193px;
  --dgo-menu-green: var(--mx-green, #4b9418);
  --dgo-menu-green-dark: var(--mx-green-dark, #2f7010);
  --dgo-menu-ink: var(--mx-ink, #111820);
  --dgo-menu-muted: var(--mx-muted, #607080);
  --dgo-menu-line: var(--mx-line, #dce2e6);
  --dgo-menu-white: var(--mx-white, #fff);
  letter-spacing: 0;
}

.dgo-menu *,
.dgo-menu *::before,
.dgo-menu *::after {
  box-sizing: border-box;
  letter-spacing: 0;
}

.dgo-menu__mobile-toggle,
.dgo-menu__mobile-head,
.dgo-menu__backdrop {
  display: none;
}

.dgo-menu__nav {
  height: 100%;
}

.dgo-menu__root {
  display: grid;
  grid-template-columns: repeat(var(--dgo-menu-items), minmax(0, 1fr));
  width: 100%;
  height: 100%;
  align-items: stretch;
  gap: 4px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.dgo-menu__item {
  display: flex;
  min-width: 0;
  height: 54px;
  align-items: stretch;
  border-bottom: 4px solid transparent;
}

.dgo-menu__item.is-open,
.dgo-menu__item.is-current {
  border-bottom-color: var(--dgo-menu-green);
}

.dgo-menu__trigger {
  position: relative;
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: center;
  padding: 0 19px 0 0;
}

.dgo-menu__root-link {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  color: var(--dgo-menu-ink) !important;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
}

.dgo-menu__root-icon {
  width: auto;
  flex: 0 0 auto;
  color: var(--dgo-menu-ink);
  font-size: 18px;
  line-height: 1;
  text-align: center;
}

.dgo-menu__root-product-icon {
  display: block;
  width: 44px;
  height: 30px;
  flex: 0 0 30px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.dgo-menu__root-label {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.dgo-menu__toggle {
  position: absolute;
  right: 0;
  display: inline-flex;
  width: 22px;
  height: 32px;
  flex: 0 0 22px;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--dgo-menu-ink);
}

.dgo-menu__toggle .material-icons {
  font-size: 17px;
  transition: transform 160ms ease;
}

.dgo-menu__item.is-open .dgo-menu__toggle .material-icons {
  transform: rotate(180deg);
}

.dgo-menu__root-link:hover,
.dgo-menu__root-link:focus-visible,
.dgo-menu__toggle:hover,
.dgo-menu__toggle:focus-visible {
  color: var(--dgo-menu-green-dark) !important;
}

.dgo-menu__root-link:focus-visible,
.dgo-menu__toggle:focus-visible,
.dgo-menu__panel a:focus-visible,
.dgo-menu__mobile-head button:focus-visible,
.dgo-menu__mobile-toggle:focus-visible {
  outline: 2px solid var(--dgo-menu-green);
  outline-offset: 2px;
}

.dgo-menu__panel {
  position: fixed;
  z-index: 9998;
  top: var(--dgo-menu-top);
  right: 0;
  left: 0;
  visibility: hidden;
  max-height: calc(100vh - var(--dgo-menu-top));
  overflow: auto;
  border-top: 3px solid var(--dgo-menu-green);
  background: #f6f8f5;
  box-shadow: 0 18px 36px rgb(12 24 32 / 14%);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 130ms ease, transform 130ms ease, visibility 130ms ease;
}

.dgo-menu__item.is-open .dgo-menu__panel,
.dgo-menu__item:hover .dgo-menu__panel,
.dgo-menu__item:focus-within .dgo-menu__panel {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dgo-menu__panel-inner {
  width: min(calc(100% - 64px), 1500px);
  margin: 0 auto;
  padding: 22px 0 28px;
}

.dgo-menu__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.dgo-menu__panel-head > div {
  display: grid;
  gap: 2px;
}

.dgo-menu__panel-head strong {
  color: var(--dgo-menu-ink);
  font-size: 21px;
  font-weight: 900;
  text-transform: uppercase;
}

.dgo-menu__eyebrow {
  color: var(--dgo-menu-green-dark);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.dgo-menu__panel-head > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--dgo-menu-green-dark) !important;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.dgo-menu__panel-head > a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dgo-menu__panel-head .material-icons {
  font-size: 19px;
}

.dgo-menu__panel-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 38px;
  align-items: start;
}

.dgo-menu__panel-layout--wide {
  grid-template-columns: minmax(0, 1fr);
}

.dgo-menu__children {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 24px;
}

.dgo-menu__panel-layout--wide .dgo-menu__children {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dgo-menu__child {
  min-width: 0;
  border-left: 2px solid #dce4d8;
  padding-left: 14px;
  transition: border-color 140ms ease;
}

.dgo-menu__child:hover,
.dgo-menu__child:focus-within {
  border-left-color: var(--dgo-menu-green);
}

.dgo-menu__child-link {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 0;
  color: var(--dgo-menu-ink) !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  text-transform: uppercase;
}

.dgo-menu__child-link span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.dgo-menu__child-link .material-icons {
  flex: 0 0 auto;
  color: var(--dgo-menu-green);
  font-size: 18px;
}

.dgo-menu__child-link:hover span,
.dgo-menu__child-link:focus-visible span {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dgo-menu__child ul {
  display: grid;
  gap: 6px;
  padding: 7px 0 2px;
  margin: 0;
  list-style: none;
}

.dgo-menu__child li a {
  color: var(--dgo-menu-muted) !important;
  font-size: 13px;
  text-decoration: none;
}

.dgo-menu__child li a:hover {
  color: var(--dgo-menu-ink) !important;
  text-decoration: underline;
}

.dgo-menu__featured {
  display: grid;
  min-width: 0;
  gap: 10px;
  border-left: 1px solid var(--dgo-menu-line);
  padding: 0 8px 2px 30px;
  color: var(--dgo-menu-ink) !important;
  text-decoration: none !important;
}

.dgo-menu__featured-kicker {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--dgo-menu-green-dark);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.dgo-menu__featured-kicker .material-icons {
  font-size: 18px;
}

.dgo-menu__featured-visual {
  display: flex;
  height: 144px;
  align-items: center;
  justify-content: center;
  background: var(--dgo-menu-white);
}

.dgo-menu__featured-visual img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 10px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.dgo-menu__featured > strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--dgo-menu-ink);
  font-size: 14px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.dgo-menu__featured-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--dgo-menu-green-dark);
  font-size: 12px;
  font-weight: 800;
}

.dgo-menu__featured-link .material-icons {
  font-size: 17px;
  transition: transform 140ms ease;
}

.dgo-menu__featured:hover .dgo-menu__featured-link .material-icons,
.dgo-menu__featured:focus-visible .dgo-menu__featured-link .material-icons {
  transform: translateX(3px);
}

@media (max-width: 1399px) and (min-width: 1200px) {
  .dgo-menu__root-link {
    font-size: 10px;
  }

  .dgo-menu__trigger {
    padding-right: 17px;
    padding-left: 0;
  }

  .dgo-menu__root-icon {
    width: auto;
    flex-basis: auto;
    font-size: 17px;
  }

  .dgo-menu__root-product-icon {
    width: 40px;
    height: 28px;
    flex-basis: 28px;
  }

  .dgo-menu__toggle {
    width: 18px;
    flex-basis: 18px;
  }
}

@media (max-width: 1199.98px) {
  body.dgo-menu-open {
    overflow: hidden;
  }

  .dgo-menu.maxter-nav {
    display: flex;
    align-items: center;
    padding-top: 0;
  }

  .dgo-menu__mobile-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--dgo-menu-ink);
  }

  .dgo-menu__nav {
    position: fixed;
    z-index: 10001;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(92vw, 430px);
    height: 100dvh;
    overflow-y: auto;
    background: var(--dgo-menu-white);
    box-shadow: 10px 0 30px rgb(10 20 28 / 18%);
    transform: translateX(-105%);
    transition: transform 220ms ease;
  }

  .dgo-menu.is-mobile-open .dgo-menu__nav {
    transform: translateX(0);
  }

  .dgo-menu__mobile-head {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--dgo-menu-line);
    padding: 0 18px;
  }

  .dgo-menu__mobile-head strong {
    color: var(--dgo-menu-ink);
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
  }

  .dgo-menu__mobile-head button {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--dgo-menu-ink);
  }

  .dgo-menu__root {
    display: block;
    height: auto;
    padding: 0 18px 28px;
  }

  .dgo-menu__item,
  .dgo-menu__item.is-open,
  .dgo-menu__item.is-current {
    display: block;
    height: auto;
    border-bottom: 1px solid var(--dgo-menu-line);
  }

  .dgo-menu__trigger {
    min-height: 58px;
    justify-content: space-between;
    padding: 0;
  }

  .dgo-menu__root-link {
    display: flex;
    max-width: none;
    flex: 1 1 auto;
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    padding: 18px 52px 18px 0;
    overflow: visible;
    color: var(--dgo-menu-ink) !important;
    font-size: 14px;
    line-height: 1.35;
    text-align: left;
    -webkit-line-clamp: initial;
  }

  .dgo-menu__root-icon {
    width: 24px;
    flex-basis: 24px;
    color: var(--dgo-menu-green-dark);
    font-size: 22px;
  }

  .dgo-menu__root-product-icon {
    width: 36px;
    height: 30px;
    flex-basis: 36px;
  }

  .dgo-menu__root-label {
    display: block;
    overflow: visible;
  }

  .dgo-menu__toggle {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .dgo-menu__toggle .material-icons {
    color: var(--dgo-menu-green);
    font-size: 22px;
  }

  .dgo-menu__panel,
  .dgo-menu__item:hover .dgo-menu__panel,
  .dgo-menu__item:focus-within .dgo-menu__panel {
    position: static;
    visibility: visible;
    max-height: 0;
    overflow: hidden;
    border: 0;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition: max-height 220ms ease;
  }

  .dgo-menu__item.is-open .dgo-menu__panel {
    max-height: 1800px;
  }

  .dgo-menu__panel-inner {
    width: 100%;
    border: 0;
    padding: 0 0 14px 14px;
  }

  .dgo-menu__panel-head {
    display: none;
  }

  .dgo-menu__children {
    display: block;
  }

  .dgo-menu__panel-layout {
    display: block;
  }

  .dgo-menu__featured {
    display: none;
  }

  .dgo-menu__child,
  .dgo-menu__child:hover,
  .dgo-menu__child:focus-within {
    border-left: 0;
    padding-left: 0;
  }

  .dgo-menu__child-link {
    min-height: 46px;
    font-size: 13px;
    text-transform: none;
  }

  .dgo-menu__child ul {
    padding-left: 14px;
  }

  .dgo-menu__backdrop {
    position: fixed;
    z-index: 10000;
    inset: 0;
    display: block;
    visibility: hidden;
    border: 0;
    padding: 0;
    background: rgb(2 7 12 / 48%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, visibility 180ms ease;
  }

  .dgo-menu.is-mobile-open .dgo-menu__backdrop {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 767.98px) {
  .dgo-menu.maxter-nav {
    display: contents;
  }

  .dgo-menu__mobile-toggle {
    grid-column: 1;
    grid-row: 1;
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dgo-menu__panel,
  .dgo-menu__nav,
  .dgo-menu__backdrop,
  .dgo-menu__toggle .material-icons {
    transition: none;
  }
}
