@import url("https://fonts.googleapis.com/css2?family=Geom:wght@400;700&family=IBM+Plex+Sans+Arabic:wght@400;500;700&display=swap");

/* Arabic pages use Tajawal for every letter. English keeps the fonts
   set on :root in jak-redesign.css. */
html:lang(ar) {
  --jak-font: Tajawal, sans-serif;
  --jak-host: Tajawal, sans-serif;
  --jak-outfit: Tajawal, sans-serif;
  --jak-serif: Tajawal, sans-serif;
  scroll-behavior: smooth;
}

html:lang(ar),
html:lang(ar) body,
html:lang(ar) .page {
  background: #fff !important;
}

html:lang(ar) .site-header,
html:lang(ar) .site-header.sticky {
  background: transparent !important;
}

html:lang(ar) .jak-redesign .jak-main,
html:lang(ar).path-frontpage .site-header + main {
  padding-top: 0;
}

html:lang(ar) .site-header--wrapper {
  box-sizing: border-box;
  display: flex;
  width: min(1442px, calc(100% - 40px));
  max-width: 1442px;
  margin: 30px auto 0;
  padding: 12px 18px;
  background: #edf7ff !important;
  border-radius: 46px;
  box-shadow: 0 4px 7.3px 0 rgba(0, 0, 0, 0.25);
  align-items: center;
  justify-content: space-between;
  position: relative;
}

html:lang(ar) .site-header--wrapper > .site-header--logo {
  flex: 0 0 auto;
  order: 0;
}

html:lang(ar) .site-header--wrapper > .site-header--logo #block-s2d-footerlogo-3 img,
html:lang(ar) .site-header--logo #block-s2d-footerlogo-3 img {
  display: block;
  height: 40px !important;
  width: auto !important;
  max-width: 180px;
}

html:lang(ar) #block-s2d-branding,
html:lang(ar) #block-accountmenu,
html:lang(ar) #block-accountmenu-arabic {
  display: none !important;
}

html:lang(ar) .site-header .menu--main .menu--link {
  color: #1a1026 !important;
  text-transform: none !important;
  letter-spacing: -0.6px !important;
  font-family: var(--jak-font) !important;
  font-weight: 500 !important;
  font-size: 16px !important;
  line-height: 0.95 !important;
}

html:lang(ar) .site-header .menu--main .menu--link:hover,
html:lang(ar) .site-header .menu--main .menu--link.is-active {
  color: var(--jak-blue) !important;
}

html:lang(ar) .site-header--navigation .menu--main .menu--wrapper--lvl-0 {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 !important;
  padding: 0;
  list-style: none;
}

html:lang(ar) #block-useraccountarabic .js-external-login-link,
html:lang(ar) #block-useraccountarabic .js-external-login-link:after {
  display: none !important;
  content: none !important;
}

html:lang(ar) #block-useraccountarabic .menu--wrapper {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  border: none;
  list-style: none;
}

html:lang(ar) #block-useraccountarabic li {
  margin: 0 !important;
}

html:lang(ar) #block-useraccountarabic .js-external-register-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 49px;
  margin: 0 !important;
  padding: 12px 20px !important;
  background: #bdea31 !important;
  color: #1a1026 !important;
  border: 0 !important;
  border-radius: 52px !important;
  font-family: var(--jak-font) !important;
  font-size: 20px !important;
  font-weight: 500 !important;
  line-height: 0.95 !important;
  letter-spacing: -0.6px !important;
  text-transform: none !important;
  text-decoration: none !important;
}

html:lang(ar) #block-useraccountarabic .js-external-register-link:hover,
html:lang(ar) #block-useraccountarabic .js-external-register-link:focus {
  color: #1a1026 !important;
  background: #bdea31 !important;
}

html:lang(ar) #block-useraccountarabic .js-external-register-link:after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  background: none !important;
}

@media (min-width: 768px) {
  html:lang(ar) .site-header .menu--main .menu--link {
    font-size: 18px !important;
  }
}

@media (min-width: 992px) {
  html:lang(ar) .site-header--wrapper {
    gap: clamp(36px, 3.6vw, 52px);
  }
  html:lang(ar) .site-header--navigation {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: flex-start !important;
    gap: clamp(16px, 1.6vw, 24px);
    width: auto;
    min-width: 0;
  }

  html:lang(ar) .site-header--logo img,
  html:lang(ar) .site-header--wrapper > .site-header--logo #block-s2d-footerlogo-3 img,
  html:lang(ar) .site-header--logo #block-s2d-footerlogo-3 img {
    height: 40px !important;
  }

  html:lang(ar) .site-header--navigation .menu--main,
  html:lang(ar) #block-s2d-main-menu {
    position: static;
    left: auto;
    top: auto;
    flex: 0 1 auto;
    min-width: 0;
    width: auto;
    margin: 0;
  }

  html:lang(ar) .site-header--navigation .menu--main .menu--wrapper--lvl-0 {
    width: auto;
    min-width: 0;
    justify-content: flex-start;
    gap: clamp(16px, 1.6vw, 24px);
  }

  html:lang(ar) .site-header--navigation > .site-header--logo,
  html:lang(ar) .site-header .custom-country {
    display: none !important;
  }

  html:lang(ar) .site-header #block-s2d-language {
    display: flex !important;
    align-items: center;
    width: max-content !important;
    max-width: none;
    margin-top: 0;
    margin-bottom: 0;
    margin-inline-end: 0;
    margin-inline-start: auto !important;
    position: static;
    left: auto;
    right: auto;
    top: auto;
    transform: none;
    flex: 0 0 auto;
    z-index: 2;
  }

  html:lang(ar) .site-header #block-s2d-language .field,
  html:lang(ar) .site-header #block-s2d-language p {
    width: auto !important;
    margin: 0;
  }

  html:lang(ar) .site-header #block-s2d-language .lang-en.menu--link {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
    height: 40px;
    margin: 0 !important;
    padding: 0 !important;
    left: auto !important;
    position: static !important;
    color: #1a1026 !important;
    font-family: Tajawal, sans-serif !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    cursor: pointer;
    direction: ltr;
  }

  html:lang(ar) .site-header #block-s2d-language .lang-en.menu--link::before {
    content: "" !important;
    display: block !important;
    flex: 0 0 18px;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    background: url("/themes/custom/s2d/assets/images/icons/svg/globe.svg") center / 18px 18px no-repeat !important;
  }

  html:lang(ar) .site-header #block-s2d-language .lang-en.menu--link::after {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    background: none !important;
  }

  html:lang(ar) .site-header .menu--main .menu--link {
    font-size: 20px !important;
    padding-inline: 0 !important;
    white-space: nowrap;
  }

  html:lang(ar) #block-useraccountarabic {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    flex: 0 0 auto;
    margin-inline-start: 32px;
    background: transparent;
    z-index: 2;
  }

  html:lang(ar) #block-useraccountarabic .js-external-register-link {
    font-size: 20px !important;
    padding: 14px 22px !important;
    white-space: nowrap;
  }
}
@media (min-width: 992px) and (max-width: 1399px) {
  html:lang(ar) .site-header--wrapper {
    gap: 28px;
  }
  html:lang(ar) .site-header--navigation,
  html:lang(ar) .site-header--navigation .menu--main .menu--wrapper--lvl-0 {
  /*  gap: 14px; */
  gap: 35px;
    margin-right: 10%;
  }
  html:lang(ar) .site-header .menu--main .menu--link,
  html:lang(ar) .site-header #block-s2d-language .lang-en.menu--link,
  html:lang(ar) #block-useraccountarabic .js-external-register-link {
    font-size: 16px !important;
  }
  html:lang(ar) #block-useraccountarabic {
    margin-inline-start: 20px;
  }
}

@media (max-width: 991px) {
  html:lang(ar) .site-header--wrapper {
    width: auto;
    margin: 8px 12px 0;
   /* border-radius: 28px; */
    padding: 10px 14px;
    direction: ltr;
    justify-content: flex-start;
  }

  html:lang(ar) .site-header--wrapper > .site-header--menu-toggle-wrapper {
    order: 1;
    margin-left: 0;
    margin-right: 0;
  }

  html:lang(ar) .site-header--wrapper > .site-header--logo {
    order: 2;
    margin-left: auto;
    margin-right: 0;
  }

  html:lang(ar) .site-header--account-toggle-wrapper {
    display: none;
  }

  html:lang(ar) .site-header .site-header--menu-toggle .icon-bar {
    background: #1a1026;
  }

  html:lang(ar) .site-header.js-site-header--mobile .site-header--navigation {
    background: #edeaf5;
    color: #1a1026;
  }

  /* Keep the close control above the wordmark, same arrangement as English. */
  html:lang(ar) .site-header.js-site-header--mobile .site-header--menu-toggle.close {
    z-index: 12;
  }

  html:lang(ar) .site-header.js-site-header--mobile .site-header--navigation .site-header--logo {
    box-sizing: border-box;
    padding-right: 56px;
    text-align: right;
  }

  html:lang(ar) .site-header.js-site-header--mobile .site-header--navigation .site-header--logo img {
    display: inline-block;
    height: 40px !important;
    width: auto !important;
  }

  html:lang(ar) .site-header.js-site-header--mobile #block-s2d-main-menu {
    position: static;
    left: auto;
    right: auto;
    width: 100%;
  }

  /* Desktop keeps the row. Mobile stacks one link per line, like English. */
  html:lang(ar) .site-header.js-site-header--mobile .menu--main .menu--wrapper--lvl-0 {
    display: block;
    gap: 0;
  }

  html:lang(ar) .site-header.js-site-header--mobile .menu--main .menu--item {
    display: block;
    width: 100%;
    border-bottom: 1px solid #dee1e9;
  }

  html:lang(ar) .site-header.js-site-header--mobile .menu--main .menu--link {
    justify-content: flex-start;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    height: 40px;
    margin-top: 24px;
    padding: 0 15px !important;
    color: #1a1026 !important;
    font-size: 16px !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    white-space: nowrap;
  }

  html:lang(ar) .site-header.js-site-header--mobile .menu--link {
    color: #1a1026 !important;
    letter-spacing: 0 !important;
  }

  html:lang(ar) .site-header.js-site-header--mobile #block-s2d-language {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    width: 100%;
    max-width: none;
    margin: 0;
    transform: none;
    text-align: right;
  }

  html:lang(ar) .site-header.js-site-header--mobile #block-s2d-language .lang-en.menu--link {
    float: none;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    height: auto;
    margin: 24px 15px 0 0 !important;
    padding: 0 !important;
    direction: rtl;
    color: #1a1026 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
  }

  html:lang(ar) .site-header.js-site-header--mobile #block-s2d-language .lang-en.menu--link::before {
    content: "" !important;
    display: block !important;
    flex: 0 0 18px;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    background: url("/themes/custom/s2d/assets/images/icons/svg/globe.svg") center / 18px 18px no-repeat !important;
  }

  html:lang(ar) .site-header.js-site-header--mobile #block-s2d-language .lang-en.menu--link::after {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    background: none !important;
  }

  html:lang(ar) .site-header.js-site-header--mobile #block-useraccountarabic {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 24px;
  }

  html:lang(ar) .site-header.js-site-header--mobile #block-useraccountarabic .menu--wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
  }
}

