@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=Inter:wght@400;500;600;700&display=swap");

:root {
  --afc-header-red:#ef312a;
  --afc-header-line:#ffffff1f;
}

header#masthead,
.site-header:not(.afc-global-header) {
  display:none !important;
}

.afc-site > .afc-nav {
  display:none !important;
}

.afc-global-header {
  position:sticky;
  z-index:999;
  top:0;
  width:100%;
  border-bottom:1px solid var(--afc-header-line);
  color:#fff;
  background:rgba(10,12,14,.96);
  box-shadow:0 10px 30px rgba(0,0,0,.22);
  backdrop-filter:blur(14px);
  font-family:"Inter",Arial,sans-serif;
}

body.admin-bar .afc-global-header {
  top:32px;
}

.afc-header-inner {
  display:grid;
  width:calc(100% - 44px);
  max-width:1320px;
  min-height:82px;
  margin:0 auto;
  grid-template-columns:auto 1fr auto auto;
  align-items:center;
  gap:18px;
}

.afc-header-brand {
  display:flex;
  align-items:center;
  gap:13px;
  color:#fff !important;
  text-decoration:none !important;
}

.afc-header-mark {
  display:grid;
  width:43px;
  height:43px;
  place-items:center;
  border:2px solid var(--afc-header-red);
  color:#fff;
  background:#15181b;
  font-family:"Barlow Condensed",Impact,sans-serif;
  font-size:16px;
  font-weight:900;
  transform:rotate(-4deg);
  box-shadow:4px 4px 0 #000;
}

.afc-header-brand strong,
.afc-header-brand small {
  display:block;
  font-family:"Barlow Condensed",Impact,sans-serif;
  font-weight:900;
  line-height:.84;
  text-transform:uppercase;
}

.afc-header-brand strong {
  font-size:25px;
  letter-spacing:.02em;
}

.afc-header-brand small {
  margin-top:6px;
  color:#ff5c55;
  font-size:12px;
  letter-spacing:.23em;
}

.afc-header-nav {
  display:flex;
  justify-content:center;
  align-items:center;
  gap:6px;
}

.afc-header-nav a {
  position:relative;
  padding:31px 15px 28px;
  color:#c9cdcf !important;
  font-family:"Barlow Condensed",Impact,sans-serif;
  font-size:16px;
  font-weight:800;
  letter-spacing:.055em;
  text-decoration:none !important;
  text-transform:uppercase;
  transition:color .18s ease,background .18s ease;
}

.afc-header-nav a::after {
  content:"";
  position:absolute;
  right:15px;
  bottom:20px;
  left:15px;
  height:2px;
  background:var(--afc-header-red);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .18s ease;
}

.afc-header-nav a:hover {
  color:#fff !important;
  background:#ffffff08;
}

.afc-header-nav a:hover::after {
  transform:scaleX(1);
}

.afc-header-nav .afc-mobile-account {
  display:none;
}

.afc-header-account {
  display:inline-flex;
  min-height:44px;
  padding:0 17px;
  align-items:center;
  justify-content:center;
  border:1px solid var(--afc-header-red);
  color:#fff !important;
  background:var(--afc-header-red);
  font-family:"Barlow Condensed",Impact,sans-serif;
  font-size:15px;
  font-weight:800;
  letter-spacing:.07em;
  text-decoration:none !important;
  text-transform:uppercase;
  transition:color .18s ease,background .18s ease;
}

.afc-header-account:hover {
  color:var(--afc-header-red) !important;
  background:transparent;
}

.afc-header-cart {
  display:flex;
  min-width:166px;
  min-height:52px;
  padding:9px 12px;
  align-items:center;
  gap:10px;
  border:1px solid #ffffff2b;
  color:#fff !important;
  background:#171a1d;
  text-decoration:none !important;
  transition:border-color .18s ease,background .18s ease;
}

.afc-header-cart:hover {
  border-color:var(--afc-header-red);
  background:#202428;
}

.afc-cart-icon {
  position:relative;
  width:22px;
  height:16px;
  border:2px solid #fff;
  border-top:0;
  transform:skew(-8deg);
}

.afc-cart-icon::before {
  content:"";
  position:absolute;
  top:-6px;
  left:-5px;
  width:7px;
  height:5px;
  border-top:2px solid #fff;
}

.afc-cart-icon::after {
  content:"••";
  position:absolute;
  top:10px;
  left:2px;
  color:var(--afc-header-red);
  font-size:15px;
  letter-spacing:7px;
}

.afc-cart-copy {
  display:block;
  line-height:1.05;
}

.afc-cart-copy small,
.afc-cart-copy strong {
  display:block;
  font-family:"Barlow Condensed",Impact,sans-serif;
  text-transform:uppercase;
}

.afc-cart-copy small {
  color:#888e92;
  font-size:10px;
  letter-spacing:.1em;
}

.afc-cart-copy strong {
  margin-top:5px;
  font-size:14px;
  letter-spacing:.04em;
}

.afc-header-cart > b {
  display:none;
}

.afc-menu-toggle {
  display:none;
}

@media(max-width:950px) {
  .afc-header-inner {
    grid-template-columns:auto auto 1fr;
    gap:16px;
  }

  .afc-menu-toggle {
    display:flex;
    width:46px;
    height:46px;
    margin-left:auto;
    padding:10px;
    flex-direction:column;
    justify-content:center;
    gap:5px;
    border:1px solid #ffffff2b;
    border-radius:0;
    color:#fff;
    background:#171a1d;
  }

  .afc-menu-toggle span {
    display:block;
    width:100%;
    height:2px;
    background:#fff;
  }

  .afc-menu-toggle b {
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    clip:rect(0 0 0 0);
  }

  .afc-header-nav {
    display:none;
    position:absolute;
    top:100%;
    right:0;
    left:0;
    padding:10px 22px 20px;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    border-top:1px solid var(--afc-header-line);
    border-bottom:3px solid var(--afc-header-red);
    background:#0d0f11;
    box-shadow:0 18px 30px rgba(0,0,0,.35);
  }

  .afc-global-header.afc-menu-open .afc-header-nav {
    display:flex;
  }

  .afc-header-nav a {
    padding:15px 12px;
    border-bottom:1px solid #ffffff12;
  }

  .afc-header-nav a::after {
    display:none;
  }

  .afc-header-nav .afc-mobile-account {
    display:block;
    margin-top:8px;
    border:1px solid var(--afc-header-red);
    color:#fff !important;
    background:var(--afc-header-red);
    text-align:center;
  }

  .afc-header-account {
    display:none;
  }

  .afc-header-cart {
    justify-self:end;
  }
}

@media(max-width:782px) {
  body.admin-bar .afc-global-header {
    top:46px;
  }
}

@media(max-width:560px) {
  .afc-header-inner {
    width:calc(100% - 24px);
    min-height:70px;
    grid-template-columns:1fr auto auto;
  }

  .afc-header-mark {
    width:38px;
    height:38px;
    font-size:14px;
  }

  .afc-header-brand strong {
    font-size:20px;
  }

  .afc-header-brand small {
    font-size:9px;
  }

  .afc-header-cart {
    min-width:44px;
    width:44px;
    min-height:44px;
    padding:9px;
    justify-content:center;
  }

  .afc-cart-copy {
    display:none;
  }

  .afc-header-cart > b {
    display:grid;
    position:absolute;
    top:5px;
    right:3px;
    width:18px;
    height:18px;
    place-items:center;
    border-radius:50%;
    color:#fff;
    background:var(--afc-header-red);
    font-size:10px;
  }
}
