/* =========================================================
   Shared site navigation (self-contained, used on every page)
   ========================================================= */
.topnav{position:sticky;top:0;left:0;right:0;z-index:200;
  background:rgba(255,255,255,.94);backdrop-filter:saturate(180%) blur(12px);
  border-bottom:1px solid var(--line);font-family:"Inter",system-ui,-apple-system,sans-serif}
.topnav *{box-sizing:border-box}
.topnav__inner{max-width:1180px;margin:0 auto;padding:11px 24px;display:flex;align-items:center;gap:18px}

/* brand */
.topnav__brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--ink);margin-right:auto;min-width:0}
/* On a 375px screen the brand wrapped to two lines and ran under the cart icon. */
.topnav__brand .topnav__name,.topnav__brand span{white-space:nowrap}
/* At 375px the bar held flag + name + cart + language pill + burger and the brand
   wrapped under the cart. Truncating it read worse than wrapping, so the language
   pill drops out of the top bar instead: it is already in the drawer below. */
@media(max-width:520px){
  .topnav__inner{gap:12px;padding:11px 16px}
  .topnav__inner .topnav__lang{display:none}
  .topnav__brand{font-size:.98rem}
}
.topnav__flag{height:19px;width:auto;display:block;border-radius:2px;flex:none}
.topnav__name{font-family:"Inter",system-ui,-apple-system,sans-serif;font-weight:600;font-size:1.18rem;line-height:1.05;letter-spacing:.01em}
.topnav__name small{display:block;font-family:"Inter",system-ui,-apple-system,sans-serif;font-size:.62rem;font-weight:600;letter-spacing:.22em;text-transform:uppercase;color:var(--ink-soft)}

/* desktop menu row */
.topnav__menu{display:flex;align-items:center;gap:6px}
.topnav__item{position:relative}
.topnav__trigger{display:inline-flex;align-items:center;gap:6px;background:none;border:none;cursor:pointer;
  font-family:inherit;font-size:.95rem;font-weight:600;color:var(--ink-soft);padding:10px 12px;border-radius:var(--radius);transition:.2s}
.topnav__trigger:hover,.topnav__item.is-open .topnav__trigger{color:var(--ink-strong);background:rgba(95,128,67,.08)}
.topnav__caret{transition:transform .25s}
.topnav__item.is-open .topnav__caret{transform:rotate(180deg)}

/* dropdown panel */
.topnav__drop{position:absolute;top:calc(100% + 6px);left:0;min-width:230px;
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);
  padding:8px;display:flex;flex-direction:column;
  opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .2s ease,transform .2s ease;z-index:10}
.topnav__drop--right{left:auto;right:0}
.topnav__item:hover .topnav__drop,.topnav__item.is-open .topnav__drop{opacity:1;visibility:visible;transform:none}
.topnav__drop a{display:block;padding:9px 14px;border-radius:var(--radius);color:var(--ink);text-decoration:none;
  font-size:.92rem;font-weight:500;white-space:nowrap;transition:.15s}
.topnav__drop a:hover{background:var(--cream);color:var(--ink-strong)}

/* cart */
.topnav__cart{position:relative;display:flex;color:var(--ink);padding:8px;text-decoration:none}
.topnav__cart:hover{color:var(--ink-strong)}
.cart-badge{position:absolute;top:-2px;right:-4px;background:var(--ink-strong);color:#fff;font-size:.64rem;font-weight:700;
  min-width:17px;height:17px;border-radius:var(--radius);display:flex;align-items:center;justify-content:center;padding:0 4px}
.topnav__cart--bar{display:none;margin-left:auto}

/* shop online button */
.topnav__cta{display:inline-flex;align-items:center;min-height:42px;padding:0 20px;border-radius:var(--radius);
  background:var(--accent);color:#fff;font-weight:700;font-size:.9rem;
  text-decoration:none;letter-spacing:.02em;transition:.25s;white-space:nowrap}
