/* Font Awesome fallback: force absolute webfont paths for pages that use fa-* icons */
@font-face {
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src:
    url("/assets/webfonts/fa-solid-900.woff2") format("woff2"),
    url("/assets/webfonts/fa-solid-900.woff") format("woff");
}

@font-face {
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src:
    url("/assets/webfonts/fa-regular-400.woff2") format("woff2"),
    url("/assets/webfonts/fa-regular-400.woff") format("woff");
}

@font-face {
  font-family: "Font Awesome 5 Brands";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src:
    url("/assets/webfonts/fa-brands-400.woff2") format("woff2"),
    url("/assets/webfonts/fa-brands-400.woff") format("woff");
}

.fa,
.fas,
.far,
.fab {
  display: inline-block;
  font-style: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.fa,
.fas {
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
}

.far {
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 400 !important;
}

.fab {
  font-family: "Font Awesome 5 Brands" !important;
  font-weight: 400 !important;
}

.bv-customer-nav {
  position: sticky;
  top: 14px;
  z-index: 500;
  width: min(1400px, calc(100% - 28px));
  margin: 14px auto 26px;
  padding: 0;
  color: #ffffff;
}

.bv-nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
  padding: 12px 14px 12px 16px;
  border: 1px solid rgba(251, 191, 36, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(14, 14, 14, 0.9) 0%, rgba(45, 27, 27, 0.92) 52%, rgba(18, 16, 15, 0.9) 100%);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.bv-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
  color: #ffffff;
}

.bv-nav-logo {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(251, 191, 36, 0.36);
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 52%, #fbbf24 100%);
  box-shadow: 0 12px 24px rgba(220, 38, 38, 0.28);
  overflow: hidden;
}

.bv-nav-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.bv-nav-brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  line-height: 1.05;
}

.bv-nav-brand-name {
  font-size: 1.1rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0;
  white-space: nowrap;
}

.bv-nav-brand-tagline {
  margin-top: 5px;
  font-size: 0.72rem;
  font-weight: 800;
  color: rgba(251, 191, 36, 0.88);
  letter-spacing: 0;
  text-transform: uppercase;
}

.bv-nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.045);
}

.bv-nav-item {
  margin: 0;
}

.bv-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.bv-nav-link i {
  color: rgba(251, 191, 36, 0.88);
  font-size: 0.95rem;
}

.bv-nav-link:hover,
.bv-nav-link:focus-visible {
  color: #ffffff;
  border-color: rgba(251, 191, 36, 0.26);
  background: rgba(220, 38, 38, 0.18);
  box-shadow: 0 10px 24px rgba(220, 38, 38, 0.18);
  transform: translateY(-1px);
  outline: none;
}

.bv-nav-link.active {
  color: #ffffff;
  border-color: rgba(251, 191, 36, 0.36);
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.95) 0%, rgba(239, 68, 68, 0.88) 100%);
  box-shadow: 0 12px 26px rgba(220, 38, 38, 0.32);
}

.bv-nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(251, 191, 36, 0.28);
  border-radius: 13px;
  background: rgba(220, 38, 38, 0.18);
  color: #ffffff;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.bv-nav-toggle:hover,
.bv-nav-toggle:focus-visible {
  border-color: rgba(251, 191, 36, 0.46);
  background: rgba(220, 38, 38, 0.28);
  transform: translateY(-1px);
  outline: none;
}

.bv-nav-toggle i {
  font-size: 1.25rem;
}

@media (max-width: 860px) {
  .bv-customer-nav {
    top: 10px;
    width: min(100% - 20px, 720px);
    margin-top: 10px;
    margin-bottom: 18px;
  }

  .bv-nav-shell {
    position: relative;
    min-height: 66px;
    padding: 10px 10px 10px 12px;
    border-radius: 16px;
  }

  .bv-nav-logo {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .bv-nav-brand-name {
    font-size: 0.98rem;
  }

  .bv-nav-brand-tagline {
    display: none;
  }

  .bv-nav-toggle {
    display: grid;
    flex: 0 0 46px;
  }

  .bv-nav-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(14, 14, 14, 0.98) 0%, rgba(45, 27, 27, 0.98) 100%);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.42);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
  }

  .bv-nav-menu.active,
  .bv-nav-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .bv-nav-link {
    width: 100%;
    min-height: 46px;
    padding: 12px 10px;
    background: rgba(255, 255, 255, 0.055);
  }
}

@media (max-width: 390px) {
  .bv-nav-brand {
    gap: 9px;
  }

  .bv-nav-brand-name {
    font-size: 0.9rem;
  }

  .bv-nav-menu {
    grid-template-columns: 1fr;
  }
}
