/* Start custom CSS for html, class: .elementor-element-87b93a0 *//* ======================================================
   ARABIC IPTV - TV BOX PAGE
====================================================== */

.atv-box-page,
.atv-box-page * {
  box-sizing: border-box;
}

.atv-box-page {
  width: 100%;

  overflow: hidden;

  color: #142537;

  font-family: inherit;
}

.atv-box-container {
  width: 100%;
  max-width: 1240px;

  margin: 0 auto;
}


/* ======================================================
   COMMON
====================================================== */

.atv-box-eyebrow {
  display: flex;
  align-items: center;

  gap: 10px;

  margin-bottom: 18px;

  color: #245c98;

  font-size: 13px;
  line-height: 1.4;

  font-weight: 700;

  letter-spacing: 0.7px;

  text-transform: uppercase;
}

.atv-box-eyebrow > span {
  width: 28px;
  height: 2px;

  background: currentColor;
}

.atv-box-eyebrow-light {
  color: #6cb3ef;
}


/* ======================================================
   HERO
====================================================== */

.atv-box-hero {
  width: 100vw;

  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  padding: 90px 24px 100px;

  background:
    radial-gradient(
      circle at 82% 48%,
      rgba(59, 133, 199, 0.14),
      transparent 27%
    ),
    linear-gradient(
      180deg,
      #f7f9fc 0%,
      #ffffff 100%
    );
}


.atv-box-hero-grid {
  display: grid;

  grid-template-columns: 0.9fr 1.1fr;

  gap: 80px;

  align-items: center;
}


/* ======================================================
   HERO CONTENT
====================================================== */

.atv-box-hero-content {
  max-width: 560px;
}


.atv-box-hero-content h1 {
  margin: 0 0 24px !important;

  color: #0b1826 !important;

  font-size: clamp(44px, 5vw, 66px) !important;
  line-height: 1.04 !important;

  font-weight: 780 !important;

  letter-spacing: -2.3px !important;
}


.atv-box-hero-content h1 strong {
  display: block;

  margin-top: 5px;

  color: #245c98;

  font-weight: 800;
}


.atv-box-hero-description {
  max-width: 540px;

  margin: 0 0 33px !important;

  color: #617286 !important;

  font-size: 17px !important;
  line-height: 1.75 !important;
}


/* ======================================================
   HERO BENEFITS
====================================================== */

.atv-box-hero-benefits {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 14px;

  margin-bottom: 35px;
}


.atv-box-benefit {
  display: flex;
  align-items: center;

  gap: 12px;
}


.atv-box-benefit-icon {
  width: 43px;
  height: 43px;

  flex: 0 0 43px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 8px;

  background: #eaf2f9;

  color: #245c98;
}


.atv-box-benefit-icon svg {
  width: 21px;
  height: 21px;

  fill: none;
  stroke: currentColor;

  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}


.atv-box-benefit > span {
  display: flex;
  flex-direction: column;

  gap: 2px;

  color: #798897;

  font-size: 12px;
  line-height: 1.4;
}


.atv-box-benefit strong {
  color: #22364a;

  font-size: 14px;

  font-weight: 700;
}


/* ======================================================
   HERO ACTIONS
====================================================== */

.atv-box-hero-actions {
  display: flex;
  flex-wrap: wrap;

  gap: 11px;
}


.atv-box-btn {
  min-height: 52px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 9px;

  padding: 13px 22px;

  border-radius: 7px;

  font-size: 14px;
  font-weight: 700;

  text-decoration: none !important;

  transition: 0.2s ease;
}


.atv-box-btn svg {
  width: 18px;
  height: 18px;

  fill: none;
  stroke: currentColor;

  stroke-width: 2;
}


.atv-box-btn-primary {
  border: 1px solid #245c98;

  background: #245c98;

  color: #ffffff !important;
}


.atv-box-btn-primary:hover {
  background: #3277b4;

  border-color: #3277b4;

  color: #ffffff !important;

  transform: translateY(-1px);
}


.atv-box-btn-secondary {
  border: 1px solid #ced9e3;

  background: #ffffff;

  color: #29425a !important;
}


.atv-box-btn-secondary:hover {
  border-color: #aebfce;

  color: #245c98 !important;
}


