.thecore-fullscreen-menu {
  display: flex;
  position: relative;
  --thecore-fsm-toggle-color: #ff5252;
  --thecore-fsm-toggle-open-color: #ffffff;
  --thecore-fsm-overlay-color: #777777;
  --thecore-fsm-overlay-opacity: 0.9;
  --thecore-fsm-toggle-top: 5;
  --thecore-fsm-toggle-right: 2;
  --thecore-fsm-desktop-link-color: #111111;
  --thecore-fsm-desktop-font-family: inherit;
  --thecore-fsm-desktop-font-size: 16px;
  --thecore-fsm-desktop-font-weight: 400;
  --thecore-fsm-desktop-line-height: 1.2em;
  --thecore-fsm-desktop-letter-spacing: 0px;
  --thecore-fsm-desktop-font-style: normal;
  --thecore-fsm-desktop-text-decoration: none;
  --thecore-fsm-desktop-text-transform: none;
  --thecore-fsm-overlay-link-color: #ffffff;
  --thecore-fsm-overlay-font-family: inherit;
  --thecore-fsm-overlay-font-size: 16px;
  --thecore-fsm-overlay-font-weight: 400;
  --thecore-fsm-overlay-line-height: 1.2em;
  --thecore-fsm-overlay-letter-spacing: 0px;
  --thecore-fsm-overlay-font-style: normal;
  --thecore-fsm-overlay-text-decoration: none;
  --thecore-fsm-overlay-text-transform: none;
}

.thecore-fullscreen-menu__desktop-nav {
  display: flex;
  align-items: center;
  width: 100%;
  text-align: center;
}

.thecore-fullscreen-menu__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 1.5625rem;
  cursor: pointer;
  z-index: 100;
  transition: opacity 0.25s ease;
  background: transparent;
  border: 0;
  padding: 0;
  position: relative;
  top: calc(var(--thecore-fsm-toggle-top) * 1%);
  right: calc(var(--thecore-fsm-toggle-right) * 1%);
  color: var(--thecore-fsm-toggle-color);
}

.thecore-fullscreen-menu__toggle-bar {
  display: block;
  width: 100%;
  height: 0.1875rem;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.35s ease, opacity 0.35s ease, background-color 0.35s ease;
}

.thecore-fullscreen-menu__toggle--text {
  inline-size: auto;
  min-inline-size: 2.75rem;
  min-block-size: 2.75rem;
}

.thecore-fullscreen-menu__toggle-bar--middle {
  margin: 0.25rem 0;
}

.thecore-fullscreen-menu.is-open .thecore-fullscreen-menu__toggle-bar--top {
  transform: translateY(0.4375rem) rotate(45deg);
}

.thecore-fullscreen-menu.is-open .thecore-fullscreen-menu__toggle-bar--middle {
  opacity: 0;
}

.thecore-fullscreen-menu.is-open .thecore-fullscreen-menu__toggle-bar--bottom {
  transform: translateY(-0.4375rem) rotate(-45deg);
}

.thecore-fullscreen-menu.is-open .thecore-fullscreen-menu__toggle {
  color: var(--thecore-fsm-toggle-open-color);
}

.thecore-fullscreen-menu__overlay {
  display: flex;
  justify-content: center;
  position: fixed;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
  background: var(--thecore-fsm-overlay-color);
  transition: opacity 0.35s ease, visibility 0.35s ease;
  z-index: 99;
}

.thecore-fullscreen-menu__overlay[hidden] {
  display: none;
}

.thecore-fullscreen-menu.is-open .thecore-fullscreen-menu__overlay {
  visibility: visible;
  opacity: var(--thecore-fsm-overlay-opacity);
  pointer-events: auto;
}

.thecore-fullscreen-menu__overlay-nav {
  position: relative;
  width: 100%;
  text-align: center;
  padding: 6rem 1.5rem 2rem;
}

.thecore-fullscreen-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  gap: 1.875rem;
}

.thecore-fullscreen-menu__desktop-nav .thecore-fullscreen-menu__list {
  flex-direction: row;
  min-height: auto;
}

.thecore-fullscreen-menu__item {
  position: relative;
}

.thecore-fullscreen-menu__desktop-nav .thecore-fullscreen-menu__item {
  opacity: 1;
  animation: none;
}

.thecore-fullscreen-menu__overlay-nav .thecore-fullscreen-menu__item {
  opacity: 0;
}

.thecore-fullscreen-menu__anchor {
  display: block;
  position: relative;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  padding: 0.1875rem 0;
}

:where(.thecore-fullscreen-menu__desktop-nav :is(.thecore-fullscreen-menu__anchor, .thecore-fullscreen-menu__branch)) {
  color: var(--thecore-fsm-desktop-link-color);
  font-family: var(--thecore-fsm-desktop-font-family);
  font-size: var(--thecore-fsm-desktop-font-size);
  font-weight: var(--thecore-fsm-desktop-font-weight);
  line-height: var(--thecore-fsm-desktop-line-height);
  letter-spacing: var(--thecore-fsm-desktop-letter-spacing);
  text-transform: var(--thecore-fsm-desktop-text-transform);
  font-style: var(--thecore-fsm-desktop-font-style);
  text-decoration: var(--thecore-fsm-desktop-text-decoration);
}

