.gmm,
.gmm * {
  box-sizing: border-box;
}

.gmm {
  --gmm-gold: #fbbe01;
  --gmm-black: #080808;
  --gmm-text: #f7f5f0;
  width: 100%;
  font-family: Arial, Helvetica, sans-serif;
}

.gmm ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.gmm__root {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.gmm__item--root {
  position: relative;
}

.gmm__line {
  display: flex;
  align-items: stretch;
  height: 100%;
}

.gmm__link--root {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 60px;
  padding: 0 15px;
  color: var(--gmm-gold);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  text-decoration: none;
  text-shadow: none !important;
  text-transform: uppercase;
  transition: color .18s ease;
}

.gmm__item--parent > .gmm__line > .gmm__link--root::after {
  width: 0;
  height: 0;
  margin-top: 3px;
  border-top: 4px solid currentColor;
  border-right: 3px solid transparent;
  border-left: 3px solid transparent;
  content: "";
  opacity: .68;
}

.gmm__link--root:hover,
.gmm__link--root:focus-visible,
.gmm__item--parent:hover > .gmm__line > .gmm__link--root,
.gmm__item--parent:focus-within > .gmm__line > .gmm__link--root {
  color: #fff;
  text-decoration: none;
}

.gmm__toggle {
  display: none;
  align-items: center;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: currentColor;
  cursor: pointer;
}

.gmm__toggle span {
  display: block;
  width: 8px;
  height: 8px;
  border-right: 2px solid;
  border-bottom: 2px solid;
  transform: rotate(45deg);
  transition: transform .2s ease;
}

.gmm__badge {
  align-self: center;
  padding: 4px 6px;
  border-radius: 999px;
  background: var(--gmm-badge, var(--gmm-gold));
  color: #111;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.gmm__panel {
  position: absolute;
  top: calc(100% - 1px);
  left: 50%;
  z-index: 1000;
  max-width: calc(100vw - 32px);
  max-height: min(700px, calc(100vh - 100px));
  padding: 17px 25px 20px;
  overflow: auto;
  border: 1px solid rgba(251, 190, 1, .52);
  border-top: 2px solid var(--gmm-gold);
  border-bottom: 3px solid var(--gmm-gold);
  border-radius: 0 0 12px 12px;
  background: linear-gradient(145deg, #121212 0%, #050505 100%);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .36);
  color: var(--gmm-text);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -7px);
  visibility: hidden;
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
  scrollbar-color: #4a410d #111;
  scrollbar-width: thin;
}

.gmm__panel--1 {
  width: 370px;
}

.gmm__panel--2 {
  width: 700px;
}

.gmm__panel--3 {
  width: 960px;
}

.gmm__panel--4 {
  width: 1120px;
}

.gmm__panel::-webkit-scrollbar {
  width: 7px;
}

.gmm__panel::-webkit-scrollbar-track {
  background: #111;
}

.gmm__panel::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: #4a410d;
}

.gmm__item--parent:hover > .gmm__panel,
.gmm__item--parent:focus-within > .gmm__panel {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  visibility: visible;
}

.gmm__columns {
  display: grid;
  gap: 0;
}

.gmm__columns--1 {
  grid-template-columns: 1fr;
}

.gmm__columns--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gmm__columns--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gmm__columns--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gmm__column {
  min-width: 0;
  padding: 0 22px;
}

.gmm__column:first-child {
  padding-left: 0;
}

.gmm__column:last-child {
  padding-right: 0;
}

.gmm__column + .gmm__column {
  border-left: 1px solid rgba(255, 255, 255, .11);
}

.gmm__column-title {
  margin: 0 0 8px;
  padding: 0 4px 8px;
  border-bottom: 1px solid rgba(251, 190, 1, .55);
}

.gmm__column-heading {
  display: block;
  color: var(--gmm-gold);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.3;
  text-transform: uppercase;
}

.gmm__child > a {
  display: block;
  padding: 7px 9px;
  border-left: 2px solid transparent;
  border-radius: 4px;
  color: #e9e7e2;
  text-decoration: none;
  transition: border-color .14s ease, background-color .14s ease, color .14s ease, transform .14s ease;
}

.gmm__child > a:hover,
.gmm__child > a:focus-visible {
  border-left-color: var(--gmm-gold);
  background: rgba(251, 190, 1, .09);
  color: #fff;
  text-decoration: none;
  transform: translateX(2px);
}

.gmm__child-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
}

.gmm__child small {
  display: block;
  margin-top: 3px;
  color: #aaa69f;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.35;
}