/* ======================================================
   PRODUCT VISUAL
====================================================== */

.atv-box-product {
  position: relative;

  min-height: 590px;

  display: flex;
  align-items: center;
  justify-content: center;
}


.atv-box-product-bg {
  position: absolute;

  width: 520px;
  height: 520px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      #e8f1f8 0%,
      #f6f9fc 60%,
      transparent 61%
    );
}


.atv-box-product-image {
  position: relative;
  z-index: 2;

  width: 86%;
  max-width: 580px;
}


.atv-box-product-image img {
  width: 100%;
  height: auto;

  display: block;

  object-fit: contain;
}


.atv-box-product-label {
  position: absolute;
  z-index: 4;

  top: 50px;
  left: 10px;

  display: flex;
  align-items: center;

  gap: 8px;

  padding: 10px 13px;

  border: 1px solid #d4e0e9;
  border-radius: 8px;

  background: rgba(255,255,255,.94);

  color: #66798c;

  font-size: 12px;
  font-weight: 600;
}


.atv-box-product-label span {
  padding: 5px 7px;

  border-radius: 5px;

  background: #245c98;

  color: #ffffff;

  font-size: 12px;

  font-weight: 800;
}


.atv-box-product-floating {
  position: absolute;
  z-index: 4;

  right: 5px;
  bottom: 65px;

  min-width: 250px;

  padding: 14px 16px;

  border: 1px solid #d4dfe8;
  border-radius: 9px;

  background: rgba(255,255,255,.96);
}


.atv-box-product-floating span {
  display: block;

  margin-bottom: 3px;

  color: #7e8d9c;

  font-size: 11px;
}


.atv-box-product-floating strong {
  color: #20364b;

  font-size: 13px;

  font-weight: 700;
}


/* ======================================================
   SHOWCASE
====================================================== */

.atv-box-showcase {
  width: 100vw;

  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  padding: 100px 24px;

  background: #ffffff;
}


.atv-box-showcase-header,
.atv-box-features-header {
  display: grid;

  grid-template-columns: 1fr 0.65fr;

  gap: 70px;

  align-items: end;

  margin-bottom: 40px;
}


.atv-box-showcase-header h2,
.atv-box-features-header h2 {
  margin: 0 !important;

  color: #102031 !important;

  font-size: clamp(38px, 4vw, 54px) !important;
  line-height: 1.07 !important;

  font-weight: 780 !important;

  letter-spacing: -1.7px !important;
}


.atv-box-showcase-header h2 strong,
.atv-box-features-header h2 strong {
  display: block;

  margin-top: 4px;

  color: #245c98;
}


.atv-box-showcase-header > p,
.atv-box-features-header > p {
  margin: 0 !important;

  color: #69798a !important;

  font-size: 16px !important;
  line-height: 1.7 !important;
}


/* ======================================================
   GALLERY
====================================================== */

.atv-box-gallery {
  display: grid;

  grid-template-columns: 1.35fr .65fr;

  gap: 15px;
}


.atv-box-gallery-main,
.atv-box-gallery-small {
  position: relative;

  overflow: hidden;

  border: 1px solid #e0e7ed;
  border-radius: 13px;

  background: #f6f8fa;
}


.atv-box-gallery-main {
  min-height: 620px;

  padding: 25px;
}


.atv-box-gallery-main img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: contain;
}


.atv-box-gallery-caption {
  position: absolute;

  left: 22px;
  bottom: 22px;

  padding: 12px 14px;

  border: 1px solid rgba(255,255,255,.55);
  border-radius: 8px;

  background: rgba(7,21,34,.88);

  color: #ffffff;
}


.atv-box-gallery-caption span {
  display: block;

  margin-bottom: 2px;

  color: #83bdec;

  font-size: 11px;
}


.atv-box-gallery-caption strong {
  font-size: 14px;
}


.atv-box-gallery-side {
  display: grid;

  grid-template-rows: repeat(2, 1fr);

  gap: 15px;
}


.atv-box-gallery-small {
  min-height: 300px;

  padding: 17px;
}


.atv-box-gallery-small img {
  width: 100%;
  height: calc(100% - 30px);

  display: block;

  object-fit: contain;
}


