/* Tidey global header + footer (mu-plugin tidey-global). Scoped to .tidey-announce / .tidey-header / .tidey-footer.
   Breakpoint for the burger = 767px, same as TIDEY_NAV_BP in global.js. */
.tidey-announce,.tidey-header,.tidey-footer{--t-bg:#FFFBF5;--t-ink:#262626;--t-surface:#F8F2E6;--t-ink-2:#414042;--t-accent:#1677F8;--t-line:#E6DDCB;
  font-family:"Familjen Grotesk",system-ui,-apple-system,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased;box-sizing:border-box}
.tidey-announce *,.tidey-header *,.tidey-footer *{box-sizing:border-box}
.tidey-sr{position:absolute !important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;margin:0;padding:0}

/* ---------- Hello Elementor / other theme fallback: hide the theme header + footer ---------- */
body.tidey-global #site-header,body.tidey-global header.site-header:not(.tidey-header),
body.tidey-global #site-footer,body.tidey-global footer.site-footer:not(.tidey-footer){display:none !important}

/* ---------- announcement bar (client 26 Nov: still, centred, no marquee / waves) ----------
   Highlight blue #4291F9 = brand blue #1677F8 tinted 19% toward white: 4.79:1 on ink #262626 (#1677F8 there is only 3.62:1). */
