@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@500;600;700;800&display=swap');

:root {
  --bf-nav-bg: rgba(13, 13, 13, .94);
  --bf-nav-panel: #171717;
  --bf-nav-line: rgba(255,255,255,.10);
  --bf-nav-text: #f5f5f3;
  --bf-nav-muted: #a7a7a7;
  --bf-nav-orange: #ff8b45;
  --bf-nav-orange-deep: #f45124;
}

.bf-site-header, .bf-site-header * { box-sizing: border-box; }
.bf-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: var(--bf-nav-bg);
  border-bottom: 1px solid var(--bf-nav-line);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  font-family: "DM Sans", sans-serif;
}
.bf-site-header::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--bf-nav-orange-deep), var(--bf-nav-orange), #ffc078);
}
.bf-nav-inner {
  width: min(1280px, 92%);
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.bf-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  color: var(--bf-nav-text);
  text-decoration: none;
}
.bf-brand img {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex: 0 0 auto;
}
.bf-brand-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 1.05px;
  white-space: nowrap;
}
.bf-brand-copy strong { color: var(--bf-nav-orange); font-weight: 800; }
.bf-brand-copy small {
  color: #929292;
  font: 700 9px/1.2 "DM Sans", sans-serif;
  letter-spacing: 2px;
}
.bf-nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(13px, 2vw, 27px);
}
.bf-nav-links > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  color: #c8c8c8;
  text-decoration: none;
  font: 700 12px/1 "DM Sans", sans-serif;
  white-space: nowrap;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.bf-nav-links > a:not(.bf-nav-cart):not(.bf-nav-home)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--bf-nav-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.bf-nav-links > a:hover { color: #fff; }
.bf-nav-links > a:not(.bf-nav-cart):not(.bf-nav-home):hover::after { transform: scaleX(1); }
.bf-nav-links .bf-nav-home {
  padding: 0 15px;
  border: 1px solid var(--bf-nav-line);
  border-radius: 9px;
}
.bf-nav-links .bf-nav-home:hover { border-color: #ff8b4577; color: var(--bf-nav-orange); }
.bf-nav-links .bf-nav-cart {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(255,139,69,.45);
  border-radius: 9px;
  background: rgba(255,139,69,.09);
  color: #fff;
}
.bf-nav-links .bf-nav-cart:hover {
  background: linear-gradient(110deg, var(--bf-nav-orange-deep), var(--bf-nav-orange));
  border-color: transparent;
  color: #17110d;
}
.bf-nav-cart i { font-size: 14px; }
.bf-cart-count, .header-cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 20px;
  background: var(--bf-nav-orange);
  color: #17110d;
  font: 800 10px/1 "DM Sans", sans-serif;
}
.bf-nav-cart [hidden], [data-cart-count][hidden] { display: none !important; }
.bf-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--bf-nav-line);
  border-radius: 10px;
  background: #ffffff08;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}
.bf-nav-toggle:hover { border-color: #ff8b4577; color: var(--bf-nav-orange); }

@media (max-width: 820px) {
  .bf-nav-inner { min-height: 72px; width: 92%; gap: 12px; }
  .bf-brand img { width: 46px; height: 46px; }
  .bf-brand-copy { font-size: 12px; letter-spacing: .8px; }
  .bf-brand-copy small { font-size: 8px; letter-spacing: 1.5px; }
  .bf-nav-toggle { display: inline-flex; flex: 0 0 auto; }
  .bf-nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    padding: 13px 4% 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    background: rgba(16,16,16,.98);
    border-bottom: 1px solid var(--bf-nav-line);
    box-shadow: 0 18px 35px rgba(0,0,0,.35);
  }
  .bf-site-header.is-open .bf-nav-links { display: flex; }
  .bf-nav-links > a {
    min-height: 46px;
    width: 100%;
    justify-content: flex-start;
    padding: 0 13px;
    border-radius: 8px;
    font-size: 13px;
  }
  .bf-nav-links > a:not(.bf-nav-cart):not(.bf-nav-home)::after { display: none; }
  .bf-nav-links > a:hover { background: rgba(255,255,255,.045); }
  .bf-nav-links .bf-nav-cart, .bf-nav-links .bf-nav-home { justify-content: center; }
}
@media (max-width: 390px) {
  .bf-nav-inner { width: 94%; }
  .bf-brand { gap: 9px; }
  .bf-brand img { width: 41px; height: 41px; }
  .bf-brand-copy { font-size: 10px; letter-spacing: .65px; }
  .bf-brand-copy small { font-size: 7px; letter-spacing: 1.2px; }
}