.atv-box-gallery-small span {
  display: block;

  color: #53677b;

  font-size: 13px;

  font-weight: 650;
}


/* ======================================================
   PACKAGES
====================================================== */

.atv-box-packages {
  width: 100vw;

  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  padding: 105px 24px;

  background:
    radial-gradient(
      circle at 80% 30%,
      rgba(48,117,180,.14),
      transparent 26%
    ),
    linear-gradient(
      145deg,
      #06101c,
      #091827 55%,
      #0b1e31
    );
}


.atv-box-packages-header {
  display: grid;

  grid-template-columns: 1fr .65fr;

  gap: 70px;

  align-items: end;

  margin-bottom: 46px;
}


.atv-box-packages-header h2 {
  margin: 0 !important;

  color: #ffffff !important;

  font-size: clamp(39px, 4vw, 55px) !important;
  line-height: 1.07 !important;

  font-weight: 780 !important;

  letter-spacing: -1.8px !important;
}


.atv-box-packages-header h2 strong {
  display: block;

  margin-top: 5px;

  color: #5da9e9;
}


.atv-box-packages-header > p {
  margin: 0 !important;

  color: #a1b2c3 !important;

  font-size: 16px !important;
  line-height: 1.7 !important;
}


/* ======================================================
   PACKAGE GRID
====================================================== */

.atv-box-package-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 18px;
}


/* Card */

.atv-box-package-card {
  position: relative;

  display: flex;
  flex-direction: column;

  padding: 32px 27px 27px;

  border: 1px solid rgba(255,255,255,.11);
  border-radius: 13px;

  background: rgba(255,255,255,.045);
}


.atv-box-package-card-featured {
  border: 2px solid #4389c6;

  background:
    linear-gradient(
      180deg,
      rgba(48,112,173,.2),
      rgba(255,255,255,.045) 35%
    );
}


.atv-box-best-choice {
  position: absolute;

  top: -14px;
  left: 50%;

  transform: translateX(-50%);

  padding: 7px 14px;

  border-radius: 5px;

  background: #3c82bd;

  color: #ffffff;

  font-size: 12px;

  font-weight: 700;

  white-space: nowrap;
}


.atv-box-package-number {
  position: absolute;

  top: 25px;
  right: 25px;

  color: #526a80;

  font-size: 12px;

  font-weight: 700;
}


/* Top */

.atv-box-package-top > span {
  display: block;

  margin-bottom: 8px;

  color: #69afe9;

  font-size: 12px;

  font-weight: 700;

  text-transform: uppercase;
}


.atv-box-package-top h3 {
  margin: 0 0 8px !important;

  color: #ffffff !important;

  font-size: 26px !important;

  font-weight: 760 !important;
}


.atv-box-package-top p {
  min-height: 48px;

  margin: 0 !important;

  color: #91a5b8 !important;

  font-size: 14px !important;
  line-height: 1.6 !important;
}


/* Price */

.atv-box-package-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;

  gap: 5px;

  margin-top: 28px;
}


.atv-box-package-price span {
  color: #67afea;

  font-size: 14px;

  font-weight: 700;
}


.atv-box-package-price strong {
  color: #ffffff;

  font-size: 50px;
  line-height: 1;

  font-weight: 800;

  letter-spacing: -2px;
}


.atv-box-package-price small {
  width: 100%;

  margin-top: 5px;

  color: #71879a;

  font-size: 12px;
}


.atv-box-package-divider {
  height: 1px;

  margin: 25px 0;

  background: rgba(255,255,255,.09);
}


/* List */

.atv-box-package-card ul {
  flex: 1;

  display: grid;

  gap: 12px;

  list-style: none;

  padding: 0;
  margin: 0 0 29px;
}


.atv-box-package-card li {
  position: relative;

  padding-left: 27px;

  color: #b3c2d0;

  font-size: 14px;
  line-height: 1.55;
}


.atv-box-package-card li::before {
  content: "✓";

  position: absolute;

  left: 0;
  top: 1px;

  width: 18px;
  height: 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: rgba(66,144,211,.14);

  color: #68b1ee;

  font-size: 10px;

  font-weight: 800;
}


/* Button */