.topnav__cta:hover{box-shadow:var(--shadow)}
/* custom quote button: deliberate contrast to the azure shop button (CEO 2026-07-27) */
.topnav__cta--quote{background:var(--ink);color:#fff}
.topnav__cta--quote:hover{background:#000}

/* hamburger */
.topnav__burger{display:none;width:46px;height:46px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  flex-direction:column;align-items:center;justify-content:center;gap:5px;cursor:pointer}
.topnav__burger span{display:block;width:21px;height:2px;background:var(--ink);border-radius:2px;transition:.3s}
.topnav.is-drawer-open .topnav__burger span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.topnav.is-drawer-open .topnav__burger span:nth-child(2){opacity:0}
.topnav.is-drawer-open .topnav__burger span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* mobile drawer */
.topnav__drawer{display:none;flex-direction:column;padding:6px 24px 26px;
  background:#fff;border-top:1px solid var(--line);max-height:calc(100vh - 66px);overflow-y:auto}
.topnav.is-drawer-open .topnav__drawer{display:flex}
.topnav__draw-group{border-bottom:1px solid var(--cream-2)}
.topnav__draw-head{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:15px 2px;font-family:"Inter",system-ui,-apple-system,sans-serif;font-size:1.02rem;font-weight:700;color:var(--ink)}
.topnav__draw-head::-webkit-details-marker{display:none}
.topnav__draw-head .topnav__caret{flex:none;color:var(--ink-strong);transition:transform .25s}
.topnav__draw-group[open] .topnav__draw-head .topnav__caret{transform:rotate(180deg)}
.topnav__draw-links{display:flex;flex-direction:column;padding:0 0 12px}
.topnav__draw-links a{display:block;padding:9px 0 9px 4px;color:var(--ink);text-decoration:none;font-size:.96rem;font-weight:500}
.topnav__draw-links a:hover{color:var(--ink-strong)}
.topnav__cta--drawer{margin-top:18px;justify-content:center;min-height:50px;font-size:1rem}

/* breakpoint */
@media(max-width:1023px){
  .topnav__menu{display:none}
  .topnav__cart--bar{display:flex}
  .topnav__burger{display:flex}
}

/* =========================================================
   Shared site footer
   ========================================================= */
.site-footer{background:#12171c;color:rgba(255,255,255,.66);font-family:"Inter",system-ui,-apple-system,sans-serif;font-size:16px;line-height:1.6;padding:56px 0 calc(32px + env(safe-area-inset-bottom,0px));margin-top:40px}
.site-footer *{box-sizing:border-box}
.site-footer__inner{max-width:1180px;margin:0 auto;padding:0 24px}
.site-footer__top{display:grid;grid-template-columns:1fr;gap:38px;padding-bottom:36px;border-bottom:1px solid rgba(255,255,255,.12)}
@media(min-width:860px){.site-footer__top{grid-template-columns:1.25fr 2fr;gap:54px}}
.site-footer__logo{display:inline-flex;align-items:center;gap:10px;color:#fff;text-decoration:none}
.site-footer__logo img{height:18px;width:auto;border-radius:2px;display:block}
.site-footer__logo span{font-family:"Inter",system-ui,-apple-system,sans-serif;font-weight:600;font-size:1.12rem;line-height:1.05}
.site-footer__logo small{display:block;font-family:"Inter",system-ui,-apple-system,sans-serif;font-size:.6rem;font-weight:600;letter-spacing:.22em;text-transform:uppercase;color:rgba(255,255,255,.5)}
.site-footer__tag{margin:16px 0;font-size:.94rem;line-height:1.6;max-width:34ch;color:rgba(255,255,255,.66)}
.site-footer__contact{display:flex;flex-direction:column;gap:6px}
.site-footer__contact a{color:var(--line);text-decoration:none;font-weight:600;font-size:.92rem}
.site-footer__contact a:hover{color:#fff}
.site-footer__cols{display:grid;grid-template-columns:1fr 1fr;gap:26px}
@media(min-width:600px){.site-footer__cols{grid-template-columns:repeat(4,1fr)}}
.site-footer__col h4{color:#fff;font-size:.73rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;margin:0 0 14px}
.site-footer__col a{display:block;color:rgba(255,255,255,.66);text-decoration:none;font-size:.9rem;font-weight:500;padding:5px 0}
.site-footer__col a:hover{color:var(--line)}
.site-footer__bar{display:flex;flex-wrap:wrap;gap:12px 24px;justify-content:space-between;align-items:center;padding-top:24px;font-size:.82rem}
.site-footer__bar p{margin:0;color:rgba(255,255,255,.5)}
.site-footer__meta{display:flex;gap:18px}
.site-footer__meta a{color:rgba(255,255,255,.6);text-decoration:none;font-weight:600}
.site-footer__meta a:hover{color:var(--line)}

/* footer address + delivery blocks */
.site-footer__addr{margin-top:16px;display:grid;gap:12px}
.site-footer__addr div{font-size:.86rem;line-height:1.5;color:rgba(255,255,255,.6)}
.site-footer__addr strong{display:block;color:rgba(255,255,255,.8);font-size:.68rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;margin-bottom:3px}
.site-footer__delivery{padding:30px 0;border-bottom:1px solid rgba(255,255,255,.12)}
.site-footer__delivery h4{color:#fff;font-family:"Inter",system-ui,-apple-system,sans-serif;font-weight:600;font-size:1.18rem;margin:0 0 10px}
.site-footer__delivery p{margin:0;font-size:.9rem;line-height:1.65;color:rgba(255,255,255,.62)}
.site-footer__delivery strong{color:var(--line);font-weight:600}

/* =========================================================
   Cookie consent banner
   ========================================================= */
#cookie-banner{position:fixed;left:0;right:0;bottom:0;z-index:9999;
  background:#12171c;color:rgba(255,255,255,.85);
  padding:16px 20px calc(16px + env(safe-area-inset-bottom,0px));
  box-shadow:0 -8px 30px -12px rgba(0,0,0,.45);
  font-family:"Inter",system-ui,-apple-system,sans-serif}
.cookie-banner__inner{max-width:1180px;margin:0 auto;display:flex;flex-direction:column;gap:14px;align-items:flex-start}
.cookie-banner__text{margin:0;font-size:.9rem;line-height:1.55}
.cookie-banner__text a{color:var(--line);text-decoration:underline;font-weight:600}
.cookie-banner__actions{display:flex;gap:10px;flex-shrink:0}
.cookie-banner__btn{min-height:42px;padding:0 22px;border-radius:var(--radius);font-family:inherit;
  font-size:.9rem;font-weight:700;cursor:pointer;border:1px solid transparent;transition:.2s;white-space:nowrap}
.cookie-banner__btn--accept{background:var(--accent);color:#fff}
.cookie-banner__btn--accept:hover{box-shadow:var(--shadow)}
.cookie-banner__btn--ghost{background:transparent;color:rgba(255,255,255,.85);border-color:rgba(255,255,255,.3)}
.cookie-banner__btn--ghost:hover{border-color:var(--line);color:#fff}
@media(min-width:760px){
  .cookie-banner__inner{flex-direction:row;align-items:center;justify-content:space-between;gap:28px}
  .cookie-banner__text{font-size:.88rem}
}

/* =========================================================
   Home only: transparent nav over the hero, solid after scroll
   ========================================================= */
body.home-hero .topnav{position:fixed;background:transparent;border-bottom-color:transparent;backdrop-filter:none;transition:background .3s ease,border-color .3s ease,backdrop-filter .3s ease}
body.home-hero .topnav.is-scrolled,
body.home-hero .topnav.is-drawer-open{background:rgba(255,255,255,.94);border-bottom-color:var(--line);backdrop-filter:saturate(180%) blur(12px)}
/* keep the brand + menu legible over the image while transparent */
body.home-hero .topnav:not(.is-scrolled):not(.is-drawer-open) .topnav__name,
body.home-hero .topnav:not(.is-scrolled):not(.is-drawer-open) .topnav__name small,
body.home-hero .topnav:not(.is-scrolled):not(.is-drawer-open) .topnav__trigger,
body.home-hero .topnav:not(.is-scrolled):not(.is-drawer-open) .topnav__cart{text-shadow:0 1px 10px rgba(255,255,255,.9),0 1px 2px rgba(255,255,255,.7)}

/* Drawer language switcher: mobile only, since the top bar carries it from 520px up. */
.topnav__lang--drawer{display:flex;justify-content:center;margin-top:12px}
@media(min-width:521px){.topnav__lang--drawer{display:none}}
