/* PATH: public_html/assets/css/layout/header.css */
.navbar {
  position: fixed !important;
  top: 0; left: 0; right: 0;
  z-index: var(--z-sticky-header);
  height: var(--navbar-h);
  background: var(--navbar-bg, rgba(8,6,3,0.97)) !important;
  border-bottom: 1px solid rgba(201,151,44,0.13);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.navbar.scrolled {
  background: var(--navbar-scrolled, rgba(6,4,2,0.99)) !important;
  border-bottom-color: rgba(201,151,44,0.22);
  box-shadow: 0 8px 28px rgba(0,0,0,0.45);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--navbar-h);
  gap: 8px;
  width: 100%;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.navbar__logo img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(201,151,44,0.55);
  box-shadow: 0 0 0 3px rgba(201,151,44,0.10), 0 2px 12px rgba(0,0,0,0.5);
  flex-shrink: 0;
  transition: border-color .25s, box-shadow .25s;
}

.navbar__logo:hover img {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,151,44,0.18), 0 4px 16px rgba(0,0,0,0.55);
}

.navbar__logo-text {
  font-family: var(--font-ui);
  font-size: .88rem;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}

.navbar__logo-text span {
  color: var(--gold);
}

[data-theme="light"] .navbar__logo-text {
  text-shadow: none;
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.navbar__cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--white-faint);
  color: var(--white);
  transition: all 0.2s;
  border: 1px solid var(--black-border);
}

.navbar__cart-btn:hover {
  background: rgba(245,240,235,0.1);
  border-color: var(--gold);
  color: var(--gold);
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: var(--ruby);
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 700;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s var(--ease-spring);
}

.cart-badge.visible {
  opacity: 1;
  transform: scale(1);
}

/* Currency is currently locked to a static KES badge — the full
   multi-currency dropdown markup still exists (see components/currency.css)
   but is intentionally hidden here, matching the site's current
   single-currency operation. Delete this override when multi-currency
   goes live to restore the dropdown. */
.currency-switcher {
  display: flex;
  align-items: center;
}

#navbar-currency-inner > *:not(.gbp-badge) {
  display: none !important;
}

.gbp-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-ui);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--white-dim);
  background: rgba(201,151,44,0.10);
  border: 1px solid rgba(201,151,44,0.25);
  border-radius: 4px;
  padding: 5px 10px;
  white-space: nowrap;
  pointer-events: none;
}