.gmm__category-heading {
  margin: 0 0 4px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.gmm__category-heading:not(:first-child) {
  margin-top: 13px;
}

.gmm__category-heading > a {
  padding: 6px 4px;
  border-left: 0;
  color: var(--gmm-gold);
}

.gmm__category-heading > a:hover,
.gmm__category-heading > a:focus-visible {
  border-left: 0;
  background: transparent;
  color: #ffe078;
  transform: none;
}

.gmm__category-heading .gmm__child-title {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.gmm__category-under-group > a {
  color: var(--gmm-gold);
}

.gmm__category-under-group .gmm__child-title {
  font-size: 16.5px;
  font-weight: 500;
}

.gmm__category-leaf > a {
  padding-top: 5px;
  padding-bottom: 5px;
  color: #ebe8e2;
}

.gmm__category-leaf .gmm__child-title {
  font-size: 15.5px;
}

.gmm__category-depth-3 > a {
  padding-left: 20px;
  color: #bbb7b0;
}

.gmm__category-depth-4 > a {
  padding-left: 31px;
  color: #aaa69f;
}

.gmm__category-depth-5 > a,
.gmm__category-depth-6 > a,
.gmm__category-depth-7 > a,
.gmm__category-depth-8 > a {
  padding-left: 42px;
  color: #99958e;
}

@media (min-width: 992px) {
  .gmm__item--root:first-child .gmm__panel {
    left: 0;
    transform: translateY(-7px);
  }

  .gmm__item--root:first-child:hover > .gmm__panel,
  .gmm__item--root:first-child:focus-within > .gmm__panel {
    transform: translateY(0);
  }

  .gmm__item--root:last-child .gmm__panel {
    right: 0;
    left: auto;
    transform: translateY(-7px);
  }

  .gmm__item--root:last-child:hover > .gmm__panel,
  .gmm__item--root:last-child:focus-within > .gmm__panel {
    transform: translateY(0);
  }
}

@media (max-width: 991px) {
  .gmm {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .gmm__root {
    display: block;
    width: 100%;
  }

  .gmm__item--root {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

  .gmm__line {
    align-items: center;
    width: 100%;
  }

  .gmm__link--root {
    min-height: 0;
    flex: 1;
    padding: 14px 16px;
    color: #fff !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.35;
    text-transform: none;
  }

  .gmm__item--parent > .gmm__line > .gmm__link--root::after {
    display: none;
  }

  .gmm__toggle {
    display: flex;
    justify-content: center;
    width: 52px;
    min-width: 52px;
    min-height: 48px;
    color: #fff;
    touch-action: manipulation;
  }

  .gmm__toggle[aria-expanded="true"] span {
    transform: rotate(225deg);
  }

  .gmm__panel,
  .gmm__panel--1,
  .gmm__panel--2,
  .gmm__panel--3,
  .gmm__panel--4 {
    position: static;
    display: none;
    right: auto;
    left: auto;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    max-height: none;
    margin: 0;
    padding: 8px 12px 14px 17px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: rgba(255, 255, 255, .045);
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none !important;
    visibility: visible;
  }

  .gmm__item--open > .gmm__panel {
    display: block;
  }

  .gmm__columns,
  .gmm__columns--1,
  .gmm__columns--2,
  .gmm__columns--3,
  .gmm__columns--4 {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .gmm__column {
    width: 100%;
    min-width: 0;
    padding: 0;
  }

  .gmm__child > a {
    width: 100%;
    padding-top: 9px;
    padding-bottom: 9px;
    color: #f4f2ed !important;
    overflow-wrap: anywhere;
    transform: none !important;
  }

  .gmm__child-title {
    color: inherit !important;
    font-size: 16px !important;
    font-weight: 400;
    line-height: 1.4;
  }

  .gmm__category-heading > a {
    padding-top: 11px;
    padding-bottom: 8px;
    color: var(--gmm-gold) !important;
  }

  .gmm__category-heading .gmm__child-title {
    font-size: 15px !important;
    font-weight: 500;
    letter-spacing: 0;
  }

  .gmm__category-depth-3 > a,
  .gmm__category-depth-4 > a,
  .gmm__category-depth-5 > a,
  .gmm__category-depth-6 > a,
  .gmm__category-depth-7 > a,
  .gmm__category-depth-8 > a {
    color: #dedbd5 !important;
  }

  .gmm__column + .gmm__column {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    border-left: 0;
  }

  .gmm__column-title {
    margin-top: 5px;
    padding-top: 7px;
  }

  .gmm__column-heading {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gmm__panel,
  .gmm__link--root,
  .gmm__child > a,
  .gmm__toggle span {
    transition: none;
  }
}