/* ---- Homepage ---- */
html:lang(ar).path-frontpage .download-jak,
html:lang(ar).path-frontpage #content-14,
html:lang(ar).path-frontpage #block-s2d-hometitle {
  display: none !important;
}

html:lang(ar) .jak-hero__title img {
  display: none !important;
}

html:lang(ar) .jak-hero__copy {
  left: calc(267 / 1574 * 100%);
  top: calc(104 / 1574 * 100cqi);
  width: calc(1040 / 1574 * 100%);
  text-align: center;
}

html:lang(ar) .jak-hero__title,
html:lang(ar) .jak-hero__title h1 {
  font-family: Tajawal, sans-serif !important;
  font-weight: 600 !important;
  font-size: calc(100 / 1574 * 100cqi) !important;
  line-height: 0.95 !important;
  letter-spacing: -0.03em !important;
  text-transform: none !important;
  text-align: center;
}

/* Route runs right to left. Plane 1 starts on the right. */
html:lang(ar) .jak-hero__flight-path {
  width: 97.37%;
  height: 44.62%;
  opacity: 1;
  transform: translate(-50%, -50%) matrix(-0.946291, -0.323316, -0.323316, 0.946291, 0, 0);
  transform-origin: center center;
}

html:lang(ar) .jak-hero__plane {
  transform-origin: center center;
}

html:lang(ar) .jak-hero__plane--1 {
  left: 83.4%;
  top: 80.5%;
  width: 1.6947%;
  height: 3.2048%;
  transform: rotate(180deg) scaleX(-1);
}

html:lang(ar) .jak-hero__plane--2 {
  left: 52.1%;
  top: 28.2%;
  width: 1.8274%;
  height: 2.9928%;
  transform: none;
}

html:lang(ar) .jak-hero__plane--3 {
  left: 10.7%;
  top: 36.9%;
  width: 1.6947%;
  height: 3.2048%;
  transform: rotate(-69deg) scaleX(-1);
}

html:lang(ar) .jak-hero__quote {
  left: calc(1092 / 1574 * 100%);
  top: calc(114 / 1574 * 100cqi);
  width: calc(48 / 1574 * 100cqi);
  height: calc(40 / 1574 * 100cqi);
  font-size: 0;
  line-height: 0;
  color: transparent;
  transform: none;
  background:
    radial-gradient(circle at 22% 76%, #c8f042 0 calc(8.5 / 1574 * 100cqi), transparent calc(9 / 1574 * 100cqi)),
    radial-gradient(circle at 68% 76%, #c8f042 0 calc(8.5 / 1574 * 100cqi), transparent calc(9 / 1574 * 100cqi)),
    linear-gradient(#c8f042, #c8f042) 34% 0 / calc(6 / 1574 * 100cqi) 72% no-repeat,
    linear-gradient(#c8f042, #c8f042) 80% 0 / calc(6 / 1574 * 100cqi) 72% no-repeat;
}

html:lang(ar) .jak-hero__stamp {
  left: calc(500 / 1574 * 100%);
  top: calc(310 / 1574 * 100cqi);
  width: calc(158 / 1574 * 100cqi);
  height: calc(158 / 1574 * 100cqi);
}

html:lang(ar) .jak-hero__chat {
  left: calc(70 / 1574 * 100%);
  top: calc(520 / 1574 * 100cqi);
  border-radius: 40% 40% 20% 40%;
  display: none;
}

html:lang(ar) .jak-heading em,
html:lang(ar) .jak-locations__intro h1 em,
html:lang(ar) .jak-locations__intro h2 em,
html:lang(ar) :is(.jak-redesign, .jak-calculator-page) #block-s2d-calculator h1 em {
  font-family: Tajawal, sans-serif !important;
  font-style: normal !important;
  font-weight: 500 !important;
  color: var(--jak-blue) !important;
}

html:lang(ar) .jak-brands__viewport,
html:lang(ar) .jak-brands__track {
  direction: ltr;
}

html:lang(ar) .jak-plans__grid {
  width: min(920px, 100%);
  margin-inline: auto;
  column-gap: 20px;
  align-items: stretch;
  text-align: right;
}

html:lang(ar) #page-161 #block-s2d-page-title,
html:lang(ar) #page-161 h1.page-title {
  display: none;
}

html:lang(ar)  .jak-heading {
  max-width: 920px;
  margin-inline: auto;
  font-family: Tajawal, sans-serif;
  font-weight: 400;
  font-size: 44px;
  /*line-height: 1.25; */
  line-height: 1.25;
  letter-spacing: 0;
  color: #000;
}


html:lang(ar) .jak-plans {
  max-width: 920px;
  margin-inline: auto;
  font-family: Tajawal, sans-serif;
  font-weight: 400;
  font-size: 44px;
  line-height: 1.25; 
  
  letter-spacing: 0;
  color: #000;
}

html:lang(ar) .jak-plans .jak-sub {
  max-width: 460px;
  margin-top: 12px;
  font-family: Tajawal, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  color: #6b6b6b;
}

html:lang(ar) .jak-plan {
  display: flex;
  flex-direction: column;
  grid-row: auto;
  width: 100%;
  height: 100%;
  min-height: 500px;
  box-sizing: border-box;
  padding: 20px 22px 18px;
  background: #fff;
  border: 1px solid #e7e9f2;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(27, 34, 60, 0.06);
}

html:lang(ar) .jak-plan > p:last-child {
  width: 100%;
  margin-top: auto;
  margin-bottom: 0;
}

html:lang(ar) .jak-plan--express {
  background: #fff;
  border: 1.5px solid #3b6dff;
  box-shadow: 0 18px 40px rgba(59, 109, 255, 0.08);
}

html:lang(ar) .jak-plan__desc {
  margin-top: 4px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  color: #797878;
  text-align: right;
}

html:lang(ar) .jak-plan__price {
  font-family: Tajawal, sans-serif;
  font-size: 44px;
  font-weight: 400;
  line-height: 1;
  text-align: right;
  color: #0055fc;
  margin: 18px 0 8px;
}

html:lang(ar) .jak-plan__price--row {
  align-items: center;
  justify-content: flex-start;
}

html:lang(ar) .jak-plan__amount {
  direction: ltr;
  font-family: Tajawal, sans-serif;
  font-size: 44px;
  font-weight: 400;
  letter-spacing: -0.6px;
  color: #0055fc;
}

html:lang(ar) .jak-plan__price small {
  font-size: 16px;
  font-weight: 400;
  color: #6b6578;
}

html:lang(ar) .jak-plan__badge {
  margin-left: 0;
  margin-right: auto;
  padding: 5px 10px;
  border: 0;
  border-radius: 8px;
  background: #e8f0ff;
  color: #3b6dff;
  font-family: Tajawal, sans-serif;
  font-size: 13px;
  font-weight: 500;
}

html:lang(ar) .jak-plan ul {
  border-top: 0;
  margin: 8px 0 24px;
  padding-top: 8px;
}

html:lang(ar) .jak-plan li {
  padding: 7px 0;
  font-size: 15px;
  font-weight: 400;
}

html:lang(ar) .jak-plan__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 2px;
  background: #fff;
  border: 1.5px solid #c8f042;
  border-radius: 999px;
  overflow: hidden;
}

html:lang(ar) .jak-plan__toggle button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 52px;
  height: 26px;
  border: 0;
  background: transparent;
  color: #1a1a1a;
  border-radius: 999px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}

html:lang(ar) .jak-plan__toggle button.is-active {
  background: #c8f042;
  border-color: transparent;
  color: #1a1a1a;
}

html:lang(ar) .jak-plan li span {
  color: #454545;
}

html:lang(ar) .jak-plan li strong {
  color: #1a1026;
  font-weight: 400;
}

html:lang(ar) .jak-plan__btn {
  gap: 8px;
  min-height: 46px;
  border-radius: 12px;
  font-family: Tajawal, sans-serif;
  font-size: 16px;
  font-weight: 500;
}

html:lang(ar) .jak-plan__btn::after {
  content: "";
  width: 16px;
  height: 16px;
  flex: none;
  background: currentColor;
  transform: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 6h11v2h-7.6l8.3 8.3-1.4 1.4L9 9.4V17H7V6z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 6h11v2h-7.6l8.3 8.3-1.4 1.4L9 9.4V17H7V6z'/%3E%3C/svg%3E") center / contain no-repeat;
}

html:lang(ar) .jak-plan__btn--ghost {
  background: #fff;
  border: 1.5px solid #3b6dff;
  color: #3b6dff !important;
}

html:lang(ar) .jak-plan__btn--solid {
  background: #0055fc;
  border: 1.5px solid #0055fc;
  color: #fff !important;
}

html:lang(ar) .jak-app__watermark,
html:lang(ar) .jak-plan__desc,
html:lang(ar) .jak-plan li,
html:lang(ar) .jak-plan__toggle button,
html:lang(ar) .jak-plan__price small {
  font-family: Tajawal, sans-serif;
}

html:lang(ar) .jak-plan__top {
  align-items: center;
  width: 100%;
}

html:lang(ar) .jak-plan h3 {
  margin: 0;
  color: #1b223c;
  text-align: right;
  font-family: Tajawal, sans-serif !important;
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
}

html:lang(ar) :is(.jak-redesign, .jak-calculator-page) #block-s2d-calculator .jak-calc-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 0 auto;
  padding: 6px 14px;
  border-radius: 80px;
  background: #e7f6b0;
  color: #4e5d34;
  font-family: Tajawal, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
}

html:lang(ar) :is(.jak-redesign, .jak-calculator-page) #block-s2d-calculator h1,
html:lang(ar) :is(.jak-redesign, .jak-calculator-page) #block-s2d-calculator h1.text-align-center {
  font-family: Tajawal, sans-serif !important;
  font-weight: 400 !important;
  font-size: clamp(30px, 3.1vw, 44px) !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
  margin: 12px auto 28px !important;
  color: #1a1026 !important;
}

