/* myMondo 3.9.5 — homepage-matching navigation. Header ONLY.
   All selectors are scoped to .mm-homepage-header, so WooCommerce checkout,
   product variation forms, tracking shortcode, old editable WP menus remain unchanged. */
body.mm-theme .mm-header.mm-homepage-header {
  background:#fff; border-bottom:1px solid #e9eef5;
  box-shadow:0 1px 8px rgba(7,28,66,.04);
}
@media (min-width:981px) {
  body.mm-theme .mm-header.mm-homepage-header .mm-header-inner,
  body.mm-theme .mm-header.mm-homepage-header.mm-logo-desktop-large .mm-header-inner,
  body.mm-theme .mm-header.mm-homepage-header .mm-header-inner.mm-needs-two-rows {
    display:flex !important; flex-wrap:nowrap !important; align-items:center !important;
    justify-content:space-between; column-gap:clamp(10px,1.4vw,25px) !important;
    row-gap:0 !important; min-height:78px; padding-top:0 !important; padding-bottom:0 !important;
  }
  body.mm-theme .mm-header.mm-homepage-header .mm-header-inner>.mm-nav,
  body.mm-theme .mm-header.mm-homepage-header.mm-logo-desktop-large .mm-header-inner>.mm-nav,
  body.mm-theme .mm-header.mm-homepage-header .mm-header-inner.mm-needs-two-rows>.mm-nav {
    display:flex !important; flex:1 1 auto; align-items:center; justify-content:center;
    grid-column:auto !important;grid-row:auto !important;width:auto !important;
    min-width:0;max-width:none;margin:0 !important;
  }
  body.mm-theme .mm-header.mm-homepage-header .mm-header-inner>.mm-head-right,
  body.mm-theme .mm-header.mm-homepage-header.mm-logo-desktop-large .mm-header-inner>.mm-head-right,
  body.mm-theme .mm-header.mm-homepage-header .mm-header-inner.mm-needs-two-rows>.mm-head-right {
    grid-column:auto !important;grid-row:auto !important;justify-self:auto;
    margin:0 !important;flex:0 0 auto;
  }
  body.mm-theme .mm-header.mm-homepage-header .mm-header-inner>.mm-hamburger {display:none !important;}
}
/* Match the 48px parcel logo and original wordmark, rather than the older SVG slogan. */
body.mm-theme .mm-header.mm-homepage-header .mm-header-inner>a.mm-home-brand {
  display:inline-flex !important;flex-direction:row !important;align-items:center !important;
  justify-content:flex-start !important;gap:10px !important;
  flex:0 0 217px !important;flex-basis:217px !important;
  width:217px !important;max-width:217px !important;min-width:0 !important;
  text-decoration:none !important;white-space:nowrap;
}
body.mm-theme .mm-header.mm-homepage-header .mm-home-brand-mark {width:48px;height:48px;flex-shrink:0;display:block;}
body.mm-theme .mm-header.mm-homepage-header .mm-home-brand-words {
  display:block;font-size:22px;font-weight:900;letter-spacing:-.055em;line-height:1.07;color:#09265b;
}
body.mm-theme .mm-header.mm-homepage-header .mm-home-brand-words strong {
  display:block;font-size:15px;letter-spacing:-.018em;color:#f65b1b;font-weight:900;
}
body.mm-theme .mm-header.mm-homepage-header .mm-home-brand-words small {
  display:block;padding-top:3px;font-size:10px;font-weight:550;line-height:1.15;
  letter-spacing:0;color:#6c7790;
}
body.mm-theme .mm-header.mm-homepage-header .mm-home-brand .mm-logo-img {max-height:59px !important;}
/* Four menu items have exactly the same label order, colors and active underline. */
body.mm-theme .mm-header.mm-homepage-header .mm-home-links {
  display:flex !important;justify-content:center !important;align-items:center !important;
  flex-wrap:nowrap !important;gap:clamp(11px,1.7vw,25px) !important;
  width:auto;margin:0 !important;padding:0 !important;min-width:0;
}
body.mm-theme .mm-header.mm-homepage-header .mm-home-links>li {border:0 !important;list-style:none;}
body.mm-theme .mm-header.mm-homepage-header .mm-home-links>li>a {
  color:#09265b;font-size:13px;font-weight:760;white-space:nowrap;
  display:block;padding:29px 0 25px !important;line-height:1.3;
  border:0;border-bottom:3px solid transparent !important;
  background:transparent;text-decoration:none;
}
body.mm-theme .mm-header.mm-homepage-header .mm-home-links>li>a:hover,
body.mm-theme .mm-header.mm-homepage-header .mm-home-links>li.current-menu-item>a,
body.mm-theme .mm-header.mm-homepage-header .mm-home-links>li>a:focus-visible {
  color:#f25418 !important;border-bottom-color:#ff5b23 !important;
}
/* Home CTA: orange 46px button and inline calculator glyph. */
body.mm-theme .mm-header.mm-homepage-header .mm-head-right {display:flex;align-items:center;gap:8px;min-width:0;}
body.mm-theme .mm-header.mm-homepage-header .mm-home-calc-cta {
  min-height:46px !important;border-radius:8px !important;padding:11px 16px !important;
  font-size:12px !important;font-weight:750 !important;white-space:nowrap !important;
  color:white !important;background:linear-gradient(100deg,#ff6827,#ff4e1c) !important;
  box-shadow:0 5px 16px rgba(249,94,42,.15) !important;border:1px solid transparent !important;
  display:inline-flex !important;align-items:center !important;justify-content:center !important;gap:8px !important;
}
body.mm-theme .mm-header.mm-homepage-header .mm-home-calc-cta:hover {
  background:linear-gradient(90deg,#ef5422,#f04419) !important;transform:translateY(-1px);
}
body.mm-theme .mm-header.mm-homepage-header .mm-home-calc-icon {width:18px;height:18px;flex-shrink:0;}
/* WooCommerce tools are preserved as small icon buttons beside the CTA. */
body.mm-theme .mm-header.mm-homepage-header .mm-account,
body.mm-theme .mm-header.mm-homepage-header .mm-cart {
  display:inline-flex;align-items:center;justify-content:center;gap:3px;min-height:36px;
  color:#09265b !important;line-height:1.3;border-radius:7px;text-decoration:none;
}
body.mm-theme .mm-header.mm-homepage-header .mm-account:hover,
body.mm-theme .mm-header.mm-homepage-header .mm-cart:hover {color:#f25418 !important;}
body.mm-theme .mm-header.mm-homepage-header .mm-head-icon {width:18px;height:18px;flex-shrink:0;}
/* Preserve legibility between tablet & narrow desktop; no extra menu row. */
@media(min-width:981px) and (max-width:1130px){
  body.mm-theme .mm-header.mm-homepage-header .mm-header-inner {column-gap:10px !important;}
  body.mm-theme .mm-header.mm-homepage-header .mm-home-links {gap:12px !important;}
  body.mm-theme .mm-header.mm-homepage-header .mm-home-brand-mark {width:42px;height:42px;}
  body.mm-theme .mm-header.mm-homepage-header .mm-header-inner>a.mm-home-brand {
    flex-basis:187px !important;width:187px !important;max-width:187px !important;gap:7px !important;
  }
  body.mm-theme .mm-header.mm-homepage-header .mm-home-brand-words {font-size:19px;}
  body.mm-theme .mm-header.mm-homepage-header .mm-home-brand-words strong {font-size:13px;}
  body.mm-theme .mm-header.mm-homepage-header .mm-home-brand-words small {font-size:8.5px;}
  body.mm-theme .mm-header.mm-homepage-header .mm-home-links>li>a {font-size:12px;}
  body.mm-theme .mm-header.mm-homepage-header .mm-home-calc-cta {padding:10px 11px !important;}
}
/* Mobile: logo and hamburger on first row; links and CTA/actions inside expanded menu.
   Extra actions remain accessible without causing 320px horizontal scrolling. */
@media (max-width:980px) {
  body.mm-theme .mm-header.mm-homepage-header .mm-header-inner,
  body.mm-theme .mm-header.mm-homepage-header.mm-logo-mobile-large .mm-header-inner {
    display:grid !important;grid-template-columns:minmax(0,1fr) 42px !important;
    grid-template-rows:auto auto auto !important;column-gap:8px !important;row-gap:0 !important;
    min-height:72px;align-items:center !important;padding-top:8px;padding-bottom:8px;
  }
  body.mm-theme .mm-header.mm-homepage-header .mm-header-inner>a.mm-home-brand,
  body.mm-theme .mm-header.mm-homepage-header.mm-logo-mobile-large .mm-header-inner>a.mm-home-brand {
    grid-column:1 !important;grid-row:1 !important;
    width:192px !important;max-width:min(192px,100%) !important;flex-basis:auto !important;
    justify-self:start;gap:8px !important;margin:0 !important;
  }
  body.mm-theme .mm-header.mm-homepage-header .mm-home-brand-mark {width:42px;height:42px;}
  body.mm-theme .mm-header.mm-homepage-header .mm-home-brand-words {font-size:19px;}
  body.mm-theme .mm-header.mm-homepage-header .mm-home-brand-words strong {font-size:13px;}
  body.mm-theme .mm-header.mm-homepage-header .mm-home-brand-words small {font-size:8.5px;}
  body.mm-theme .mm-header.mm-homepage-header .mm-header-inner>.mm-hamburger,
  body.mm-theme .mm-header.mm-homepage-header.mm-logo-mobile-large .mm-header-inner>.mm-hamburger {
    grid-column:2 !important;grid-row:1 !important;
    display:flex !important;flex-direction:column;align-items:center;justify-content:center;
    margin:0 !important;justify-self:end !important;padding:8px;background:#edf5ff;
  }
  body.mm-theme .mm-header.mm-homepage-header .mm-hamburger span {
    display:block;width:20px;flex:0 0 2px;height:2px;margin:2.5px 0;background:#09265b;
  }
  body.mm-theme .mm-header.mm-homepage-header .mm-header-inner>.mm-nav,
  body.mm-theme .mm-header.mm-homepage-header.mm-logo-mobile-large .mm-header-inner>.mm-nav {
    grid-column:1/-1 !important;grid-row:2 !important;position:static !important;
    display:none !important;width:100% !important;max-width:100% !important;
    padding:8px 0 0 !important;margin:0 !important;overflow:visible !important;
    height:auto !important;max-height:none !important;min-width:0 !important;
  }
  body.mm-theme .mm-header.mm-homepage-header .mm-header-inner>.mm-nav.mm-open {display:block !important;}
  body.mm-theme .mm-header.mm-homepage-header .mm-home-links {
    display:flex !important;flex-direction:column !important;align-items:stretch !important;
    width:100% !important;gap:0 !important;min-width:0 !important;
  }
  body.mm-theme .mm-header.mm-homepage-header .mm-home-links>li {
    width:100% !important;border-bottom:1px solid #e9eef5 !important;
  }
  body.mm-theme .mm-header.mm-homepage-header .mm-home-links>li>a {
    display:block;width:100%;padding:13px 12px !important;font-size:14px;
    border-bottom:0 !important;white-space:normal;overflow-wrap:anywhere;
  }
  body.mm-theme .mm-header.mm-homepage-header .mm-header-inner>.mm-head-right,
  body.mm-theme .mm-header.mm-homepage-header.mm-logo-mobile-large .mm-header-inner>.mm-head-right {
    grid-column:1/-1 !important;grid-row:3 !important;justify-self:stretch !important;
    display:none !important;width:100%;max-width:100%;min-width:0;
    padding:13px 0 6px !important;margin:0 !important;
    flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:11px !important;
  }
  body.mm-theme .mm-header.mm-homepage-header .mm-nav.mm-open ~ .mm-head-right {display:flex !important;}
  body.mm-theme .mm-header.mm-homepage-header .mm-home-calc-cta {
    display:flex !important;order:-1;flex:1 0 100%;width:100%;min-height:44px !important;
  }
  body.mm-theme .mm-header.mm-homepage-header .mm-account span,
  body.mm-theme .mm-header.mm-homepage-header .mm-cart span {display:inline !important;}
  body.mm-theme .mm-header.mm-homepage-header .mm-account,
  body.mm-theme .mm-header.mm-homepage-header .mm-cart {min-height:38px;padding:6px 8px;}
  body.mm-theme .mm-header.mm-homepage-header .mm-cart-count {display:inline-grid !important;}
}
@media(max-width:370px){
  body.mm-theme .mm-header.mm-homepage-header .mm-header-inner>a.mm-home-brand {
    width:170px !important;max-width:min(170px,100%) !important;gap:6px !important;
  }
  body.mm-theme .mm-header.mm-homepage-header .mm-home-brand-mark {width:36px;height:36px;}
  body.mm-theme .mm-header.mm-homepage-header .mm-home-brand-words {font-size:17px;}
  body.mm-theme .mm-header.mm-homepage-header .mm-home-brand-words strong {font-size:12px;}
  body.mm-theme .mm-header.mm-homepage-header .mm-home-brand-words small {font-size:8px;}
}
@media(prefers-reduced-motion:reduce){body.mm-theme .mm-header.mm-homepage-header *{transition:none !important;}}
