/* BLUE HOUSE language switcher */
html[data-bh-lang="th"] .bh-en { display: none !important; }
html[data-bh-lang]:not([data-bh-lang="th"]) .bh-th { display: none !important; }

.bh-lang { position: relative; display: inline-flex; align-items: center; align-self: center;
  margin: 0 8px; font-family: inherit; z-index: 1000; flex: none; }
.bh-lang__btn {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 7px 14px; border-radius: 999px;
  background: #141614; color: #f2f2ee; border: 1px solid #3a3d3a;
  font: inherit; font-size: 15px; cursor: pointer; line-height: 1;
}
.bh-lang__btn:hover, .bh-lang__btn[aria-expanded="true"] { border-color: #6b6f6b; }
.bh-lang__btn svg { width: 18px; height: 18px; flex: none; }
.bh-lang__btn .bh-lang__chev { width: 12px; height: 12px; opacity: .75; transition: transform .15s; }
.bh-lang__btn[aria-expanded="true"] .bh-lang__chev { transform: rotate(180deg); }
.bh-lang__menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 280px;
  margin: 0; padding: 8px;
  background: #1b1d1b; border: 1px solid #333633; border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,.55); display: none;
}
.bh-lang__menu.is-open { display: block; }
.bh-lang__opt {
  display: flex; justify-content: space-between; align-items: center; width: 100%;
  padding: 14px; border: 0; border-radius: 8px; background: none;
  color: #f2f2ee; font: inherit; font-size: 16px; text-align: left; cursor: pointer;
}
.bh-lang__opt:hover, .bh-lang__opt:focus-visible { background: #262926; outline: none; }
.bh-lang__tick { visibility: hidden; flex: none; }
.bh-lang__opt[aria-checked="true"] .bh-lang__tick { visibility: visible; }
.bh-lang__note {
  margin: 6px 6px 2px; padding: 12px 8px 4px; border-top: 1px solid #333633;
  color: #9a9d9a; font-size: 13px; line-height: 1.5;
}
@media (max-width: 600px) {
  .bh-lang { margin: 0 4px; }
  .bh-lang__btn { padding: 6px 10px; font-size: 13px; gap: 6px; }
  .bh-lang__menu { position: fixed; left: 16px; right: 16px; top: 64px; min-width: 0; }
}
