#wpadminbar {
  /* display: none; */
}
.header-button__right.filled__button {
  padding: 12px 39px 12px 16px;
  position: relative;
}
.header-button__right::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  background-image: url("../icons/login.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
.header-wrapper {
  display: flex;
  align-items: center;
}
.header-wrapper > div {
  flex: 1;
}
.header-wrapper > nav {
  flex: 3;
}
.main-navigation {
  justify-content: center;
  display: flex;
}
.header-right {
  display: flex;
  justify-content: flex-end;
}
/* Desktop nav link styling now lives in mega-menu.css (.oda-nav / .oda-mega /
 * .oda-drop). The old `.main-navigation a` + `.menu-item-has-children > a::after`
 * rules were removed: `.main-navigation a` (0,1,1) was overriding every link in
 * the custom mega/dropdown, and the ::after arrow is replaced by an inline SVG. */
.site-logo {
  display: flex;
  align-items: center;
  max-width: 132px;
}
.site-logo img {
  width: 100%;
  object-fit: contain;
}
.site-header {
  padding: 20px 0;
  background: #fff;
  border-bottom: 1px solid #e6e4e0;
  /* Fixed (not sticky): an ancestor (#page) has overflow-x:hidden, which
     disables position:sticky. Content is offset below by the header height. */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}
/* Push page content below the fixed header (header is a constant 95px tall). */
#page {
  padding-top: 95px;
}
/* Keep the fixed header below the WP admin bar when logged in. */
.admin-bar .site-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

/* ===================================================================== *
 * Mobile hamburger + slide-in drawer (Figma "Hamb menu" 650:1115).
 * Drawer: 340px wide, #fff, left-side shadow, slides in from the right.
 * ===================================================================== */
.oda-burger {
  display: none;
}
.oda-mmenu {
  display: none;
}

@media (max-width: 991px) {
  /* Swap the desktop nav + login button for the hamburger. */
  .main-navigation,
  .header-right .header-button__right {
    display: none;
  }
  .oda-burger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0 11px;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .oda-burger span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #0f0f10;
  }

  /* Drawer container (overlay + panel). */
  .oda-mmenu {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1000;
  }
  .oda-mmenu[hidden] {
    display: none;
  }
  .oda-mmenu__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 15, 16, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .oda-mmenu__panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    height: 100dvh;
    width: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    box-shadow: -16px 0 48px 0 rgba(15, 15, 16, 0.15);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }
  .oda-mmenu.is-open .oda-mmenu__overlay {
    opacity: 1;
  }
  .oda-mmenu.is-open .oda-mmenu__panel {
    transform: translateX(0);
  }

  /* Head: logo + close. */
  .oda-mmenu__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 15px;
    border-bottom: 1px solid #e6e4e0;
  }
  .oda-mmenu__logo {
    display: block;
    max-width: 132px;
  }
  .oda-mmenu__logo img {
    width: 100%;
    object-fit: contain;
  }
  .oda-mmenu__close {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid #e6e4e0;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
  }

  /* Nav list. */
  .oda-mmenu__list {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .oda-mmenu__list > li {
    position: relative;
  }
  .oda-mmenu__list > li > a {
    display: block;
    padding: 5px 16px;
    font-size: 15px;
    font-weight: 600;
    line-height: 22.5px;
    letter-spacing: -0.08px;
    color: #0f0f10;
    text-decoration: none;
    border-bottom: 1px solid #efeeec;
  }
  /* Suppress the desktop dropdown-arrow (::after) inside the drawer — the
     accordion uses its own injected chevron toggle instead. */
  .oda-mmenu__list .menu-item-has-children > a::after {
    display: none;
  }
  /* Submenu toggle (chevron), injected by JS for items with children. */
  .oda-mmenu__toggle {
    position: absolute;
    top: 0;
    right: 0;
    width: 48px;
    height: 33px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .oda-mmenu__toggle svg {
    transition: transform 0.25s ease;
  }
  .oda-mmenu__list > li.is-open > .oda-mmenu__toggle svg {
    transform: rotate(180deg);
  }
  .oda-mmenu__list .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    background: #f9f8f7;
    transition: max-height 0.3s ease;
  }
  .oda-mmenu__list > li.is-open > .sub-menu {
    max-height: 600px;
  }
  .oda-mmenu__list .sub-menu a {
    display: block;
    padding: 13px 24px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.08px;
    color: #424248;
    text-decoration: none;
  }

  /* Foot: pinned to the bottom — Login + phone + email. */
  .oda-mmenu__foot {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 24px;
    background: #f4f4f3;
  }
  .oda-mmenu__login.filled__button {
    align-self: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
  }
  .oda-mmenu__contact {
    color: #0f0f10;
    font-size: 16px;
    letter-spacing: -0.08px;
    text-decoration: none;
  }

  body.oda-mmenu-open {
    overflow: hidden;
  }
}