html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .calculator--form-wrapper,
html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator form {
  gap: 16px;
}

html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-elements--inline.jak-calc-countries {
  gap: 24px !important;
  margin-bottom: 12px;
}

html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-elements--inline,
html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-elements--inline .form-element--wrapper,
html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-element--wrapper.form-element--text-wrapper,
html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-element--select-search {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-element--wrapper {
  display: flex;
  align-items: center;
  height: 56px !important;
  min-height: 56px !important;
  padding: 0 14px !important;
  border: 1.5px solid #5b92f6 !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-sizing: border-box;
  overflow: visible;
}

html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-elements--inline:not(.jak-calc-countries) > .form-element--select-search {
  display: flex !important;
  height: 76px !important;
  min-height: 76px !important;
}

html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .calculator--form-wrapper .form-element--wrapper.form-element--select-search.block-small:first-child::before,
html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .calculator--form-wrapper .form-element--wrapper.form-element--select-search.block-small:first-child::after {
  content: none !important;
  display: none !important;
  background: none !important;
  padding: 0 !important;
}

html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-element.placeholder {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  direction: rtl;
  gap: 10px;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 2px 0 28px !important;
  border: 0 !important;
  background: transparent !important;
  box-sizing: border-box;
  font: 400 16px/1.2 Tajawal, sans-serif !important;
}

html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .jak-calc-countries .form-element.placeholder:not(:has(.jak-calc-flag))::before {
  content: none;
  display: none;
}

html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .jak-calc-flag {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
}

html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .jak-calc-flag img {
  width: 34px;
  height: 22px;
  object-fit: cover;
  border-radius: 4px;
}

html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-element--select-search .label,
html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-element--select-search .text-wrapper,
html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-element--select-search .option,
html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-checkbox,
html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-element--text-wrapper .form-label {
  text-align: right;
  font-family: Tajawal, sans-serif !important;
}

html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-element--select-search .label,
html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-element--select-search .text-wrapper,
html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-element--text-wrapper .form-label {
  color: #8a8496 !important;
  font-family: Tajawal, sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  font-style: normal !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
}

html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-element--select-search .text-wrapper {
  color: #8a8496 !important;
  margin-top: 0.4%;
}

html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-element.placeholder[data-icon=drop]:after,
html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-element.placeholder[data-icon=chevron]:after {
  content: "" !important;
  position: absolute;
  left: 4px;
  right: auto;
  top: 50%;
  width: 8px;
  height: 8px;
  margin: 0;
  border: solid #1a1026;
  border-width: 0 1.5px 1.5px 0;
  background: none !important;
  background-image: none !important;
  opacity: 1 !important;
  transform: translateY(-70%) rotate(45deg);
}

html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-element--select-search.active {
  z-index: 20;
}

html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-element--select-search.active .form-element.placeholder[data-icon=drop]:after,
html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-element--select-search.active .form-element.placeholder[data-icon=chevron]:after {
  transform: translateY(-20%) rotate(225deg) !important;
}

html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-element--select-search .dropdown {
  top: calc(100% + 1.5px) !important;
  right: -1.5px !important;
  left: -1.5px !important;
  width: auto !important;
  max-height: 280px !important;
  margin: 0 !important;
  padding: 8px !important;
  background: #fff !important;
  border: 1.5px solid #5b92f6 !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 28px rgba(26, 16, 38, 0.12);
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
  z-index: 30;
}

html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-element--select-search .dropdown .form-element--text-wrapper {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 0 6px !important;
  padding: 0 !important;
  border: 1px solid #d5e3fb !important;
  border-radius: 10px !important;
  background: #f7f9fc !important;
  box-shadow: none !important;
  overflow: hidden;
}

html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-element--select-search .dropdown .form-element--text {
  display: block !important;
  width: 100% !important;
  height: 40px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: right !important;
  direction: rtl;
  font: 400 15px/40px Tajawal, sans-serif !important;
  color: #1a1026 !important;
}

html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-element--select-search .dropdown .form-element--text::placeholder {
  color: #8a8496;
  font-family: Tajawal, sans-serif;
  font-weight: 400;
  opacity: 1;
}

html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-element--select-search .dropdown .option {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  direction: rtl;
  gap: 10px;
  width: auto !important;
  height: auto !important;
  min-height: 42px;
  margin: 0 !important;
  padding: 6px 10px !important;
  border: 0 !important;
  border-radius: 8px;
  background: transparent !important;
  box-shadow: none !important;
  text-align: right !important;
  font: 400 16px/1.3 Tajawal, sans-serif !important;
  color: #1a1026 !important;
}

html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-element--select-search .dropdown .option:hover {
  background: #eef4ff !important;
}

html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-element--select-search .dropdown .option:before,
html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-element--select-search .dropdown .option:after {
  content: none !important;
  display: none !important;
}

html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-element--select-search .dropdown .jak-calc-flag {
  padding: 0 !important;
  border: 0 !important;
}

html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-element--select-search .dropdown .jak-calc-flag img {
  width: 28px;
  height: 20px;
  object-fit: cover;
  border-radius: 3px;
  display: block;
}

html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-element--text-wrapper .form-label {
  position: absolute !important;
  inset: 0 !important;
  top: 0 !important;
  right: 0 !important;
  left: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  direction: rtl;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 14px !important;
  transform: none !important;
  pointer-events: none;
}

html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-element--text-wrapper .form-label.active {
  opacity: 0;
}

html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-element--text {
  background: transparent !important;
  margin: 0 !important;
  width: 100%;
  height: 100% !important;
  padding: 0 !important;
  text-align: right;
  direction: rtl;
  font-family: Tajawal, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  color: #1a1026;
}

html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-checkbox {
  display: flex;
  justify-content: flex-start;
  direction: rtl;
  width: 100%;
  margin: 2px 0 0;
  font-family: Tajawal, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  color: #1a1026;
}

html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-checkbox label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  direction: rtl;
  margin: 0;
  cursor: pointer;
}

html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-checkbox input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 18px;
  border: 1.5px solid #c5c0cc;
  border-radius: 4px;
  background: #fff;
  accent-color: var(--jak-blue);
}

html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-checkbox input:checked {
  border-color: #0055fc;
  background: #0055fc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M3.2 8.2 6.4 11.4 12.8 4.6'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
}

html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .dimension-fields-row {
  display: flex !important;
  flex-direction: row;
  direction: rtl;
  gap: 12px !important;
  align-items: stretch !important;
  width: 100%;
  margin: 0 !important;
}

html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .dimension-fields-row .form-element--wrapper {
  flex: 1 1 0 !important;
  height: 56px !important;
  min-height: 56px !important;
  padding: 0 !important;
}

html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .dimension-fields-row .form-label {
  justify-content: center;
  padding: 0 8px !important;
  text-align: center !important;
}

html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .dimension-fields-row .form-element--text {
  text-align: center !important;
}

html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-element.button,
html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-element.button.block,
html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .button--title {
  font-family: Tajawal, sans-serif !important;
}

html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-element.button,
html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-element.button.block {
  right: auto !important;
  left: auto !important;
  min-height: 48px;
  padding: 10px 36px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
}

html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-element.button:after,
html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .button--title:after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: none !important;
}

html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .jak-calc-result__label,
html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .jak-calc-result__amount,
html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .jak-calc-start-again,
html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .jak-calc-start-again {
  font-family: Tajawal, sans-serif !important;
  letter-spacing: 0 !important;
}

html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .jak-calc-result__label {
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  color: #6b6578 !important;
}

html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .jak-calc-result__amount {
  direction: ltr;
  font-size: clamp(34px, 5vw, 44px) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .jak-calc-start-again,
html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .jak-calc-start-again {
  min-height: 44px;
  padding: 10px 26px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .calculator--has-result .form-element.button,
html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .calculator--has-result button[type="submit"] {
  display: none !important;
}

html:lang(ar) .jak-locations,
html:lang(ar) .jak-locations__intro p,
html:lang(ar) .jak-locations__intro h1,
html:lang(ar) .jak-locations__intro h2,
html:lang(ar) .jak-locations__cta {
  font-family: Tajawal, sans-serif !important;
  letter-spacing: 0 !important;
  margin-top: 4%;
}

html:lang(ar) .jak-locations__intro h1,
html:lang(ar) .jak-locations__intro h2 {
  font-family: Tajawal, sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  line-height: 1.45 !important;
  color: #1a1026 !important;
}

html:lang(ar) .jak-locations__intro h1 em,
html:lang(ar) .jak-locations__intro h2 em {
  color: inherit !important;
  font-style: normal !important;
}

html:lang(ar) .jak-locations__intro p:last-child {
  max-width: 620px;
  margin-right: auto;
  margin-left: auto;
  font-family: Tajawal, sans-serif;
  font-size: 20px;
  line-height: 1.6;
  letter-spacing: 0;
}

html:lang(ar) .jak-locations__cta {
  line-height: 1.35;
  letter-spacing: 0;
}

html:lang(ar) .jak-locations__pin {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  direction: ltr;
  transform: translate(-50%, -50%);
  min-height: 8.4%;
  margin-top: 0;
  padding: 0 0.7%;
  box-sizing: border-box;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 0 0 2px #fff, 0 1px 4px rgba(26, 16, 38, 0.08);
  color: #6a6478;
  font-family: Tajawal, sans-serif;
  font-size: clamp(11px, 0.95vw, 16px);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}

html:lang(ar) .jak-locations__pin img {
  width: 1.15em;
  height: 0.78em;
  object-fit: cover;
  border-radius: 2px;
  flex: 0 0 auto;
}

html:lang(ar) .site-footer a,
html:lang(ar) .site-footer .menu--link,
html:lang(ar) .site-footer--column .menu--item--lvl-0 > .menu--link,
html:lang(ar) #block-s2d-contactsociallink p,
html:lang(ar) .site-footer--copyright,
html:lang(ar) .site-footer--copyright--wrapper,
html:lang(ar) #block-copyright,
html:lang(ar) #block-copyright p {
  font-family: Tajawal, sans-serif !important;
  letter-spacing: 0 !important;
  line-height: 1.45 !important;
}

html:lang(ar) #block-s2d-footerlogo img {
  content: url("/themes/custom/s2d/assets/images/jak-redesign/footer-wordmark-ar.png");
}

/* Features page (node 160). Copy is the Arabic translation; layout matches
   the desktop Figma: illustrations stay in the English visual order, and
   the Arabic copy is right-aligned inside each card. */
