.pmm-menu-root {
  --pmm-text: #3f5a73;
  --pmm-accent: #2e74b5;
  --pmm-border: #c5cfd7;
  --pmm-bg: #ffffff;
  --pmm-panel-bg: #ececec;
  --pmm-panel-width: min(100vw, 1440px);
  --pmm-panel-gap: clamp(28px, 3vw, 64px);
  position: relative;
  width: 100%;
  color: var(--pmm-text);
  font-family: "Helvetica Neue", "Arial", sans-serif;
}

.pmm-menu-root a {
  color: inherit;
  text-decoration: none;
}

.pmm-topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 86px;
  background: var(--pmm-bg);
  padding: 0 clamp(16px, 2vw, 30px);
}

.pmm-brand {
  letter-spacing: 0.2em;
  font-weight: 300;
  line-height: 1.2;
  font-size: clamp(16px, 1.6vw, 34px);
  text-transform: uppercase;
}

.pmm-menu-list {
  display: flex;
  gap: clamp(16px, 2.2vw, 48px);
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.pmm-menu-item {
  position: relative;
}

.pmm-menu-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  font-size: clamp(16px, 1.05vw, 32px);
  line-height: 1;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.pmm-menu-link:hover,
.pmm-mobile-link:hover,
.pmm-mobile-open-sub:hover,
.pmm-mobile-open-panel:hover,
.pmm-mobile-back:hover {
  color: var(--pmm-accent);
}

.pmm-chevron {
  font-size: 11px;
}

.pmm-mega-panel {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  width: 100%;
  z-index: 40;
  background: var(--pmm-panel-bg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
}

.pmm-menu-root.is-mega-open .pmm-mega-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.pmm-menu-root[data-mega-width-mode="full"] .pmm-mega-panel {
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
  display: flex;
  justify-content: var(--pmm-panel-full-content-align, center);
}

.pmm-menu-root[data-mega-width-mode="full"] .pmm-mega-grid {
  max-width: var(--pmm-panel-full-content-width, 1200px);
  width: min(100%, var(--pmm-panel-full-content-width, 1200px));
  margin: 0;
}

.pmm-mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: var(--pmm-panel-width);
  width: min(100%, var(--pmm-panel-width));
  margin: 0 auto;
  gap: var(--pmm-panel-gap);
  padding: clamp(26px, 3vw, 56px) clamp(20px, 3vw, 72px);
  box-sizing: border-box;
}

.pmm-mega-title {
  margin: 0 0 10px 0;
  font-size: clamp(16px, 1.2vw, 28px);
  font-weight: 400;
  text-transform: none;
}

.pmm-mega-section-heading {
  display: inline-block;
  font-size: clamp(22px, 1.6vw, 42px);
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  color: var(--pmm-text);
  opacity: 1;
  margin-top: 0;
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
  line-height: 1.35;
}

.pmm-mega-item--heading {
  margin-bottom: 9px;
}

.pmm-mega-items,
.pmm-sub-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pmm-mega-item {
  margin-bottom: 9px;
}

.pmm-mega-link {
  font-size: clamp(18px, 1.4vw, 36px);
  line-height: 1.35;
  display: inline-block;
  font-weight: 700;
  padding-left: 0;
  margin-left: 0;
}

.pmm-sub-list {
  margin-top: 6px;
}

.pmm-sub-list li a {
  display: block;
  font-size: clamp(14px, 1.1vw, 24px);
  margin-bottom: 6px;
  font-weight: 400;
  padding-left: clamp(14px, 1.5vw, 20px);
}

.pmm-mobile-toggle,
.pmm-mobile-overlay {
  display: none;
}

.pmm-mobile-toggle {
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 26px;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
  border-radius: 0;
  padding: 4px 8px;
  line-height: 1;
}

.pmm-mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #f1f1f1;
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  width: min(440px, 95vw);
  max-width: 100%;
  border-right: 1px solid var(--pmm-border);
  overflow-x: hidden;
  overflow-y: auto;
}

.pmm-menu-root.is-mobile-open .pmm-mobile-overlay {
  transform: translateX(0);
}