.atv-box-package-btn {
  min-height: 52px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 8px;

  padding: 13px 17px;

  border: 1px solid rgba(255,255,255,.15);
  border-radius: 7px;

  background: rgba(255,255,255,.055);

  color: #ffffff !important;

  font-size: 14px;

  font-weight: 700;

  text-decoration: none !important;

  transition: .2s ease;
}


.atv-box-package-btn svg {
  width: 17px;
  height: 17px;

  fill: none;
  stroke: currentColor;

  stroke-width: 2;
}


.atv-box-package-btn:hover,
.atv-box-package-card-featured .atv-box-package-btn {
  border-color: #347bb9;

  background: #347bb9;

  color: #ffffff !important;
}


/* ======================================================
   SHIPPING
====================================================== */

.atv-box-shipping {
  display: flex;
  align-items: center;

  gap: 17px;

  margin-top: 30px;

  padding: 25px 28px;

  border: 1px solid rgba(255,255,255,.09);
  border-radius: 11px;

  background: rgba(255,255,255,.035);
}


.atv-box-shipping-icon {
  width: 50px;
  height: 50px;

  flex: 0 0 50px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 8px;

  background: rgba(62,138,204,.11);

  color: #68b0ee;
}


.atv-box-shipping-icon svg {
  width: 24px;
  height: 24px;

  fill: none;
  stroke: currentColor;

  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}


.atv-box-shipping span {
  display: block;

  margin-bottom: 4px;

  color: #62a7df;

  font-size: 12px;

  font-weight: 700;

  text-transform: uppercase;
}


.atv-box-shipping h3 {
  margin: 0 0 5px !important;

  color: #ffffff !important;

  font-size: 20px !important;
}


.atv-box-shipping p {
  margin: 0 !important;

  color: #95a7b9 !important;

  font-size: 14px !important;
  line-height: 1.65 !important;
}


/* Currency */

.atv-box-currency-note {
  display: flex;
  align-items: center;

  gap: 9px;

  margin-top: 15px;

  color: #71889b;

  font-size: 13px;
}


.atv-box-currency-note svg {
  width: 18px;
  height: 18px;

  fill: none;
  stroke: #599bce;

  stroke-width: 1.7;
}


.atv-box-currency-note strong {
  color: #a4b7c8;
}


/* ======================================================
   FEATURES SECTION
====================================================== */

.atv-box-features {
  width: 100vw;

  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  padding: 100px 24px;

  background: #f6f8fb;
}


.atv-box-features-list {
  border-top: 1px solid #dce5ed;
}


.atv-box-feature {
  display: grid;

  grid-template-columns: 45px 55px 1fr;

  gap: 20px;

  align-items: start;

  padding: 27px 10px;

  border-bottom: 1px solid #dce5ed;
}


.atv-box-feature-number {
  padding-top: 16px;

  color: #a0adba;

  font-size: 12px;

  font-weight: 700;
}


.atv-box-feature-icon {
  width: 52px;
  height: 52px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid #d4e0e9;
  border-radius: 9px;

  background: #ffffff;

  color: #245c98;
}


.atv-box-feature-icon svg {
  width: 23px;
  height: 23px;

  fill: none;
  stroke: currentColor;

  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}


.atv-box-feature h3 {
  margin: 2px 0 6px !important;

  color: #193047 !important;

  font-size: 20px !important;

  font-weight: 750 !important;
}


.atv-box-feature p {
  max-width: 700px;

  margin: 0 !important;

  color: #6e7e8e !important;

  font-size: 14px !important;
  line-height: 1.65 !important;
}


/* ======================================================
   TABLET
====================================================== */

@media (max-width: 1024px) {

  .atv-box-hero-grid {
    grid-template-columns: 1fr;

    gap: 40px;
  }

  .atv-box-hero-content {
    max-width: 720px;
  }

  .atv-box-product {
    min-height: 500px;
  }

  .atv-box-showcase-header,
  .atv-box-packages-header,
  .atv-box-features-header {
    grid-template-columns: 1fr;

    gap: 18px;
  }

  .atv-box-package-grid {
    grid-template-columns: 1fr;
  }

  .atv-box-package-top p {
    min-height: auto;
  }

}


/* ======================================================
   MOBILE
====================================================== */

