/**
 * LTR overrides when English is active (body.ltr-body)
 */
body.charchoob-theme.ltr-body .work2 .work2-carousel-prev {
  left: 0;
  right: auto;
}

body.charchoob-theme.ltr-body .work2 .work2-carousel-next {
  right: 0;
  left: auto;
}

body.charchoob-theme.ltr-body .pricing5 .pricing-box.pricing-box-stacked .plan-list {
  padding-left: 0;
  padding-right: 0;
}

body.charchoob-theme.ltr-body .footer2 .copyright-area .coppyleft {
  justify-content: flex-start;
}

body.charchoob-theme.ltr-body .footer2 .footer-contact-list i {
  margin-top: 4px;
}

body.charchoob-theme.ltr-body .theme-btn8 .arrow,
body.charchoob-theme.ltr-body .theme-btn15 span:last-child,
body.charchoob-theme.ltr-body .sidebar1-btn .arrow {
  transform: scaleX(-1);
}

@media (min-width: 992px) {
  body.charchoob-theme.ltr-body .demo-request-area .demo-request-main .login-img img {
    transform: scaleX(-1);
  }
}

/* FAQ: reset template physical padding so LTR layout matches flex icon row */
html[dir="ltr"] body.charchoob-theme .faq6 .accordion .accordion-item button,
html[dir="ltr"] body.charchoob-theme .faq6 .accordion .accordion-item .accordion-button {
  text-transform: none;
}

html[dir="ltr"] body.charchoob-theme .faq6 .accordion .accordion-item .accordion-body {
  margin-top: 0;
  padding-top: 8px;
  padding-bottom: 32px;
  padding-left: var(--ch-faq-content-indent);
  padding-right: var(--ch-faq-pad-inline);
}

/* English/LTR typography: use Bricolage for Latin text only */
body.charchoob-theme.ltr-body,
body.charchoob-theme.ltr-body h1,
body.charchoob-theme.ltr-body h2,
body.charchoob-theme.ltr-body h3,
body.charchoob-theme.ltr-body h4,
body.charchoob-theme.ltr-body h5,
body.charchoob-theme.ltr-body h6,
body.charchoob-theme.ltr-body p,
body.charchoob-theme.ltr-body a,
body.charchoob-theme.ltr-body span,
body.charchoob-theme.ltr-body li,
body.charchoob-theme.ltr-body button,
body.charchoob-theme.ltr-body input,
body.charchoob-theme.ltr-body select,
body.charchoob-theme.ltr-body textarea,
body.charchoob-theme.ltr-body label {
  font-family: "Bricolage Grotesque", "IRANSans", sans-serif !important;
}

body.charchoob-theme.ltr-body .work2 .tabs-box-item .work2-step-num {
  font-family: "Bricolage Grotesque", sans-serif !important;
  font-variant-numeric: lining-nums;
}

/* Language switcher */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-inline-end: 16px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(134, 171, 137, 0.12);
  border: 1px solid rgba(128, 141, 124, 0.25);
}

.lang-select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(128, 141, 124, 0.28);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(232, 239, 233, 0.9) 100%);
  box-shadow: none;
  overflow: hidden;
}

.lang-select-icon,
.lang-select-chevron {
  position: absolute;
  color: var(--ch-text-muted, #5c6760);
  font-size: 12px;
  pointer-events: none;
}

.lang-select-icon {
  font-size: 18px;
}

.lang-select-chevron {
  font-size: 10px;
  transition: transform 0.2s ease;
}

.lang-select-trigger {
  min-width: 108px;
  border: none;
  background: transparent;
  color: var(--ch-text, #2a322b);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  border-radius: 999px;
  cursor: pointer;
  padding-top: 9px;
  padding-bottom: 9px;
  text-align: start;
  transition: color 0.2s;
}

html[dir="rtl"] .lang-select-icon {
  right: 12px;
  left: auto;
}

html[dir="rtl"] .lang-select-chevron {
  left: 12px;
  right: auto;
}

html[dir="rtl"] .lang-select-trigger {
  padding-right: 40px;
  padding-left: 28px;
}

html[dir="ltr"] .lang-select-icon {
  left: 12px;
  right: auto;
}

html[dir="ltr"] .lang-select-chevron {
  right: 12px;
  left: auto;
}

html[dir="ltr"] .lang-select-trigger {
  padding-right: 28px;
  padding-left: 40px;
}

.lang-select-trigger:focus {
  outline: none;
}

.lang-select-options {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-start: 0;
  min-width: 100%;
  list-style: none;
  margin: 0;
  padding: 6px;
  border-radius: 12px;
  border: 1px solid rgba(128, 141, 124, 0.24);
  background: #f3f7f3;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 20;
}

.lang-select-options li {
  margin: 0;
}

.lang-select-options button {
  width: 100%;
  border: none;
  background: transparent;
  color: var(--ch-text, #2a322b);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 600;
  text-align: start;
  cursor: pointer;
}

.lang-select-options button:hover,
.lang-select-options button:focus-visible {
  background: rgba(134, 171, 137, 0.18);
  outline: none;
}

.lang-select-options button.is-active {
  background: var(--ch-primary, #86ab89);
  color: #fff;
}

.lang-select-wrap.is-open {
  overflow: visible;
}

.lang-select-wrap.is-open .lang-select-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-select-wrap.is-open .lang-select-chevron {
  transform: rotate(180deg);
}

.lang-select-wrap:focus-within {
  border-color: var(--ch-primary, #86ab89);
  box-shadow: 0 0 0 3px rgba(134, 171, 137, 0.2);
}

.mobile-sidebar .lang-switcher {
  margin: 16px 0 8px;
}

.header-elements .lang-switcher {
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .header-area .lang-switcher {
    display: none;
  }
}

html[dir="rtl"] .partners-fa {
  display: block !important;
}

html[dir="ltr"] .partners-fa {
  display: none !important;
}
