/* BigArena mega menu v7 (2026-10-21) - all locales.
   Tokens: gold #FFD300, graphite #2B2F36 / #353A42, light #FAFAF6 / #FFFFFF, ink #0E1117,
   muted text #57585c (on white), borders #ece9df. Fraunces headings, Inter body. */
:root{--mm-gold:#FFD300;--mm-graphite:#2B2F36;--mm-graphite-2:#353A42;--mm-light:#FAFAF6;--mm-ink:#0E1117;--mm-muted:#57585c;--mm-line:#ece9df;--mm-muted-dark:#9DA7B3}

/* the panel is positioned against the fixed <header>, so it can be centred on the viewport */
header .menu .menu-item.has-mega{position:static}
.has-mega > .mega-toggle{background:none;border:0;padding:0;margin:0;font:inherit;font-family:inherit;color:inherit;cursor:pointer;display:inline-flex;align-items:center;gap:6px;text-transform:uppercase;line-height:inherit;letter-spacing:inherit}
header .menu .menu-item.has-mega > .mega-toggle{font-size:14px;color:#000;font-weight:400;position:relative}
header .menu .menu-item.has-mega > .mega-toggle .icofont-thin-down{position:static;font-size:12px;transition:transform .2s ease}
header .menu .menu-item.has-mega.is-open > .mega-toggle{color:#0E1117}
header .menu .menu-item.has-mega.is-open > .mega-toggle .icofont-thin-down{transform:rotate(180deg)}
header .menu .menu-item.has-mega > .mega-toggle:focus-visible{outline:2px solid var(--mm-ink);outline-offset:4px;border-radius:4px}
/* invisible bridge from the toggle down to the panel, so the pointer never "falls through" */
.has-mega > .mega-toggle::after{content:"";position:absolute;left:-18px;right:-18px;top:100%;height:34px}

.mega-panel{display:none;font-family:'Inter','InterFallback',-apple-system,BlinkMacSystemFont,system-ui,sans-serif;-webkit-font-smoothing:antialiased;color:var(--mm-ink);text-transform:none;letter-spacing:normal;font-size:14px;line-height:1.4;text-align:left}
.mega-panel ul{list-style:none;margin:0;padding:0}
.mega-panel a{text-decoration:none;color:inherit}

@media (min-width:992px){
  /* bootstrap makes .container and .col-* position:relative; release them so the fixed <header> is the reference */
  header > .container, header .desktopNav-order{position:static}
  .mega-panel{position:absolute;left:50%;top:100%;transform:translateX(-50%);width:min(1180px,calc(100vw - 48px));max-height:calc(100vh - 110px);overflow-y:auto;background:#fff;border:1px solid var(--mm-line);border-radius:20px;box-shadow:0 32px 80px -18px rgba(14,17,24,.28),0 4px 12px -4px rgba(14,17,24,.08);padding:26px 30px 18px;z-index:10000;box-sizing:border-box}
  .has-mega.is-open .mega-panel,
  .has-mega:not(.mega-js):hover .mega-panel,
  .has-mega:not(.mega-js):focus-within .mega-panel{display:block}
  .mega-cols{display:grid;grid-template-columns:1fr 1fr 1.08fr;gap:0}
  .mega-col{padding:0 22px;min-width:0}
  .mega-col:first-child{padding-left:0}
  .mega-col:last-child{padding-right:0}
  .mega-col + .mega-col{border-left:1px solid var(--mm-line)}
}

.mega-h{font-family:'Fraunces',Georgia,serif;font-weight:700;font-size:17px;line-height:1.2;letter-spacing:-.01em;color:var(--mm-ink);margin:0 0 12px 10px;text-transform:none}
.mega-item{display:grid;grid-template-columns:34px 1fr;gap:12px;align-items:center;padding:7px 10px;border-radius:10px;transition:background-color .15s ease}
.mega-item:hover{background:rgba(255,211,0,.12)}
.mega-item:focus-visible{outline:2px solid var(--mm-ink);outline-offset:0;background:rgba(255,211,0,.12)}
.mega-ic{width:34px;height:34px;border-radius:9px;background:var(--mm-light);border:1px solid var(--mm-line);display:flex;align-items:center;justify-content:center;box-sizing:border-box;transition:border-color .15s ease}
.mega-ic svg{width:17px;height:17px;stroke:var(--mm-ink);stroke-width:1.75;fill:none;stroke-linecap:round;stroke-linejoin:round}
.mega-item:hover .mega-ic,.mega-item:focus-visible .mega-ic{border-color:rgba(180,138,0,.55)}
.mega-tx{min-width:0}
.mega-tx strong{display:block;font-weight:600;font-size:14px;line-height:1.3;color:var(--mm-ink)}
.mega-tx span{display:block;font-size:12.5px;line-height:1.4;color:var(--mm-muted);margin-top:2px}
/* the hub link is the one primary entry: solid gold icon, slightly larger label, a hairline under it */
.mega-item.is-hub .mega-ic{background:var(--mm-gold);border-color:var(--mm-gold)}
.mega-item.is-hub .mega-tx strong{font-size:15px;font-weight:700}
.mega-list > li:first-child:has(.is-hub){border-bottom:1px solid var(--mm-line);padding-bottom:6px;margin-bottom:6px}

/* featured guide card (graphite, never near-black) */
.mega-feat{display:block;margin-top:14px;background:linear-gradient(180deg,var(--mm-graphite) 0%,var(--mm-graphite-2) 100%);border-radius:14px;overflow:hidden;color:#fff;transition:transform .15s ease}
.mega-feat:hover{transform:translateY(-1px)}
.mega-feat:focus-visible{outline:2px solid var(--mm-gold);outline-offset:3px}
.mega-feat-img{display:block;aspect-ratio:16/6;overflow:hidden;background:var(--mm-graphite-2)}
.mega-feat-img img{width:100%;height:100%;object-fit:cover;display:block}
.mega-feat-body{display:block;padding:14px 18px 16px}
.mega-feat-t{display:block;font-family:'Fraunces',Georgia,serif;font-weight:700;font-size:17px;line-height:1.25;letter-spacing:-.01em;color:#fff}
.mega-feat-p{display:block;font-size:12.5px;line-height:1.5;color:var(--mm-muted-dark);margin:6px 0 10px}
.mega-feat-cta{display:inline-block;background:var(--mm-gold);color:var(--mm-ink);font-weight:700;font-size:13px;padding:8px 16px;border-radius:99px}

/* integrations: e-commerce platforms only */
.mega-ints{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px 18px;border-top:1px solid var(--mm-line);margin-top:16px;padding-top:12px}
.mega-ints-lbl{font-size:12.5px;font-weight:600;color:var(--mm-ink)}
.mega-ints ul{display:flex;flex-wrap:wrap;gap:4px 16px;align-items:center}
.mega-ints a{font-size:12.5px;color:var(--mm-muted);padding:2px 0;border-bottom:1px solid transparent}
.mega-ints a:hover{color:var(--mm-ink);border-bottom-color:var(--mm-gold)}
.mega-ints a:focus-visible{outline:2px solid var(--mm-ink);outline-offset:2px;border-radius:2px}
.mega-ints-all a{color:var(--mm-ink);font-weight:600}

/* tablet + phone (<992px): compact accordion. "Services" opens 3 group rows, all collapsed, one open at a time;
   inside a group only the link labels, 44px rows, no icons, no sublines; the guide is one text link. */
.mega-gbtn,.mega-feat-m{display:none}
@media (max-width:991.98px){
  header .mobile-menu.open{max-height:calc(100vh - 64px);overflow-y:auto;-webkit-overflow-scrolling:touch}
  header .menu .menu-item.has-mega{display:block;text-align:left}
  header .menu .menu-item.has-mega > .mega-toggle{display:flex;width:100%;justify-content:flex-start;gap:10px;min-height:44px;text-align:left}
  .has-mega > .mega-toggle::after{display:none}
  .has-mega.is-open .mega-panel{display:block;padding:0 0 10px}
  .mega-cols{display:block}
  .mega-col{padding:0;border-top:1px solid var(--mm-line)}
  .mega-col:first-child{border-top:0}
  .mega-h,.mega-feat,.mega-ints-lbl{display:none}
  .mega-gbtn{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:46px;padding:0 4px 0 14px;background:none;border:0;font-family:'Fraunces',Georgia,serif;font-weight:700;font-size:16px;color:var(--mm-ink);text-align:left;cursor:pointer;text-transform:none;letter-spacing:normal}
  .mega-gbtn .icofont-thin-down{font-size:12px;transition:transform .2s ease}
  .mega-gbtn[aria-expanded="true"] .icofont-thin-down{transform:rotate(180deg)}
  .mega-gbtn:focus-visible{outline:2px solid var(--mm-ink);outline-offset:-2px;border-radius:6px}
  .mega-list{display:none;padding:0 0 8px 14px}
  .mega-col.is-open .mega-list{display:block}
  .mega-col.is-open .mega-feat-m{display:flex}
  .mega-item{display:flex;align-items:center;min-height:44px;padding:0 10px;border-radius:8px}
  .mega-ic,.mega-tx span{display:none}
  .mega-tx strong,.mega-item.is-hub .mega-tx strong{font-size:15px;font-weight:500}
  .mega-item.is-hub .mega-tx strong{font-weight:700}
  .mega-list > li:first-child:has(.is-hub){border-bottom:0;padding-bottom:0;margin-bottom:0}
  .mega-feat-m{align-items:center;min-height:44px;margin:0 0 8px 14px;padding:0 10px;font-size:14px;font-weight:600;color:var(--mm-ink);border-left:3px solid var(--mm-gold)}
  .mega-ints{justify-content:flex-start;gap:0;margin-top:2px;padding:8px 0 0 14px}
  .mega-ints ul{gap:0 14px}
  .mega-ints a{display:inline-flex;align-items:center;min-height:44px;font-size:13px}
}
@media (min-width:992px) and (max-width:1199.98px){.mega-col{padding:0 14px}.mega-panel{padding:22px 20px 16px}.mega-item{padding:7px 6px;gap:10px}}
@media (prefers-reduced-motion:reduce){.mega-item,.mega-feat,.mega-toggle .icofont-thin-down{transition:none}}
