/* Theme main hero — matched to reference site (.theme-d01-hero)
   Use px (Zid root font is often ~12px; rem would shrink type). */

:root {
  --theme-blue: #3f9ae5;
}

/*
 * Banner keeps its own height (height: auto), so the hero starts below
 * the fixed header instead of sliding underneath it.
 */

.theme-d01-hero,
.theme-d01-hero * ,
.theme-d01-hero *::before,
.theme-d01-hero *::after {
  box-sizing: border-box;
}

.theme-d01-hero {
  /* Reference :root --pad + .hero dimensions */
  --pad: clamp(24px, 5.5vw, 100px);
  position: relative;
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: hidden;
  isolation: isolate;
  background: #07111d;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: #fff;
}

.theme-d01-hero.is-empty-bg {
  min-height: 600px;
}

/* Single or multi-slide track */
.d01-hero-track {
  position: relative;
  width: 100%;
}

.d01-hero-slide {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.d01-hero-slide.is-empty-bg {
  min-height: 600px;
}

/* Multi-slide swiper — each slide keeps its image's own height */
.theme-d01-hero.is-swiper {
  overflow: hidden;
}

.theme-d01-hero.is-swiper .d01-hero-swiper,
.theme-d01-hero.is-swiper .d01-hero-swiper .slick-list,
.theme-d01-hero.is-swiper .d01-hero-swiper .slick-track {
  height: auto;
}

.theme-d01-hero.is-swiper .d01-hero-slide {
  height: auto;
  min-height: 0;
}

.theme-d01-hero.is-swiper .d01-hero-bg {
  position: relative;
  inset: auto;
  z-index: 0;
  height: auto;
  overflow: visible;
}

.theme-d01-hero.is-swiper .d01-hero-bg picture,
.theme-d01-hero.is-swiper .d01-hero-bg-img,
.theme-d01-hero.is-swiper .d01-hero-video {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.theme-d01-hero.is-swiper .d01-hero-video--desktop,
.theme-d01-hero.is-swiper .d01-hero-video--mobile.is-fallback {
  display: block;
}

.theme-d01-hero.is-swiper .d01-hero-swiper .slick-dots {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 28px;
  z-index: 10;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  margin: 0;
  padding: 0;
  list-style: none;
  transform: translateX(-50%);
}

.theme-d01-hero.is-swiper .d01-hero-swiper .slick-dots li {
  width: auto;
  height: auto;
  margin: 0;
}

.theme-d01-hero.is-swiper .d01-hero-swiper .slick-dots li button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.theme-d01-hero.is-swiper .d01-hero-swiper .slick-dots li button:before {
  display: none;
}

.theme-d01-hero.is-swiper .d01-hero-swiper .slick-dots li.slick-active button {
  background: #fff;
  transform: scale(1.15);
}

.d01-hero-arrow-btn {
  position: absolute;
  top: 50%;
  z-index: 11;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(7, 17, 29, 0.35);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.d01-hero-arrow-btn:hover {
  background: rgba(7, 17, 29, 0.55);
  border-color: rgba(255, 255, 255, 0.5);
}

.d01-hero-arrow-btn--prev {
  left: var(--pad);
  right: auto;
}

.d01-hero-arrow-btn--next {
  right: var(--pad);
  left: auto;
}

.d01-hero-arrow-btn span {
  font-size: 22px;
  line-height: 1;
}

.d01-hero-bg {
  position: relative;
  z-index: 0;
  width: 100%;
  height: auto;
  margin: 0;
  background: none;
  transform: none;
}

.d01-hero-bg picture {
  display: block;
  width: 100%;
  height: auto;
}

.d01-hero-bg-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.d01-hero-video {
  display: none;
  width: 100%;
  max-width: 100%;
  height: auto;
  background: #07111d;
}

.d01-hero-video--desktop,
.d01-hero-video--mobile.is-fallback {
  display: block;
}

@media (min-width: 961px) {
  .d01-hero-bg.has-desktop-video picture,
  .d01-hero-bg.has-mobile-video:not(.has-desktop-video) picture {
    display: none;
  }
}

.theme-d01-hero.is-empty-bg .d01-hero-bg {
  background-image: none;
}

.d01-hero-light {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 76% 38%, rgba(163, 213, 244, 0.08), transparent 448px),
    linear-gradient(90deg, rgba(4, 15, 28, 0) 0%, rgba(4, 15, 28, 0.04) 40%, rgba(3, 14, 27, 0.22) 62%, rgba(3, 14, 27, 0.38) 100%);
}

.d01-hero-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.024;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.85'/%3E%3C/svg%3E");
}

.d01-hero-inner {
  /* Reference .banner: padding 70px var(--pad); content pinned right */
  position: absolute;
  inset: 0;
  z-index: 8;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 70px var(--pad) 80px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  direction: ltr;
  box-sizing: border-box;
}

.d01-hero-copy {
  /* Reference .banner-content / .hero .banner-content */
  width: 45%;
  max-width: 650px;
  margin: 0 0 0 auto;
  padding: 0 0 12px;
  position: relative;
  z-index: 8;
  color: #fff;
  text-shadow: none;
  direction: rtl;
  text-align: right;
}

html[dir="ltr"] .d01-hero-copy,
html[lang="en"] .d01-hero-copy,
body.ltr .d01-hero-copy {
  direction: ltr !important;
  text-align: left !important;
}

.d01-hero-copy > * {
  position: relative;
  z-index: 2;
}

.d01-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  /* Reference .hero .eyebrow */
  margin: 0 0 25px;
  padding: 0;
  color: var(--d01-kicker-color, rgba(255, 255, 255, 0.9));
  /* Mobile-first — desktop sizes applied at min-width: 961px */
  font-size: var(--d01-kicker-size-m, 9px) !important;
  font-weight: 700 !important;
  line-height: var(--d01-kicker-lh-m, 1.7) !important;
  letter-spacing: 0.03em;
  text-align: start;
  width: fit-content;
  max-width: 100%;
  justify-content: flex-start;
  flex-direction: row;
  vertical-align: top;
  font-family: var(--font-body) !important;
}