html:lang(ar) #page-160 .jak-features,
html:lang(ar) #page-160 .jak-features__intro,
html:lang(ar) #page-160 .jak-features__chip,
html:lang(ar) #page-160 .jak-features__title,
html:lang(ar) #page-160 .jak-features__sub,
html:lang(ar) #page-160 .jak-feature__copy,
html:lang(ar) #page-160 .jak-feature__copy h2,
html:lang(ar) #page-160 .jak-feature__copy p {
  font-family: Tajawal, sans-serif;
  letter-spacing: 0;
}

html:lang(ar) #page-160 .jak-features__grid {
  direction: ltr;
}

html:lang(ar) #page-160 .jak-feature__copy {
  direction: rtl;
  text-align: right;
}

html:lang(ar) #page-160 .jak-features__title {
  color: #0055fc;
  font-weight: 400;
  font-size: 52px;
  line-height: 1.35;
}

html:lang(ar) #page-160 .jak-features__sub {
  line-height: 1.6;
}

html:lang(ar) #page-160 .jak-feature__copy h2 {
  font-weight: 700;
  line-height: 1.45;
}

html:lang(ar) #page-160 .jak-feature__copy p {
  line-height: 1.55;
}

@media (max-width: 1100px) {
  html:lang(ar) #page-160 .jak-features__title {
    font-size: 42px;
  }
}

@media (max-width: 640px) {
  html:lang(ar) #page-160 .jak-features__title {
    font-size: 32px;
    line-height: 1.4;
  }
}

/* Track shipment (node 38). Same structure as the English page:
   badge, two-line heading, field, and button. Arabic copy is right-aligned. */
html:lang(ar) #page-38.page {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  background: #fff !important;
}
html:lang(ar) #page-38 main {
  background: #fff !important;
  padding: 170px 20px 80px !important;
}
html:lang(ar) #page-38 #feature-61 {
  max-width: 796px;
  margin: 0 auto;
  padding-top: 0px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  text-align: center;
}
html:lang(ar) #page-38 #feature-61 .feature--title > p:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  padding: 10px 16px;
  background: #eaf8b8;
  color: #5f5670;
  border-radius: 80px;
  font-family: Tajawal, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}
html:lang(ar) #page-38 #feature-61 h1,
html:lang(ar) #page-38 #feature-61 h1 strong {
  display: block;
  margin: 0 auto 40px;
  max-width: 796px;
  font-family: Tajawal, sans-serif !important;
  font-weight: 400 !important;
  font-size: clamp(32px, 4.6vw, 52px) !important;
  line-height: 1.45 !important;
  letter-spacing: 0;
  color: #1a1026 !important;
  text-align: center;
  margin-top: -1%;
}
html:lang(ar) #page-38 #feature-61 h1 br {
  display: none;
}
html:lang(ar) #page-38 #feature-61 h1 em {
  display: block;
  font-family: Tajawal, sans-serif !important;
  font-style: normal !important;
  font-weight: 500 !important;
  letter-spacing: 0;
  color: #0055fc !important;
}
html:lang(ar) #page-38 .track-shipment {
  text-align: center;
}
html:lang(ar) #page-38 .track-shipment .form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: min(592px, 100%) !important;
  margin: 0 auto 48px !important;
}
html:lang(ar) #page-38 .track-shipment .form-element--text-wrapper {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  background: #fff !important;
  border: 1px solid #7e768f !important;
  border-radius: 12px !important;
  min-height: 64px;
  height: auto !important;
  padding: 16px 20px !important;
  box-sizing: border-box;
}
html:lang(ar) #page-38 .track-shipment .form-element--text,
html:lang(ar) #page-38 .track-shipment input {
  width: 100%;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  font-family: Tajawal, sans-serif !important;
  font-size: 20px !important;
  line-height: 24px !important;
  color: #1a1026 !important;
  text-align: right;
  font-weight: 300 !important;
}
html:lang(ar) #page-38 .track-shipment input::placeholder {
  color: #9e97ad;
  opacity: 1;
}
html:lang(ar) #page-38 .track-shipment .form-element.button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-height: 56px;
  margin: 0 !important;
  padding: 16px 56px !important;
  background: #0055fc !important;
  border: 0 !important;
  border-radius: 104px !important;
  color: #fff !important;
}
html:lang(ar) #page-38 .track-shipment .form-element.button .button--title {
  font-family: Tajawal, sans-serif !important;
  font-size: 22px !important;
  font-weight: 500 !important;
  line-height: 1.6;
  letter-spacing: 0;
  color: #fff !important;
}
html:lang(ar) #page-38 .track-shipment .form-element.button .button--title:after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: none !important;
}
html:lang(ar) #page-38 .jak-track-result,
html:lang(ar) #page-38 .jak-track-result__head,
html:lang(ar) #page-38 .jak-track-result__status,
html:lang(ar) #page-38 .jak-track-step__label,
html:lang(ar) #page-38 .jak-track-card__bar,
html:lang(ar) #page-38 .jak-track-card__body span,
html:lang(ar) #page-38 .jak-track-card__body strong,
html:lang(ar) #page-38 .jak-track-day__chip,
html:lang(ar) #page-38 .jak-track-event__time,
html:lang(ar) #page-38 .jak-track-event__body p,
html:lang(ar) #page-38 .jak-track-event__place {
  font-family: Tajawal, sans-serif;
  letter-spacing: 0;
}
html:lang(ar) #page-38 .jak-track-result {
  direction: rtl;
  width: min(702px, 100%);
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
  text-align: right;
}
html:lang(ar) #page-38 .jak-track-result__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  font-size: 20px;
  font-weight: 500;
  line-height: 36px;
  color: #1a1026;
}
html:lang(ar) #page-38 .jak-track-result__code {
  color: #7e768f;
  direction: ltr;
  unicode-bidi: isolate;
  display: none;
}
html:lang(ar) #page-38 .jak-track-result__status {
  margin: 0;
  text-align: center;
  font-size: 24px;
  font-weight: 500;
  line-height: 40px;
  color: #0055fc;
}
html:lang(ar) #page-38 .jak-track-steps {
  display: flex;
  justify-content: space-between;
  gap: 34px;
  position: relative;
  margin: 0;
  direction: rtl;
}
html:lang(ar) #page-38 .jak-track-steps::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 28px;
  height: 2px;
  background: rgba(184, 178, 194, 0.5);
}
html:lang(ar) #page-38 .jak-track-step {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  width: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
html:lang(ar) #page-38 .jak-track-step__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 48px;
  background: #1a1026;
}
html:lang(ar) #page-38 .jak-track-step.is-current .jak-track-step__icon {
  background: #0055fc;
}
/* html:lang(ar) #page-38 .jak-track-step.is-waiting .jak-track-step__icon {
  background: #b8b2c2;
} */
html:lang(ar) #page-38 .jak-track-step__icon img {
  width: 24px;
  height: 24px;
  display: block;
}
html:lang(ar) #page-38 .jak-track-step__label {
  display: flex;
  flex-direction: column;
  font-size: 19px;
  font-weight: 500;
  line-height: 23px;
  color: #5f5670;
}
html:lang(ar) #page-38 .jak-track-step.is-current .jak-track-step__label {
  color: #1a1026;
}
html:lang(ar) #page-38 .jak-track-card {
  display: flex;
  flex-direction: column;
  gap: 19px;
}
html:lang(ar) #page-38 .jak-track-card__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0;
  padding: 14px 24px;
  background: #c8f042;
  border-radius: 19px;
  font-size: 16px;
  font-weight: 500;
  line-height: 29px;
  color: #1a1026;
}
html:lang(ar) #page-38 .jak-track-card:last-child .jak-track-card__bar {
  justify-content: flex-start;
  padding: 12px 20px;
  border-radius: 16px;
  line-height: 24px;
}
html:lang(ar) #page-38 .jak-track-card__tag {
  /* display: inline-flex; */
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  display: none;
}
html:lang(ar) #page-38 .jak-track-card__tag img {
  width: 19px;
  height: 19px;
  display: block;
}
html:lang(ar) #page-38 .jak-track-card__body {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 19px;
  padding: 38px;
  background: #fff;
  border-radius: 38px;
  box-shadow: 0 5px 22px rgba(0, 48, 87, 0.04), 0 -1px 30px rgba(0, 48, 87, 0.04);
  text-align: right;
}
html:lang(ar) #page-38 .jak-track-card__body span {
  display: block;
  margin-bottom: 5px;
  font-size: 17px;
  font-weight: 400;
  line-height: 29px;
  color: #5f5670;
}
html:lang(ar) #page-38 .jak-track-card__body strong {
  display: block;
  font-size: 19px;
  font-weight: 500;
  line-height: 29px;
  color: #1a1026;
}
html:lang(ar) #page-38 .jak-track-card__body strong.is-blue {
  color: #0055fc;
  direction: ltr;
  unicode-bidi: isolate;
  text-align: right;
}
html:lang(ar) #page-38 .jak-track-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 0;
  padding: 40px 32px;
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 4px 18px rgba(0, 48, 87, 0.04), 0 -1px 25px rgba(0, 48, 87, 0.04);
}
html:lang(ar) #page-38 .jak-track-timeline::before {
  content: "";
  position: absolute;
  right: 71px;
  left: auto;
  top: 88px;
  bottom: 56px;
  width: 1px;
  background: url("/themes/custom/s2d/assets/images/jak-redesign/track/line.svg") center top / 1px 506px repeat-y;
}
html:lang(ar) #page-38 .jak-track-day {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
}
html:lang(ar) #page-38 .jak-track-day__chip {
  align-self: flex-start;
  display: inline-flex;
  margin: 0;
  padding: 8px 16px;
  background: #edeaf5;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  color: #1a1026;
  margin-right: 5.5%;
}
html:lang(ar) #page-38 .jak-track-event {
  margin: 0;
}
html:lang(ar) #page-38 .jak-track-event__time {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding-right: 12px;
  color: #9e97ad;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
}
html:lang(ar) #page-38 .jak-track-event__time img {
  width: 16px;
  height: 16px;
  display: block;
  position: relative;
  z-index: 1;
  flex: none;
  margin-right: 3%;
}
html:lang(ar) #page-38 .jak-track-event__body {
  padding-right: 52px;
  padding-left: 0;
  text-align: right;
}
html:lang(ar) #page-38 .jak-track-event__body p {
  margin: 4px 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #1a1026;
}
html:lang(ar) #page-38 .jak-track-event__place {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  color: #0055fc;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
}
html:lang(ar) #page-38 .jak-track-event__place img {
  width: 16px;
  height: 16px;
  display: block;
  flex: none;
}
html:lang(ar) #page-38 .jak-track-event + .jak-track-event {
  margin-top: 16px;
}
@media (max-width: 720px) {
  html:lang(ar) #page-38 .jak-track-card__body {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  html:lang(ar) #page-38 .jak-track-step__label {
    font-size: 13px;
    line-height: 1.35;
  }
  html:lang(ar) #page-38 .jak-track-timeline {
    padding: 24px 16px;
  }
  html:lang(ar) #page-38 .jak-track-timeline::before {
    right: 31px;
  }
}

