/* theme colours + layout */
:root{--ags-tb-bg:#05060c;--ags-tb-accent:#FFB547;--ags-tb-on-accent:#1a1206;--ags-tb-hover:#FFB547}
body:has(>.ags-tb--fixed) .hdr{top:var(--ags-tb-h)!important}
@media (min-width:901px){
  .hdr .wrap>.logo{flex:1 1 0!important;min-width:max-content}
  .hdr .wrap>.nav{flex:0 1 auto!important;min-width:0;margin:0!important;justify-content:center}
  .hdr .wrap>.ags-hdr-right{flex:1 1 0!important;min-width:max-content;justify-content:flex-end}
}
@media (max-width:900px){.hdr .wrap>.ags-hdr-right{margin-left:auto}}
/* ── Header layout (shared by every theme) ─────────────────────────────
   Top row:  address (left) · Facebook + Google (right)
   Main row: logo (left) · pages (centred) · phone button (right)
   Colours come from the --ags-tb-* variables in the theme block above. */
:root{--ags-tb-h:38px}
.ags-tb{position:relative;z-index:1002;height:var(--ags-tb-h);box-sizing:border-box;background:var(--ags-tb-bg,#05070c);color:var(--ags-tb-text,rgba(238,243,250,.86));border-bottom:1px solid var(--ags-tb-line,rgba(255,255,255,.08));font:500 13px/1 var(--ags-tb-font,inherit);letter-spacing:.01em}
.ags-tb-in{height:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 clamp(16px,2.4vw,40px);box-sizing:border-box}
.ags-tb a{color:inherit;text-decoration:none}
.ags-tb-addr{display:inline-flex;align-items:center;gap:8px;min-width:0;transition:color .25s}
.ags-tb-addr span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ags-tb-addr svg{flex:none;color:var(--ags-tb-accent,currentColor)}
.ags-tb-addr:hover{color:var(--ags-tb-hover,#fff)}
.ags-tb-soc{display:flex;align-items:center;gap:8px;flex:none}
.ags-tb-soc a{width:26px;height:26px;border-radius:7px;display:grid;place-items:center;background:var(--ags-tb-chip,rgba(255,255,255,.07));box-shadow:inset 0 0 0 1px var(--ags-tb-line,rgba(255,255,255,.08));transition:background .25s,color .25s,transform .25s}
.ags-tb-soc a:hover{background:var(--ags-tb-accent,#fff);color:var(--ags-tb-on-accent,#fff);transform:translateY(-1px)}
.ags-tb-soc svg{width:14px;height:14px}
.ags-tb a:focus-visible{outline:2px solid var(--ags-tb-accent,#fff);outline-offset:2px;border-radius:6px}
/* pinned headers: the top row is pinned too and the page is pushed down by its height */
.ags-tb.ags-tb--fixed{position:fixed;top:0;left:0;right:0}
body:has(>.ags-tb--fixed),html.ags-tb-on body{padding-top:var(--ags-tb-h)!important}
.ags-hdr-right{display:flex;align-items:center;gap:12px;flex:none}
@media (max-width:760px){
  :root{--ags-tb-h:34px}
  .ags-tb{font-size:12px}
  .ags-tb-in{gap:10px;padding:0 14px}
  .ags-tb-soc a{width:24px;height:24px}
}

/* Brand-colour Facebook / Google icons (all themes) - double size */
svg.ags-bi{width:48px!important;height:48px!important;flex:none;display:block;border-radius:50%;color:initial}
.ags-tb-soc svg.ags-bi{width:40px!important;height:40px!important}
html body a:has(>svg.ags-bi){width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;padding:3px!important;box-sizing:content-box!important;flex:none}
a:hover>svg.ags-bi,a:focus>svg.ags-bi{filter:none;opacity:1}
/* the top bar grows to fit the larger icons */
:root{--ags-tb-h:54px}
@media (max-width:760px){:root{--ags-tb-h:52px}}