:where(.thecore-fullscreen-menu__overlay :is(.thecore-fullscreen-menu__anchor, .thecore-fullscreen-menu__branch)) {
  color: var(--thecore-fsm-overlay-link-color);
  font-family: var(--thecore-fsm-overlay-font-family);
  font-size: var(--thecore-fsm-overlay-font-size);
  font-weight: var(--thecore-fsm-overlay-font-weight);
  line-height: var(--thecore-fsm-overlay-line-height);
  letter-spacing: var(--thecore-fsm-overlay-letter-spacing);
  text-transform: var(--thecore-fsm-overlay-text-transform);
  font-style: var(--thecore-fsm-overlay-font-style);
  text-decoration: var(--thecore-fsm-overlay-text-decoration);
}

.thecore-fullscreen-menu__anchor::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 0.125rem;
  transform: translateX(-50%);
  background: currentColor;
  transition: width 0.35s ease;
}

.thecore-fullscreen-menu__anchor:hover::after,
.thecore-fullscreen-menu__anchor:focus-visible::after {
  width: 100%;
}

.thecore-fullscreen-menu.is-open .thecore-fullscreen-menu__overlay-nav .thecore-fullscreen-menu__item {
  animation: thecore-fsm-fade-in-right 0.5s ease forwards;
  animation-delay: calc(0.1s + (var(--thecore-seq, 1) * 0.1s));
}

.thecore-fullscreen-menu__branch {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.thecore-fullscreen-menu__submenu {
  list-style: none;
  margin: 0;
  padding-block: 0.25rem;
  padding-inline: 1rem 0;
  text-align: start;
  overflow-wrap: anywhere;
}

.thecore-fullscreen-menu__submenu[hidden],
.thecore-fullscreen-menu__submenu-toggle[hidden],
[data-thecore-submenus-ready] .thecore-fullscreen-menu__branch-label {
  display: none;
}

.thecore-fullscreen-menu__submenu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex: none;
  max-inline-size: 100%;
  min-inline-size: 2.75rem;
  min-block-size: 2.75rem;
  padding: 0.375rem 0.625rem;
  justify-content: center;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  overflow-wrap: anywhere;
}

.thecore-fullscreen-menu__submenu-toggle::after {
  content: "";
  flex: none;
  width: 0.5em;
  height: 0.5em;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: translateY(-0.125em) rotate(45deg);
}

.thecore-fullscreen-menu__submenu-toggle[aria-expanded="true"]::after {
  transform: translateY(0.125em) rotate(225deg);
}

[data-thecore-submenus-ready] :is(.thecore-fullscreen-menu__submenu-toggle, .thecore-fullscreen-menu__anchor):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.thecore-fullscreen-menu__desktop-nav[data-thecore-submenus-ready] .thecore-fullscreen-menu__list {
  flex-wrap: wrap;
}

.thecore-fullscreen-menu__desktop-nav[data-thecore-submenus-ready] .thecore-fullscreen-menu__list > li > .thecore-fullscreen-menu__submenu {
  position: absolute;
  z-index: 1;
  inset-block-start: 100%;
  inset-inline-start: 0;
  translate: var(--thecore-fsm-submenu-shift, 0px) 0;
  box-sizing: border-box;
  inline-size: min(20rem, calc(100vw - 1.25rem));
  max-block-size: min(24rem, 55vh);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 0.5rem 0.75rem;
  border: 1px solid currentColor;
  color: var(--thecore-fsm-desktop-link-color);
  background: var(--thecore-fsm-submenu-background, #fff);
}

.thecore-fullscreen-menu__overlay-nav[data-thecore-submenus-ready] {
  box-sizing: border-box;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.thecore-fullscreen-menu__overlay-nav[data-thecore-submenus-ready] > .thecore-fullscreen-menu__list {
  justify-content: safe center;
}

.thecore-fullscreen-menu__overlay-nav[data-thecore-submenus-ready] .thecore-fullscreen-menu__item {
  max-inline-size: 100%;
  overflow-wrap: anywhere;
}

.thecore-fullscreen-menu.is-open .thecore-fullscreen-menu__overlay-nav[data-thecore-submenus-ready] .thecore-fullscreen-menu__submenu .thecore-fullscreen-menu__item,
.thecore-fullscreen-menu.is-open .thecore-fullscreen-menu__overlay-nav[data-thecore-submenus-ready] .thecore-fullscreen-menu__item:focus-within {
  opacity: 1;
  animation: none;
}

.thecore-fullscreen-menu__empty {
  padding: 1rem;
  border: 1px dashed #ccd0d4;
  color: #50575e;
}

body.thecore-elementor-widgets-lock-scroll {
  overflow: hidden;
  padding-right: var(--thecore-elementor-widgets-scrollbar-compensation, 0px);
}

@keyframes thecore-fsm-fade-in-right {
  0% {
    opacity: 0;
    left: 3.125rem;
  }

  100% {
    opacity: 1;
    left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .thecore-fullscreen-menu__toggle,
  .thecore-fullscreen-menu__toggle-bar,
  .thecore-fullscreen-menu__overlay,
  .thecore-fullscreen-menu__anchor::after,
  .thecore-fullscreen-menu__item {
    transition-duration: 0.01ms;
    animation-duration: 0.01ms;
    animation-delay: 0s;
  }
}
