/* BookDrop flag language picker (Wix-matched circular flags) */
.bd-lang {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.bd-lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 4px 2px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #000;
  line-height: 0;
}
.bd-lang__flag,
.bd-lang__opt img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: block;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.bd-lang__chev {
  width: 9px;
  height: 5px;
  flex-shrink: 0;
  opacity: 0.85;
  transition: transform 0.15s ease;
}
.bd-lang.is-open .bd-lang__chev {
  transform: rotate(180deg);
}
.bd-lang__menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 80;
  margin: 0;
  padding: 4px 0;
  list-style: none;
  min-width: 52px;
  max-height: 220px;
  overflow-y: auto;
  overflow-x: hidden;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}
.bd-lang__menu[hidden] {
  display: none !important;
}
.bd-lang__opt {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 8px 12px;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: #ffffff;
  cursor: pointer;
  line-height: 0;
}
.bd-lang__menu li:last-child .bd-lang__opt {
  border-bottom: 0;
}
.bd-lang__opt:hover,
.bd-lang__opt:focus-visible {
  background: #f5f5f5;
  outline: none;
}
.bd-lang__opt.is-active {
  background: #f0f0f0;
}
html[dir="rtl"] .bd-lang__menu {
  right: auto;
  left: 0;
}
.nav-drawer .bd-lang {
  align-self: flex-start;
}
.nav-drawer .bd-lang__menu {
  position: static;
  margin-top: 8px;
  max-height: none;
  box-shadow: none;
  width: max-content;
}
