/* Shared navigation based on the current Cores de Sorriso/Feminiliart header. */
.je-site-header,
.je-site-header * {
  box-sizing: border-box;
}

.je-skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100002;
  padding: 10px 14px;
  border-radius: 6px;
  background: #602854;
  color: #f6ece4 !important;
  transform: translateY(-160%);
  transition: transform 0.15s ease;
}

.je-skip-link:focus {
  transform: translateY(0);
}

.je-content-anchor {
  display: block;
  height: 0;
  scroll-margin-top: 86px;
}

.je-site-header {
  position: sticky;
  top: 0;
  z-index: 100000;
  width: 100%;
  border-bottom: 1px solid rgba(192, 112, 128, 0.45);
  background: #18182d;
  color: #fff;
}

.je-nav-inner {
  width: min(1280px, calc(100vw - 64px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 28px;
}

.je-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex: 0 0 auto;
  color: #fff !important;
  text-decoration: none !important;
  font-family: "Dancing Script", cursive;
  font-size: 1.72rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.je-brand-mark {
  display: block;
  width: auto;
  height: 38px;
  object-fit: contain;
}

.je-site-nav {
  order: initial;
  display: block;
  flex: 0 1 auto;
  width: auto;
  max-height: none;
  margin-left: auto;
  padding: 0;
  overflow: visible;
}

.je-menu,
.je-submenu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.je-menu {
  display: flex;
  align-items: center;
  gap: 14px;
}

.je-menu > li,
.je-has-submenu {
  position: relative;
}

.je-menu a,
.je-menu-trigger,
.je-menu-label {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 10px 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff !important;
  font: 500 0.91rem/1.25 Lora, Georgia, serif;
  text-decoration: none !important;
  white-space: nowrap;
}

.je-menu a,
.je-menu-trigger {
  cursor: pointer;
}

.je-menu a:hover,
.je-menu a:focus-visible,
.je-menu-trigger:hover,
.je-menu-trigger:focus-visible,
.je-menu a[aria-current="page"],
.je-active-section > .je-menu-trigger {
  background: transparent;
  color: #f0b7c3 !important;
}

.je-menu a[aria-current="page"]::after,
.je-active-section > .je-menu-trigger::after {
  content: none !important;
}

.je-menu a:focus-visible,
.je-menu-trigger:focus-visible,
.je-mobile-toggle:focus-visible,
.je-theme-toggle:focus-visible {
  outline: 3px solid #f0bbc7;
  outline-offset: 3px;
}

.je-menu-trigger svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 0.16s ease;
}

.je-menu-trigger[aria-expanded="true"] > svg {
  transform: rotate(180deg);
}

.je-submenu {
  box-sizing: border-box;
  position: absolute;
  z-index: 160;
  top: calc(100% + 8px);
  left: 0;
  min-width: 235px;
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(246, 236, 228, 0.12);
  border-radius: 14px;
  background: #24243f;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.je-submenu[hidden] {
  display: none !important;
}

.je-submenu .je-submenu {
  top: -10px;
  left: calc(100% + 8px);
}

.je-submenu .je-submenu.je-open-left {
  right: calc(100% + 8px);
  left: auto;
}

.je-submenu li + li {
  margin-top: 2px;
}

.je-submenu a,
.je-submenu .je-menu-trigger,
.je-submenu .je-menu-label {
  position: relative;
  width: 100%;
  min-height: 38px;
  justify-content: space-between;
  padding: 9px 10px;
  font-size: 0.84rem;
  text-align: left;
  white-space: normal;
}

.je-menu-label {
  color: #c07080 !important;
  cursor: default;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.je-submenu .je-menu-trigger > svg {
  transform: rotate(-90deg);
}

.je-submenu .je-menu-trigger[aria-expanded="true"] > svg {
  transform: rotate(90deg);
}

.je-theme-toggle,
.je-mobile-toggle {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(192, 112, 128, 0.55);
  border-radius: 50%;
  background: transparent;
  color: #f6ece4;
  margin: 0;
  cursor: pointer;
}

.je-theme-toggle {
  display: grid;
  place-items: center;
  font: 400 1.35rem/1 Georgia, serif;
}

.je-theme-toggle:hover,
.je-mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

.je-theme-toggle .je-sun,
html:not([data-theme="dark"]) .je-theme-toggle .je-sun {
  display: none;
}

html[data-theme="dark"] .je-theme-toggle .je-moon {
  display: none;
}

html[data-theme="dark"] .je-theme-toggle .je-sun {
  display: inline;
}

.je-mobile-toggle {
  display: none;
}

.je-mobile-toggle span {
  display: block;
  width: 17px;
  height: 1.5px;
  margin: 3px auto;
  background: currentColor;
  transition: transform 0.16s ease, opacity 0.16s ease;
}

.je-mobile-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(4.5px) rotate(45deg);
}

.je-mobile-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.je-mobile-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-4.5px) rotate(-45deg);
}

@media (min-width: 981px) {
  .je-menu > li + li {
    margin-top: 0;
  }

  .je-menu > li > a,
  .je-menu > li > .je-menu-trigger,
  .je-menu > li > .je-menu-label {
    width: auto;
    justify-content: flex-start;
  }

  .je-submenu,
  .je-submenu .je-submenu {
    position: absolute;
    min-width: 235px;
    max-height: none !important;
    margin: 0;
    padding: 10px;
    overflow-y: visible !important;
    border-width: 1px;
    border-radius: 14px;
    background: #24243f;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  }
}

@media (max-width: 980px) {
  .je-nav-inner {
    position: relative;
    width: calc(100vw - 34px);
    min-height: 74px;
    gap: 8px;
  }

  .je-brand {
    margin-right: auto;
  }

  .je-site-nav {
    position: absolute;
    top: 74px;
    right: calc((100vw - 34px) / -2 + 50%);
    left: calc((100vw - 34px) / -2 + 50%);
    display: none;
    max-height: calc(100vh - 74px);
    margin: 0;
    padding: 14px 18px 20px;
    overflow-y: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #18182d;
  }

  .je-site-nav.is-open {
    display: block;
  }

  .je-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .je-menu > li {
    width: 100%;
  }

  .je-menu > li > a,
  .je-menu > li > .je-menu-trigger,
  .je-menu > li > .je-menu-label {
    width: 100%;
    justify-content: space-between;
    padding: 11px 10px;
  }

  .je-submenu,
  .je-submenu .je-submenu {
    position: static;
    min-width: 0;
    max-height: none !important;
    margin: 2px 0 5px 14px;
    padding: 6px;
    overflow-y: visible !important;
    border-radius: 10px;
    background: #22223c;
    box-shadow: none;
  }

  .je-submenu .je-menu-trigger > svg {
    transform: none;
  }

  .je-submenu .je-menu-trigger[aria-expanded="true"] > svg {
    transform: rotate(180deg);
  }

  .je-mobile-toggle {
    display: block;
  }
}

@media (max-width: 620px) {
  .je-nav-inner {
    width: calc(100vw - 24px);
    min-height: 66px;
  }

  .je-site-nav {
    top: 66px;
    right: calc((100vw - 24px) / -2 + 50%);
    left: calc((100vw - 24px) / -2 + 50%);
    max-height: calc(100vh - 66px);
  }

  .je-brand {
    gap: 9px;
    font-size: 1.42rem;
  }

  .je-brand-mark {
    height: 32px;
  }
}

@media print {
  .je-site-header,
  .je-skip-link {
    display: none !important;
  }
}