html:lang(ar) .jak-locations__map-mobile {
  display: none;
}

html:lang(ar) .jak-locations__pin--ca { left: 34.84%; top: 34.04%; min-width: 7%; }
html:lang(ar) .jak-locations__pin--us { left: 21.70%; top: 52.70%; min-width: 13.2%; }
html:lang(ar) .jak-locations__pin--it { left: 49.74%; top: 42.45%; min-width: 7.4%; }
html:lang(ar) .jak-locations__pin--tr { left: 56.48%; top: 49.04%; min-width: 7%; }
html:lang(ar) .jak-locations__pin--cn { left: 73.64%; top: 47.21%; min-width: 6.6%; }
html:lang(ar) .jak-locations__pin--pk { left: 65.42%; top: 60.93%; min-width: 8%; }

/* Contact form. Same card, fields, and address block as English, mirrored for RTL. */
html:lang(ar) .contact--form-wrapper {
  align-items: flex-start;
  justify-content: flex-start;
  padding: 140px 80px 48px 24px !important;
  box-sizing: border-box;
}
html:lang(ar) .contact--form {
  width: 483px;
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fff;
  padding: 32px;
  border-radius: 20px;
}
html:lang(ar) .contact--form h2,
html:lang(ar) .contact--form-wrapper .contact--form h2 {
  margin: 0 0 32px !important;
  text-align: right !important;
  font-family: var(--jak-font) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  font-style: normal !important;
  line-height: 32px !important;
  letter-spacing: -0.2px !important;
  color: #1a1026 !important;
}
html:lang(ar) .contact--form .form-element--text-wrapper,
html:lang(ar) .contact--form .form-element--textarea-wrapper,
html:lang(ar) #feature-58 .component--rest-form .contact--form .form-element--text-wrapper,
html:lang(ar) #feature-58 .component--rest-form .contact--form .form-element--textarea-wrapper {
  position: relative;
  width: 100% !important;
  height: auto !important;
  margin: 0 0 20px !important;
  border: 1px solid #edeaf5;
  border-radius: 12px;
  background: #fff !important;
  background-color: #fff !important;
  box-sizing: border-box;
}
html:lang(ar) .contact--form .form-element--textarea-wrapper,
html:lang(ar) #feature-58 .component--rest-form .contact--form .form-element--textarea-wrapper {
  margin-bottom: 32px !important;
}
html:lang(ar) .contact--form .form-label,
html:lang(ar) .contact--form .form-label.active,
html:lang(ar) #feature-58 .component--rest-form .contact--form .form-label,
html:lang(ar) #feature-58 .component--rest-form .contact--form .form-label.active {
  position: absolute;
  top: 16px !important;
  right: 20px !important;
  left: auto !important;
  transform: none !important;
  margin: 0;
  font-family: var(--jak-font) !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  font-style: normal !important;
  line-height: 24px !important;
  letter-spacing: 0 !important;
  text-align: right !important;
  color: #9e97ad !important;
  pointer-events: none;
}
html:lang(ar) .contact--form .form-label.active,
html:lang(ar) #feature-58 .component--rest-form .contact--form .form-label.active {
  opacity: 0;
}
html:lang(ar) .contact--form .form-element--text,
html:lang(ar) .contact--form .form-element--textarea {
  display: block;
  width: 100% !important;
  max-width: 100%;
  margin: 0 !important;
  border: 0;
  border-radius: 12px;
  background: transparent !important;
  background-color: transparent !important;
  box-sizing: border-box;
  color: #1a1026;
  font-family: var(--jak-font) !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 24px !important;
  text-align: right;
  padding: 16px 20px;
  height: 56px;
}
html:lang(ar) .contact--form .form-element--textarea {
  height: 104px;
  min-height: 104px;
  resize: vertical;
}
html:lang(ar) .contact--form .form-element--text:focus,
html:lang(ar) .contact--form .form-element--textarea:focus {
  outline: none;
}
html:lang(ar) .contact--form .form-element--wrapper:focus-within,
html:lang(ar) #feature-58 .component--rest-form .contact--form .form-element--wrapper:focus-within {
  border-color: #0055fc;
}
html:lang(ar) .contact--form .form-element--wrapper:focus-within .form-label,
html:lang(ar) #feature-58 .component--rest-form .contact--form .form-element--wrapper:focus-within .form-label {
  opacity: 0;
}
html:lang(ar) .contact--form .form-element.button,
html:lang(ar) .contact--form button.form-element.button.red.block.small,
html:lang(ar) #feature-58 .component--rest-form .contact--form .form-element.button.red.small {
  width: 100% !important;
  height: 64px !important;
  margin: 0 0 32px !important;
  padding: 20px 40px;
  border: 0;
  border-radius: 88px !important;
  background: #0055fc !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
}
html:lang(ar) .contact--form .form-element.button .button--text-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
html:lang(ar) .contact--form .form-element.button .button--title,
html:lang(ar) #feature-58 .component--rest-form .contact--form .form-element.button.red.small .button--title {
  font-family: var(--jak-font) !important;
  font-size: 20px !important;
  font-weight: 500 !important;
  font-style: normal !important;
  line-height: 1.6 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-align: center !important;
  color: #fff !important;
}
html:lang(ar) .contact--form .form-element.button[data-icon=arrow]:after {
  display: none;
}
html:lang(ar) .contact--form .contact-address-details {
  margin: 0 !important;
  background: #edf7ff;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
html:lang(ar) .contact--form .contact-address-details h6,
html:lang(ar) .contact--form h6.contact-address-form,
html:lang(ar) .contact--form .contact-number-form {
  display: flex !important;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  margin: 0 !important;
  font-family: var(--jak-font) !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  font-style: normal !important;
  line-height: 24px !important;
  letter-spacing: -0.16px !important;
  color: #1a1026 !important;
  text-align: right !important;
}
html:lang(ar) .contact--form .contact-address-details img,
html:lang(ar) .contact--form .contact-number-form img,
html:lang(ar) .contact--form .contact-address-form img {
  width: 20px;
  height: 20px;
  margin: 2px 0 0 !important;
  flex: none;
}
html:lang(ar) .contact--form .contact-address-details p {
  margin: 0;
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  text-align: right;
}
html:lang(ar) .contact--form .contact-number-form p {
  direction: ltr;
  unicode-bidi: isolate;
}
@media (max-width: 991px) {
  html:lang(ar) .contact--form-wrapper {
    padding: 120px 16px 40px !important;
  }
  html:lang(ar) .contact--form {
    width: min(483px, 100%);
    padding: 24px;
  }
}

/* Arabic FAQ (node 143). Same layout as the English FAQ page.
   Badge and heading are presentation only; node text is unchanged.
   Search markup and styles stay as they are. */
html:lang(ar) #page-143 #block-s2d-page-title::before {
  content: "الأسئلة الشائعة";
  font-family: var(--jak-font);
  font-weight: 500;
  letter-spacing: 0;
}
html:lang(ar) #page-143 h1.page-title {
  letter-spacing: 0;
}
html:lang(ar) #page-143 h1.page-title::before {
  content: "كل ما تحتاج إلى معرفته عن JAK";
  font-family: var(--jak-font);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  font-style: normal;
  line-height: 1.35;
  letter-spacing: 0;
  color: #000;
}
html:lang(ar) #page-143 h1.page-title::after {
  content: none;
}
html:lang(ar) #page-143 summary.faqfield-question {
  position: relative;
  text-align: right;
  padding-left: 28px;
}
html:lang(ar) #page-143 summary.faqfield-question::after,
html:lang(ar) #page-143 .faqfield-details[open] summary.faqfield-question::after {
  position: absolute;
  left: 0;
  right: auto;
  top: calc(50% - 7px);
  width: 14px;
  height: 14px;
  margin: 0;
  border: 0;
  float: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M3 5.25 L7 9.25 L11 5.25' fill='none' stroke='%231a1026' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
  transform: none;
  transform-origin: center center;
}
html:lang(ar) #page-143 .faqfield-details[open] summary.faqfield-question::after {
  transform: rotate(180deg);
}
html:lang(ar) #page-143 .faqfield-answer {
  text-align: right;
  padding-bottom: 8px;
}
@media (max-width: 700px) {
  html:lang(ar) #page-143 h1.page-title::before {
    font-size: 32px;
    letter-spacing: 0;
  }
}

/* Arabic unacceptable-items pages (nodes 144, 152, 153, 154).
   Badge and hero title are presentation only; node text is unchanged.
   Body copy stays as authored and is aligned to the right. */
html:lang(ar) :is(#page-144, #page-152, #page-153, #page-154) main {
  box-sizing: border-box;
  width: min(1440px, 100%);
  margin-right: auto;
  margin-left: auto;
  padding: 120px clamp(20px, 8vw, 140px) 100px !important;
  background: #fff;
}

html:lang(ar) :is(#page-144, #page-152, #page-153, #page-154) h1.page-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: min(796px, 100%);
  margin: 38px auto 28px;
  padding: 0;
  text-align: center;
}

html:lang(ar) :is(#page-144, #page-152, #page-153, #page-154) h1.page-title::before {
  content: "المواد المحظورة";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 10px 12px;
  background: #e7fb9b;
  color: #5f5670;
  border-radius: 80px;
  font-family: Tajawal, sans-serif;
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.141;
  letter-spacing: 0;
}

html:lang(ar) :is(#page-144, #page-152, #page-153, #page-154) h1.page-title .field--name-title {
  font-size: 0;
  line-height: 1.141;
  letter-spacing: -2.4px;
  text-align: center;
}

