/* Üst kısım: dil seçici (🌐 Türkçe), Giriş yap / Hesabım ve Sepet. Geniş ekranda simge + yazı, dar ekranda yalnızca simge. */

/* Dil seçici: görünür olan düğmedir; gerçek açılır kutu onun üstünde görünmez durur, tıklanınca dil listesi açılır */
.lang-pick {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--btn-rad, 20px);
  color: inherit;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.lang-pick:hover {
  background: var(--surface);
}
.lang-pick:focus-within {
  outline: 2px solid var(--saffron);
  outline-offset: 2px;
}
.lang-pick svg {
  flex: none;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lang-pick .lp-caret {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}
.lang-pick .lp-code {
  display: none;
}
.lang-pick #langSel {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
  appearance: none;
}

/* Giriş yap / Hesabım ve Sepet */
.head-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 10px;
  border: 0;
  border-radius: var(--btn-rad, 20px);
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.head-link:hover {
  background: var(--surface);
}
.head-link svg {
  flex: none;
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* sepetteki ürün sayısı simgenin köşesinde durur */
.head-link .badge {
  top: 3px;
  right: auto;
  left: 22px;
}
[dir='rtl'] .head-link .badge {
  left: auto;
  right: 22px;
}

/* Telefonda menünün içindeki bağlantılar ve para birimi */
nav.main .nav-phone,
.menu-tools {
  display: none;
}
@media (max-width: 1100px) {
  .head-link .lbl {
    display: none;
  }
  .head-link {
    padding: 0 9px;
  }
}
@media (max-width: 720px) {
  nav.main .nav-phone {
    display: block;
  }
  .lang-pick {
    height: 34px;
    padding: 0 8px;
    gap: 4px;
  }
  .lang-pick .lp-name,
  .lang-pick .lp-caret {
    display: none;
  }
  .lang-pick .lp-code {
    display: inline;
  }
  .head-link {
    padding: 0 7px;
  }
}
