/* Fastidious Wellness - global site header */
.fwhdr{--ink:#0E2240;--teal:#2F8F85;--teal-dk:#256F67;--line:#E4E9F0;--muted:#7A879B;
  position:sticky;top:0;z-index:9999;font-family:'Archivo',system-ui,-apple-system,sans-serif}
.fwhdr *{box-sizing:border-box}

/* trust strip */
.fwhdr__strip{background:var(--ink);color:#fff}
.fwhdr__strip-in{max-width:1240px;margin:0 auto;padding:0 24px;height:38px;
  display:flex;align-items:center;justify-content:space-between;gap:20px}
.fwhdr__trust{display:flex;align-items:center;gap:22px;margin:0;padding:0;list-style:none;min-width:0}
.fwhdr__trust li{display:flex;align-items:center;gap:7px;white-space:nowrap;
  font-size:11.5px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.82)}
.fwhdr__trust li::before{content:"";width:5px;height:5px;border-radius:50%;background:var(--teal);flex:0 0 5px}
.fwhdr__contact{display:flex;align-items:center;gap:18px;white-space:nowrap}
.fwhdr__contact a{color:rgba(255,255,255,.82);text-decoration:none;font-size:12.5px;transition:color .2s}
.fwhdr__contact a:hover{color:#fff}

/* main bar */
.fwhdr__main{background:rgba(255,255,255,.88);backdrop-filter:saturate(180%) blur(14px);
  -webkit-backdrop-filter:saturate(180%) blur(14px);border-bottom:1px solid var(--line);transition:box-shadow .25s,background .25s}
.fwhdr.is-stuck .fwhdr__main{background:rgba(255,255,255,.97);box-shadow:0 6px 26px rgba(14,34,64,.09)}
.fwhdr__in{max-width:1240px;margin:0 auto;padding:0 24px;height:76px;
  display:flex;align-items:center;gap:28px;transition:height .25s}
.fwhdr.is-stuck .fwhdr__in{height:66px}

.fwhdr__logo{display:flex;align-items:center;flex:0 0 auto;text-decoration:none}
.fwhdr__logo img{display:block;height:52px;width:auto;transition:height .25s}
.fwhdr.is-stuck .fwhdr__logo img{height:44px}

/* nav */
.fwhdr__nav{flex:1 1 auto;display:flex;justify-content:center;min-width:0}
.fwhdr__menu{display:flex;align-items:center;gap:6px;margin:0;padding:0;list-style:none}
.fwhdr__menu li{position:relative}
.fwhdr__menu a{display:block;padding:10px 14px;border-radius:9px;text-decoration:none;
  color:var(--ink);font-size:15px;font-weight:500;line-height:1;transition:color .2s,background .2s}
.fwhdr__menu a:hover{color:var(--teal);background:rgba(47,143,133,.07)}
.fwhdr__menu .current-menu-item>a,.fwhdr__menu .current_page_item>a{color:var(--teal)}
/* submenus */
.fwhdr__menu .sub-menu{position:absolute;top:calc(100% + 10px);left:0;min-width:210px;margin:0;padding:8px;
  list-style:none;background:#fff;border:1px solid var(--line);border-radius:12px;
  box-shadow:0 16px 40px rgba(14,34,64,.12);opacity:0;visibility:hidden;transform:translateY(-6px);
  transition:opacity .18s,transform .18s,visibility .18s}
.fwhdr__menu li:hover>.sub-menu,.fwhdr__menu li:focus-within>.sub-menu{opacity:1;visibility:visible;transform:none}
.fwhdr__menu .sub-menu a{font-size:14.5px;padding:9px 12px}
.fwhdr__menu .menu-item-has-children>a::after{content:"";display:inline-block;width:7px;height:7px;margin-left:7px;
  border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:translateY(-2px) rotate(45deg)}

/* actions */
.fwhdr__actions{display:flex;align-items:center;gap:6px;flex:0 0 auto}
.fwhdr__icon{position:relative;display:inline-flex;align-items:center;justify-content:center;
  width:42px;height:42px;border:0;background:none;border-radius:10px;color:var(--ink);cursor:pointer;
  text-decoration:none;transition:background .2s,color .2s}
.fwhdr__icon:hover{background:rgba(14,34,64,.06);color:var(--teal)}
.fwhdr__icon svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.7;
  stroke-linecap:round;stroke-linejoin:round}