html:lang(ar) :is(#page-144, #page-152, #page-153, #page-154) h1.page-title .field--name-title::before,
html:lang(ar) :is(#page-144, #page-152, #page-153, #page-154) h1.page-title .field--name-title::after {
  font-family: Tajawal, sans-serif;
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 400;
  font-style: normal;
  line-height: 1.141;
  letter-spacing: -2.4px;
}

html:lang(ar) :is(#page-144, #page-152, #page-153, #page-154) h1.page-title .field--name-title::before {
  content: "JAK - ";
  color: #000;
}

html:lang(ar) :is(#page-144, #page-152, #page-153, #page-154) h1.page-title .field--name-title::after {
  content: "المواد غير المقبولة";
  color: #0055fc;
}

html:lang(ar) :is(#page-144, #page-152, #page-153, #page-154) main :is(h1, h2, h3, h4, h5, h6, p, li, ul, ol, span, strong, b, a) {
  font-family: Tajawal, sans-serif !important;
}

html:lang(ar) :is(#page-144, #page-152, #page-153, #page-154) .field--name-body,
html:lang(ar) :is(#page-144, #page-152, #page-153, #page-154) .field--name-body :is(h2, h3, h4, h5, h6, p, li, ul, ol, span, strong, b) {
  font-family: Tajawal, sans-serif;
  text-align: right;
}

html:lang(ar) :is(#page-144, #page-152, #page-153, #page-154) .field--name-body :is(h2, h3),
html:lang(ar) :is(#page-144, #page-152, #page-153, #page-154) .field--name-body :is(h2, h3).text-color-blue {
  margin: 10px 0;
  color: #1a1026;
  font-family: Tajawal, sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.141;
  letter-spacing: -0.96px;
  text-align: right;
}

html:lang(ar) :is(#page-144, #page-152, #page-153, #page-154) .field--name-body :is(h2, h3).jak-section-heading,
html:lang(ar) :is(#page-144, #page-152, #page-153, #page-154) .field--name-body :is(h2, h3).jak-section-heading .jak-country {
  color: #0055fc;
  font-family: Tajawal, sans-serif;
}

html:lang(ar) :is(#page-144, #page-152, #page-153, #page-154) .field--name-body h4,
html:lang(ar) :is(#page-144, #page-152, #page-153, #page-154) .field--name-body h4 strong {
  margin: 10px 0;
  color: #1a1026;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.141;
  letter-spacing: -0.8px;
  text-align: right;
}

html:lang(ar) :is(#page-144, #page-152, #page-153, #page-154) .field--name-body p,
html:lang(ar) :is(#page-144, #page-152, #page-153, #page-154) article[data-history-node-id] .field--name-body p {
  margin: 0 0 10px;
  color: #1a1026;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.64px;
  text-align: right;
}

html:lang(ar) :is(#page-144, #page-152, #page-153, #page-154) .field--name-body ul {
  margin: 0 0 10px;
  padding: 0;
  padding-inline-start: 24px;
  list-style: disc;
  text-align: right;
}

html:lang(ar) :is(#page-144, #page-152, #page-153, #page-154) .field--name-body li,
html:lang(ar) :is(#page-144, #page-152, #page-153, #page-154) article[data-history-node-id] .field--name-body li {
  margin: 0;
  color: #1a1026;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.64px;
  text-align: right;
}

@media (max-width: 768px) {
  html:lang(ar) :is(#page-144, #page-152, #page-153, #page-154) main {
    padding: 110px 20px 64px !important;
  }

  html:lang(ar) :is(#page-144, #page-152, #page-153, #page-154) .field--name-body :is(h2, h3),
  html:lang(ar) :is(#page-144, #page-152, #page-153, #page-154) .field--name-body :is(h2, h3).text-color-blue {
    font-size: 20px;
  }
}

/* Arabic Terms & Conditions (node 61). Presentation only; node text is unchanged. */
html:lang(ar) #page-61.page {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  background: #fff !important;
  color: #1a1026;
}
html:lang(ar) #page-61 main {
  padding: 150px 24px 88px !important;
  background: #fff;
}
html:lang(ar) #page-61 #block-s2d-content,
html:lang(ar) #page-61 .node__content,
html:lang(ar) #page-61 main .field--name-body {
  width: min(1300px, 100%);
  margin-left: auto;
  margin-right: auto;
}
html:lang(ar) #page-61 main .field--name-body > h2.text-align-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 8px 0 32px;
  text-align: center;
}
html:lang(ar) #page-61 main .field--name-body > h2.text-align-center::before {
  content: "الشروط والأحكام";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 10px 16px;
  background: #eaf8b8;
  color: #5f5670;
  border-radius: 80px;
  font-family: Tajawal, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: 0;
}
html:lang(ar) #page-61 main .field--name-body > h2.text-align-center strong {
  display: inline-flex;
  direction: ltr;
  align-items: baseline;
  color: #0055fc;
  font-family: Tajawal, sans-serif;
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -1.2px;
}
html:lang(ar) #page-61 main .field--name-body > h2.text-align-center strong::before {
  content: "JAK - ";
  color: #000;
  font-weight: 500;
}
html:lang(ar) #page-61 main .field--name-body h3,
html:lang(ar) #page-61 main .field--name-body h3 span,
html:lang(ar) #page-61 main .field--name-body h3 strong {
  margin: 28px 0 10px;
  color: #0055fc !important;
  font-family: Tajawal, sans-serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.4px;
  text-align: right;
}
html:lang(ar) #page-61 main .field--name-body h3 span,
html:lang(ar) #page-61 main .field--name-body h3 strong {
  margin: 0;
}
html:lang(ar) #page-61 main .field--name-body p,
html:lang(ar) #page-61 main .field--name-body li {
  margin: 0 0 14px;
  color: #1a1026;
  font-family: Tajawal, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.2px;
  text-align: right;
}
html:lang(ar) #page-61 main .field--name-body p strong,
html:lang(ar) #page-61 main .field--name-body li strong {
  font-family: inherit;
  font-weight: 700;
  color: inherit;
  font-size: inherit;
}
html:lang(ar) #page-61 main .field--name-body a {
  color: #0055fc;
  font-family: Tajawal, sans-serif;
  text-decoration: underline;
}
html:lang(ar) #page-61 main .field--name-body ul,
html:lang(ar) #page-61 main .field--name-body ol {
  margin: 0 0 16px;
  padding: 0;
  padding-inline-start: 22px;
  text-align: right;
}
@media (max-width: 640px) {
  html:lang(ar) #page-61 main {
    padding: 120px 16px 64px !important;
  }
  html:lang(ar) #page-61 main .field--name-body > h2.text-align-center strong {
    font-size: 32px;
    letter-spacing: -0.8px;
  }
  html:lang(ar) #page-61 main .field--name-body h3,
  html:lang(ar) #page-61 main .field--name-body h3 span,
  html:lang(ar) #page-61 main .field--name-body h3 strong {
    font-size: 18px;
  }
}

/* Every letter on Arabic pages. English rules stay in jak-redesign.css. */
html:lang(ar) body,
html:lang(ar) body * {
  font-family: Tajawal !important;
}

@keyframes jak-brands-marquee-ar-mobile {
  from {
    transform: translateX(calc((100vw - 147px) / 2));
  }
  to {
    transform: translateX(calc(-50% + (100vw - 147px) / 2));
  }
}

html:lang(ar) .jak-app__store--mobile {
  display: none;
}

/* Phone homepage only. Desktop Arabic rules above stay as they are.
   Logo artwork, the truck image, and the truck animation are unchanged. */