@media (max-width: 767px) {

  .atv-box-hero,
  .atv-box-showcase,
  .atv-box-packages,
  .atv-box-features {
    padding-left: 18px;
    padding-right: 18px;
  }


  .atv-box-hero {
    padding-top: 65px;
    padding-bottom: 75px;
  }


  .atv-box-hero-content h1 {
    font-size: 38px !important;

    letter-spacing: -1.4px !important;
  }


  .atv-box-hero-description {
    font-size: 15px !important;
  }


  .atv-box-hero-benefits {
    grid-template-columns: 1fr;
  }


  .atv-box-hero-actions {
    flex-direction: column;
  }


  .atv-box-btn {
    width: 100%;
  }


  /* product */

  .atv-box-product {
    min-height: auto;

    padding: 30px 0 80px;
  }


  .atv-box-product-bg {
    width: 360px;
    height: 360px;
  }


  .atv-box-product-image {
    width: 100%;
  }


  .atv-box-product-label {
    top: 10px;
    left: 0;
  }


  .atv-box-product-floating {
    right: 0;
    bottom: 15px;

    min-width: 0;
  }


  /* gallery */

  .atv-box-gallery {
    grid-template-columns: 1fr;
  }


  .atv-box-gallery-main {
    min-height: 380px;
  }


  .atv-box-gallery-side {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }


  .atv-box-gallery-small {
    min-height: 230px;
  }


  /* headings */

  .atv-box-showcase-header h2,
  .atv-box-packages-header h2,
  .atv-box-features-header h2 {
    font-size: 35px !important;
  }


  .atv-box-showcase-header > p,
  .atv-box-packages-header > p,
  .atv-box-features-header > p {
    font-size: 15px !important;
  }


  /* package */

  .atv-box-package-card {
    padding: 30px 23px 23px;
  }


  .atv-box-package-price strong {
    font-size: 48px;
  }


  .atv-box-package-card li {
    font-size: 14px;
  }


  /* shipping */

  .atv-box-shipping {
    align-items: flex-start;

    padding: 22px;
  }


  /* features */

  .atv-box-feature {
    grid-template-columns: 50px 1fr;

    gap: 15px;

    padding: 24px 0;
  }


  .atv-box-feature-number {
    display: none;
  }

}


/* ======================================================
   SMALL MOBILE
====================================================== */

@media (max-width: 430px) {

  .atv-box-hero,
  .atv-box-showcase,
  .atv-box-packages,
  .atv-box-features {
    padding-left: 15px;
    padding-right: 15px;
  }


  .atv-box-hero-content h1 {
    font-size: 34px !important;
  }


  .atv-box-gallery-side {
    grid-template-columns: 1fr;
  }


  .atv-box-product-floating {
    width: 100%;
  }


  .atv-box-shipping {
    display: block;
  }


  .atv-box-shipping-icon {
    margin-bottom: 14px;
  }

}

/* ======================================================
   RTL SUPPORT - ARABIC IPTV TV BOX PAGE
   ADD AT THE VERY END OF CURRENT CSS
====================================================== */

.atv-box-page[dir="rtl"] {
  direction: rtl;
  text-align: right;
}


/* ======================================================
   COMMON
====================================================== */

.atv-box-page[dir="rtl"] .atv-box-container {
  direction: rtl;
}


.atv-box-page[dir="rtl"] .atv-box-eyebrow {
  direction: rtl;
  justify-content: flex-start;

  text-align: right;

  letter-spacing: 0 !important;
  text-transform: none;
}


/* ======================================================
   HERO
====================================================== */

.atv-box-page[dir="rtl"] .atv-box-hero {
  direction: rtl;

  /* Mirror glow from right to left */
  background:
    radial-gradient(
      circle at 18% 48%,
      rgba(59, 133, 199, 0.14),
      transparent 27%
    ),
    linear-gradient(
      180deg,
      #f7f9fc 0%,
      #ffffff 100%
    );
}


/*
   RTL Desktop:
   Content = right
   Product = left
*/

.atv-box-page[dir="rtl"] .atv-box-hero-grid {
  direction: rtl;
}


/* ======================================================
   HERO CONTENT
====================================================== */

