/* ============================================================
   PROFILE – BANNER MENU (fixed-on-scroll + red icons)
   Namespace: tp-bmenu-*
   ============================================================ */

.tp-bmenu-wrap{
  --bg: linear-gradient(180deg,#0b0b0b 0%,#141414 100%);
  --chip: linear-gradient(180deg,#161616 0%,#0f0f0f 100%);
  --chip-hover: #1b1b1b;
  --border: rgba(255,255,255,0.06);
  --text: #fff;
  --text-dim: rgba(255,255,255,0.75);
  --red: #D90404;
  --red-dark: #730707;
  --red-soft: rgba(217,4,4,0.18);
  --radius: 999px;
  --shadow: 0 2px 12px rgba(0,0,0,0.35);
  --h: 54px; /* item height */
}

.tp-bmenu-sticky{
  position: sticky;
  top: 0;                 /* sticky fallback */
  z-index: 100;           /* üstte kalsın */
  background: var(--bg);
  box-shadow: 0 1px 0 var(--border);
}

/* JS ile .is-fixed gelirse tamamen fixed'e geçer (tüm tarayıcılar için garantili) */
.tp-bmenu-sticky.is-fixed{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

.tp-bmenu-container{
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .5rem;
  padding: .6rem 0;
}

.tp-bmenu-viewport{ overflow: hidden; }
.tp-bmenu-track{
  display: inline-flex;
  gap: .5rem;
  padding: .2rem 0;
  will-change: transform;
  transition: transform .2s ease;
}

.tp-bmenu-item{
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  height: var(--h);
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--chip);
  color: var(--text-dim);
  box-shadow: var(--shadow);
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  outline: none;
  position: relative;
}

/* İKONLAR KIRMIZI */
.tp-bmenu-item i{ font-size: 1rem; color: var(--red); }

/* Hover/Focus */
.tp-bmenu-item:hover{ background: var(--chip-hover); color: var(--text); }
.tp-bmenu-item:focus-visible{ box-shadow: 0 0 0 2px var(--red-soft); }

/* Aktif */
.tp-bmenu-item.is-active{
  color: #fff;
  background: linear-gradient(180deg, var(--red) 0%, var(--red-dark) 100%);
  border-color: transparent;
}
/* Aktifte de ikon kırmızı kalsın ve görünürlüğü için beyaz mini zemin verelim */
.tp-bmenu-item.is-active i{
  color: var(--red);
  position: relative;
}
.tp-bmenu-item.is-active i::before{
  content:"";
  position:absolute;
  inset:-6px;
  background:#fff;
  border-radius:50%;
  z-index:-1;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.35));
}

.tp-bmenu-item.is-active::after{
  content:"";
  position:absolute;
  left: 10%;
  right: 10%;
  bottom: -6px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
}

/* Ok butonları */
.tp-bmenu-arrow{
  width: 42px;
  height: var(--h);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #0f0f0f;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
.tp-bmenu-arrow:hover{ background:#171717; }
.tp-bmenu-arrow:disabled{ opacity:.45; cursor: not-allowed; filter: grayscale(0.6); }

/* Responsive */
@media (max-width: 992px){
  .tp-bmenu-container{ gap: .35rem; }
  .tp-bmenu-item{ padding: 0 14px; }
}
@media (max-width: 576px){
  .tp-bmenu-item span{ font-size: .92rem; }
  .tp-bmenu-arrow{ width: 38px; }
}
