/* Start custom CSS for html, class: .elementor-element-8d95307 *//* =========================================================
   Arabic IPTV Apps Download Page – New Design
   Keep the existing HTML unchanged
========================================================= */

.atv-apps-page {
  --atv-primary: #24dde0;
  --atv-primary-dark: #00aeb5;
  --atv-teal: #006f73;
  --atv-dark: #021416;
  --atv-dark-soft: #062629;
  --atv-title: #092f31;
  --atv-text: #405f61;
  --atv-muted: #708587;
  --atv-white: #ffffff;
  --atv-light: #f3ffff;
  --atv-border: #dcebec;

  position: relative;
  width: 100%;
  padding: clamp(75px, 8vw, 110px) 20px;
  overflow: hidden;
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f5fbfb 48%,
      #ffffff 100%
    );
  color: var(--atv-title);
  font-family: inherit;
}

.atv-apps-page *,
.atv-apps-page *::before,
.atv-apps-page *::after {
  box-sizing: border-box;
}

/* Decorative Background */

.atv-apps-page::before {
  content: "";
  position: absolute;
  top: 120px;
  right: -170px;
  width: 470px;
  height: 470px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(36, 221, 224, 0.13),
    transparent 68%
  );
  pointer-events: none;
}

.atv-apps-page::after {
  content: "";
  position: absolute;
  bottom: 160px;
  left: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 174, 181, 0.08),
    transparent 68%
  );
  pointer-events: none;
}

.atv-apps-container {
  position: relative;
  z-index: 2;
  width: min(100%, 1260px);
  margin-inline: auto;
}

/* =========================================================
   Heading Panel
========================================================= */

.atv-apps-heading {
  position: relative;
  max-width: none;
  margin: 0 0 24px;
  padding: clamp(38px, 5vw, 62px);
  overflow: hidden;
  border: 1px solid rgba(36, 221, 224, 0.18);
  border-radius: 32px;
  background:
    radial-gradient(
      circle at 88% 20%,
      rgba(36, 221, 224, 0.19),
      transparent 30%
    ),
    radial-gradient(
      circle at 10% 100%,
      rgba(0, 174, 181, 0.14),
      transparent 34%
    ),
    linear-gradient(
      135deg,
      #021416 0%,
      #062629 58%,
      #031719 100%
    );
  box-shadow: 0 30px 75px rgba(3, 45, 47, 0.2);
  text-align: left;
}

.atv-apps-heading::before {
  content: "";
  position: absolute;
  top: 36px;
  right: 38px;
  width: 135px;
  height: 135px;
  opacity: 0.24;
  background-image: radial-gradient(
    rgba(36, 221, 224, 0.65) 1.2px,
    transparent 1.2px
  );
  background-size: 13px 13px;
  pointer-events: none;
}

.atv-apps-heading::after {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(38px, 5vw, 62px);
  width: 78px;
  height: 5px;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(
    90deg,
    var(--atv-primary),
    var(--atv-primary-dark)
  );
}

.atv-apps-heading span {
  position: relative;
  z-index: 2;
  min-height: 33px;
  display: inline-flex;
  align-items: center;
  margin: 0 0 18px;
  padding: 8px 13px;
  border: 1px solid rgba(36, 221, 224, 0.24);
  border-radius: 999px;
  background: rgba(36, 221, 224, 0.085);
  color: var(--atv-primary);
  font-size: 11.5px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0.25px;
}

.atv-apps-heading h2 {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(35px, 4.5vw, 61px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: clamp(-1.8px, -0.12vw, -0.7px);
  text-wrap: balance;
}

.atv-apps-heading p {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0;
  color: #c3d8da;
  font-size: clamp(15px, 1.35vw, 17px);
  font-weight: 500;
  line-height: 1.8;
}

/* =========================================================
   Alert
========================================================= */

.atv-apps-alert {
  position: relative;
  max-width: none;
  margin: 0 0 34px;
  padding: 20px 24px 20px 70px;
  overflow: hidden;
  border: 1px solid rgba(0, 174, 181, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(
      135deg,
      var(--atv-light),
      #ffffff 75%
    );
  box-shadow: 0 13px 35px rgba(4, 70, 73, 0.065);
  color: var(--atv-text);
  font-size: 14px;
  font-weight: 550;
  line-height: 1.75;
}

.atv-apps-alert::before {
  content: "i";
  position: absolute;
  top: 50%;
  left: 22px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 174, 181, 0.2);
  border-radius: 10px;
  background: #ffffff;
  color: var(--atv-primary-dark);
  font-family: Georgia, serif;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
}

.atv-apps-alert::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(
    180deg,
    var(--atv-primary),
    var(--atv-primary-dark)
  );
}

