/* Shared header only. Page content, plant cards and WordPress blocks retain their styles. */
.mh-header, .mh-header * { box-sizing: border-box; }
.top-nav.mh-header {
  position: relative; top: auto; width: 100%; max-width: none; margin: 0;
  padding: 0; border: 0; background: #22312c; color: #fff; z-index: 50;
  font: 400 16px/1.4 Arial, Helvetica, sans-serif; text-align: left;
}
.mh-header .mh-header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  width: 100%; max-width: 1344px; min-height: 112px; margin: 0 auto; padding: 20px 32px;
}
.mh-header .mh-brand {
  display: flex; align-items: center; flex: 0 0 auto; gap: 14px; min-width: 0;
  margin: 0; padding: 0; color: #fff; text-decoration: none;
}
.mh-header .mh-brand img { display: block; flex: 0 0 auto; width: 72px; height: 72px; max-width: none; margin: 0; padding: 0; object-fit: contain; background: #fff; border: 0; border-radius: 0; }
.mh-header .mh-brand .nav-title { display: block; max-width: none; margin: 0; padding: 0; color: #fff; font: 700 17px/1.35 Arial, Helvetica, sans-serif; text-align: left; letter-spacing: 0; }
.mh-header .nav-links {
  display: flex; align-items: center; justify-content: flex-end; flex: 0 1 auto;
  flex-wrap: nowrap; gap: 2px; position: static; width: auto; max-width: 100%;
  height: auto; max-height: none; overflow: visible; margin: 0; padding: 8px;
  list-style: none; background: #c6756c; border: 0; border-radius: 8px;
}
.mh-header .nav-links li { position: relative; display: block; width: auto; margin: 0; padding: 0; border: 0; list-style: none; }
.mh-header .nav-links a, .mh-header button.dropdown-toggle {
  display: flex; align-items: center; justify-content: flex-start; gap: 7px; min-height: 44px; width: auto;
  margin: 0; padding: 10px 9px; border: 0; border-radius: 5px; background: transparent;
  color: #fff; font: 600 15px/1.4 Arial, Helvetica, sans-serif; letter-spacing: 0;
  text-align: left; text-decoration: none; text-transform: none; white-space: nowrap; cursor: pointer;
}
.mh-header .nav-links a:hover, .mh-header .nav-links a:focus-visible,
.mh-header button.dropdown-toggle:hover, .mh-header button.dropdown-toggle:focus-visible,
.mh-header .nav-dropdown.active > .dropdown-toggle, .mh-header a[aria-current] { background: #22312c; color: #fff; text-decoration: none; }
.mh-header .chevron { display: inline-block; font-size: 12px; transition: transform .15s; }
.mh-header .nav-dropdown.active > .dropdown-toggle .chevron { transform: rotate(180deg); }
.mh-header .dropdown-menu {
  position: absolute; top: 100%; left: 0; right: auto; bottom: auto; z-index: 60;
  display: none; flex-direction: column; gap: 2px; min-width: 220px; width: max-content;
  max-width: min(300px, calc(100vw - 40px)); margin: 0; padding: 8px;
  background: #22312c; border: 0; border-radius: 5px; list-style: none;
  box-shadow: 0 5px 12px #0003; opacity: 1; visibility: visible; transform: none; pointer-events: auto;
}
.mh-header .nav-links > li:last-child .dropdown-menu { left: auto; right: 0; }
.mh-header .dropdown-menu li { width: 100%; margin: 0; padding: 0; }
.mh-header .dropdown-menu a { width: 100%; padding: 11px; white-space: normal; }
.mh-header .dropdown-menu a:hover, .mh-header .dropdown-menu a:focus-visible { background: #495c51; }
.mh-header .nav-dropdown:is(:hover, :focus-within) > .dropdown-menu,
.mh-header .nav-dropdown.active > .dropdown-menu { display: flex; }
.mh-header[data-mh-enhanced] .nav-dropdown:not(.active) > .dropdown-menu { display: none; }
.mh-header .menu-toggle {
  display: none; align-items: center; justify-content: center; gap: 10px;
  flex: 0 0 auto; min-width: 76px; min-height: 44px; width: auto; height: auto;
  margin: 0; padding: 9px 12px; border: 1px solid #d7978e; border-radius: 6px;
  background: #c6756c; color: #fff; font: 600 14px/1.4 Arial, Helvetica, sans-serif;
  text-transform: none; cursor: pointer;
}
.mh-header a:focus-visible, .mh-header button:focus-visible { outline: 3px solid #f0dfae; outline-offset: 3px; }
body:has(#navbar-placeholder .mh-header) > header { display: none; }
body .wp-site-blocks > header.wp-block-template-part:has(.mh-header) { margin: 0; padding: 0; background: #22312c; }
body .wp-site-blocks > header.wp-block-template-part #navbar-placeholder { width: 100%; max-width: none; margin: 0; padding: 0; }
@media (max-width: 1120px) and (min-width: 981px) {
  .mh-header .mh-header-inner { padding-right: 24px; padding-left: 24px; gap: 16px; }
  .mh-header .mh-brand { gap: 10px; }
  .mh-header .mh-brand .nav-title { font-size: 15px; }
  .mh-header .nav-links a, .mh-header button.dropdown-toggle { font-size: 14px; padding-right: 7px; padding-left: 7px; }
}
@media (max-width: 980px) {
  .mh-header .mh-header-inner { flex-wrap: wrap; gap: 14px; min-height: 100px; padding: 18px 20px; }
  .mh-header .mh-brand { gap: 12px; }
  .mh-header .mh-brand img { width: 64px; height: 64px; }
  .mh-header .mh-brand .nav-title { font-size: 16px; }
  .mh-header .nav-links { flex: 1 0 100%; flex-direction: column; align-items: stretch; width: 100%; padding: 8px; gap: 2px; border-radius: 6px; max-height: calc(100dvh - 130px); overflow-y: auto; }
  .mh-header .nav-links > li { width: 100%; text-align: left; }
  .mh-header .nav-links a, .mh-header button.dropdown-toggle { width: 100%; min-height: 46px; padding: 12px; font-size: 16px; white-space: normal; }
  .mh-header:is([data-mh-enhanced], :has(.dropdown-toggle[aria-controls^="site-submenu-"])) .menu-toggle { display: flex; }
  .mh-header:is([data-mh-enhanced], :has(.dropdown-toggle[aria-controls^="site-submenu-"])) .nav-links:not(.active) { display: none; }
  .mh-header .dropdown-menu, .mh-header .nav-links > li:last-child .dropdown-menu {
    position: static; top: auto; left: auto; right: auto; width: 100%; min-width: 0;
    max-width: none; margin: 0; padding: 4px 8px; box-shadow: none; border-radius: 5px;
  }
  .mh-header .nav-dropdown:not(.active) > .dropdown-menu { display: none; }
  .mh-header .nav-dropdown.active > .dropdown-menu { display: flex; }
}
@media (max-width: 360px) {
  .mh-header .mh-header-inner { gap: 10px; padding-right: 16px; padding-left: 16px; }
  .mh-header .mh-brand { gap: 9px; }
  .mh-header .mh-brand img { width: 54px; height: 54px; }
  .mh-header .mh-brand .nav-title { font-size: 14px; }
  .mh-header .menu-toggle { min-width: 70px; padding-right: 9px; padding-left: 9px; }
}