.atv-box-page[dir="rtl"] .atv-box-hero-content {
  margin-left: auto;
  margin-right: 0;

  text-align: right;
}


.atv-box-page[dir="rtl"] .atv-box-hero-content h1 {
  text-align: right;

  letter-spacing: 0 !important;
}


.atv-box-page[dir="rtl"] .atv-box-hero-description {
  margin-left: auto !important;
  margin-right: 0 !important;

  text-align: right;
}


/* ======================================================
   HERO BENEFITS
====================================================== */

.atv-box-page[dir="rtl"] .atv-box-hero-benefits {
  direction: rtl;
}


.atv-box-page[dir="rtl"] .atv-box-benefit {
  direction: rtl;

  text-align: right;
}


.atv-box-page[dir="rtl"] .atv-box-benefit > span {
  align-items: flex-start;

  text-align: right;
}


.atv-box-page[dir="rtl"] .atv-box-benefit strong {
  text-align: right;
}


/* ======================================================
   HERO ACTIONS
====================================================== */

.atv-box-page[dir="rtl"] .atv-box-hero-actions {
  direction: rtl;

  justify-content: flex-start;
}


.atv-box-page[dir="rtl"] .atv-box-btn {
  direction: rtl;

  text-align: center;

  letter-spacing: 0;
}


.atv-box-page[dir="rtl"] .atv-box-btn svg {
  flex: 0 0 auto;
}


/* ======================================================
   PRODUCT VISUAL
====================================================== */

.atv-box-page[dir="rtl"] .atv-box-product {
  direction: rtl;
}


/*
   4K label:
   left -> right
*/

.atv-box-page[dir="rtl"] .atv-box-product-label {
  left: auto;
  right: 10px;

  direction: rtl;

  text-align: right;
}


/* Keep 4K natural */

.atv-box-page[dir="rtl"] .atv-box-product-label span {
  direction: ltr;
  unicode-bidi: isolate;
}


/*
   Floating subscription box:
   right -> left
*/

.atv-box-page[dir="rtl"] .atv-box-product-floating {
  right: auto;
  left: 5px;

  text-align: right;
}


.atv-box-page[dir="rtl"] .atv-box-product-floating span,
.atv-box-page[dir="rtl"] .atv-box-product-floating strong {
  text-align: right;
}


/* ======================================================
   SHOWCASE HEADER
====================================================== */

.atv-box-page[dir="rtl"] .atv-box-showcase {
  direction: rtl;
}


.atv-box-page[dir="rtl"] .atv-box-showcase-header,
.atv-box-page[dir="rtl"] .atv-box-features-header {
  direction: rtl;

  text-align: right;
}


.atv-box-page[dir="rtl"] .atv-box-showcase-header > div,
.atv-box-page[dir="rtl"] .atv-box-features-header > div {
  text-align: right;
}


.atv-box-page[dir="rtl"] .atv-box-showcase-header h2,
.atv-box-page[dir="rtl"] .atv-box-features-header h2 {
  text-align: right;

  letter-spacing: 0 !important;
}


.atv-box-page[dir="rtl"] .atv-box-showcase-header > p,
.atv-box-page[dir="rtl"] .atv-box-features-header > p {
  text-align: right;
}


/* ======================================================
   GALLERY
   Large image = right
   Side images = left
====================================================== */

.atv-box-page[dir="rtl"] .atv-box-gallery {
  direction: rtl;
}


.atv-box-page[dir="rtl"] .atv-box-gallery-main,
.atv-box-page[dir="rtl"] .atv-box-gallery-side,
.atv-box-page[dir="rtl"] .atv-box-gallery-small {
  direction: rtl;
}


/*
   Caption:
   left -> right
*/

.atv-box-page[dir="rtl"] .atv-box-gallery-caption {
  left: auto;
  right: 22px;

  text-align: right;
}


.atv-box-page[dir="rtl"] .atv-box-gallery-small span {
  text-align: right;
}


/* ======================================================
   PACKAGES SECTION
====================================================== */

.atv-box-page[dir="rtl"] .atv-box-packages {
  direction: rtl;

  /* Mirror background glow */
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(48,117,180,.14),
      transparent 26%
    ),
    linear-gradient(
      215deg,
      #06101c,
      #091827 55%,
      #0b1e31
    );
}