.tidey-announce{position:relative;background-color:var(--t-ink);color:var(--t-bg);margin:0;padding:11px 20px;text-align:center}
.tidey-announce .tidey-announce__line{margin:0;font-family:"IBM Plex Mono",ui-monospace,monospace;font-size:12px;line-height:1.5;letter-spacing:.1em;text-transform:uppercase;color:var(--t-bg)}
.tidey-announce .tidey-announce__hi{color:#4291F9;white-space:nowrap}

/* ---------- header ---------- */
.tidey-header{position:sticky;top:0;z-index:999;background-color:var(--t-bg);border-bottom:1px solid transparent;transition:border-color .3s}
body.admin-bar .tidey-header{top:32px}
.tidey-header.is-scrolled{border-bottom-color:var(--t-line)}
.tidey-header .tidey-header__wrap{max-width:1240px;margin:0 auto;padding:0 40px;height:88px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.tidey-header .tidey-header__logo{display:flex;align-items:center;min-height:44px;flex:none}
.tidey-header .tidey-header__logo img{display:block;width:112px;height:auto}
.tidey-header .tidey-header__nav{margin-left:auto}
.tidey-header .tidey-header__menu{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:8px}
.tidey-header .tidey-header__menu li{margin:0;padding:0}
.tidey-header .tidey-header__menu a{display:flex;align-items:center;min-height:44px;padding:0 16px;border-radius:999px;color:var(--t-ink);font-size:15px;line-height:1;text-decoration:none;white-space:nowrap;transition:background-color .25s}
.tidey-header .tidey-header__menu a:hover,.tidey-header .tidey-header__menu a:focus-visible{background-color:var(--t-surface);color:var(--t-ink)}
.tidey-header .tidey-header__menu .current-menu-item > a,.tidey-header .tidey-header__menu a[aria-current="page"]{background-color:var(--t-surface)}
.tidey-header .tidey-header__actions{display:flex;align-items:center;gap:8px;flex:none}
.tidey-header .tidey-header__cart{display:flex;align-items:center;gap:8px;min-height:44px;min-width:44px;padding:0 16px;border:1px solid var(--t-line);border-radius:999px;color:var(--t-ink);font-size:15px;line-height:1;text-decoration:none}
.tidey-header .tidey-header__cart:hover{background-color:var(--t-surface);color:var(--t-ink)}
/* burger: scoped under .tidey-header so Hello's reset.css [type=button] cannot win (LESSONS #17) */
.tidey-header button.tidey-header__burger,.tidey-header button.tidey-header__burger:hover,.tidey-header button.tidey-header__burger:focus{display:none;align-items:center;justify-content:center;width:44px;height:44px;padding:0;margin:0;
  background-color:transparent;border:1px solid var(--t-line);border-radius:50%;color:var(--t-ink);box-shadow:none;cursor:pointer}
.tidey-header button.tidey-header__burger:focus-visible{outline:2px solid var(--t-accent);outline-offset:2px}
.tidey-header .tidey-header__burger path{transition:transform .3s;transform-origin:center}
.tidey-header .tidey-header__burger[aria-expanded="true"] .tidey-burger__top{transform:translateY(4.5px) rotate(12deg)}
.tidey-header .tidey-header__burger[aria-expanded="true"] .tidey-burger__bottom{transform:translateY(-4.5px) rotate(-12deg)}

@media (max-width:767px){
  .tidey-header .tidey-header__wrap{height:72px;padding:0 20px}
  .tidey-header button.tidey-header__burger,.tidey-header button.tidey-header__burger:hover,.tidey-header button.tidey-header__burger:focus{display:flex}
  .tidey-header .tidey-header__nav{position:fixed;left:0;right:0;top:var(--tidey-header-bottom,72px);bottom:0;margin:0;background-color:var(--t-bg);
    padding:24px 20px 40px;overflow-y:auto;visibility:hidden;opacity:0;transform:translateY(-8px);transition:opacity .25s,transform .25s,visibility 0s .25s}
  .tidey-header.is-open .tidey-header__nav{visibility:visible;opacity:1;transform:none;transition:opacity .25s,transform .25s}
  .tidey-header .tidey-header__menu{flex-direction:column;align-items:stretch;gap:0}
  .tidey-header .tidey-header__menu li{border-bottom:1px solid var(--t-line)}
  .tidey-header .tidey-header__menu a{min-height:64px;padding:0 4px;border-radius:0;font-size:28px;font-weight:600;letter-spacing:-.02em}
  .tidey-header .tidey-header__menu a:hover{background-color:transparent}
  body.tidey-nav-open{overflow:hidden}
}
@media (max-width:782px){ body.admin-bar .tidey-header{top:46px} }
@media (max-width:600px){ body.admin-bar .tidey-header{top:0} }

/* ---------- footer ---------- */
.tidey-footer{background-color:var(--t-surface);color:var(--t-ink);padding:96px 0 0;overflow:hidden;font-size:15px;line-height:1.6}
.tidey-footer .tidey-footer__wrap{max-width:1240px;margin:0 auto;padding:0 40px}
.tidey-footer .tidey-footer__row{display:flex;flex-wrap:wrap;gap:4%;padding-bottom:48px}
.tidey-footer .tidey-footer__brand{width:37%}
.tidey-footer .tidey-footer__line{font-weight:600;font-size:26px;line-height:1.2;letter-spacing:-.02em;max-width:340px;margin:0 0 24px;color:var(--t-ink)}
.tidey-footer address{font-style:normal;color:var(--t-ink-2);line-height:1.7;font-size:14px;margin:0}
.tidey-footer .tidey-footer__col{width:17%}
.tidey-footer .tidey-footer__h{font-family:"IBM Plex Mono",ui-monospace,monospace;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--t-ink-2);margin:0 0 10px}
.tidey-footer .tidey-footer__col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.tidey-footer .tidey-footer__col li{margin:0;padding:0}
.tidey-footer .tidey-footer__col a{display:flex;align-items:center;min-height:44px;color:var(--t-ink);text-decoration:none}
.tidey-footer .tidey-footer__col a:hover{color:var(--t-ink);text-decoration:underline;text-underline-offset:4px}
.tidey-footer .tidey-footer__ruo{border-top:1px solid var(--t-line);padding:28px 0;display:flex;flex-wrap:wrap;gap:4%;color:var(--t-ink-2);font-size:13px;line-height:1.7}
.tidey-footer .tidey-footer__ruo p{margin:0 0 8px}
.tidey-footer .tidey-footer__ruo-head{width:30%;font-family:"IBM Plex Mono",ui-monospace,monospace;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--t-ink)}
.tidey-footer .tidey-footer__ruo-text{width:66%}
.tidey-footer .tidey-footer__mark{display:block;width:100%;height:auto;opacity:.07;margin:8px 0 -2%}

@media (max-width:1024px){
  .tidey-footer .tidey-footer__brand{width:100%;margin-bottom:40px}
  .tidey-footer .tidey-footer__col{width:30%}
}
@media (max-width:767px){
  .tidey-footer{padding-top:72px}
  .tidey-footer .tidey-footer__wrap{padding:0 20px}
  .tidey-footer .tidey-footer__col{width:100%;margin-bottom:24px}
  .tidey-footer .tidey-footer__ruo-head,.tidey-footer .tidey-footer__ruo-text{width:100%}
}
