/* STAGING unified navigation 1.1. Retain the canonical public header layout. */
/* Inherit the family's header geometry, but normalize nav typography. */
body.tmt-static-site #tmt-header #tmt-primary-nav > li:not(.menu-item-lang-flag):not(.menu-item-search) > a {
  font-family: inherit!important;
  font-size: .95rem!important;
  font-weight: 500!important;
  line-height: 1.35!important;
  letter-spacing: inherit!important;
}
body.tmt-static-site #tmt-header #tmt-primary-nav > li > .sub-menu a,
body.tmt-static-site #tmt-header #tmt-primary-nav > li > .sub-menu button,
body.tmt-static-site #tmt-header #tmt-primary-nav > li > .sub-menu span:not(.tmt-account-nav-email-text) {
  font-family: inherit!important;
  font-size: .92rem!important;
  font-weight: 400!important;
  line-height: 1.4!important;
}
body.tmt-static-site #tmt-header #tmt-primary-nav > li.menu-item-search,
body.tmt-static-site #tmt-header #tmt-primary-nav > li.menu-item-search > a {
  visibility: visible!important;
  opacity: 1!important;
  pointer-events: auto!important;
}
body.tmt-static-site #tmt-header #tmt-primary-nav > li.menu-item-search > a {
  display: flex!important;
  align-items: center;
  justify-content: center;
}
body.tmt-static-site #tmt-header #tmt-primary-nav > li.menu-item-search .tmt-search-link-icon {
  display: inline-block!important;
}
@media (min-width:901px) {
  body.tmt-static-site #tmt-primary-nav { gap: clamp(.45rem,1.2vw,1.35rem); }
  body.tmt-static-site #tmt-shop-nav > .sub-menu,
  body.tmt-static-site #tmt-account-nav > .sub-menu {
    left: 0;
    right: auto;
    transform: none;
  }
  body.tmt-static-site #tmt-shop-nav > .sub-menu {
    display: none;
    overflow: visible!important;
    min-width: 190px;
    max-height: none!important;
  }
  body.tmt-static-site #tmt-shop-nav:hover > .sub-menu,
  body.tmt-static-site #tmt-shop-nav:focus-within > .sub-menu { display:block!important; }
  .tmt-shop-submenu-toggle { display:none!important; }
}
#tmt-shop-nav > .sub-menu > .tmt-shop-products { position:relative; }
#tmt-shop-nav > .sub-menu > #tmt-plugin-support {
  display:block!important;
  position:static!important;
  visibility:visible!important;
}
body.tmt-static-site #tmt-header #tmt-shop-products-list {
  position:static!important;
  display:none!important;
  left:auto!important;
  right:auto!important;
  top:auto!important;
  max-height:none!important;
  overflow:visible!important;
  margin:0!important;
  padding:0 0 0 .8rem!important;
  border:0!important;
  box-shadow:none!important;
  transform:none!important;
  background:transparent!important;
}
body.tmt-static-site #tmt-header #tmt-shop-nav .tmt-shop-products-open > #tmt-shop-products-list {
  display:block!important;
}
#tmt-shop-nav { position: relative; }
#tmt-shop-nav > .sub-menu > .tmt-shop-products { position: relative; }
#tmt-shop-nav .tmt-shop-products-toggle {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  padding: .65rem .9rem;
  cursor: pointer;
}
#tmt-shop-nav .tmt-shop-products-toggle::after {
  content:'';
  display:inline-block;
  width:.38rem;
  height:.38rem;
  border-right:1.5px solid currentColor;
  border-top:1.5px solid currentColor;
  transform:rotate(45deg);
  margin-left:.75rem;
  vertical-align:middle;
}
#tmt-shop-nav .tmt-shop-products-toggle:hover,
#tmt-shop-nav .tmt-shop-products-toggle:focus-visible {
  color: var(--tmt-accent, currentColor);
}
#tmt-shop-nav .tmt-shop-unreleased > span {
  display: block;
  padding: .65rem .9rem;
  opacity: .48;
  cursor: not-allowed;
}
.menu-item-account > .tmt-account-nav-link { gap: .45rem; }
.menu-item-account > .tmt-account-nav-link::after {
  display: none!important;
  content: none!important;
}
.tmt-account-nav-glyph {
  width: 18px;
  height: 18px;
  display: inline-block;
  flex: 0 0 auto;
  background: currentColor;
  opacity: .68;
  transition: opacity 180ms ease;
  -webkit-mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3.5'/%3E%3Cpath d='M5 20c.8-4 3.1-6 7-6s6.2 2 7 6'/%3E%3C/svg%3E");
  mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3.5'/%3E%3Cpath d='M5 20c.8-4 3.1-6 7-6s6.2 2 7 6'/%3E%3C/svg%3E");
}
.menu-item-account.is-authenticated .tmt-account-nav-glyph,
.menu-item-account > .tmt-account-nav-link:hover .tmt-account-nav-glyph,
.menu-item-account > .tmt-account-nav-link:focus-visible .tmt-account-nav-glyph { opacity: 1; }
.tmt-account-nav-label {
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  clip-path:inset(50%)!important;
  white-space:nowrap!important;
  border:0!important;
}
.tmt-account-nav-menu .tmt-account-nav-email {
  box-sizing: border-box;
  border-bottom: 1px solid color-mix(in srgb,currentColor 18%,transparent);
  margin-bottom: .25rem;
  font-size: .82rem;
  line-height: 1.35;
  opacity: .74;
}
.tmt-account-nav-email-text {
  display:block;
  box-sizing:border-box;
  width:100%;
  padding:.55rem .9rem;
  max-width:220px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
#tmt-account-nav button.tmt-account-nav-signout {
  display:block;
  width:100%;
  border:0;
  padding:.65rem .9rem;
  font:inherit;
  text-align:left;
  background:transparent;
  color:inherit;
  cursor:pointer;
}
#tmt-account-nav button.tmt-account-nav-signout:disabled { opacity:.45;cursor:wait; }
#tmt-account-nav button.tmt-account-nav-signout:hover,
#tmt-account-nav button.tmt-account-nav-signout:focus-visible { color:var(--tmt-accent,currentColor); }
@media (max-width:900px) {
  /* Account shows the label ONLY on mobile; desktop remains icon-only. */
  body.tmt-static-site #tmt-header #tmt-account-nav .tmt-account-nav-glyph {
    display:none!important;
  }
  body.tmt-static-site #tmt-header #tmt-primary-nav > li:not(.menu-item-lang-flag):not(.menu-item-search) > a {
    font-size:1rem!important;
  }
  body.tmt-static-site #tmt-header #tmt-primary-nav > li > .sub-menu a,
  body.tmt-static-site #tmt-header #tmt-primary-nav > li > .sub-menu button {
    font-size:.95rem!important;
  }
  body.tmt-static-site #tmt-shop-nav { position:relative!important; }
  body.tmt-static-site #tmt-shop-nav > a { padding-right:3rem!important; }
  #tmt-shop-nav > .tmt-shop-submenu-toggle {
    position:absolute;
    right:.35rem;
    top:0;
    width:2.8rem;
    min-height:2.7rem;
    padding:0;
    z-index:5;
    border:0;
    border-radius:6px;
    color:inherit;
    background:transparent;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
  }
  #tmt-shop-nav > .tmt-shop-submenu-toggle .tmt-mobile-submenu-caret {
    display:block!important;
    width:.55rem;
    height:.55rem;
    border-right:1.5px solid currentColor;
    border-bottom:1.5px solid currentColor;
    transform:rotate(45deg);
  }
  #tmt-shop-nav > .tmt-shop-submenu-toggle[aria-expanded="true"] .tmt-mobile-submenu-caret {
    transform:rotate(225deg);
  }
  body.tmt-static-site #tmt-shop-nav > .sub-menu { display:none; }
  body.tmt-static-site #tmt-shop-nav.tmt-mobile-group-open > .sub-menu {
    display:block!important;
    position:static!important;
    max-height:55vh;
    overflow-y:auto;
  }
  body.tmt-static-site #tmt-shop-products-list {
    display:none!important;
    position:static!important;
    margin-left:.8rem!important;
    border:0!important;
    box-shadow:none!important;
    transform:none!important;
  }
  body.tmt-static-site #tmt-shop-products-list li { width:100%; }
  body.tmt-static-site #tmt-shop-nav .tmt-shop-products-open > #tmt-shop-products-list {
    display:block!important;
  }
  .tmt-account-nav-label {
    position:static!important;
    width:auto!important;
    height:auto!important;
    padding:0!important;
    margin:0!important;
    overflow:visible!important;
    clip:auto!important;
    clip-path:none!important;
    white-space:normal!important;
  }
  .tmt-account-nav-email-text { max-width:none;white-space:normal;overflow-wrap:anywhere; }
  #tmt-shop-nav .tmt-shop-products-toggle { padding-left:1rem; }
}