.atv-box-page[dir="rtl"] .atv-box-packages-header {
  direction: rtl;

  text-align: right;
}


.atv-box-page[dir="rtl"] .atv-box-packages-header > div {
  text-align: right;
}


.atv-box-page[dir="rtl"] .atv-box-packages-header h2 {
  text-align: right;

  letter-spacing: 0 !important;
}


.atv-box-page[dir="rtl"] .atv-box-packages-header > p {
  text-align: right;
}


/* ======================================================
   PACKAGE GRID
   1 Year starts from right
====================================================== */

.atv-box-page[dir="rtl"] .atv-box-package-grid {
  direction: rtl;
}


/* ======================================================
   PACKAGE CARD
====================================================== */

.atv-box-page[dir="rtl"] .atv-box-package-card {
  direction: rtl;

  text-align: right;
}


/* Package number moves to left */

.atv-box-page[dir="rtl"] .atv-box-package-number {
  right: auto;
  left: 25px;

  direction: ltr;
  unicode-bidi: isolate;

  text-align: left;
}


/* Best choice remains centered */

.atv-box-page[dir="rtl"] .atv-box-best-choice {
  direction: rtl;

  text-align: center;

  letter-spacing: 0;
}


/* ======================================================
   PACKAGE TOP
====================================================== */

.atv-box-page[dir="rtl"] .atv-box-package-top {
  text-align: right;
}


.atv-box-page[dir="rtl"] .atv-box-package-top > span {
  text-align: right;

  letter-spacing: 0 !important;
  text-transform: none;
}


.atv-box-page[dir="rtl"] .atv-box-package-top h3,
.atv-box-page[dir="rtl"] .atv-box-package-top p {
  text-align: right;

  letter-spacing: 0 !important;
}


/* ======================================================
   PACKAGE PRICE
====================================================== */

.atv-box-page[dir="rtl"] .atv-box-package-price {
  direction: ltr;

  justify-content: flex-end;

  text-align: right;
}


.atv-box-page[dir="rtl"] .atv-box-package-price > span,
.atv-box-page[dir="rtl"] .atv-box-package-price > strong {
  direction: ltr;
  unicode-bidi: isolate;
}


.atv-box-page[dir="rtl"] .atv-box-package-price > small {
  direction: rtl;
  unicode-bidi: plaintext;

  text-align: right;
}


/* ======================================================
   PACKAGE FEATURES
====================================================== */

.atv-box-page[dir="rtl"] .atv-box-package-card ul {
  direction: rtl;

  text-align: right;
}


.atv-box-page[dir="rtl"] .atv-box-package-card li {
  padding-left: 0;
  padding-right: 27px;

  text-align: right;

  unicode-bidi: plaintext;
}


/* Check mark moves left -> right */

.atv-box-page[dir="rtl"] .atv-box-package-card li::before {
  left: auto;
  right: 0;
}


/* ======================================================
   PACKAGE BUTTON
====================================================== */

.atv-box-page[dir="rtl"] .atv-box-package-btn {
  direction: rtl;

  text-align: center;

  letter-spacing: 0;
}


.atv-box-page[dir="rtl"] .atv-box-package-btn svg {
  flex: 0 0 auto;
}


/* ======================================================
   SHIPPING
====================================================== */

.atv-box-page[dir="rtl"] .atv-box-shipping {
  direction: rtl;

  text-align: right;
}


.atv-box-page[dir="rtl"] .atv-box-shipping > div:last-child {
  text-align: right;
}


.atv-box-page[dir="rtl"] .atv-box-shipping span {
  text-align: right;

  letter-spacing: 0 !important;
  text-transform: none;
}


.atv-box-page[dir="rtl"] .atv-box-shipping h3,
.atv-box-page[dir="rtl"] .atv-box-shipping p {
  text-align: right;

  letter-spacing: 0 !important;
}


/* Mixed English shipping name */

.atv-box-page[dir="rtl"] .atv-box-shipping p {
  unicode-bidi: plaintext;
}


/* ======================================================
   CURRENCY NOTE
====================================================== */

.atv-box-page[dir="rtl"] .atv-box-currency-note {
  direction: rtl;

  justify-content: flex-start;

  text-align: right;
}


