/* Shared Express header */
.express-header {
  --express-header-border: rgb(122 184 248 / 42%);
  --express-header-background:
    radial-gradient(ellipse at 6% -26%, rgb(50 143 255 / 26%), transparent 70%),
    linear-gradient(112deg, #152d4e, #0b1e39 62%, #0e324c);
  background: var(--express-header-background);
}

.express-header .header-top {
  border-bottom: 1px solid rgb(185 218 255 / 17%);
  background: rgb(88 152 231 / 21%) !important;
}

.express-header .header-top .header-wrapper {
  padding-block: 6px;
}

.express-header .header-top .header-top-item::after {
  content: none;
}

.express-header .header-top :is(.header-top-content a, .express-site-status) {
  color: #fff;
  font-weight: 700;
}

.express-header .header-top .header-top-icon {
  color: #fff;
}

.express-header .header-top .header-top-content a:is(:hover, :focus-visible) {
  color: #e2f5ff;
}

.express-header .header-bottom {
  z-index: 120;
  width: 100%;
  max-width: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: 0 6px 20px rgb(10 36 78 / 14%);
}

.express-header .header-bottom.fixed__header {
  top: 0;
  inset-inline: 0;
  margin: 0;
  background: var(--express-header-background);
}

.express-header :is(.header-top, .header-bottom) > .container {
  max-width: min(100%, 1368px);
  padding-inline: 26px;
}

.express-header .header-bottom .menu-area .menu .menu-item .menu-item__link.active,
.express-header .header-bottom .header-buttons .btn--base-outline,
.express-header .header-bottom .menu .btn--base-outline {
  color: #b8dfff !important;
}

.express-header .header-bottom .btn--base-outline {
  border-color: rgb(185 218 255 / 55%) !important;
}

.express-header .header-bottom .btn--base-outline:hover,
.express-header .header-bottom .btn--base-outline:focus-visible {
  color: #fff !important;
}

@media (max-width: 991.98px) {
  .express-header .header-bottom {
    padding-block: 12px;
  }

  .express-header .header-bottom > .container {
    padding-inline: 13px;
  }

  .express-header .header-bottom .header-bottom-area .menu-area .menu {
    top: 100%;
    max-height: calc(100vh - 105px);
    padding: 6px 12px 12px;
    overflow-y: auto;
    border: 1px solid var(--express-header-border);
    border-radius: 13px;
    background: #10264b;
  }

  .express-header .header-bottom .header-bottom-area .logo {
    width: clamp(105px, 35vw, 160px);
  }

  .express-header .header-bottom .header-bottom-area .menu-area {
    width: auto;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .express-header .header-bottom { padding-block: 0; }

  .express-header .header-bottom .menu-area {
    flex-wrap: nowrap;
  }

  .express-header .header-bottom .menu-area .menu {
    flex-wrap: nowrap;
    gap: clamp(9px, 1.35vw, 16px);
    margin-right: 0;
    margin-inline-end: 18px;
  }

  .express-header .header-bottom .menu-area .menu > .menu-item {
    margin-right: 0 !important;
  }

  .express-header .header-bottom .menu-area .menu > .menu-item > .menu-item__link {
    white-space: nowrap;
  }
}

/* Express welcome announcements and website availability */
.express-site-status {
  --status-green: #00ef59;
  --status-border: #00e65b;
  --status-color: var(--status-green);
  --status-rgb: 0 239 89;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 7px;
  padding: 4px 12px;
  border: 1px solid var(--status-border);
  border-radius: 999px;
  background: rgb(var(--status-rgb) / 6%);
  box-shadow: 0 2px 9px rgb(var(--status-rgb) / 14%);
  color: #fff;
  font-family: system-ui, sans-serif;
  font-size: 14px;
  font-weight: 650;
  line-height: 18px;
  white-space: nowrap;
}

.express-site-status[data-site-status="online"] {
  --status-online-green: #4dff94;
  --status-online-halo: 0 0 9px rgb(65 255 143 / 72%);
  border-color: var(--status-online-green);
  background: #0b2c2c;
  color: #f1fff6;
  box-shadow: var(--status-online-halo), inset 0 0 5px rgb(65 255 143 / 30%);
}

.express-site-status[data-site-status="online"] .express-site-status-dot {
  background: var(--status-online-green);
  box-shadow: var(--status-online-halo);
}

.express-site-status[data-site-status="offline"] {
  --status-color: #ff8b91;
  --status-border: #c36974;
  --status-rgb: 255 139 145;
}

.express-site-status[data-site-status="maintenance"] {
  --status-color: #ffc179;
  --status-border: #d79553;
  --status-rgb: 255 193 121;
}

.express-site-status[data-site-status="unknown"] {
  --status-color: #bdcadd;
  --status-border: #8493a7;
  --status-rgb: 189 202 221;
}

.express-site-status-dot {
  inline-size: 9px;
  block-size: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--status-color);
  box-shadow: 0 0 7px rgb(var(--status-rgb) / 65%);
}

.header-top.express-desktop-contact .header-top-area {
  overflow: visible;
}

.express-status-contact.header-top-item {
  justify-content: flex-end;
  min-block-size: 40px;
}

.express-status-contact::after {
  content: none;
}

.express-site-status--mobile {
  display: none;
}

.express-status-header .logo a img {
  filter: brightness(1.09) contrast(1.07);
}

.header-bar[type="button"] {
  padding: 0;
  border: 0;
  background: transparent;
}

.express-welcome-trigger:focus-visible .robot-text,
.header-bottom :is(.header-bar, .custom--dropdown__selected, .langSel):focus-visible {
  outline: 2px solid #86eaff;
  outline-offset: 4px;
}

.robot-box.express-welcome-trigger {
  pointer-events: auto;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: start;
  cursor: pointer;
}

@font-face {
  font-family: "Express Welcome Arabic";
  src: url("../fonts/noto-sans-arabic-welcome.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200D;
}

.express-welcome {
  --welcome-frame-height: 33rem;
  --welcome-type: "Express Welcome Arabic", system-ui, sans-serif;
  --welcome-deep: #04182a;
  --welcome-navy: #061f36;
  --welcome-lift: #082a48;
  --welcome-white: #fff;
  --welcome-copy: #dce6f2;
  --welcome-accent: #83cdfa;
  --welcome-dot: #ff7824;
  --welcome-action: #c24808;
  --welcome-action-hover: #c7510e;
  --welcome-top: max(76px, env(safe-area-inset-top));
  --welcome-bottom: max(32px, env(safe-area-inset-bottom));
  --welcome-padding: 20px;
  --welcome-radius: 24px;
  overflow: hidden;
  overscroll-behavior: contain;
}

.express-welcome .modal-dialog {
  width: min(93.75%, 552px);
  max-width: none;
  min-height: calc(100% - var(--welcome-top) - var(--welcome-bottom));
  margin: var(--welcome-top) auto var(--welcome-bottom);
}

.express-welcome .modal-content {
  height: min(var(--welcome-frame-height), calc(100vh - var(--welcome-top) - var(--welcome-bottom)));
  height: min(var(--welcome-frame-height), calc(100dvh - var(--welcome-top) - var(--welcome-bottom)));
  min-height: 0;
  padding: var(--welcome-padding);
  isolation: isolate;
  overflow: visible;
  border: 3px solid transparent;
  border-radius: var(--welcome-radius);
  background:
    linear-gradient(165deg, var(--welcome-lift), var(--welcome-navy) 43%, var(--welcome-deep)) padding-box,
    linear-gradient(139deg, #96faff, #12dfff 27%, #3688ff 61%, #9f6cfc) border-box;
  box-shadow: 0 14px 32px rgb(3 11 26 / 39%), 0 0 6px rgb(39 202 255 / 39%),
    inset 0 0 13px rgb(54 159 255 / 55%);
  color: var(--welcome-white);
}

.express-welcome .modal-content::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: min(52%, 295px);
  border-radius: calc(var(--welcome-radius) - 3px);
  pointer-events: none;
  background:
    radial-gradient(ellipse 111% 125% at 7% 143%, transparent 62%, rgb(107 44 219 / 12%) 66%,
      rgb(180 65 252 / 64%) 69%, rgb(56 87 238 / 38%) 73%, transparent 82%),
    radial-gradient(ellipse 174% 164% at 5% -45%, transparent 59%, rgb(38 126 255 / 10%) 63%,
      rgb(3 208 255 / 58%) 67%, rgb(36 116 249 / 27%) 72%, transparent 81%),
    radial-gradient(ellipse 53% 67% at 51% 49%, rgb(103 73 204 / 31%), transparent 78%);
  mask-image: linear-gradient(#000 0 55%, transparent 100%);
}

.express-welcome .modal-content::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -3px;
  border-radius: inherit;
  pointer-events: none;
  opacity: .68;
  box-shadow: 0 0 13px rgb(40 214 255 / 76%), 0 0 30px rgb(61 135 255 / 55%),
    5px 5px 24px rgb(154 85 255 / 43%);
}

.express-welcome.show .modal-content::after {
  animation: express-welcome-breathe 4s ease-in-out infinite;
}

@keyframes express-welcome-breathe {
  0%, 100% { opacity: .38; }
  50% { opacity: 1; }
}

body.express-welcome-open > .modal-backdrop.show {
  opacity: .58;
  background: linear-gradient(transparent 0 70px, #020a17 88px);
}

.express-welcome-scroll {
  flex: 1 1 0;
  min-block-size: 0;
  overflow: hidden;
}

.express-welcome-scroll :is(.welcome-slider, .slick-list, .slick-track) {
  height: 100%;
}

.express-welcome-slide {
  height: 100%;
  min-width: 0;
  padding: 0 5px 8px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #337ba6 transparent;
  font-family: var(--welcome-type);
  text-align: center;
  overflow-wrap: anywhere;
}

.express-welcome-art {
  display: grid;
  place-items: center;
  height: clamp(154px, 52vw, 225px);
  margin: 0 -4px 14px;
  overflow: hidden;
  border-radius: calc(var(--welcome-radius) - 9px);
}

.express-welcome-art picture {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
}

.express-welcome .welcome-slider:not(.slick-initialized) .express-welcome-slide + .express-welcome-slide {
  display: none;
}

.express-welcome-art img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.express-welcome-slide h3 {
  margin: 0 auto 9px;
  max-width: 30ch;
  color: var(--welcome-white);
  font-family: inherit;
  font-size: clamp(1.17rem, 5.12vw, 1.64rem);
  font-weight: 650;
  line-height: 1.58;
  text-wrap: balance;
  white-space: pre-line;
  unicode-bidi: plaintext;
}

.express-welcome-slide p {
  max-width: 43ch;
  margin: 0 auto;
  color: var(--welcome-copy);
  font-size: clamp(1rem, 4.1vw, 1.12rem);
  line-height: 1.7;
  text-wrap: pretty;
  white-space: pre-line;
  unicode-bidi: plaintext;
}

.express-welcome-slide bdi { margin-inline: .16em; }

.express-welcome-emoji {
  display: inline-block;
  margin-inline: .09em;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", emoji;
  font-variant-emoji: emoji;
  font-size: 1.22em;
  line-height: 1;
  vertical-align: -.08em;
  white-space: nowrap;
  unicode-bidi: isolate;
}

.express-welcome .welcome-slider.slick-dotted { margin-bottom: 0; }

.express-welcome-pagination {
  flex: 0 0 auto;
}

.express-welcome-pagination:empty {
  display: none;
}

.express-welcome .slick-dots {
  position: static;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3px;
  margin: 5px auto 0;
  padding: 0;
  list-style: none;
}

.express-welcome .slick-dots li,
.express-welcome .slick-dots button {
  width: 24px;
  height: 36px;
  margin: 0;
}

.express-welcome .slick-dots button {
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.express-welcome .slick-dots button::before {
  content: none;
}

.express-welcome .slick-dots button span,
.express-welcome-only-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--welcome-copy);
  transition: background-color .18s ease, transform .18s ease;
}

.express-welcome-only-dot {
  display: block;
  margin: 16px auto 8px;
  background: var(--welcome-dot);
}

.express-welcome .slick-dots .slick-active button span {
  transform: scale(1.1);
  background: var(--welcome-dot);
}

.express-welcome-actions {
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  flex: 0 0 auto;
  gap: 12px;
  margin-top: 12px;
}

.express-welcome-actions button {
  min-height: 46px;
  padding: 8px 12px;
  border: 1.5px solid;
  border-radius: 12px;
  color: var(--welcome-white);
  font-family: var(--welcome-type);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  transition: background-color .18s ease, border-color .18s ease;
}

.express-welcome-actions .express-welcome-skip {
  justify-self: center;
  min-width: 76px;
  padding-inline: 15px;
  border-color: #e3eaf2;
  background: transparent;
}

.express-welcome-actions .express-welcome-skip:hover {
  background: rgb(255 255 255 / 10%);
}

.express-welcome-actions .express-welcome-next {
  justify-self: end;
  width: 100%;
  max-width: 212px;
  border-color: #ff893f;
  background: var(--welcome-action);
  box-shadow: inset 0 1px rgb(255 186 137 / 36%);
}

.express-welcome-actions .express-welcome-next:hover {
  border-color: #ffad74;
  background: var(--welcome-action-hover);
}

.express-welcome :is(button, [tabindex]):focus-visible {
  outline: 2px solid var(--welcome-accent);
  outline-offset: 3px;
}

@media (min-width: 992px) {
  .express-welcome {
    --welcome-top: max(20px, env(safe-area-inset-top));
    --welcome-bottom: max(20px, env(safe-area-inset-bottom));
    --welcome-padding: 29px;
    --welcome-radius: 26px;
    --welcome-frame-height: 36.5rem;
  }

  body.express-welcome-open > .modal-backdrop.show {
    background: linear-gradient(rgb(2 10 23 / 28%) 0 53px, #020a17 95px);
  }

  .express-welcome-art { height: 230px; }
  .express-welcome-actions { gap: 16px; }
}

@media (max-width: 991.98px) {
  .header-top.express-desktop-contact { display: none; }
  .express-site-status--mobile { display: inline-flex; }

  body .header-bottom.express-status-header .header-bottom-area {
    flex-wrap: nowrap;
    gap: 10px;
  }

  html[lang="ar"] .express-status-header .header-bottom-area { direction: rtl; }

  body .header-bottom.express-status-header .header-bottom-area .logo {
    flex: 0 1 clamp(92px, 32vw, 175px);
    min-width: 0;
  }

  body .header-bottom.express-status-header .header-bottom-area .menu-area {
    width: auto;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: clamp(6px, 1.7vw, 12px);
  }

  .header-bottom.express-status-header .custom--dropdown {
    margin-inline: 0 !important;
  }

  .header-bottom.express-status-header .custom--dropdown__selected {
    min-height: 44px;
    gap: 6px;
    padding: 0 14px 0 0;
    font-size: 13px;
  }

  .header-bottom.express-status-header .custom--dropdown__selected::before { right: 0; }
  .header-bottom.express-status-header .custom--dropdown__selected .thumb { width: 23px; height: 23px; }
  .header-bottom.express-status-header .custom--dropdown__selected .text { white-space: nowrap; }
  .header-bottom.express-status-header .header-bar-area { display: grid; place-items: center; width: 39px; height: 44px; }

  .header-bottom.express-status-header .header-bar {
    width: 39px;
    height: 44px;
  }

  .header-bottom.express-status-header .header-bar span {
    left: 7px;
    width: 25px;
  }

  .header-bottom.express-status-header .header-bar span:first-child { top: 12px; }
  .header-bottom.express-status-header .header-bar span:last-child { bottom: 12px; }
}

@media (max-width: 575px) {
  .express-welcome-actions .express-welcome-next { max-width: 165px; }
}

@media (max-width: 374px) {
  .express-site-status { gap: 5px; padding: 3px 7px; font-size: 12px; }
  .express-welcome { --welcome-padding: 16px; }
  body .header-bottom.express-status-header .header-bottom-area { gap: 6px; }
  .header-bottom.express-status-header .custom--dropdown__selected { gap: 4px; padding-right: 12px; font-size: 12px; }
  .header-bottom.express-status-header .custom--dropdown__selected .thumb { width: 20px; height: 20px; }
}

@media (max-height: 560px) {
  .express-welcome { --welcome-padding: 15px; }
  .express-welcome-art { height: 112px; margin-bottom: 10px; }
  .express-welcome-actions { margin-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .express-welcome.show .modal-content::after { animation: none; }

  .express-welcome :is(.slick-dots button span, .express-welcome-actions button) {
    transition: none;
  }

  .robot-box.express-welcome-trigger, .robot-box.express-welcome-trigger .robot-text { animation: none; }
}