.pmm-mobile-head {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--pmm-border);
  background: #fff;
}

.pmm-mobile-brand {
  font-size: 15px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.pmm-mobile-close {
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 30px;
  line-height: 1;
}

.pmm-mobile-panels {
  position: relative;
  overflow: hidden;
  contain: paint;
}

.pmm-mobile-panel {
  position: absolute;
  inset: 0;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  background: #f1f1f1;
  min-height: calc(100vh - 68px);
}

.pmm-mobile-panel.is-active {
  position: relative;
  transform: translateX(0);
}

.pmm-mobile-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pmm-mobile-item,
.pmm-mobile-divider,
.pmm-mobile-back {
  border-bottom: 1px solid rgba(197, 207, 215, 0.6);
}

.pmm-mobile-link,
.pmm-mobile-open-sub,
.pmm-mobile-open-panel,
.pmm-mobile-back {
  width: 100%;
  min-height: 42px;
  text-align: left;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  color: inherit;
  background: transparent;
  border: 0;
  text-transform: uppercase;
  box-shadow: none;
  transition: color 0.18s ease;
}

/* Override theme/Elementor default hover backgrounds for mobile links/buttons */
.pmm-menu-root .pmm-mobile-overlay .pmm-mobile-link:hover,
.pmm-menu-root .pmm-mobile-overlay .pmm-mobile-link:focus,
.pmm-menu-root .pmm-mobile-overlay .pmm-mobile-link:active,
.pmm-menu-root .pmm-mobile-overlay .pmm-mobile-open-sub:hover,
.pmm-menu-root .pmm-mobile-overlay .pmm-mobile-open-sub:focus,
.pmm-menu-root .pmm-mobile-overlay .pmm-mobile-open-sub:active,
.pmm-menu-root .pmm-mobile-overlay .pmm-mobile-open-panel:hover,
.pmm-menu-root .pmm-mobile-overlay .pmm-mobile-open-panel:focus,
.pmm-menu-root .pmm-mobile-overlay .pmm-mobile-open-panel:active,
.pmm-menu-root .pmm-mobile-overlay .pmm-mobile-back:hover,
.pmm-menu-root .pmm-mobile-overlay .pmm-mobile-back:focus,
.pmm-menu-root .pmm-mobile-overlay .pmm-mobile-back:active {
  background: transparent !important;
  box-shadow: none !important;
  text-decoration: none;
}

.pmm-mobile-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  line-height: 1;
  font-size: 24px;
}

.pmm-mobile-back {
  min-height: 48px;
}

.pmm-mobile-divider {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  text-transform: uppercase;
  font-weight: 600;
}

.pmm-mobile-sub-toggle {
  position: absolute;
  right: 12px;
  top: 21px;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: inherit;
  font-size: 18px;
  line-height: 1;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}

.pmm-menu-root .pmm-mobile-overlay .pmm-mobile-sub-toggle,
.pmm-menu-root .pmm-mobile-overlay .pmm-mobile-sub-toggle:hover,
.pmm-menu-root .pmm-mobile-overlay .pmm-mobile-sub-toggle:focus,
.pmm-menu-root .pmm-mobile-overlay .pmm-mobile-sub-toggle:active {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.pmm-mobile-item {
  position: relative;
}

.pmm-mobile-sub {
  list-style: none;
  margin: 0;
  padding: 4px 0 8px 20px;
  display: none;
  border-top: 0;
}

.pmm-mobile-item.is-open > .pmm-mobile-sub {
  display: block;
}

.pmm-mobile-sub li a {
  display: block;
  padding: 8px 14px;
  text-transform: none;
  font-size: 15px;
  background: transparent;
}

.pmm-mobile-sub li {
  border-bottom: 0;
}

@media (max-width: 1024px) {
  .pmm-topbar {
    justify-content: space-between;
    min-height: 64px;
    gap: 12px;
  }

  .pmm-brand {
    font-size: 18px;
    letter-spacing: 0.12em;
  }

  .pmm-menu-list,
  .pmm-mega-panel {
    display: none;
  }

  .pmm-mobile-toggle,
  .pmm-mobile-overlay {
    display: block;
  }
}
