/* Insaf Hub - Bangla / English switcher */
@font-face { font-family: "SolaimanLipi"; src: url("../../fonts/SolaimanLipi.ttf") format("truetype"); font-display: swap; }

/* hide the page for a moment so that English does not flash before Bangla appears */
html.insaf-wait body { visibility: hidden; }

html.lang-bn {
  --base-bodyfont: "Inter Tight", "Hind Siliguri", "SolaimanLipi", sans-serif;
  --base-headingfont: "Inter Tight", "Hind Siliguri", "SolaimanLipi", sans-serif;
}
html.lang-bn body, html.lang-bn body :not(i):not([class*="fa-"]):not([class*="flaticon"]) { letter-spacing: normal !important; }
html.lang-bn h1, html.lang-bn h2, html.lang-bn h3, html.lang-bn h4 { line-height: 1.4 !important; }

[data-lang-block="bn"] { display: none; }
html.lang-bn [data-lang-block="bn"] { display: block; }
html.lang-bn [data-lang-block="en"] { display: none; }
/* product category names */
.cat-name .cat-bn { display: none; }
html.lang-bn .cat-name .cat-en { display: none; }
html.lang-bn .cat-name .cat-bn { display: inline; }
.insaf-legal h3 { font-size: 22px; margin: 28px 0 8px; }
.insaf-legal p { margin-bottom: 14px; }

#insaf-lang {
  position: fixed; left: 16px; bottom: 18px; z-index: 99990; display: flex; gap: 2px; padding: 4px;
  background: #ffffff; border: 1px solid rgba(1, 28, 80, .18); border-radius: 40px; box-shadow: 0 8px 24px rgba(1, 28, 80, .22);
}
/* theme main.css moves every <button>, so position is reset here */
#insaf-lang button {
  position: static !important; width: auto; height: auto; margin: 0; padding: 7px 13px; border: 0; border-radius: 30px; cursor: pointer;
  background: transparent; color: #011c50; font: 600 13px/1.2 "Hind Siliguri", "SolaimanLipi", sans-serif; text-transform: none;
}
#insaf-lang button[aria-pressed="true"] { background: #0065ee; color: #ffffff; }
@media (max-width: 1199px) { #insaf-lang { left: 10px; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }
#insaf-lang.in-header { position: static; margin-right: 8px; padding: 0; background: transparent; border: 1px solid rgba(255, 255, 255, .55); box-shadow: none; }
#insaf-lang.in-header button { color: #ffffff; padding: 6px 10px; }
#insaf-lang.in-header button[aria-pressed="true"] { display: none; }
@media print { #insaf-lang { display: none; } }
/* on phones show only the round support button, so that it does not cover the page */
@media (max-width: 767px) { #lc-root #lc-launcher-label { display: none !important; } }
