/* EndoCann shared shell — navigation + footer.
   Extracted from the per-page inline shell so every page stays consistent.
   Scoped to .ec-nav / .ec-footer; safe to load alongside any page CSS. */
.ec-nav,.ec-nav *,.ec-footer,.ec-footer *{box-sizing:border-box}
/* Visually-hidden but screen-reader-available (descriptive H1s). */
.ec-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* The skip link was removed site-wide. Bypassing the nav is served by the
   landmarks instead (WCAG 2.4.1 via ARIA11): every page exposes one main
   landmark and every <nav> carries an accessible name, so screen readers can
   jump straight past the header. Nothing focusable means nothing that can
   render as a stray banner on any device. */

/* Site-wide keyboard focus indicator (mouse users are unaffected). */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,
textarea:focus-visible,summary:focus-visible,[tabindex]:focus-visible{
  outline:3px solid var(--ecgold,#d6b45d);outline-offset:2px;border-radius:4px}
.ec-nav{--ecg:#073d26;--ecg2:#0b5a37;--ecgold:#d6b45d;--ecline:rgba(255,255,255,.14);
  position:relative;z-index:9600;display:flex;align-items:center;gap:18px;
  flex-wrap:wrap;padding:10px 20px;background:linear-gradient(180deg,#0a4c30,#073d26);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  box-shadow:0 2px 14px rgba(0,0,0,.18);line-height:1.2}
.ec-nav-brand{display:flex;align-items:center;gap:9px;color:#fff;font-weight:800;
  font-size:19px;letter-spacing:.2px;text-decoration:none;margin-right:auto}
.ec-nav-brand:hover{color:#fff}
.ec-nav-brand .ec-logo{font-size:20px;line-height:1}
.ec-nav-brand small{display:block;font-weight:600;font-size:10.5px;color:var(--ecgold);
  letter-spacing:.6px;text-transform:uppercase;margin-top:1px}
.ec-nav-links{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.ec-nav-links>a,.ec-drop>summary{color:#eaf5ee;text-decoration:none;font-size:14.5px;
  font-weight:600;padding:8px 12px;border-radius:9px;cursor:pointer;white-space:nowrap;
  display:inline-flex;align-items:center;gap:6px;background:none;border:0;list-style:none}
.ec-nav-links>a:hover,.ec-drop>summary:hover{background:rgba(255,255,255,.12);color:#fff}
.ec-nav-links>a[aria-current="page"],.ec-drop.ec-active>summary{background:var(--ecgold);color:#073320}
.ec-drop{position:relative}
.ec-drop>summary{list-style:none}
.ec-drop>summary::-webkit-details-marker{display:none}
.ec-drop>summary::after{content:"";width:6px;height:6px;border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;transform:rotate(45deg);margin-left:2px;opacity:.75;
  position:relative;top:-2px}
.ec-menu{display:flex;flex-direction:column;gap:2px;padding:8px;min-width:230px;
  background:#fff;border:1px solid #e4e9e6;border-radius:12px;
  box-shadow:0 16px 40px rgba(4,30,18,.22)}
.ec-menu a{display:block;color:#0f2a1d;text-decoration:none;font-size:14px;font-weight:600;
  padding:9px 11px;border-radius:8px}
.ec-menu a span{display:block;font-weight:500;font-size:11.5px;color:#6a7c72;margin-top:1px}
.ec-menu a:hover{background:#eef6f0;color:#073d26}
.ec-menu a[aria-current="page"]{background:#073d26;color:#fff}
.ec-menu a[aria-current="page"] span{color:#cfe6d8}
.ec-nav-toggle,.ec-nav-burger{display:none}
@media(min-width:861px){
  .ec-drop[open]>.ec-menu{position:absolute;top:calc(100% + 8px);left:0;z-index:20}
}
@media(max-width:860px){
  .ec-nav{gap:10px}
  .ec-nav-burger{display:inline-flex;flex-direction:column;justify-content:center;gap:4px;
    width:42px;height:38px;padding:8px 9px;border-radius:9px;cursor:pointer;
    background:rgba(255,255,255,.1)}
  .ec-nav-burger span{display:block;height:2.5px;background:#fff;border-radius:2px}
  .ec-nav-links{display:none;flex-direction:column;align-items:stretch;gap:2px;
    flex-basis:100%;order:3;width:100%;padding-top:6px}
  /* Keep the toggle out of the visual layout but keyboard-focusable
     (display:none would make the mobile menu unreachable by keyboard). */
  .ec-nav-toggle{display:block;position:absolute;width:1px;height:1px;overflow:hidden;
    clip:rect(0 0 0 0);opacity:0;margin:0}
  .ec-nav-toggle:focus-visible~.ec-nav-burger{outline:3px solid #fff;outline-offset:3px}
  .ec-nav-toggle:checked~.ec-nav-links{display:flex}
  .ec-nav-links>a,.ec-drop>summary{width:100%;padding:11px 12px;font-size:15px}
  .ec-drop>summary{justify-content:space-between}
  .ec-drop[open]>.ec-menu{position:static;margin:2px 0 6px;min-width:0}
  .ec-menu{box-shadow:none;border-color:#e9efeb}
}
.ec-footer{--ecg:#073d26;--ecgold:#d6b45d;background:#062a1b;color:#cfe0d6;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  padding:44px 20px 26px;margin-top:48px;font-size:14px;line-height:1.55}
.ec-footer a{color:#cfe0d6;text-decoration:none}
.ec-footer a:hover{color:#fff;text-decoration:underline}
.ec-foot-grid{max-width:1080px;margin:0 auto;display:grid;gap:28px 30px;
  grid-template-columns:1.4fr 1fr 1fr 1fr 1fr 1fr}
.ec-foot-brand h3{margin:0 0 8px;color:#fff;font-size:18px}
.ec-foot-brand p{margin:0;color:#9fb6aa;max-width:34ch}
.ec-foot-col h4{margin:0 0 12px;color:var(--ecgold);font-size:12.5px;font-weight:700;
  letter-spacing:.7px;text-transform:uppercase}
.ec-foot-col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px}
.ec-foot-bottom{max-width:1080px;margin:30px auto 0;padding-top:18px;
  border-top:1px solid rgba(255,255,255,.12);display:flex;justify-content:space-between;
  gap:12px;flex-wrap:wrap;color:#8ba597;font-size:12.5px}
@media(max-width:980px){.ec-foot-grid{grid-template-columns:1fr 1fr 1fr}}
@media(max-width:640px){.ec-foot-grid{grid-template-columns:1fr 1fr}}
@media(max-width:460px){.ec-foot-grid{grid-template-columns:1fr}}

/* Shop button in the nav — always gold so it stands out. */
.ec-nav-links>a.ec-shop{background:var(--ecgold);color:#073320;font-weight:800}
.ec-nav-links>a.ec-shop:hover{background:#e6c877;color:#073320}