.fwhdr__count{position:absolute;top:5px;right:4px;min-width:17px;height:17px;padding:0 4px;
  display:flex;align-items:center;justify-content:center;border-radius:9px;background:var(--teal);
  color:#fff;font-size:10.5px;font-weight:700;line-height:1}
.fwhdr__count[data-empty="1"]{display:none}
.fwhdr__cta{display:inline-flex;align-items:center;justify-content:center;height:44px;padding:0 20px;
  margin-left:8px;border-radius:11px;background:var(--teal);color:#fff !important;text-decoration:none;
  font-size:14.5px;font-weight:600;white-space:nowrap;transition:background .2s,transform .2s}
.fwhdr__cta:hover{background:var(--teal-dk);transform:translateY(-1px)}

/* burger */
.fwhdr__burger{display:none;width:44px;height:44px;border:0;background:none;border-radius:10px;
  cursor:pointer;padding:0;align-items:center;justify-content:center;flex-direction:column;gap:5px}
.fwhdr__burger span{display:block;width:20px;height:2px;border-radius:2px;background:var(--ink);
  transition:transform .25s,opacity .2s}
.fwhdr.is-open .fwhdr__burger span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.fwhdr.is-open .fwhdr__burger span:nth-child(2){opacity:0}
.fwhdr.is-open .fwhdr__burger span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* search panel */
.fwhdr__search{max-height:0;overflow:hidden;background:#fff;border-bottom:1px solid transparent;
  transition:max-height .3s ease,border-color .3s}
.fwhdr.is-search .fwhdr__search{max-height:110px;border-bottom-color:var(--line)}
.fwhdr__search form{max-width:1240px;margin:0 auto;padding:18px 24px;display:flex;gap:10px}
.fwhdr__search input[type=search]{flex:1;height:48px;padding:0 16px;border:1px solid var(--line);
  border-radius:11px;font-size:15px;font-family:inherit;color:var(--ink);background:#F7F9FC;outline:none}
.fwhdr__search input[type=search]:focus{border-color:var(--teal);background:#fff}
.fwhdr__search button{height:48px;padding:0 22px;border:0;border-radius:11px;background:var(--ink);
  color:#fff;font-family:inherit;font-size:14.5px;font-weight:600;cursor:pointer}
.fwhdr__search button:hover{background:var(--teal)}

/* mobile drawer */
.fwhdr__scrim{position:fixed;inset:0;background:rgba(14,34,64,.45);opacity:0;visibility:hidden;
  transition:opacity .3s,visibility .3s;z-index:9998}
.fwhdr.is-open .fwhdr__scrim{opacity:1;visibility:visible}
.fwhdr__drawer{position:fixed;top:0;right:0;bottom:0;width:min(340px,86vw);background:#fff;z-index:9999;
  transform:translateX(100%);transition:transform .32s cubic-bezier(.4,0,.2,1);
  display:flex;flex-direction:column;padding:22px;overflow-y:auto;box-shadow:-20px 0 60px rgba(14,34,64,.18)}
.fwhdr.is-open .fwhdr__drawer{transform:none}
.fwhdr__drawer .fwhdr__menu{flex-direction:column;align-items:stretch;gap:2px;margin-top:14px}
.fwhdr__drawer .fwhdr__menu a{padding:14px 12px;font-size:17px;font-weight:500;border-radius:10px}
.fwhdr__drawer .sub-menu{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;
  border:0;border-left:2px solid var(--line);border-radius:0;margin:2px 0 6px 12px;padding:0 0 0 6px}
.fwhdr__drawer .menu-item-has-children>a::after{float:right;transform:rotate(45deg)}
.fwhdr__drawer-top{display:flex;align-items:center;justify-content:space-between;
  padding-bottom:16px;border-bottom:1px solid var(--line)}
.fwhdr__drawer-top img{height:36px;width:auto}
.fwhdr__close{width:40px;height:40px;border:0;background:none;border-radius:10px;cursor:pointer;
  color:var(--ink);font-size:26px;line-height:1}
.fwhdr__close:hover{background:rgba(14,34,64,.06)}
.fwhdr__drawer .fwhdr__cta{margin:18px 0 0;height:50px;width:100%}
.fwhdr__drawer-links{display:flex;gap:8px;margin-top:14px;padding-top:16px;border-top:1px solid var(--line)}
.fwhdr__drawer-links a{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;height:46px;
  border:1px solid var(--line);border-radius:11px;color:var(--ink);text-decoration:none;font-size:14px;font-weight:500}
.fwhdr__drawer-links a:hover{border-color:var(--teal);color:var(--teal)}
.fwhdr__drawer-links svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.7}
.fwhdr__drawer-contact{margin-top:auto;padding-top:20px;font-size:13px;color:var(--muted);line-height:1.9}
.fwhdr__drawer-contact a{color:var(--muted);text-decoration:none;display:block}
.fwhdr__drawer-contact a:hover{color:var(--ink)}

body.fw-nav-open{overflow:hidden}

/* ---------- responsive ---------- */
@media (max-width:1180px){
  .fwhdr__menu a{padding:10px 10px;font-size:14.5px}
  .fwhdr__in{gap:16px}
}
@media (max-width:1024px){
  .fwhdr__nav{display:none}
  .fwhdr__burger{display:flex}
  .fwhdr__in{height:68px;justify-content:space-between}
  .fwhdr.is-stuck .fwhdr__in{height:62px}
  .fwhdr__contact a:nth-child(2){display:none}
}
@media (max-width:760px){
  .fwhdr__cta{display:none}
  .fwhdr__trust li:nth-child(n+3){display:none}
  .fwhdr__strip-in{padding:0 16px}
  .fwhdr__in{padding:0 16px;height:62px}
  .fwhdr__logo img{height:40px}
  .fwhdr.is-stuck .fwhdr__logo img{height:38px}
}
@media (max-width:560px){
  .fwhdr__trust li:nth-child(n+2){display:none}
  .fwhdr__contact{display:none}
  .fwhdr__strip-in{justify-content:center;height:34px}
  .fwhdr__icon{width:38px;height:38px}
  .fwhdr__search form{padding:14px 16px}
}

/* hide the old Elementor header template + the homepage's built-in bar */
.elementor-location-header{display:none !important}
body.page-id-8251 .elementor .hd{display:none !important}
/* The closed drawer is parked at translateX(100%), which sits outside the viewport
   and extends the document's scrollable width. `overflow-x: clip` stops that without
   creating a scroll container, so the sticky header keeps working (overflow:hidden
   would break it). */
html{overflow-x:clip}
body{overflow-x:clip}
.fwhdr__drawer{will-change:transform}
/* ---- remove the theme header wrapper ----
   Hiding .elementor-location-header only hid the header TEMPLATE. Shoptimizer's own
   wrapper (header.site-header / .main-header) is still in the DOM, and the theme gives it
   a hard-coded height:70px below 992px - so an empty 70px strip was reserved at the top of
   every page on mobile. The custom header replaces it entirely, so it goes. */
header.site-header,
.main-header,
.site-header{display:none !important}