.atv-box-page[dir="rtl"] .atv-box-currency-note span {
  unicode-bidi: plaintext;

  text-align: right;
}


.atv-box-page[dir="rtl"] .atv-box-currency-note strong {
  direction: ltr;
  unicode-bidi: isolate;

  display: inline-block;
}


/* ======================================================
   FINAL FEATURES
====================================================== */

.atv-box-page[dir="rtl"] .atv-box-features {
  direction: rtl;
}


.atv-box-page[dir="rtl"] .atv-box-features-list {
  direction: rtl;
}


/* Feature row */

.atv-box-page[dir="rtl"] .atv-box-feature {
  direction: rtl;

  text-align: right;
}


.atv-box-page[dir="rtl"] .atv-box-feature-number {
  direction: ltr;
  unicode-bidi: isolate;

  text-align: right;
}


.atv-box-page[dir="rtl"] .atv-box-feature > div:last-child {
  text-align: right;
}


.atv-box-page[dir="rtl"] .atv-box-feature h3,
.atv-box-page[dir="rtl"] .atv-box-feature p {
  text-align: right;

  letter-spacing: 0 !important;
}


/* ======================================================
   TABLET
====================================================== */

@media (max-width: 1024px) {

  .atv-box-page[dir="rtl"] .atv-box-hero-grid,
  .atv-box-page[dir="rtl"] .atv-box-showcase-header,
  .atv-box-page[dir="rtl"] .atv-box-packages-header,
  .atv-box-page[dir="rtl"] .atv-box-features-header {
    direction: rtl;

    text-align: right;
  }


  .atv-box-page[dir="rtl"] .atv-box-hero-content {
    margin-left: auto;
    margin-right: 0;
  }


  .atv-box-page[dir="rtl"] .atv-box-package-grid {
    direction: rtl;
  }

}


/* ======================================================
   MOBILE
====================================================== */

@media (max-width: 767px) {

  /* Typography */

  .atv-box-page[dir="rtl"] .atv-box-hero-content h1,
  .atv-box-page[dir="rtl"] .atv-box-showcase-header h2,
  .atv-box-page[dir="rtl"] .atv-box-packages-header h2,
  .atv-box-page[dir="rtl"] .atv-box-features-header h2 {
    letter-spacing: 0 !important;
  }


  /* Hero actions */

  .atv-box-page[dir="rtl"] .atv-box-hero-actions {
    direction: rtl;
  }


  /*
     Product label:
     original mobile = left:0
     RTL = right:0
  */

  .atv-box-page[dir="rtl"] .atv-box-product-label {
    left: auto;
    right: 0;
  }


  /*
     Floating card:
     original = right:0
     RTL = left:0
  */

  .atv-box-page[dir="rtl"] .atv-box-product-floating {
    right: auto;
    left: 0;
  }


  /* Gallery */

  .atv-box-page[dir="rtl"] .atv-box-gallery,
  .atv-box-page[dir="rtl"] .atv-box-gallery-side {
    direction: rtl;
  }


  /* Packages */

  .atv-box-page[dir="rtl"] .atv-box-package-grid {
    direction: rtl;
  }


  .atv-box-page[dir="rtl"] .atv-box-package-price {
    justify-content: flex-end;
  }


  /* Shipping */

  .atv-box-page[dir="rtl"] .atv-box-shipping {
    direction: rtl;

    text-align: right;
  }


  /* Features */

  .atv-box-page[dir="rtl"] .atv-box-feature {
    direction: rtl;

    text-align: right;
  }

}


/* ======================================================
   SMALL MOBILE
====================================================== */

@media (max-width: 430px) {

  .atv-box-page[dir="rtl"] .atv-box-hero-content h1 {
    letter-spacing: 0 !important;
  }


  .atv-box-page[dir="rtl"] .atv-box-product-floating {
    right: auto;
    left: 0;

    text-align: right;
  }


  .atv-box-page[dir="rtl"] .atv-box-shipping {
    text-align: right;
  }


  .atv-box-page[dir="rtl"] .atv-box-shipping-icon {
    margin-left: 0;
    margin-right: 0;

    margin-bottom: 14px;
  }

}/* End custom CSS */