/* Language dropdown (globe button + English / العربية menu). Loaded on every page by layouts/app.blade.php. */
.lang-dd { position: relative; display: inline-flex; flex-shrink: 0; }
.lang-dd__btn {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px;
  border: 0; border-radius: 8px; background: transparent; color: #0d0d0d; cursor: pointer; padding: 0;
  transition: color .12s, background .12s;
}
.lang-dd__btn:hover, .lang-dd__btn[aria-expanded="true"] { color: #e96358; background: transparent; }
.lang-dd__btn:focus-visible { outline: 2px solid #e96358; outline-offset: 2px; }

.lang-dd__menu {
  position: absolute; top: calc(100% + 8px); inset-inline-start: 0; z-index: 10000; min-width: 128px;
  background: #fff; border: 1px solid #e6e6e6; border-radius: 12px; padding: 5px;
  box-shadow: 0 8px 24px rgba(13, 13, 13, .12);
}
.lang-dd__menu[hidden] { display: none; }
.lang-dd--end .lang-dd__menu { inset-inline-start: auto; inset-inline-end: 0; }

.lang-dd__item {
  display: block; padding: 8px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; line-height: 1.2;
  color: #0d0d0d; text-decoration: none; text-align: start; white-space: nowrap;
}
.lang-dd__item + .lang-dd__item { margin-top: 2px; }
.lang-dd__item:hover { background: #f4f5f5; color: #0d0d0d; text-decoration: none; }
.lang-dd__item.is-active, .lang-dd__item.is-active:hover { background: #fdeaea; color: #c62828; }
.lang-dd__item[lang="ar"] { font-family: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif; }

/* English header: a second copy sits next to the hamburger on mobile (the desktop CTA row is hidden there). */
.lang-dd--mobile { display: none; }
@media (max-width: 991.98px) {
  .site-header-v2 .lang-dd--mobile { display: inline-flex; margin-left: auto; }
  .site-header-v2 .lang-dd--mobile + .nav-toggle { margin-left: 0; }
}
