.site-sticky-top {
  position: sticky;
  top: 0;
  z-index: 90;
  width: 100%;
  background: #f4efea;
  isolation: isolate;
  box-shadow: 0 1px 0 rgba(57, 45, 41, 0.08);
}

.ego-sr {
  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;
}

.site-sticky-top > header,
.site-sticky-top > .info-nav {
  background: #f4efea;
}

.site-sticky-top > header .nav {
  position: relative;
  justify-content: center;
}

.site-sticky-top > header .nav > .brand {
  position: absolute;
  left: 0;
}

.desktop-trust {
  position: absolute;
  right: 0;
  margin: 0;
  padding: 10px 16px;
  border: 1px solid #bda99e;
  border-radius: 999px;
  color: #58323f;
  background: #f7f1ed;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2px;
  white-space: nowrap;
}

.menu-toggle {
  position: absolute;
  left: calc(50% + 98px);
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid #a58d83;
  border-radius: 50%;
  background: transparent;
  color: #2f2724;
  font: 25px/1 Arial, sans-serif;
  cursor: pointer;
}

.menu-toggle[aria-expanded="true"] {
  background: #58323f;
  color: #fff;
  border-color: #58323f;
}

.site-sticky-top > .header-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 50%;
  transform: translateX(50%);
  z-index: 5;
  width: min(760px, calc(100% - 32px));
  padding: 18px;
  display: grid!important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  border: 1px solid #bda99e;
  border-radius: 22px;
  background: #f4efea;
  box-shadow: 0 18px 45px rgba(57, 45, 41, .18);
}

.site-sticky-top > .header-menu[hidden] {
  display: none!important;
}

.site-sticky-top > .header-menu a {
  justify-content: center;
  min-height: 48px;
  padding: 8px 14px;
  border-radius: 14px;
}

.site-sticky-top > .header-menu a:hover,
.site-sticky-top > .header-menu a:focus-visible {
  background: #e7d7ce;
}

@media (min-width: 851px) {
  .site-sticky-top > header .nav > .button {
    position: absolute;
    right: 0;
  }

  .desktop-trust {
    position: static;
  }

  .menu-toggle {
    display: none;
  }

  .site-sticky-top > .header-menu,
  .site-sticky-top > .header-menu[hidden] {
    position: static;
    display: flex!important;
    width: 100%;
    transform: none;
    padding: 5px 18px;
    gap: 10px 28px;
    border: 0;
    border-block: 1px solid #bda99e;
    border-radius: 0;
    box-shadow: none;
  }

  .site-sticky-top > .header-menu a {
    min-height: 40px;
    padding: 0;
    border-radius: 0;
  }
}

.site-sticky-top > .info-nav {
  padding-block: 5px;
}

.site-sticky-top > .info-nav a {
  min-height: 40px;
}

@media (min-width: 851px) {
  .site-sticky-top > header .nav {
    min-height: 88px;
  }

  .site-sticky-top > header .brand {
    padding-block: 4px 7px;
  }
}

@media (max-width: 850px) {
  .site-sticky-top {
    max-height: 100svh;
  }

  .site-sticky-top > header .nav > .brand-logo,
  .site-sticky-top > header .nav > .brand .brand-logo {
    width: 82px;
    height: auto;
  }

  .menu-toggle {
    left: auto;
    right: 0;
    width: 44px;
    height: 44px;
    font-size: 23px;
  }

  .desktop-trust {
    display: none;
  }

  .site-sticky-top > .header-menu {
    grid-template-columns: 1fr;
    max-height: calc(100svh - 110px);
    overflow-y: auto;
  }
}

/* Keep the desktop footer compact while preserving every link and mobile spacing. */
@media (min-width: 851px) {
  .footer .footgrid {
    column-gap: 36px;
  }

  .footer .footgrid > div:nth-child(3) {
    justify-self: end;
  }

  .footer > .legal-links {
    padding-block: 4px;
  }

  .footer > .info-nav {
    padding-block: 2px;
  }

  .footer > .legal-links a,
  .footer > .info-nav a {
    min-height: 36px;
    padding-block: 6px;
  }

  .footer > .legal-links a {
    text-decoration: none;
  }

  .footer > .footbottom {
    margin-top: 8px;
    padding-top: 12px;
  }
}