.atv-apps-alert strong {
  color: var(--atv-title);
  font-weight: 900;
}

/* =========================================================
   Device Navigation Cards
========================================================= */

.atv-device-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 48px;
}

.atv-device-card {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 112px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--atv-border);
  border-radius: 19px;
  background: #ffffff;
  box-shadow: 0 14px 35px rgba(4, 70, 73, 0.07);
  color: var(--atv-title);
  text-align: left;
  text-decoration: none !important;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}

.atv-device-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  width: 38px;
  height: 3px;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(
    90deg,
    var(--atv-primary),
    var(--atv-primary-dark)
  );
  opacity: 0;
  transition:
    opacity 0.22s ease,
    width 0.22s ease;
}

.atv-device-card::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -70px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(36, 221, 224, 0.11),
    transparent 68%
  );
  pointer-events: none;
}

.atv-device-card:hover {
  border-color: rgba(0, 174, 181, 0.32);
  box-shadow: 0 21px 48px rgba(4, 70, 73, 0.12);
  transform: translateY(-5px);
}

.atv-device-card:hover::before {
  width: 65px;
  opacity: 1;
}

.atv-device-card.active-device-card {
  border-color: rgba(36, 221, 224, 0.35);
  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(36, 221, 224, 0.15),
      transparent 36%
    ),
    linear-gradient(
      145deg,
      #062629,
      #031719
    );
  box-shadow: 0 21px 50px rgba(3, 45, 47, 0.2);
  transform: translateY(-4px);
}

.atv-device-card.active-device-card::before {
  width: 68px;
  opacity: 1;
}

.atv-device-card > div {
  position: relative;
  z-index: 2;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 52px;
  margin: 0;
  border: 1px solid rgba(0, 174, 181, 0.18);
  border-radius: 15px;
  background: var(--atv-light);
  color: var(--atv-primary-dark);
  font-size: 23px;
  transition:
    transform 0.22s ease,
    background 0.22s ease;
}

.atv-device-card:hover > div {
  background: rgba(36, 221, 224, 0.14);
  transform: rotate(-3deg) scale(1.04);
}

.atv-device-card.active-device-card > div {
  border-color: rgba(36, 221, 224, 0.2);
  background: rgba(36, 221, 224, 0.1);
  color: var(--atv-primary);
}

.atv-device-card h3 {
  position: relative;
  z-index: 2;
  margin: 0 0 5px;
  color: var(--atv-title);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.3;
}

.atv-device-card p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--atv-muted);
  font-size: 11px;
  font-weight: 550;
  line-height: 1.45;
}

.atv-device-card.active-device-card h3 {
  color: #ffffff;
}

.atv-device-card.active-device-card p {
  color: #9fb8ba;
}

/* =========================================================
   Setup Accordion
========================================================= */

.atv-setup-list {
  max-width: 1080px;
  margin-inline: auto;
  display: grid;
  gap: 15px;
  counter-reset: atv-setup-counter;
}