@media (max-width: 767px) {
  html:lang(ar) .jak-hero {
    padding: 96px 0 0;
  }

  html:lang(ar) .jak-hero__inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
  }

  html:lang(ar) .jak-hero__stage {
    position: relative;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 16px 0;
  }

  html:lang(ar) .jak-hero__flights {
    left: 50%;
    top: 38%;
    width: min(471px, 128vw);
    height: 257px;
    transform: translate(-48%, -46%);
  }

  /* Phone quote: short stem with the round bulb on the lower left, same pair as the mobile artwork. */
  html:lang(ar) .jak-hero__quote {
    left: auto;
    right: 16px;
    top: 12px;
    z-index: 2;
    width: 50px;
    height: 38px;
    font-size: 0;
    line-height: 0;
    color: transparent;
    transform: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 32'%3E%3Cg fill='%23bdea31'%3E%3Crect x='12' y='0' width='6' height='15' rx='1'/%3E%3Ccircle cx='10' cy='20' r='8'/%3E%3Crect x='32' y='0' width='6' height='15' rx='1'/%3E%3Ccircle cx='30' cy='20' r='8'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat;
  }

  html:lang(ar) .jak-hero__copy {
    position: relative;
    left: auto;
    top: auto;
    z-index: 1;
    width: min(340px, 90vw);
    margin: 42px auto 0;
    text-align: center;
  }

  html:lang(ar) .jak-hero__title,
  html:lang(ar) .jak-hero__title h1 {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    font-family: Tajawal, sans-serif !important;
    font-weight: 700 !important;
    font-size: clamp(34px, 10.4vw, 46px) !important;
    line-height: 1.28 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    text-align: center;
    color: #fff;
  }

  html:lang(ar) .jak-hero__stamp {
    position: relative;
    left: auto;
    top: auto;
    width: 96px;
    height: 96px;
    margin: 28px auto 6px;
    z-index: 2;
  }

  html:lang(ar) .jak-hero .jak-btn {
    order: 1;
    align-self: center;
    transform: none;
    min-height: 52px;
    padding: 14px 36px;
    font-size: 18px;
    letter-spacing: 0;
    /* Sit just above the truck. The negative margin closes the scaled stage's empty top. */
    margin: 12px auto -18.735%;
    z-index: 4;
  }

  html:lang(ar) .jak-hero__visual {
    order: 2;
    width: 194.4943%;
    max-width: none;
    height: auto;
    aspect-ratio: 432.979 / 192.399;
    margin-top: 0;
    margin-left: calc((100% - 194.4943%) / 2);
    margin-right: calc((100% - 194.4943%) / 2);
  }

  /* Arabic phone calculator. Desktop rules above stay as they are.
     The weight-unit menu stays in the form; Figma omitted it. */
  html:lang(ar) .jak-redesign .jak-calculator-slot {
    padding: 38px 29px 48px;
  }

  html:lang(ar).jak-calculator-page main {
    padding-right: 29px !important;
    padding-left: 29px !important;
  }

  html:lang(ar) :is(.jak-redesign, .jak-calculator-page) #block-s2d-calculator .jak-calc-chip {
    padding: 5px 10px;
    border-radius: 32px;
    color: #5f5670;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.141;
  }

  html:lang(ar) :is(.jak-redesign, .jak-calculator-page) #block-s2d-calculator h1,
  html:lang(ar) :is(.jak-redesign, .jak-calculator-page) #block-s2d-calculator .field__item > h1,
  html:lang(ar) :is(.jak-redesign, .jak-calculator-page) #block-s2d-calculator h1.text-align-center {
    max-width: 334px;
    margin: 10px auto 48px !important;
    font-size: 30px !important;
    font-weight: 500 !important;
    line-height: 1.14 !important;
    letter-spacing: -1.2px !important;
  }

  html:lang(ar) :is(.jak-redesign, .jak-calculator-page) #block-s2d-calculator h1 em {
    color: #1a1026 !important;
    font-weight: 500 !important;
    letter-spacing: -1.2px;
  }

  html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .calculator--form-wrapper,
  html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator form {
    gap: 17px;
    width: min(335px, 100%);
  }

  html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-element--wrapper,
  html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-element--select-search,
  html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component.component--calculator .form-element--wrapper.form-element--text-wrapper {
    height: 44px !important;
    min-height: 44px !important;
    padding: 8px 10px !important;
    border: 1px solid #7e768f !important;
    border-radius: 6px !important;
  }

  html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-element--select-search .label,
  html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-element--select-search .text-wrapper,
  html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component.component--calculator .form-element--wrapper.form-element--text-wrapper .form-label,
  html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component.component--calculator .form-element--wrapper.form-element--text-wrapper label,
  html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component.component--calculator .form-element--text {
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 18.3px !important;
    letter-spacing: -0.12px !important;
    color: #5f5670 !important;
  }

  html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component.component--calculator .form-element--wrapper.form-element--text-wrapper {
    height: 44px !important;
    min-height: 44px !important;
    padding: 8px 10px !important;
    border: 1px solid #7e768f !important;
    border-radius: 6px !important;
  }

  html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .jak-calc-countries .form-element.placeholder:not(:has(.jak-calc-flag))::before,
  html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .jak-calc-flag img {
    width: 20px;
    height: 15px;
    border-radius: 2.5px;
  }

  html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-element.placeholder[data-icon=drop]:after,
  html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-element.placeholder[data-icon=chevron]:after {
    width: 7px;
    height: 7px;
  }

  html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .jak-calc-swap {
    height: 16px;
  }

  html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .jak-calc-swap img {
    width: 16px;
    height: 16px;
  }

  html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-checkbox {
    justify-content: flex-start;
    direction: rtl;
    font-size: 12px;
    font-weight: 500;
    line-height: normal;
    color: #5f5670;
  }

  html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-checkbox label {
    direction: rtl;
  }

  html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-checkbox input {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
    border-radius: 3px;
  }

  html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .dimension-fields-row {
    gap: 8px !important;
  }

  html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .dimension-fields-row .form-element--wrapper {
    height: 44px !important;
    min-height: 44px !important;
  }

  html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component.component--calculator .dimension-fields-row .form-element--wrapper.form-element--text-wrapper .form-label,
  html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component.component--calculator .dimension-fields-row .form-element--wrapper.form-element--text-wrapper label,
  html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component.component--calculator .dimension-fields-row .form-element--text {
    justify-content: flex-start;
    padding: 0 8px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.06px !important;
    text-align: right !important;
    white-space: nowrap;
  }

  html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-element.button,
  html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-element.button.block,
  html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator button[type="submit"] {
    width: 100% !important;
    min-height: 56px;
    margin-top: 31px !important;
    padding: 20px 56px !important;
    border-radius: 52px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 0.95 !important;
    letter-spacing: -0.48px !important;
  }

  html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .button--title {
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 0.95 !important;
    letter-spacing: -0.48px !important;
  }

  html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-elements--inline:not(.jak-calc-countries) {
    flex-direction: row;
    align-items: stretch;
    direction: rtl;
    gap: 10px;
  }

  html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-elements--inline:not(.jak-calc-countries) > .form-element--text-wrapper {
    flex: 1 1 auto;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    height: 44px !important;
    min-height: 44px !important;
  }

  html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-elements--inline:not(.jak-calc-countries) > .form-element--select-search {
    flex: 0 0 84px;
    width: 84px !important;
    max-width: 84px !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 8px !important;
  }

  html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-elements--inline:not(.jak-calc-countries) > .form-element--select-search .form-element.placeholder {
    justify-content: space-between;
    padding: 0 !important;
    gap: 6px;
  }

  html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-elements--inline:not(.jak-calc-countries) > .form-element--select-search .form-element.placeholder[data-icon=chevron]:after,
  html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-elements--inline:not(.jak-calc-countries) > .form-element--select-search .form-element.placeholder[data-icon=drop]:after {
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    flex: 0 0 8px;
    align-self: center;
    width: 8px;
    height: 8px;
    margin: 0 0 3px !important;
    transform: rotate(45deg) !important;
  }

  html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-elements--inline:not(.jak-calc-countries) > .form-element--select-search.active .form-element.placeholder[data-icon=chevron]:after,
  html:lang(ar) :is(.jak-redesign, .jak-calculator-page) .component--calculator .form-elements--inline:not(.jak-calc-countries) > .form-element--select-search.active .form-element.placeholder[data-icon=drop]:after {
    margin: 3px 0 0 !important;
    transform: rotate(225deg) !important;
  }

  html:lang(ar) .jak-locations {
    margin-top: 0;
    /* padding: 24px 0 18px; */
  }

  html:lang(ar) .jak-locations__intro {
    width: min(335px, calc(100% - 58px));
    gap: 10px;
  }

  html:lang(ar) .jak-locations__intro > p:first-child,
  html:lang(ar) .jak-locations__intro .field__item > p:first-child {
    margin: 0;
    padding: 5px 10px;
    background: #e7f6b4;
    color: #5f5670;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.141;
    border-radius: 32px;
  }

  html:lang(ar) .jak-locations__intro h1,
  html:lang(ar) .jak-locations__intro h2 {
    margin: 10px 0 0 !important;
    color: #000 !important;
    /* font-size: 30px !important; */
    font-size: 28px !important;
    font-weight: 500 !important;
    line-height: 1.14 !important;
    letter-spacing: -1.2px !important;
  }

  html:lang(ar) .jak-locations__intro p:last-child {
    max-width: 335px;
    margin: 10px auto 0;
    color: #5f5670;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.26;
  }

  html:lang(ar) .jak-locations__map {
    height: 214px;
    margin: 20px 0 0;
    overflow: hidden;
  }

  html:lang(ar) .jak-locations__map-base,
  html:lang(ar) .jak-locations__pin {
    display: none !important;
  }

  html:lang(ar) .jak-locations__map-mobile {
    display: block;
    position: absolute;
    left: 50%;
    top: 0;
    width: 127%;
    max-width: none;
    height: auto;
    transform: translate(-47.4%, -30%);
  }

  html:lang(ar) .jak-locations__cta {
    left: 29px;
    right: 29px;
    top: auto;
    bottom: 16px;
    width: auto;
    min-height: 47px;
    margin: 0;
    padding: 14px 24px;
    transform: none;
    border-radius: 52px;
    background: #0055fc;
    font-size: 16px;
    font-weight: 500;
    line-height: 0.95;
    letter-spacing: -0.48px;
    white-space: nowrap;
  }

  html:lang(ar) .jak-brands {
    padding: 38px 0;
  }

  html:lang(ar) .jak-brands > .jak-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(335px, calc(100% - 58px));
    gap: 10px;
  }

  html:lang(ar) .jak-brands .jak-chip {
    margin: 0;
    padding: 5px 10px;
    background: #c8f042;
    color: #1a1026;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.141;
    border-radius: 32px;
  }

  html:lang(ar) .jak-heading {
    margin-top: 14px;
    font-size: 32px;
    line-height: 1.2;
    letter-spacing: 0;
  }

  html:lang(ar) .jak-brands .jak-heading {
    margin: 0;
    color: #000;
    font-size: 30px !important;
    font-weight: 500 !important;
    line-height: 1.14;
    letter-spacing: -1.2px;
  }

  html:lang(ar) .jak-brands .jak-heading em {
    color: #000 !important;
    font-weight: 500 !important;
  }

  html:lang(ar) .jak-brands .jak-sub {
    max-width: 335px;
    margin: 0;
    color: #5f5670;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.26;
  }

  html:lang(ar) .jak-brands__viewport {
    margin-top: 48px;
    padding: 0;
    mask-image: none;
    -webkit-mask-image: none;
  }

  html:lang(ar) .jak-brands__track {
    gap: 24px;
    animation-name: jak-brands-marquee-ar-mobile;
  }

  html:lang(ar) .jak-brands__card {
    flex: 0 0 147px;
    height: 209px;
    background: #fff;
    box-shadow: none;
  }

  html:lang(ar) .jak-brands .jak-btn {
    width: 100%;
    height: 47px;
    min-height: 47px;
    margin-top: 48px;
    padding: 0 24px;
    box-sizing: border-box;
    border-radius: 52px;
    font-size: 16px;
    font-weight: 500;
    line-height: 0.95;
    letter-spacing: -0.48px;
  }

  html:lang(ar) .jak-plans {
    max-width: none;
    padding: 38px 29px;
    font-size: 16px;
    font-weight: 400;
  }

  html:lang(ar) .jak-plans .jak-wrap > p:first-child {
    margin: 0;
  }

  html:lang(ar) .jak-plans .jak-chip {
    margin: 0;
    padding: 5px 10px;
    background: #e7f6b4;
    color: #5f5670;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.141;
    border-radius: 32px;
  }

  html:lang(ar) .jak-plans .jak-heading {
    max-width: 343px;
    margin: 10px 0 0 !important;
    color: #000;
    font-size: 30px !important;
    font-weight: 500 !important;
    line-height: 1.14 !important;
    letter-spacing: -1.2px !important;
  }

  html:lang(ar) .jak-plans .jak-sub {
    max-width: 293px;
    margin: 10px 0 0;
    color: #5f5670;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.26;
  }

  html:lang(ar) .jak-plans__grid {
    width: 100%;
    margin-top: 48px;
    gap: 20px;
  }

  html:lang(ar) .jak-plan {
    min-height: 0;
    height: auto;
    padding: 20px;
    border: 0.5px solid #e7ebff;
    border-radius: 13px;
    box-shadow: 0 13px 20px rgba(188, 202, 255, 0.13);
  }

  html:lang(ar) .jak-plan--express {
    background: #fff;
    border: 1px solid #0055fc;
    box-shadow: 0 13px 20px rgba(188, 202, 255, 0.13);
  }

  html:lang(ar) .jak-plan h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: -0.18px;
  }

  html:lang(ar) .jak-plan__desc {
    margin-top: 7px;
    color: #5f5670;
    font-size: 12px;
    line-height: 16px;
  }

  html:lang(ar) .jak-plan__price,
  html:lang(ar) .jak-plan__amount {
    font-size: 30px;
    font-weight: 500;
    letter-spacing: -0.5px;
    color: #0055fc;
  }

  html:lang(ar) .jak-plan__price {
    margin: 12px 0 14px;
  }

  html:lang(ar) .jak-plan__price small {
    font-size: 12px;
    font-weight: 300;
    color: #3c3c3c;
  }

  html:lang(ar) .jak-plan__badge {
    display: none;
  }

  html:lang(ar) .jak-plan__toggle {
    padding: 2px;
    background: #c8f042;
    border: 0;
    border-radius: 6px;
  }

  html:lang(ar) .jak-plan__toggle button {
    min-width: 0;
    height: auto;
    padding: 4px 8px;
    background: transparent;
    color: #1a1026;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 400;
    line-height: 13px;
  }

  html:lang(ar) .jak-plan__toggle button.is-active {
    background: #fff;
    color: #1b223c;
    box-shadow: 0 2px 6px rgba(181, 194, 251, 0.25);
  }

  html:lang(ar) .jak-plan ul {
    margin: 0 0 22px;
    padding-top: 14px;
    border-top: 0.5px solid #e7ebff;
  }

  html:lang(ar) .jak-plan li {
    padding: 3px 0;
    font-size: 12px;
    letter-spacing: -0.12px;
  }

  html:lang(ar) .jak-plan li span {
    gap: 5px;
    color: #5f5670;
    font-weight: 400;
  }

  html:lang(ar) .jak-plan li span::before {
    width: 14px;
    height: 14px;
  }

  html:lang(ar) .jak-plan li:nth-child(1) span::before {
    background-image: url("/themes/custom/s2d/assets/images/jak-redesign/plans/plan-icon-time.svg");
  }

  html:lang(ar) .jak-plan li:nth-child(2) span::before {
    background-image: url("/themes/custom/s2d/assets/images/jak-redesign/plans/plan-icon-truck.svg");
  }

  html:lang(ar) .jak-plan li:nth-child(3) span::before {
    background-image: url("/themes/custom/s2d/assets/images/jak-redesign/plans/plan-icon-discount.svg");
  }

  html:lang(ar) .jak-plan li:nth-child(4) span::before {
    background-image: url("/themes/custom/s2d/assets/images/jak-redesign/plans/plan-icon-globe.svg");
    transform: rotate(180deg) scaleX(-1);
  }

  html:lang(ar) .jak-plan li:nth-child(5) span::before {
    background-image: url("/themes/custom/s2d/assets/images/jak-redesign/plans/plan-icon-calendar.svg");
  }

  html:lang(ar) .jak-plan li strong {
    color: #1a1026;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: -0.12px;
  }

  html:lang(ar) .jak-plan__btn {
    min-height: 40px;
    padding: 10px 20px;
    gap: 5px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
  }

  html:lang(ar) .jak-plan__btn::after {
    width: 12px;
    height: 12px;
    background-color: transparent;
    -webkit-mask: none;
    mask: none;
    background-image: url("/themes/custom/s2d/assets/images/jak-redesign/plans/plan-icon-arrow.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 12px;
  }

  html:lang(ar) .jak-plan__btn--ghost {
    background: #fff;
    border: 0.5px solid #0055fc;
    color: #0055fc !important;
  }

  html:lang(ar) .jak-plan__btn--solid {
    border-radius: 10px;
    background: #0055fc;
    border-color: #0055fc;
    color: #fff !important;
  }

  html:lang(ar) .jak-plan__btn--solid::after {
    background-image: url("/themes/custom/s2d/assets/images/jak-redesign/plans/plan-icon-arrow-solid.svg");
  }

  html:lang(ar) .jak-app {
    padding: 12px 16px 32px;
  }

  html:lang(ar) .jak-app__card {
    display: block;
    position: relative;
    container-type: inline-size;
    aspect-ratio: 369 / 713;
    min-height: 0;
    height: auto;
    padding: 0;
    border-radius: 80px;
    background: #edeaf5;
    overflow: hidden;
  }

  html:lang(ar) .jak-app__watermark {
    position: absolute;
    left: auto;
    right: 2.44%;
    top: 24.83%;
    transform: none;
    width: max-content;
    max-width: none;
    margin: 0;
    font-size: 16.18cqi;
    font-weight: 700;
    line-height: 0.97;
    letter-spacing: -1.79px;
    text-align: right;
    color: rgba(0, 0, 0, 0.1);
    z-index: 0;
    white-space: nowrap;
  }

  html:lang(ar) .jak-app__phone {
    position: absolute;
    left: 50%;
    top: 26.9%;
    width: 114.1%;
    height: 79%;
    aspect-ratio: auto;
    margin: 0;
    transform: translateX(-50%);
    z-index: 1;
    overflow: hidden;
  }

  html:lang(ar) .jak-app__phone img {
    position: absolute;
    left: 0.05%;
    top: -26%;
    width: 100.03%;
    height: 132.77%;
    max-width: none;
    transform: none;
    object-fit: fill;
  }

  html:lang(ar) .jak-app__qr-card {
    position: absolute;
    left: 50%;
    top: 6.04%;
    transform: translateX(-50%);
    width: 50.8%;
    min-width: 0;
    margin: 0;
    z-index: 2;
    box-sizing: border-box;
    background: #c8f042;
    border-radius: 30px 30px 12px 30px;
    padding: 16px;
    gap: 10px;
    box-shadow: 0 2px 4.65px rgba(0, 0, 0, 0.1);
  }

  html:lang(ar) .jak-app__qr-top {
    gap: 9px;
    align-items: center;
    justify-content: space-between;
    font-size: 6.43px;
    font-weight: 500;
    line-height: 12px;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #1a1026;
  }

  html:lang(ar) .jak-app__qr-top > .jak-app__store:not(.jak-app__store--mobile) {
    display: none;
  }

  html:lang(ar) .jak-app__store--mobile {
    display: block;
    flex: 1 1 auto;
    text-align: right;
    white-space: nowrap;
  }

  html:lang(ar) .jak-app__qr-close {
    width: 10px;
    height: 10px;
  }

  html:lang(ar) .jak-app__qr-body {
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0;
  }

  html:lang(ar) .jak-app__qr-body p {
    max-width: 80px;
    flex: 1 1 auto;
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 13.38px;
    letter-spacing: -0.13px;
    color: #1a1026;
  }

  html:lang(ar) .jak-app__qr {
    gap: 5.5px;
    flex: 0 0 auto;
  }

  html:lang(ar) .jak-app__qr img {
    width: 55px;
    height: 55px;
  }

  html:lang(ar) .jak-app__qr span {
    font-size: 6.2px;
    font-weight: 500;
    line-height: 7.27px;
    letter-spacing: -0.06px;
    color: #1a1026;
  }

  html:lang(ar) .site-footer {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    justify-items: start;
    column-gap: 16px;
    row-gap: 0;
    padding: 48px 28px 36px !important;
    background: #0055fc !important;
  }

  html:lang(ar) .site-footer--column--first {
    grid-column: 1;
    grid-row: 1;
    width: auto !important;
    flex: none !important;
    justify-self: start;
  }

  html:lang(ar) .site-footer--column--second {
    grid-column: 2;
    grid-row: 1;
    width: auto !important;
    flex: none !important;
    justify-self: end;
  }

  html:lang(ar) .site-footer--column--first .menu--wrapper,
  html:lang(ar) .site-footer--column--first .menu--wrapper--lvl-1,
  html:lang(ar) .site-footer--column--second .menu--wrapper,
  html:lang(ar) .site-footer--column--second .menu--wrapper--lvl-1 {
    align-items: flex-start;
    gap: 14px;
  }

  html:lang(ar) .site-footer--column--third {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    width: 100% !important;
    flex: none !important;
    margin-top: 48px !important;
    text-align: center;
  }

  html:lang(ar) .site-footer--column--fourth {
    grid-column: 1 / -1;
    grid-row: 3;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-self: center;
    width: min(300px, 88%) !important;
    max-width: 100% !important;
    flex: none !important;
    margin: 36px auto 0 !important;
    gap: 0;
  }

  html:lang(ar) .site-footer--column--fourth img,
  html:lang(ar) #block-s2d-footerlogo img {
    width: min(300px, 88vw) !important;
    max-width: 100% !important;
    height: auto !important;
  }

  html:lang(ar) .site-footer a,
  html:lang(ar) .site-footer .menu--link,
  html:lang(ar) .site-footer--column .menu--item--lvl-0 > .menu--link,
  html:lang(ar) #block-s2d-contactsociallink p,
  html:lang(ar) #block-s2d-contactsociallink .field--name-body p {
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.15 !important;
    letter-spacing: 0 !important;
    white-space: nowrap;
    text-align: right;
  }

  html:lang(ar) #block-s2d-contactsociallink p,
  html:lang(ar) #block-s2d-contactsociallink .field--name-body p {
    margin: 0 0 16px !important;
    text-align: center;
  }

  html:lang(ar) #block-s2d-contactsociallink ul {
    direction: ltr;
    justify-content: center;
    gap: 16px;
  }

  html:lang(ar) #block-s2d-contactsociallink li:has([data-icon="twitter"]) { order: 1; }
  html:lang(ar) #block-s2d-contactsociallink li:has([data-icon="facebook"]) { order: 2; }
  html:lang(ar) #block-s2d-contactsociallink li:has([data-icon="instagram"]) { order: 3; }
  html:lang(ar) #block-s2d-contactsociallink li:has([data-icon="snapchat"]) { order: 4; }
  html:lang(ar) #block-s2d-contactsociallink li:has([data-icon="tiktok"]) { order: 5; }
  html:lang(ar) #block-s2d-contactsociallink li:has([data-icon="linkedin"]) { order: 6; }

  html:lang(ar) .site-footer .menu--link.icon-only,
  html:lang(ar) #block-s2d-contactsociallink a,
  html:lang(ar) .site-footer [data-icon]:before {
    width: 18px !important;
    height: 18px !important;
  }

  html:lang(ar) .site-footer--copyright {
    grid-column: 1 / -1;
    grid-row: 4;
    width: 100% !important;
    margin: 16px 0 0 !important;
  }

  html:lang(ar) .site-footer--copyright,
  html:lang(ar) .site-footer--copyright--wrapper,
  html:lang(ar) #block-copyright,
  html:lang(ar) #block-copyright p {
    color: #fff !important;
    text-align: center !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 20px !important;
    letter-spacing: 0 !important;
  }
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  html:lang(ar) .jak-hero__visual {
    width: 110.17%;
    margin-left: calc((100% - 110.17%) / 2);
    margin-right: calc((100% - 110.17%) / 2);
  }
}
