/* HappyTeam — Hebrew / RTL */

html[dir="rtl"] body {
  font-family: 'Heebo', 'Inter', sans-serif;
  text-align: right;
}

html[dir="rtl"] .nav {
  flex-direction: row;
}

html[dir="rtl"] .nav__links {
  flex-direction: row;
}

html[dir="rtl"] .lang-switch {
  margin-inline-start: 8px;
  margin-inline-end: 0;
}

html[dir="rtl"] .mobile-menu__panel {
  right: auto;
  left: 0;
  border-left: none;
  border-right: 1px solid var(--border);
  transform: translateX(-100%);
  box-shadow: 8px 0 32px rgba(124, 58, 237, 0.1);
}

html[dir="rtl"] .mobile-menu.open .mobile-menu__panel {
  transform: translateX(0);
}

html[dir="rtl"] .cat-card {
  padding: 18px 16px 18px 44px;
}

html[dir="rtl"] .cat-card::after {
  right: auto;
  left: 16px;
  content: '←';
}

html[dir="rtl"] .section-head,
html[dir="rtl"] .section-head--alt {
  text-align: right;
}

html[dir="rtl"] .section-head__big-num {
  right: auto;
  left: 16px;
}

html[dir="rtl"] .catalog-intro::before {
  right: auto;
  left: 12px;
}

html[dir="rtl"] .card__badge {
  left: auto;
  right: 6px;
}

html[dir="rtl"] .card__includes li {
  padding-left: 0;
  padding-right: 14px;
}

html[dir="rtl"] .card__includes li::before {
  left: auto;
  right: 0;
}

html[dir="rtl"] .perks {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

html[dir="rtl"] .perk {
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 32rem;
  text-align: center;
  gap: 14px;
}

html[dir="rtl"] .perk > div:not(.perk__icon) {
  text-align: center;
  flex: 0 1 auto;
}

html[dir="rtl"] .contact-list {
  align-items: stretch;
}

html[dir="rtl"] .contact-item {
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  text-align: right;
  gap: 12px;
}

html[dir="rtl"] .contact-item > div:not(.contact-item__icon) {
  text-align: right;
  flex: 1 1 auto;
}

html[dir="rtl"] .contact-item__val {
  direction: ltr;
  unicode-bidi: isolate;
  text-align: right;
}

html[dir="rtl"] .review__author {
  flex-direction: row-reverse;
}

html[dir="rtl"] .back-link {
  flex-direction: row-reverse;
}

html[dir="rtl"] .fest-footer__cta-text {
  text-align: center;
}

html[dir="rtl"] .fest-footer__grid {
  direction: rtl;
}

html[dir="rtl"] .fest-footer__links a,
html[dir="rtl"] .fest-footer__links-static {
  flex-direction: row;
}

html[dir="rtl"] .fest-footer__bar-inner {
  text-align: center;
}

@media (min-width: 960px) {
  html[dir="rtl"] .fest-footer__bar-inner {
    flex-direction: row-reverse;
    text-align: right;
  }
}

html[dir="rtl"] .fest-scroll-top {
  right: auto;
  left: 16px;
}

html[dir="rtl"] .fest-whatsapp {
  right: auto;
  left: 16px;
}

html[dir="rtl"] .hero__actions {
  justify-content: flex-start;
}

html[dir="rtl"] .btn:not(.btn--secondary):not(.btn--inverse)::after {
  transform: translateX(120%) skewX(18deg);
}

@media (hover: hover) {
  html[dir="rtl"] .btn:not(.btn--secondary):not(.btn--inverse):hover::after {
    transform: translateX(-120%) skewX(-18deg);
  }
}

@media (min-width: 901px) {
  html[dir="rtl"] .perks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: stretch;
    align-items: stretch;
    max-width: 100%;
  }

  html[dir="rtl"] .perk {
    max-width: none;
    justify-content: center;
    text-align: center;
  }

  html[dir="rtl"] .section-head {
    padding-right: 24px;
    padding-left: 7rem;
  }

  html[dir="rtl"] .section-head__big-num {
    left: 20px;
    right: auto;
  }

  html[dir="rtl"] .section-head__title,
  html[dir="rtl"] .section-head__desc {
    max-width: calc(100% - 3rem);
  }

  html[dir="rtl"] .combo {
    flex-direction: row-reverse;
  }
}
