/*
 * RTL / Persian overrides — fill when styling is ready.
 * Enqueued on is_rtl() after theme.css.
 */

[dir="rtl"] {
  --tp-ff-body: "Arad", sans-serif;
  --tp-ff-heading: "Arad", sans-serif;
  --tp-ff-p: "Arad", sans-serif;
}

[dir="rtl"] .tp-btn-switch-animation:hover .btn-text {
  transform: translateX(23px);
}

[dir="rtl"] .tp-btn-switch-animation:hover .btn-icon {
  transform: translateX(-5px);
}

[dir="rtl"] .tp-btn-switch-animation .btn-icon svg {
  transform: rotate(180deg);
}

@media (min-width: 992px) {
  [dir="rtl"] .text-lg-end {
    text-align: left !important;
  }
}

[dir="rtl"] .tp-about-sa-shape svg {
  transform: rotateY(180deg);
}

[dir="rtl"] .tp-about-wd-thumb3 {
  right: initial;
  left: 0;
}

[dir="rtl"] .tp-service-2-para p::before {
  right: 0;
  left: initial;
}

/* underline hover: rast → chap (LTR uses 0 100% anchor) */
[dir="rtl"] .underline-black {
  background-position:
    0 100%,
    100% 100%;
}

[dir="rtl"] .underline-black:hover {
  background-size:
    0 1px,
    100% 1px;
  background-position:
    0 100%,
    100% 100%;
}

[dir="rtl"] .tp-footer-top-subtitle svg {
  transform: rotateY(180deg);
}

[dir="rtl"] .tp-service-hero-shape {
  right: initial;
  left: 145px;
}

[dir="rtl"] .tp-service-hero-shape svg {
  transform: rotateY(180deg);
}

[dir="rtl"] .tp-service-hero-shape-2 {
  right: initial;
  left: 0;
  transform: rotateY(180deg);
}

[dir="rtl"] .tp-counter-team-dvdr {
  right: initial;
  left: 0;
}

[dir="rtl"] .tp-pricing-ai-list ul li::before {
  right: 0;
  left: initial;
}

[dir="rtl"] .tp-btn-switch-2-animation:hover .btn-text {
  transform: translateX(-23px);
}

[dir="rtl"] .tp-service-details-icon {
  right: -69px;
  left: initial;
}

[dir="rtl"] .fraction-wrapper #paginations span:last-child {
  float: left;
}

[dir="rtl"] .tp-search-form-icon {
  left: 0;
  right: initial;
}