.atv-setup-item {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 130px;
  border: 1px solid var(--atv-border);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 13px 34px rgba(4, 70, 73, 0.065);
  counter-increment: atv-setup-counter;
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.atv-setup-item:hover {
  border-color: rgba(0, 174, 181, 0.28);
  box-shadow: 0 19px 44px rgba(4, 70, 73, 0.1);
  transform: translateY(-2px);
}

.atv-setup-item[open],
.atv-setup-item.is-active {
  border-color: rgba(0, 174, 181, 0.33);
  box-shadow: 0 22px 52px rgba(4, 70, 73, 0.13);
}

.atv-setup-item summary {
  position: relative;
  min-height: 88px;
  display: flex;
  align-items: center;
  padding: 22px 72px 22px 86px;
  list-style: none;
  cursor: pointer;
  background: #ffffff;
  color: var(--atv-title);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.45;
  transition:
    background 0.22s ease,
    color 0.22s ease;
}

.atv-setup-item summary::-webkit-details-marker {
  display: none;
}

.atv-setup-item summary::before {
  content: counter(atv-setup-counter, decimal-leading-zero);
  position: absolute;
  top: 50%;
  left: 22px;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 174, 181, 0.18);
  border-radius: 14px;
  background: var(--atv-light);
  color: var(--atv-primary-dark);
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.7px;
  transform: translateY(-50%);
}

.atv-setup-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 22px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 174, 181, 0.18);
  border-radius: 11px;
  background: var(--atv-light);
  color: var(--atv-primary-dark);
  font-size: 20px;
  font-weight: 850;
  line-height: 1;
  transform: translateY(-50%);
  transition:
    transform 0.22s ease,
    background 0.22s ease,
    color 0.22s ease;
}

.atv-setup-item[open] summary {
  background:
    radial-gradient(
      circle at 92% 20%,
      rgba(36, 221, 224, 0.13),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #062629,
      #031719
    );
  color: #ffffff;
}

.atv-setup-item[open] summary::before {
  border-color: rgba(36, 221, 224, 0.2);
  background: rgba(36, 221, 224, 0.1);
  color: var(--atv-primary);
}

.atv-setup-item[open] summary::after {
  content: "−";
  border-color: var(--atv-primary);
  background: var(--atv-primary);
  color: #032224;
  transform: translateY(-50%) rotate(180deg);
}

/* =========================================================
   Setup Content
========================================================= */

.atv-setup-content {
  padding: 31px 34px 35px;
  border-top: 1px solid var(--atv-border);
  background:
    linear-gradient(
      180deg,
      #ffffff,
      #fbfefe
    );
}

.atv-setup-content h3 {
  margin: 0 0 16px;
  color: var(--atv-title);
  font-size: clamp(22px, 2.2vw, 29px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.35px;
}

.atv-setup-content h4 {
  position: relative;
  margin: 28px 0 13px;
  padding-left: 17px;
  color: var(--atv-title);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.4;
}

.atv-setup-content h4::before {
  content: "";
  position: absolute;
  top: 5px;
  bottom: 4px;
  left: 0;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    var(--atv-primary),
    var(--atv-primary-dark)
  );
}

.atv-setup-content p {
  margin: 0 0 14px;
  color: var(--atv-text);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
}

.atv-setup-content ol,
.atv-setup-content ul {
  display: grid;
  gap: 9px;
  margin: 0 0 18px;
  padding-left: 24px;
}

.atv-setup-content li {
  margin: 0;
  padding-left: 4px;
  color: var(--atv-text);
  font-size: 14px;
  font-weight: 550;
  line-height: 1.7;
}

.atv-setup-content li::marker {
  color: var(--atv-primary-dark);
  font-weight: 900;
}

.atv-setup-content strong {
  color: var(--atv-title);
  font-weight: 900;
}

.atv-setup-note {
  position: relative;
  margin-top: 22px;
  padding: 18px 19px 18px 53px;
  border: 1px solid rgba(0, 174, 181, 0.2);
  border-radius: 15px;
  background: var(--atv-light);
  color: var(--atv-teal);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
}

.atv-setup-note::before {
  content: "!";
  position: absolute;
  top: 17px;
  left: 17px;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--atv-primary-dark);
  color: #ffffff;
  font-size: 12px;
  font-weight: 950;
}

/* =========================================================
   Step Images
========================================================= */

.atv-step-images {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin: 25px 0;
}

.atv-step-image {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--atv-border);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 11px 28px rgba(4, 70, 73, 0.07);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.atv-step-image:hover {
  border-color: rgba(0, 174, 181, 0.3);
  box-shadow: 0 17px 38px rgba(4, 70, 73, 0.11);
  transform: translateY(-4px);
}

