/* Chip In cross-site navigation V2 — same link set as the main homepage.
   The approved full Chip In MERCH logo and basket control are unchanged.
   On Merch pages, no E-mail or Call action buttons are displayed. */
body.ci-brand .site-header,
body.storefront-dark.merch-refined.ci-brand .site-header {
  grid-template-columns:auto minmax(0,1fr) auto!important;
  gap:clamp(10px,1.6vw,20px)!important;
}
body.ci-brand .site-header nav.chipin-cross-nav,
body.storefront-dark.merch-refined.ci-brand .site-header nav.chipin-cross-nav {
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:center!important;
  gap:clamp(10px,1.15vw,19px)!important;
  min-width:0!important;
  max-width:none!important;
  width:100%!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  overflow:visible!important;
  background:transparent!important;
  font-family:Fredoka,Inter,system-ui,sans-serif!important;
  font-size:clamp(.78rem,.92vw,.92rem)!important;
  font-weight:700!important;
  line-height:1.2!important;
  letter-spacing:normal!important;
}
body.ci-brand .site-header .chipin-cross-nav > a,
body.ci-brand .site-header .chipin-cross-nav > .nav-merch-menu > summary {
  position:relative;
  display:inline-flex;
  flex:0 0 auto;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:9px 0;
  margin:0;
  border:0;
  background:transparent;
  color:#082f68;
  font:inherit;
  font-weight:700;
  line-height:1.2;
  letter-spacing:normal;
  text-align:center;
  text-decoration:none;
  white-space:nowrap;
  cursor:pointer;
}
body.ci-brand .site-header .chipin-cross-nav > a::after,
body.ci-brand .site-header .chipin-cross-nav > .nav-merch-menu > summary::before {
  content:"";
  position:absolute;
  left:0;right:100%;bottom:1px;
  height:3px;border-radius:4px;
  background:#f7bd18;
  transition:right .2s ease;
}
body.ci-brand .site-header .chipin-cross-nav > a:hover::after,
body.ci-brand .site-header .chipin-cross-nav > a:focus-visible::after,
body.ci-brand .site-header .chipin-cross-nav > .nav-merch-menu[open] > summary::before {
  right:0;
}
body.ci-brand .site-header .chipin-cross-nav > a:hover,
body.ci-brand .site-header .chipin-cross-nav > a:focus-visible {color:#082f68}
body.ci-brand .site-header .chipin-cross-nav > .nav-merch-menu {
  position:relative;
  flex:0 0 auto;
  color:#082f68;
  font:inherit;
}
body.ci-brand .site-header .chipin-cross-nav > .nav-merch-menu > summary {
  list-style:none!important;
  -webkit-appearance:none;
}
body.ci-brand .site-header .chipin-cross-nav > .nav-merch-menu > summary::-webkit-details-marker {display:none!important}
body.ci-brand .site-header .chipin-cross-nav > .nav-merch-menu > summary::marker {content:"";font-size:0}
body.ci-brand .site-header .chipin-cross-nav > .nav-merch-menu > summary::after {content:none!important;display:none!important}
body.ci-brand .site-header .chipin-cross-nav .nav-merch-dropdown {
  position:absolute;
  z-index:120;
  top:calc(100% + 7px);
  right:0;
  min-width:174px;
  padding:7px;
  border:1px solid rgba(8,47,104,.12);
  border-radius:13px;
  background:white;
  box-shadow:0 14px 35px rgba(8,47,104,.18);
}
body.ci-brand .site-header .chipin-cross-nav .nav-merch-dropdown > a {
  display:block;
  padding:12px 15px;
  border-radius:8px;
  background:transparent;
  color:#082f68;
  font:700 .92rem/1.2 Fredoka,Inter,system-ui,sans-serif;
  text-decoration:none;
  white-space:nowrap;
}
body.ci-brand .site-header .chipin-cross-nav .nav-merch-dropdown > a:hover,
body.ci-brand .site-header .chipin-cross-nav .nav-merch-dropdown > a:focus-visible,
body.ci-brand .site-header .chipin-cross-nav .nav-merch-dropdown > a[aria-current="page"] {
  background:#fff4c7;
}
body.ci-brand .site-header .chipin-cross-nav :is(a,summary):focus-visible {
  outline:3px solid #f7bd18;
  outline-offset:3px;
  border-radius:7px;
}
@media(max-width:1160px){
  body.ci-brand .site-header,
  body.storefront-dark.merch-refined.ci-brand .site-header {
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:6px 12px!important;
    padding-top:10px!important;
    padding-bottom:7px!important;
  }
  body.ci-brand .site-header > .brand {grid-column:1!important;grid-row:1!important;justify-self:start!important}
  body.ci-brand .site-header > .basket-nav {grid-column:2!important;grid-row:1!important;justify-self:end!important}
  body.ci-brand .site-header nav.chipin-cross-nav {
    grid-column:1/-1!important;
    grid-row:2!important;
    justify-content:center!important;
    flex-wrap:wrap!important;
    gap:3px 20px!important;
    padding:5px 0 0!important;
    border-top:1px solid rgba(8,47,104,.08)!important;
  }
}
@media(max-width:620px){
  body.ci-brand .site-header,
  body.storefront-dark.merch-refined.ci-brand .site-header {
    padding-left:12px!important;
    padding-right:12px!important;
  }
  body.ci-brand .site-header nav.chipin-cross-nav {
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:6px!important;
    padding-top:5px!important;
    font-size:.79rem!important;
    width:100%!important;
  }
  body.ci-brand .site-header .chipin-cross-nav > a,
  body.ci-brand .site-header .chipin-cross-nav > .nav-merch-menu > summary {
    min-width:0;
    width:100%;
    min-height:43px;
    padding:7px 3px;
    white-space:normal;
    line-height:1.15;
    border:1px solid rgba(8,47,104,.1);
    border-radius:11px;
    background:rgba(255,255,255,.78);
  }
  body.ci-brand .site-header .chipin-cross-nav > a::after,
  body.ci-brand .site-header .chipin-cross-nav > .nav-merch-menu > summary::before {display:none}
  body.ci-brand .site-header .chipin-cross-nav > .nav-merch-menu[open] > summary {
    background:#fff4c7;
    border-color:rgba(247,189,24,.5);
  }
  body.ci-brand .site-header .chipin-cross-nav .nav-merch-dropdown {
    max-width:calc(100vw - 24px);
    min-width:165px;
  }
}
@media(max-width:380px){
  body.ci-brand .site-header .brand-logo,
  body.storefront-dark.merch-refined.ci-brand .site-header .brand-logo {
    width:105px!important;
    flex-basis:105px!important;
  }
  body.ci-brand .site-header .brand-merch,
  body.storefront-dark.merch-refined.ci-brand .site-header .brand-merch {
    font-size:22px!important;
    top:3px!important;
  }
  body.ci-brand .site-header .chipin-cross-nav .nav-merch-dropdown {right:0}
}

/* V2: one authoritative header layout for the physical shop and Quiz In.
   This deliberately loads AFTER both pages' individual stylesheets. */
body.storefront-dark.merch-refined.ci-brand .site-header {
  box-sizing:border-box!important;
  display:grid!important;
  align-items:center!important;
  width:100%!important;
  min-height:80px!important;
  padding:10px max(18px,calc((100% - 1160px)/2))!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  column-gap:clamp(10px,1.6vw,20px)!important;
  row-gap:0!important;
  background:rgba(255,255,255,.97)!important;
  border:0!important;
  border-bottom:1px solid rgba(8,47,104,.09)!important;
  box-shadow:none!important;
  color:#082f68!important;
  position:sticky!important;
  top:0!important;
  z-index:70!important;
  backdrop-filter:blur(12px);
}
body.storefront-dark.merch-refined.ci-brand .site-header > .brand {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  grid-column:1!important;
  grid-row:1!important;
  justify-self:start!important;
  gap:10px!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  text-decoration:none!important;
}
body.storefront-dark.merch-refined.ci-brand .site-header .brand-logo {
  display:block!important;
  width:166px!important;
  height:auto!important;
  max-height:none!important;
  max-width:none!important;
  flex:0 0 166px!important;
  object-fit:contain!important;
  object-position:left center!important;
}
body.storefront-dark.merch-refined.ci-brand .site-header .brand-merch {
  font:700 35px/1 Fredoka,Inter,system-ui,sans-serif!important;
  letter-spacing:.055em!important;
  color:#0b2d62!important;
  position:relative!important;
  top:5px!important;
  transform:none!important;
  background:none!important;
  border:0!important;
  padding:0!important;
  margin:0!important;
  white-space:nowrap!important;
}
body.storefront-dark.merch-refined.ci-brand .site-header nav.chipin-cross-nav {
  grid-column:2!important;
  grid-row:1!important;
  justify-self:center!important;
}
body.storefront-dark.merch-refined.ci-brand .site-header > .basket-nav {
  box-sizing:border-box!important;
  grid-column:3!important;
  grid-row:1!important;
  justify-self:end!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:43px!important;
  height:43px!important;
  border:1px solid rgba(8,47,104,.14)!important;
  border-radius:50%!important;
  background:#fff!important;
  color:#082f68!important;
  box-shadow:none!important;
}
@media(max-width:1160px) {
  body.storefront-dark.merch-refined.ci-brand .site-header {
    min-height:0!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    column-gap:12px!important;
    row-gap:6px!important;
    padding:10px 18px 7px!important;
  }
  body.storefront-dark.merch-refined.ci-brand .site-header > .basket-nav {
    grid-column:2!important;grid-row:1!important;
  }
  body.storefront-dark.merch-refined.ci-brand .site-header nav.chipin-cross-nav {
    grid-column:1/-1!important;grid-row:2!important;justify-self:stretch!important;
  }
}
@media(max-width:820px) {
  body.storefront-dark.merch-refined.ci-brand .site-header .brand-logo {
    width:135px!important;flex-basis:135px!important;
  }
  body.storefront-dark.merch-refined.ci-brand .site-header .brand-merch {
    font-size:28px!important;top:4px!important;
  }
}
@media(max-width:620px) {
  body.storefront-dark.merch-refined.ci-brand .site-header {
    padding-left:12px!important;padding-right:12px!important;
  }
}
@media(max-width:560px) {
  body.storefront-dark.merch-refined.ci-brand .site-header > .brand {gap:8px!important;}
  body.storefront-dark.merch-refined.ci-brand .site-header .brand-logo {
    width:122px!important;flex-basis:122px!important;
  }
  body.storefront-dark.merch-refined.ci-brand .site-header .brand-merch {
    font-size:26px!important;top:3px!important;
  }
}
@media(max-width:380px) {
  body.storefront-dark.merch-refined.ci-brand .site-header .brand-logo {
    width:105px!important;flex-basis:105px!important;
  }
  body.storefront-dark.merch-refined.ci-brand .site-header .brand-merch {
    font-size:22px!important;top:3px!important;
  }
}
