/* Header sticky + glass */

.ps-site-header-wrap {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 76px;
  margin: 0;
  background: transparent;
}

.ps-site-header-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--ps-header-fill);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--ps-border);
  box-shadow: inset 0 1px 0 var(--ps-glass);
}

body.admin-bar .ps-site-header-wrap {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .ps-site-header-wrap {
    top: 46px;
  }
}

.ps-site-header {
  position: relative;
  width: 100%;
  height: 76px;
  z-index: 1;
  background: transparent;
  margin: 0;
}

.ps-site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--ps-container), calc(100% - 48px));
  height: 76px;
  margin: 0 auto;
}

.ps-site-header__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
  z-index: 2;
}

.ps-site-header__logo-img {
  display: block;
  height: 60px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
}

.ps-site-header__logo-text {
  color: var(--ps-heading);
  font-size: 16px;
  font-weight: 700;
}

.ps-site-header__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--ps-heading);
  cursor: pointer;
  z-index: 2;
}

.ps-site-header__toggle-bars {
  position: relative;
  display: block;
  width: 22px;
  height: 16px;
}

.ps-site-header__toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.28s ease, opacity 0.2s ease, top 0.28s ease;
}

.ps-site-header__toggle-bars span:nth-child(1) { top: 0; }
.ps-site-header__toggle-bars span:nth-child(2) { top: 7px; }
.ps-site-header__toggle-bars span:nth-child(3) { top: 14px; }

.ps-site-header.is-open .ps-site-header__toggle-bars span:nth-child(1) {
  top: 7px;
  transform: rotate(45deg);
}

.ps-site-header.is-open .ps-site-header__toggle-bars span:nth-child(2) {
  opacity: 0;
}

.ps-site-header.is-open .ps-site-header__toggle-bars span:nth-child(3) {
  top: 7px;
  transform: rotate(-45deg);
}

.ps-site-header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
}

.ps-site-header__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ps-site-header__menu > li > a {
  display: inline-flex;
  padding: 6px 12px;
  color: #2c2419 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

.ps-site-header__menu > li > a:hover {
  color: #5c4a3a !important;
}

.ps-site-header__menu > li.current-menu-item > a,
.ps-site-header__menu > li.current_page_item > a,
.ps-site-header__menu > li.current-menu-ancestor > a,
.ps-site-header__menu > li.current_page_parent > a {
  color: var(--ps-primary) !important;
}

.ps-site-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.ps-site-header__actions--mobile {
  display: none;
}

.ps-site-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 11px;
  border: 1px solid #111111;
  background: #111111;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
}

.ps-site-header__cta:hover {
  background: var(--ps-primary);
  border-color: var(--ps-primary);
}

.ps-site-header .ps-mz-social {
  width: 40px;
  height: 40px;
  border: 1px solid #111111;
  background: transparent;
  color: #111111;
}

.ps-site-header .ps-mz-social:hover {
  background: var(--ps-primary);
  border-color: var(--ps-primary);
  color: #fff;
}

body.ps-nav-open {
  overflow: hidden;
}

body.ps-nav-open .ps-site-header-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
}

body.admin-bar.ps-nav-open .ps-site-header-wrap {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar.ps-nav-open .ps-site-header-wrap {
    top: 46px;
  }
}

@media (max-width: 1024px) {
  .ps-site-header-wrap,
  .ps-site-header,
  .ps-site-header__inner {
    height: 68px;
  }

  .ps-site-header__inner {
    width: calc(100% - 32px);
  }

  .ps-site-header__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .ps-site-header__actions--desktop {
    display: none;
  }

  .ps-site-header__nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 12px 24px 32px;
    background: #f7f3ed;
    max-height: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow-y: auto;
    transform: translateY(-16px);
    transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.35s;
    z-index: 1001;
  }

  body.admin-bar .ps-site-header__nav {
    top: calc(68px + 32px);
  }

  .ps-site-header.is-open .ps-site-header__nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .ps-site-header__menu {
    flex-direction: column;
    align-items: stretch;
  }

  .ps-site-header__menu > li {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .ps-site-header.is-open .ps-site-header__menu > li {
    opacity: 1;
    transform: none;
  }

  .ps-site-header.is-open .ps-site-header__menu > li:nth-child(1) { transition-delay: 0.06s; }
  .ps-site-header.is-open .ps-site-header__menu > li:nth-child(2) { transition-delay: 0.12s; }
  .ps-site-header.is-open .ps-site-header__menu > li:nth-child(3) { transition-delay: 0.18s; }
  .ps-site-header.is-open .ps-site-header__menu > li:nth-child(4) { transition-delay: 0.24s; }
  .ps-site-header.is-open .ps-site-header__menu > li:nth-child(5) { transition-delay: 0.3s; }
  .ps-site-header.is-open .ps-site-header__menu > li:nth-child(6) { transition-delay: 0.36s; }

  .ps-site-header__menu > li > a {
    width: 100%;
    padding: 16px 4px !important;
    font-size: 18px !important;
  }

  .ps-site-header__actions--mobile {
    display: flex;
    margin-top: 20px;
    width: 100%;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.4s ease 0.32s, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.32s;
  }

  .ps-site-header.is-open .ps-site-header__actions--mobile {
    opacity: 1;
    transform: none;
  }

  .ps-site-header__actions--mobile .ps-site-header__cta {
    flex: 1 1 auto;
  }
}

@media screen and (max-width: 782px) {
  body.admin-bar .ps-site-header__nav {
    top: calc(68px + 46px);
  }
}