.atv-step-image img {
  display: block;
  width: 100%;
  height: 190px;
  padding: 10px;
  object-fit: contain;
  object-position: center;
  background:
    linear-gradient(
      145deg,
      #f6fbfb,
      #ffffff
    );
}

.atv-step-image span {
  display: block;
  min-height: 53px;
  padding: 13px;
  border-top: 1px solid var(--atv-border);
  background: #ffffff;
  color: var(--atv-text);
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
}

/* =========================================================
   CTA
========================================================= */

.atv-apps-cta {
  position: relative;
  max-width: 1080px;
  margin: 50px auto 0;
  padding: clamp(34px, 4.5vw, 54px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "badge actions"
    "title actions"
    "text actions";
  align-items: center;
  gap: 9px 50px;
  overflow: hidden;
  border: 1px solid rgba(36, 221, 224, 0.18);
  border-radius: 28px;
  background:
    radial-gradient(
      circle at 88% 15%,
      rgba(36, 221, 224, 0.19),
      transparent 31%
    ),
    linear-gradient(
      135deg,
      #021416,
      #062629 60%,
      #031719
    );
  box-shadow: 0 29px 70px rgba(3, 45, 47, 0.22);
  color: #ffffff;
  text-align: left;
}

.atv-apps-cta::before {
  content: "";
  position: absolute;
  top: 30px;
  right: 35px;
  width: 110px;
  height: 110px;
  opacity: 0.2;
  background-image: radial-gradient(
    rgba(36, 221, 224, 0.65) 1px,
    transparent 1px
  );
  background-size: 12px 12px;
  pointer-events: none;
}

.atv-apps-cta > span {
  position: relative;
  z-index: 2;
  grid-area: badge;
  width: fit-content;
  min-height: 31px;
  display: inline-flex;
  align-items: center;
  margin: 0 0 5px;
  padding: 7px 12px;
  border: 1px solid rgba(36, 221, 224, 0.23);
  border-radius: 999px;
  background: rgba(36, 221, 224, 0.085);
  color: var(--atv-primary);
  font-size: 10.5px;
  font-weight: 850;
  line-height: 1;
}

.atv-apps-cta h3 {
  position: relative;
  z-index: 2;
  grid-area: title;
  max-width: 660px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(29px, 3.3vw, 45px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.7px;
  text-wrap: balance;
}

.atv-apps-cta p {
  position: relative;
  z-index: 2;
  grid-area: text;
  max-width: 700px;
  margin: 6px 0 0;
  color: #b7ced0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.75;
}

.atv-apps-actions {
  position: relative;
  z-index: 2;
  grid-area: actions;
  display: grid;
  gap: 10px;
  min-width: 210px;
}

.atv-apps-whatsapp,
.atv-apps-order {
  min-height: 49px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none !important;
  white-space: nowrap;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.atv-apps-whatsapp {
  border: 1px solid var(--atv-primary);
  background: linear-gradient(
    135deg,
    var(--atv-primary),
    var(--atv-primary-dark)
  );
  color: #032224 !important;
  box-shadow: 0 13px 27px rgba(0, 174, 181, 0.24);
}

.atv-apps-whatsapp:hover {
  color: #032224 !important;
  box-shadow: 0 17px 35px rgba(0, 174, 181, 0.33);
  transform: translateY(-2px);
}

.atv-apps-order {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.055);
  color: #ffffff !important;
}

.atv-apps-order:hover {
  border-color: rgba(36, 221, 224, 0.3);
  background: rgba(36, 221, 224, 0.1);
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* =========================================================
   Accessibility
========================================================= */

.atv-apps-page a:focus-visible,
.atv-apps-page summary:focus-visible {
  outline: 3px solid rgba(0, 174, 181, 0.35);
  outline-offset: 4px;
}

/* =========================================================
   Responsive
========================================================= */

@media (max-width: 1100px) {
  .atv-device-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .atv-apps-cta {
    grid-template-columns: 1fr;
    grid-template-areas:
      "badge"
      "title"
      "text"
      "actions";
  }

  .atv-apps-actions {
    width: 100%;
    max-width: 470px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
  }
}

@media (max-width: 850px) {
  .atv-step-images {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .atv-apps-heading {
    padding: 42px 34px;
  }

  .atv-apps-heading::after {
    left: 34px;
  }
}

@media (max-width: 700px) {
  .atv-apps-page {
    padding: 65px 15px;
  }

  .atv-apps-heading {
    padding: 36px 24px;
    border-radius: 24px;
    text-align: center;
  }

  .atv-apps-heading::before {
    display: none;
  }

  .atv-apps-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .atv-apps-heading h2 {
    font-size: clamp(33px, 10vw, 43px);
  }

  .atv-apps-heading p {
    font-size: 15px;
  }

  .atv-apps-alert {
    padding: 58px 20px 20px;
    text-align: center;
  }

  .atv-apps-alert::before {
    top: 17px;
    left: 50%;
    transform: translateX(-50%);
  }

  .atv-apps-alert::after {
    width: 100%;
    height: 4px;
  }

  .atv-device-grid {
    grid-template-columns: 1fr;
  }

  .atv-device-card {
    min-height: 100px;
  }

  .atv-setup-item summary {
    min-height: 80px;
    padding: 19px 60px 19px 71px;
    font-size: 14px;
  }

  .atv-setup-item summary::before {
    left: 17px;
    width: 39px;
    height: 39px;
    border-radius: 12px;
  }

  .atv-setup-item summary::after {
    right: 16px;
    width: 33px;
    height: 33px;
  }

  .atv-setup-content {
    padding: 26px 21px 29px;
  }

  .atv-step-images {
    grid-template-columns: 1fr;
  }

  .atv-step-image img {
    height: auto;
    min-height: 180px;
    max-height: 320px;
  }

  .atv-apps-cta {
    padding: 35px 23px;
    border-radius: 23px;
    text-align: center;
  }

  .atv-apps-cta > span {
    margin-inline: auto;
  }

  .atv-apps-cta p {
    margin-inline: auto;
  }

  .atv-apps-actions {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin-inline: auto;
  }
}

@media (max-width: 480px) {
  .atv-apps-heading {
    padding: 33px 20px;
  }

  .atv-device-card {
    padding: 17px;
  }

  .atv-device-card > div {
    width: 47px;
    height: 47px;
    flex-basis: 47px;
  }

  .atv-setup-content h3 {
    font-size: 22px;
  }

  .atv-setup-note {
    padding: 50px 16px 16px;
    text-align: center;
  }

  .atv-setup-note::before {
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .atv-apps-page *,
  .atv-apps-page *::before,
  .atv-apps-page *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}


/* =========================================================
   All IPTV Player – TV Box Arabic RTL Support
   Add after the original TV Box CSS
========================================================= */

.atv-tvbox-page.atv-tvbox-page-ar {
  direction: rtl;
  text-align: right;
}

/* العناصر العامة */
.atv-tvbox-page-ar .atv-tvbox-container,
.atv-tvbox-page-ar .atv-tvbox-intro-grid,
.atv-tvbox-page-ar .atv-tvbox-content,
.atv-tvbox-page-ar .atv-tvbox-gallery,
.atv-tvbox-page-ar .atv-tvbox-package-grid,
.atv-tvbox-page-ar .atv-tvbox-package-card,
.atv-tvbox-page-ar .atv-tvbox-package-header,
.atv-tvbox-page-ar .atv-tvbox-feature-grid,
.atv-tvbox-page-ar .atv-tvbox-feature-card {
  direction: rtl;
  text-align: right;
}

/* =========================================================
   Intro Decorative Elements
========================================================= */

.atv-tvbox-page-ar .atv-tvbox-intro::before {
  right: auto;
  left: 4%;
}

.atv-tvbox-page-ar .atv-tvbox-intro::after {
  right: -190px;
  left: auto;
}

/* الخط الجانبي بجانب العنوان */
.atv-tvbox-page-ar .atv-tvbox-content::before {
  right: -25px;
  left: auto;
}

/* =========================================================
   Intro Content
========================================================= */

.atv-tvbox-page-ar .atv-tvbox-content h2,
.atv-tvbox-page-ar .atv-tvbox-content > p {
  text-align: right;
}

.atv-tvbox-page-ar .atv-tvbox-badge,
.atv-tvbox-page-ar .atv-tvbox-section-title > span {
  direction: rtl;
}

/* =========================================================
   Key Points
========================================================= */

.atv-tvbox-page-ar .atv-tvbox-points {
  direction: rtl;
  text-align: right;
}

.atv-tvbox-page-ar .atv-tvbox-points > div {
  padding: 12px 44px 12px 14px;
  text-align: right;
}

.atv-tvbox-page-ar .atv-tvbox-points > div::before {
  right: 13px;
  left: auto;
}

/* =========================================================
   Intro Buttons
========================================================= */

.atv-tvbox-page-ar .atv-tvbox-actions {
  direction: rtl;
  justify-content: flex-start;
}

.atv-tvbox-page-ar .atv-tvbox-btn-primary,
.atv-tvbox-page-ar .atv-tvbox-btn-secondary,
.atv-tvbox-page-ar .atv-tvbox-order-btn {
  direction: rtl;
  text-align: center;
}

/* =========================================================
   Product Media
========================================================= */

.atv-tvbox-page-ar .atv-tvbox-media::before {
  right: auto;
  left: 31px;
}

/* =========================================================
   Packages Decorative Elements
========================================================= */

.atv-tvbox-page-ar .atv-tvbox-packages::before {
  right: auto;
  left: 4%;
}

/* =========================================================
   Packages Heading
========================================================= */

.atv-tvbox-page-ar .atv-tvbox-section-title {
  direction: rtl;
  text-align: right;
}

.atv-tvbox-page-ar .atv-tvbox-section-title h2,
.atv-tvbox-page-ar .atv-tvbox-section-title p {
  text-align: right;
}

.atv-tvbox-page-ar .atv-tvbox-section-title p {
  padding-right: 23px;
  padding-left: 0;
  border-right: 2px solid var(--tvbox-primary-dark);
  border-left: 0;
}

/* =========================================================
   Package Cards
========================================================= */

.atv-tvbox-page-ar .atv-tvbox-package-card::before {
  right: auto;
  left: -75px;
}

/* الخط الزخرفي أعلى البطاقة */
.atv-tvbox-page-ar .atv-tvbox-package-card::after {
  right: 24px;
  left: auto;
}

/* البطاقة المميزة */
.atv-tvbox-page-ar .atv-tvbox-package-card.featured {
  background:
    radial-gradient(
      circle at 12% 10%,
      rgba(36, 221, 224, 0.22),
      transparent 30%
    ),
    linear-gradient(
      145deg,
      #0a3f42,
      #041d1f
    );
}

/* شارة الخيار الأفضل */
.atv-tvbox-page-ar .atv-tvbox-best {
  right: auto;
  left: 23px;
  letter-spacing: 0;
  text-transform: none;
}

/* =========================================================
   Package Header
========================================================= */

.atv-tvbox-page-ar .atv-tvbox-package-header {
  text-align: right;
}

.atv-tvbox-page-ar .atv-tvbox-package-header h3,
.atv-tvbox-page-ar .atv-tvbox-package-header p {
  text-align: right;
}

/* إبقاء عبارة TV BOX واضحة */
.atv-tvbox-page-ar .atv-tvbox-package-header::before {
  direction: ltr;
  unicode-bidi: isolate;
  letter-spacing: 1px;
}

/* =========================================================
   Package Price
========================================================= */

.atv-tvbox-page-ar .atv-tvbox-price {
  direction: rtl;
  justify-content: flex-start;
  text-align: right;
}

.atv-tvbox-page-ar .atv-tvbox-price > span,
.atv-tvbox-page-ar .atv-tvbox-price strong {
  direction: ltr;
  unicode-bidi: isolate;
}

.atv-tvbox-page-ar .atv-tvbox-price small {
  text-align: right;
}

/* =========================================================
   Package Features
========================================================= */

.atv-tvbox-page-ar .atv-tvbox-package-card ul {
  direction: rtl;
  padding-right: 0;
  padding-left: 0;
  text-align: right;
}

.atv-tvbox-page-ar .atv-tvbox-package-card li {
  padding-right: 27px;
  padding-left: 0;
  text-align: right;
}

.atv-tvbox-page-ar .atv-tvbox-package-card li::before {
  right: 0;
  left: auto;
}

/* =========================================================
   Package Note
========================================================= */

.atv-tvbox-page-ar .atv-tvbox-note {
  padding: 22px 70px 22px 24px;
  text-align: right;
}

.atv-tvbox-page-ar .atv-tvbox-note::before {
  right: 22px;
  left: auto;
}

.atv-tvbox-page-ar .atv-tvbox-note p {
  text-align: right;
}

/* =========================================================
   Features Section
========================================================= */

.atv-tvbox-page-ar .atv-tvbox-features::before {
  right: -190px;
  left: auto;
}

.atv-tvbox-page-ar .atv-tvbox-feature-card {
  align-items: flex-start;
  text-align: right;
}

/* الخط الزخرفي أعلى البطاقة */
.atv-tvbox-page-ar .atv-tvbox-feature-card::before {
  right: 28px;
  left: auto;
}

/* الدائرة الزخرفية داخل البطاقة */
.atv-tvbox-page-ar .atv-tvbox-feature-card::after {
  right: auto;
  left: -80px;
}

/* خلفية البطاقة الداكنة */
.atv-tvbox-page-ar .atv-tvbox-feature-card:first-child {
  background:
    radial-gradient(
      circle at 12% 15%,
      rgba(36, 221, 224, 0.18),
      transparent 30%
    ),
    linear-gradient(
      145deg,
      #062629,
      #031719
    );
}

/* أيقونة بطاقة الميزة */
.atv-tvbox-page-ar .atv-tvbox-feature-card > div {
  right: 27px;
  left: auto;
}

.atv-tvbox-page-ar .atv-tvbox-feature-card h3,
.atv-tvbox-page-ar .atv-tvbox-feature-card p {
  text-align: right;
}

/* =========================================================
   Tablet RTL
========================================================= */

@media (max-width: 1050px) {
  .atv-tvbox-page-ar .atv-tvbox-content {
    margin-right: 0;
    margin-left: auto;
  }

  .atv-tvbox-page-ar .atv-tvbox-section-title p {
    margin-right: 0;
    margin-left: auto;
  }
}

/* =========================================================
   Mobile RTL
========================================================= */

@media (max-width: 700px) {
  .atv-tvbox-page-ar .atv-tvbox-content {
    text-align: center;
  }

  .atv-tvbox-page-ar .atv-tvbox-content h2,
  .atv-tvbox-page-ar .atv-tvbox-content > p {
    text-align: center;
  }

  .atv-tvbox-page-ar .atv-tvbox-actions {
    justify-content: center;
  }

  .atv-tvbox-page-ar .atv-tvbox-points {
    text-align: right;
  }

  .atv-tvbox-page-ar .atv-tvbox-section-title,
  .atv-tvbox-page-ar .atv-tvbox-section-title h2,
  .atv-tvbox-page-ar .atv-tvbox-section-title p {
    text-align: center;
  }

  .atv-tvbox-page-ar .atv-tvbox-section-title p {
    padding-right: 0;
    padding-left: 0;
    border-right: 0;
    border-left: 0;
  }

  .atv-tvbox-page-ar .atv-tvbox-package-header,
  .atv-tvbox-page-ar .atv-tvbox-package-header h3,
  .atv-tvbox-page-ar .atv-tvbox-package-header p {
    text-align: right;
  }

  .atv-tvbox-page-ar .atv-tvbox-note {
    padding: 58px 20px 20px;
    text-align: center;
  }

  .atv-tvbox-page-ar .atv-tvbox-note::before {
    top: 17px;
    right: 50%;
    left: auto;
    transform: translateX(50%);
  }

  .atv-tvbox-page-ar .atv-tvbox-note p {
    text-align: center;
  }

  .atv-tvbox-page-ar .atv-tvbox-feature-card > div {
    right: 22px;
    left: auto;
  }
}/* End custom CSS */