/* Reference: dash on the right of «مياه الهلال» (RTL start) */
.d01-hero-kicker::before {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  background: currentColor;
  opacity: 0.7;
  flex-shrink: 0;
  order: -1;
}

.d01-hero-kicker::after {
  display: none !important;
  content: none !important;
}

.d01-hero-title,
p.d01-hero-title {
  margin: 0;
  color: var(--d01-title-color, #fff) !important;
  font-family: var(--font-display) !important;
  /* Mobile-first from schema (*_mobile); desktop at min-width: 961px */
  font-size: var(--d01-title-size-m, 32px) !important;
  line-height: var(--d01-title-lh-m, 1.08) !important;
  letter-spacing: 0;
  font-stretch: normal;
  font-weight: 700 !important;
  max-width: none !important;
  width: 100%;
  text-wrap: balance;
  text-align: inherit;
}

.d01-hero-title span {
  display: block;
  margin-top: 0;
  max-width: none;
  width: 100%;
  white-space: nowrap;
  text-align: inherit;
  font-weight: 700 !important;
  font-family: var(--font-display) !important;
  font-size: inherit !important;
  line-height: inherit !important;
  letter-spacing: 0;
}

.d01-hero-title span:last-child:not(:only-child) {
  margin-top: 0;
}

.d01-hero-desc {
  /* Reference .banner-content p — physical margin-left:auto pins to RIGHT in RTL */
  display: block;
  width: 100%;
  max-width: 450px;
  margin: 24px 0 0 auto;
  color: var(--d01-desc-color, #fff);
  font-size: var(--d01-desc-size-m, 11px) !important;
  font-weight: 400 !important;
  line-height: var(--d01-desc-lh-m, 2.2) !important;
  letter-spacing: 0;
  text-align: right;
  font-family: var(--font-body) !important;
  text-shadow: none;
}

html[dir="ltr"] .d01-hero-desc,
html[lang="en"] .d01-hero-desc,
body.ltr .d01-hero-desc {
  margin: 24px auto 0 0;
  text-align: left;
  font-size: inherit !important;
  line-height: inherit !important;
}

.d01-hero-actions {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 32px;
}

.d01-hero-btn {
  min-width: 160px;
  min-height: 52px;
  padding: 13px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border-radius: var(--d01-btn-radius, 0px);
  text-decoration: none !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  line-height: 1.2;
  font-family: var(--font-body) !important;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
  box-shadow: none;
}

.d01-hero-btn.primary {
  background: var(--d01-btn-bg, #0028f0);
  border-color: var(--d01-btn-bg, #0028f0);
  color: var(--d01-btn-fg, #ffffff) !important;
  border-radius: 16px;
  box-shadow: none;
}

.d01-hero-btn.primary:hover {
  background: #0021d6;
  border-color: #0021d6;
  transform: none;
  box-shadow: none;
  color: #ffffff !important;
}

.d01-hero-btn .d01-hero-arrow {
  font: 22px/1 Arial, sans-serif;
  color: inherit;
  display: inline-flex;
  align-items: center;
}

/* Secondary button + benefits removed — keep rules inert if old HTML cached */
.d01-hero-btn.secondary,
.d01-hero-benefits {
  display: none !important;
}

/* Reference .scroll-hint — absolute on full hero, right:var(--pad), 9px, inherit weight */
.d01-hero-scroll-hint {
  position: absolute;
  left: auto;
  right: var(--pad);
  bottom: 32px;
  z-index: 9;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  color: #ffffff !important;
  font-size: 9px !important;
  font-weight: 400 !important;
  line-height: 1.4;
  letter-spacing: 0;
  text-align: start;
  text-decoration: none !important;
  cursor: pointer;
  transition: opacity 0.2s ease;
  direction: rtl;
  transform: none;
  font-family: var(--font-body) !important;
  min-height: 0 !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: none !important;
}

.d01-hero-scroll-hint:hover,
.d01-hero-scroll-hint:focus,
.d01-hero-scroll-hint:focus-visible {
  color: #ffffff !important;
  opacity: 0.82;
  text-decoration: none !important;
  outline: none;
  background: transparent !important;
}

.d01-hero-scroll-hint__arrow {
  font: 20px/1 Arial, sans-serif;
  color: inherit !important;
}

html[lang="en"] .d01-hero-scroll-hint,
html[dir="ltr"] .d01-hero-scroll-hint,
body.ltr .d01-hero-scroll-hint {
  direction: ltr;
  text-align: left;
  justify-content: flex-start;
  right: var(--pad);
  left: auto;
  width: min(650px, calc(45% - 0.9 * var(--pad))) !important;
  max-width: 650px !important;
}

.d01-benefit {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  min-width: 0;
  color: #fff;
}

.d01-benefit:first-child {
  padding-inline-start: 0;
}

.d01-benefit + .d01-benefit {
  border-inline-start: 1px solid rgba(255, 255, 255, 0.16);
}

.d01-benefit-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #fff;
}

.d01-benefit-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.d01-benefit strong {
  display: block;
  font-size: var(--d01-benefit-title-size, 13.76px);
  margin-bottom: 2px;
  font-weight: 900;
  color: var(--d01-benefit-title-color, #fff);
  line-height: var(--d01-benefit-title-lh, 1.2);
}

.d01-benefit span {
  display: block;
  color: var(--d01-benefit-desc-color, rgba(255, 255, 255, 0.62));
  font-size: var(--d01-benefit-desc-size, 10.72px);
  line-height: var(--d01-benefit-desc-lh, 1.4);
  font-weight: 400;
}

/* Trust rail */
.d01-trust-rail {
  position: absolute;
  z-index: 12;
  right: 50%;
  bottom: 24px;
  translate: 50% 0;
  width: min(1400px, calc(100% - 70px));
  min-height: 98px;
  padding: 16px 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(24px) saturate(120%) brightness(1.04);
  -webkit-backdrop-filter: blur(24px) saturate(120%) brightness(1.04);
  box-shadow:
    rgba(0, 10, 24, 0.24) 0 24px 70px,
    rgba(255, 255, 255, 0.18) 0 1px 0 inset;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) 1.45fr;
  align-items: center;
}

.d01-trust-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 20px;
  min-width: 0;
}

.d01-trust-item + .d01-trust-item {
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 0;
}

html[lang="en"] .d01-trust-item + .d01-trust-item,
html[dir="ltr"] .d01-trust-item + .d01-trust-item {
  border-right: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.d01-trust-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  flex: 0 0 auto;
}

.d01-trust-icon svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
}

.d01-trust-item strong {
  display: block;
  color: #fff;
  font-size: 14.72px;
  font-weight: 900;
  margin-bottom: 2px;
}

.d01-trust-item span {
  display: block;
  color: rgba(255, 255, 255, 0.64);
  font-size: 11.36px;
  white-space: nowrap;
}

.d01-payment-strip {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-right: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 0;
  direction: ltr;
  color: #fff;
}

html[lang="en"] .d01-payment-strip,
html[dir="ltr"] .d01-payment-strip {
  margin-right: 0 !important;
  margin-left: auto !important;
  border-right: none !important;
  border-left: 1px solid rgba(255, 255, 255, 0.16) !important;
  padding-right: 0 !important;
  padding-left: 24px !important;
}

.d01-pay-logo {
  font-family: Arial, sans-serif;
  font-weight: 900;
  white-space: nowrap;
  opacity: 0.92;
}

.d01-pay-logo.visa { font-size: 23.2px; }
.d01-pay-logo.mc { font-size: 12.32px; }
.d01-pay-logo.mada { font-size: 15.2px; }
.d01-pay-logo.apple {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1;
}
.d01-pay-apple-icon {
  display: block;
  flex: 0 0 auto;
  width: 14px;
  height: 16px;
}
.d01-pay-apple-text {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Arial, sans-serif;
  font-weight: 500;
}
.d01-pay-logo.tabby { font-size: 15.2px; letter-spacing: -0.02em; }
.d01-pay-logo.tamara { font-size: 15.2px; letter-spacing: -0.02em; }

/* Reveal */
.d01-hero-copy,
.d01-trust-rail {
  opacity: 0;
  transform: translateY(20px);
}

.is-ready .d01-hero-copy {
  animation: themeHeroReveal 0.78s cubic-bezier(0.2, 0.78, 0.2, 1) forwards;
}

.is-ready .d01-trust-rail {
  animation: themeHeroReveal 0.72s cubic-bezier(0.2, 0.78, 0.2, 1) 0.12s forwards;
}

@keyframes themeHeroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*
 * EN / LTR — match reference: block stays on the RIGHT (margin-left:auto),
 * text-align/direction flip to left. Do NOT move the block to the left.
 */
html[lang="en"] .d01-hero-inner,
html[dir="ltr"] .d01-hero-inner,
body.ltr .d01-hero-inner {
  direction: ltr !important;
  justify-content: flex-end !important;
}

html[lang="en"] .d01-hero-copy,
html[dir="ltr"] .d01-hero-copy,
body.ltr .d01-hero-copy {
  direction: ltr !important;
  text-align: left !important;
  margin-left: auto !important;
  margin-right: 0 !important;
}

html[lang="en"] .d01-hero-kicker {
  direction: ltr !important;
  justify-content: flex-start !important;
  flex-direction: row !important;
  letter-spacing: 0 !important;
  font-weight: 700 !important;
  font-family: var(--font-body) !important;
  white-space: nowrap;
}

html[lang="en"] .d01-hero-kicker::before {
  content: "";
  width: 30px;
  height: 2px;
  background: currentColor;
  opacity: 0.7;
  order: -1;
}

html[lang="en"] .d01-hero-kicker::after {
  display: none !important;
}

html[lang="en"] .d01-hero-title {
  letter-spacing: 0 !important;
  max-width: none !important;
  width: 100% !important;
  /* No desktop font-size here — would override mobile; see min-width: 961px */
  text-align: left !important;
}

html[lang="en"] .d01-hero-title span {
  font-size: inherit !important;
  line-height: inherit !important;
  letter-spacing: 0 !important;
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
}

/*
 * Secondary home banner — wrap only; type size from mobile-first / desktop MQ
 */
.theme-d01-hero.is-secondary .d01-hero-title span,
.d01-hero-slide.is-secondary .d01-hero-title span,
html[lang="en"] .theme-d01-hero.is-secondary .d01-hero-title span,
html[lang="en"] .d01-hero-slide.is-secondary .d01-hero-title span {
  white-space: normal !important;
  font-size: inherit !important;
  line-height: inherit !important;
  letter-spacing: 0 !important;
}

.theme-d01-hero.is-secondary .d01-hero-scroll-hint {
  display: none !important;
}

html[lang="en"] .d01-hero-title span:only-child {
  white-space: normal;
}

html[lang="en"] .d01-hero-desc {
  text-align: left !important;
  max-width: 450px !important;
  margin: 24px 0 0 !important;
  font-weight: 400 !important;
}

html[lang="en"] .d01-hero-actions {
  justify-content: flex-start !important;
  direction: ltr !important;
}

html[lang="en"] .d01-hero-btn {
  font-family: var(--font-body) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

/* EN arrow is already → in markup — do not rotate (would become ←) */
html[lang="en"] .d01-hero-btn .d01-hero-arrow {
  transform: none !important;
}

html[lang="en"] .d01-hero-benefits,
html[lang="en"] .d01-trust-rail {
  direction: ltr !important;
}

html[lang="en"] .d01-trust-item {
  flex-direction: row !important;
  text-align: left !important;
}

html[lang="en"] .d01-benefit {
  flex-direction: row !important;
  text-align: left !important;
  padding: 0 14px !important;
}

html[lang="en"] .d01-benefit:first-child {
  padding-left: 0 !important;
  padding-right: 14px !important;
}

html[lang="en"] .d01-benefit + .d01-benefit {
  border-right: none !important;
  border-left: 1px solid rgba(255, 255, 255, 0.16) !important;
}

/* Desktop / large tablet — schema *_web sizes (wins over mobile-first base) */
@media (min-width: 961px) {
  .d01-hero-kicker,
  html[lang="en"] .d01-hero-kicker {
    font-size: var(--d01-kicker-size, 10px) !important;
    line-height: var(--d01-kicker-lh, 1.7) !important;
  }

  .d01-hero-title,
  p.d01-hero-title,
  h1.d01-hero-title,
  html[lang="en"] .d01-hero-title,
  .theme-d01-hero.is-secondary .d01-hero-title,
  .d01-hero-slide.is-secondary .d01-hero-title,
  html[lang="en"] .theme-d01-hero.is-secondary .d01-hero-title,
  html[lang="en"] .d01-hero-slide.is-secondary .d01-hero-title {
    font-size: var(--d01-title-size, 68px) !important;
    line-height: var(--d01-title-lh, 1.02) !important;
  }

  .d01-hero-title span,
  html[lang="en"] .d01-hero-title span,
  .theme-d01-hero.is-secondary .d01-hero-title span,
  .d01-hero-slide.is-secondary .d01-hero-title span,
  html[lang="en"] .theme-d01-hero.is-secondary .d01-hero-title span,
  html[lang="en"] .d01-hero-slide.is-secondary .d01-hero-title span {
    font-size: inherit !important;
    line-height: inherit !important;
  }

  .d01-hero-desc,
  html[lang="en"] .d01-hero-desc,
  html[dir="ltr"] .d01-hero-desc,
  body.ltr .d01-hero-desc {
    font-size: var(--d01-desc-size, 13px) !important;
    line-height: var(--d01-desc-lh, 2.2) !important;
  }
}

/* Tablet layout only — do NOT set type sizes here (would beat mobile) */
@media (max-width: 1150px) and (min-width: 961px) {
  .d01-hero-copy {
    width: 47%;
  }

  .d01-hero-title span {
    white-space: nowrap;
  }

  .d01-trust-rail {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 12px;
  }

  .d01-payment-strip {
    grid-column: 1 / -1;
    border-inline-start: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding: 12px 0 0;
  }
}

/*
 * Mobile/tablet stacked banner — reference @media(max-width:760px)
 * Use 960 so DevTools / phones that still show mobile menu get full photo (not desktop crop)
 */
@media (max-width: 960px) {
  .theme-d01-hero {
    --pad: 24px;
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 !important;
    background: #001e7c;
    isolation: auto;
    overflow: visible !important;
  }

  .d01-hero-bg {
    position: relative !important;
    inset: auto !important;
    z-index: 0;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    background: none !important;
    transform: none !important;
    overflow: visible !important;
  }

  .d01-hero-bg-img {
    position: static !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    opacity: 1 !important;
    object-fit: contain;
    pointer-events: none;
  }

  .d01-hero-video--desktop:not(.is-fallback) {
    display: none !important;
  }

  .d01-hero-video--mobile,
  .d01-hero-video--desktop.is-fallback {
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }

  .d01-hero-bg.has-mobile-video picture,
  .d01-hero-bg.has-desktop-video picture {
    display: none !important;
  }

  .theme-d01-hero.is-secondary .d01-hero-bg,
  .d01-hero-slide.is-secondary .d01-hero-bg {
    aspect-ratio: auto !important;
  }

  .theme-d01-hero.is-swiper .d01-hero-slide {
    height: auto !important;
    min-height: 0 !important;
  }

  .theme-d01-hero.is-swiper .d01-hero-bg {
    position: relative !important;
    inset: auto !important;
    height: auto !important;
  }

  .theme-d01-hero.is-swiper .d01-hero-bg-img,
  .theme-d01-hero.is-swiper .d01-hero-video {
    height: auto !important;
    object-fit: contain;
  }

  /* Dots + arrows sit on the media (image/video), not under the copy */
  .theme-d01-hero.is-swiper .d01-hero-swiper {
    position: relative;
  }

  .theme-d01-hero.is-swiper .d01-hero-swiper .slick-dots {
    position: absolute;
    left: 50%;
    right: auto;
    top: var(--d01-hero-media-dots-top, 42%);
    bottom: auto;
    z-index: 12;
    margin: 0;
    transform: translateX(-50%);
    pointer-events: auto;
  }

  .theme-d01-hero.is-swiper .d01-hero-arrow-btn {
    display: flex !important;
    top: var(--d01-hero-media-mid, 28%);
    transform: translateY(-50%);
    z-index: 12;
  }

  .d01-hero-bg::after {
    display: none;
  }

  .d01-hero-light,
  .d01-hero-grain {
    display: none !important;
  }

  .d01-hero-inner {
    position: relative !important;
    inset: auto !important;
    width: 100%;
    min-height: auto;
    height: auto;
    margin: 0;
    padding: 0;
    display: block;
    direction: rtl;
  }

  html[dir="ltr"] .d01-hero-inner,
  html[lang="en"] .d01-hero-inner,
  body.ltr .d01-hero-inner {
    direction: ltr !important;
  }

  .d01-hero-copy {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 36px 24px 40px;
    background: #001e7c;
    color: #fff;
    text-align: right;
    direction: rtl;
    text-shadow: none;
  }

  html[dir="ltr"] .d01-hero-copy,
  html[lang="en"] .d01-hero-copy,
  body.ltr .d01-hero-copy {
    text-align: left !important;
    direction: ltr !important;
    margin: 0 !important;
  }

  html[lang="en"] .d01-hero-btn {
    font-size: 14px !important;
    letter-spacing: 0;
  }

  /* Re-assert mobile type with high specificity (beats leftover desktop rules) */
  .d01-hero-kicker,
  html[lang="en"] .d01-hero-kicker {
    justify-content: flex-start;
    color: var(--d01-kicker-color, #fff);
    font-size: var(--d01-kicker-size-m, 9px) !important;
    line-height: var(--d01-kicker-lh-m, 1.7) !important;
    letter-spacing: 0 !important;
    margin-bottom: 19px;
  }

  .d01-hero-title,
  p.d01-hero-title,
  h1.d01-hero-title,
  html[lang="en"] .d01-hero-title,
  .theme-d01-hero.is-secondary .d01-hero-title,
  .d01-hero-slide.is-secondary .d01-hero-title,
  html[lang="en"] .theme-d01-hero.is-secondary .d01-hero-title,
  html[lang="en"] .d01-hero-slide.is-secondary .d01-hero-title {
    max-width: none;
    margin: 0;
    font-size: var(--d01-title-size-m, 32px) !important;
    line-height: var(--d01-title-lh-m, 1.08) !important;
    letter-spacing: 0;
    white-space: normal;
    text-align: inherit;
  }

  .d01-hero-title span,
  html[lang="en"] .d01-hero-title span,
  .theme-d01-hero.is-secondary .d01-hero-title span,
  .d01-hero-slide.is-secondary .d01-hero-title span,
  html[lang="en"] .theme-d01-hero.is-secondary .d01-hero-title span,
  html[lang="en"] .d01-hero-slide.is-secondary .d01-hero-title span {
    display: block;
    width: 100%;
    white-space: normal !important;
    font-size: inherit !important;
    line-height: inherit !important;
  }

  .d01-hero-desc,
  html[lang="en"] .d01-hero-desc,
  html[dir="ltr"] .d01-hero-desc,
  body.ltr .d01-hero-desc {
    max-width: none;
    width: 100%;
    margin: 19px 0 0;
    color: var(--d01-desc-color, #fff);
    font-size: var(--d01-desc-size-m, 11px) !important;
    line-height: var(--d01-desc-lh-m, 2.2) !important;
    text-align: inherit;
  }

  .d01-hero-actions {
    justify-content: flex-start;
    gap: 16px;
    margin-top: 25px;
  }

  .d01-hero-btn {
    min-width: 148px;
    flex: 0 1 auto;
    min-height: 48px;
    padding: 12px 19px;
    font-size: 14px !important;
    gap: 16px;
  }

  .d01-hero-btn .d01-hero-arrow {
    font-size: 18px;
  }

  /* Reference hides .scroll-hint on mobile */
  .d01-hero-scroll-hint {
    display: none !important;
  }

  .d01-hero-benefits,
  .d01-benefit {
    display: none !important;
  }

  /* Reference hero has no trust rail on mobile */
  .d01-trust-rail {
    display: none !important;
  }

  .d01-trust-item {
    display: block;
    text-align: center;
    padding: 0 6px;
  }

  .d01-trust-item + .d01-trust-item {
    border-inline-start: 1px solid rgba(255, 255, 255, 0.14);
  }

  .d01-trust-icon {
    width: 30px;
    height: 30px;
    margin: 0 auto 4px;
  }

  .d01-trust-icon svg {
    width: 26px;
    height: 26px;
  }

  .d01-trust-item strong {
    font-size: 11.2px;
  }

  .d01-trust-item span {
    white-space: normal;
    font-size: 9.44px;
    line-height: 1.4;
  }

  .d01-payment-strip {
    grid-column: 1 / -1;
    min-height: 42px;
    padding: 11px 0 0;
    border-inline-start: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    gap: 11px;
  }

  .d01-pay-logo.visa { font-size: 17.28px; }
  .d01-pay-logo.mc { font-size: 9.92px; }
  .d01-pay-logo.mada { font-size: 12.16px; }
  .d01-pay-logo.apple { font-size: 12.8px; gap: 2px; }
  .d01-pay-apple-icon { width: 11px; height: 13px; }
  .d01-pay-logo.tabby { font-size: 12.16px; }
  .d01-pay-logo.tamara { font-size: 12.16px; }
}

@media (max-width: 430px) {
  .d01-hero-title,
  html[lang="en"] .d01-hero-title {
    font-size: var(--d01-title-size-m, 32px) !important;
    line-height: var(--d01-title-lh-m, 1.08) !important;
  }

  .d01-hero-title span,
  html[lang="en"] .d01-hero-title span {
    font-size: inherit !important;
    line-height: inherit !important;
  }

  .d01-payment-strip {
    gap: 8px;
  }
}

/* Prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .d01-hero-copy,
  .d01-trust-rail,
  .is-ready .d01-hero-copy,
  .is-ready .d01-trust-rail {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .d01-hero-btn,
  .d01-hero-btn.primary:hover,
  .d01-hero-btn.secondary:hover {
    transition: none;
    transform: none;
  }
}