/* Bulk Orders page — Al-Hilal V7 (inner-hero.bulk + partnership-form-wrap) */

.theme-bulk-orders {
  --abo-pad: clamp(24px, 5.5vw, 100px);
  --abo-blue: #001e7c;
  --abo-night: #000d29;
  --abo-line: #dce3ec;
  --abo-deep: #001852;
  display: block;
  width: 100%;
  background: #fff;
  color: var(--abo-deep);
  font-family: var(--font-body) !important;
  -webkit-font-smoothing: antialiased;
}

.theme-bulk-orders.is-ltr {
  direction: ltr;
}

.theme-bulk-orders *,
.theme-bulk-orders *::before,
.theme-bulk-orders *::after {
  box-sizing: border-box;
}

.abo-eyebrow {
  display: block;
  margin: 0 0 21px;
  color: var(--abo-hero-eyebrow, #fff);
  font-size: var(--abo-eye-size, 10px);
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.03em;
}

.abo-eyebrow::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 2px;
  margin-inline-end: 12px;
  vertical-align: middle;
  background: currentColor;
  opacity: 0.7;
}

.abo-eyebrow--dark {
  color: var(--abo-form-eyebrow, var(--abo-blue));
  margin-bottom: 21px;
  font-size: var(--abo-form-eye-size, 10px);
}

/* —— Hero (inner-hero.bulk) —— */
.abo-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  width: 100%;
  height: 70vw;
  min-height: 720px;
  max-height: 1000px;
  padding: 70px var(--abo-pad);
  background: var(--abo-night);
  color: #fff;
}

.abo-hero.has-photo {
  display: block;
  height: auto;
  min-height: 0;
  max-height: none;
  padding: 0;
}

.abo-hero__picture {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

.abo-hero__photo {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  object-fit: contain;
}

.abo-hero.has-photo::after {
  z-index: 1;
}

.abo-hero.has-photo .abo-hero__content {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: auto;
  right: var(--abo-pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.abo-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(270deg, var(--abo-night) 0%, #000d29fa 27%, #000d2950 48%, transparent 68%);
}

.abo-hero__content {
  position: relative;
  width: 43%;
  max-width: 650px;
  /* Reference .banner-content — right side in AR + EN */
  margin-right: 0;
  margin-left: auto;
  text-align: right;
}

.theme-bulk-orders.is-ltr .abo-hero__content,
html[lang="en"] .theme-bulk-orders .abo-hero__content {
  margin-right: 0 !important;
  margin-left: auto !important;
  text-align: left !important;
  direction: ltr !important;
}

.abo-hero__title {
  margin: 0;
  color: var(--abo-hero-title, #fff);
  font-family: var(--font-display);
  font-size: var(--abo-title-size, 68px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.abo-hero__body {
  margin: 24px 0 0 auto;
  max-width: 450px;
  color: var(--abo-hero-body, rgba(255, 255, 255, 0.92));
  font-size: var(--abo-body-size, 13px);
  line-height: 2.2;
}

html[lang="en"] .abo-hero__body,
.theme-bulk-orders.is-ltr .abo-hero__body {
  margin-left: 0;
  margin-right: auto;
}

.abo-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 32px;
}

.abo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-width: 160px;
  min-height: 52px;
  padding: 13px 24px;
  border: 1px solid var(--abo-cta-bg, var(--theme-btn-bg, #0028f0));
  border-radius: var(--theme-btn-radius, 16px) !important;
  background: var(--abo-cta-bg, var(--theme-btn-bg, #0028f0));
  color: var(--abo-cta-fg, var(--theme-btn-fg, #ffffff)) !important;
  font-size: var(--abo-btn-size, 15px) !important;
  font-weight: 700 !important;
  line-height: 1.3;
  font-family: var(--font-body) !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.abo-btn:hover,
.abo-btn:focus-visible {
  background: var(--theme-btn-hover, #0021d6);
  border-color: var(--theme-btn-hover, #0021d6);
  color: var(--theme-btn-fg, #ffffff) !important;
  opacity: 1;
  text-decoration: none !important;
}

.abo-btn__arrow {
  font: 22px/1 Arial, sans-serif;
}

.theme-bulk-orders.is-ltr .abo-btn__arrow {
  transform: rotate(180deg);
}

.abo-btn--submit {
  border-color: var(--abo-submit-bg, var(--theme-btn-bg, #0028f0)) !important;
  background: var(--abo-submit-bg, var(--theme-btn-bg, #0028f0)) !important;
  color: var(--abo-submit-fg, var(--theme-btn-fg, #ffffff)) !important;
  cursor: pointer;
  border-radius: var(--theme-btn-radius, 16px) !important;
  font-family: var(--font-body) !important;
  font-size: var(--abo-submit-size, 11px) !important;
}

.abo-btn--submit:hover,
.abo-btn--submit:focus-visible {
  background: var(--theme-btn-hover, #0021d6) !important;
  border-color: var(--theme-btn-hover, #0021d6) !important;
  color: var(--theme-btn-fg, #ffffff) !important;
  opacity: 1;
}

/* —— Form section — reference .partnership-form-wrap + .request-form —— */
.abo-form-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9%;
  width: 100%;
  padding: 90px var(--abo-pad);
  background: #f5f8fb;
  font-family: var(--font-body);
  color: var(--abo-deep);
}

.abo-form-wrap__intro {
  text-align: start;
}

.abo-form-wrap__title {
  margin: 0;
  color: var(--abo-form-title, var(--abo-deep));
  /* Reference h2 */
  font-size: var(--abo-form-title-size, 48px);
  font-weight: 700;
  line-height: 1.5;
  font-family: var(--font-display);
}

.abo-form-wrap__desc {
  /* Reference .partnership-form-wrap p */
  margin: 22px 0 0;
  color: var(--abo-form-desc, #53647d);
  font-size: var(--abo-form-desc-size, 12px) !important;
  font-weight: 400 !important;
  line-height: 2.1;
  font-family: var(--font-body);
}

.abo-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-content: start;
  font-family: var(--font-body);
}

.abo-form__field {
  /* Reference .request-form label */
  display: grid;
  gap: 12px;
  margin: 0;
  color: var(--abo-deep);
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.5;
  font-family: var(--font-body);
}

.abo-form__field input,
.abo-form__field textarea {
  /* Reference .request-form input/textarea */
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--abo-line);
  border-radius: 0 !important;
  background: #fff;
  color: var(--abo-deep);
  font-family: var(--font-body);
  font-size: var(--abo-input-size, 12px) !important;
  font-weight: 400 !important;
  line-height: 1.5;
  box-shadow: none;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.abo-form__field input:focus,
.abo-form__field textarea:focus {
  border-color: var(--abo-blue);
}

.abo-form__field textarea {
  min-height: 110px;
  resize: vertical;
}

.abo-form__field--full {
  grid-column: 1 / -1;
}

.abo-form__actions {
  display: flex;
  justify-content: flex-start;
}

.abo-form__note {
  /* Reference .request-form .form-note */
  margin: 0;
  color: #79859a;
  font-size: var(--abo-note-size, 9px) !important;
  font-weight: 400 !important;
  line-height: 1.9;
  font-family: var(--font-body);
}

.abo-form.is-sending .abo-btn--submit {
  opacity: 0.72;
  pointer-events: none;
}

.abo-form.is-success {
  grid-template-columns: 1fr;
}

.abo-form__done {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 280px;
  margin: 0;
  padding: clamp(36px, 5vw, 56px) clamp(20px, 4vw, 40px);
  text-align: center;
  color: var(--abo-deep);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(0, 30, 124, 0.06), transparent 55%),
    linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
  border: 1px solid var(--abo-line);
  outline: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.abo-form__done[hidden] {
  display: none !important;
}

.abo-form__done.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.abo-form__done-mark {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 4px;
}

.abo-form__done-svg {
  width: 64px;
  height: 64px;
}

.abo-form__done-ring {
  fill: none;
  stroke: var(--abo-blue);
  stroke-width: 2.5;
  stroke-dasharray: 176;
  stroke-dashoffset: 176;
  opacity: 0.9;
}

.abo-form__done-check {
  fill: none;
  stroke: var(--abo-blue);
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
}

.abo-form__done.is-visible .abo-form__done-ring {
  animation: abo-done-ring 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.abo-form__done.is-visible .abo-form__done-check {
  animation: abo-done-check 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
}

.abo-form__done-title {
  margin: 0;
  max-width: 28ch;
  color: var(--abo-deep);
  font-family: var(--font-display), var(--font-body);
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 700;
  line-height: 1.35;
}

.abo-form__done-text {
  margin: 0;
  max-width: 46ch;
  color: #53647d;
  font-family: var(--font-body);
  font-size: var(--abo-success-size, 15px) !important;
  font-weight: 400;
  line-height: 1.85;
}

@keyframes abo-done-ring {
  to { stroke-dashoffset: 0; }
}

@keyframes abo-done-check {
  to { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .abo-form__done {
    transition: none;
    transform: none;
  }

  .abo-form__done.is-visible .abo-form__done-ring,
  .abo-form__done.is-visible .abo-form__done-check {
    animation: none;
    stroke-dashoffset: 0;
  }
}

@media (min-width: 761px) {
  .abo-hero:not(.has-photo) {
    height: 50vw;
    min-height: 540px;
    max-height: 820px;
  }

  .abo-hero.has-photo {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .abo-hero.has-photo .abo-hero__photo {
    width: 100%;
    height: auto;
    left: auto;
    right: auto;
    object-fit: contain;
  }

  .abo-hero::after {
    background: linear-gradient(270deg, #000d2970 0%, #000d2940 32%, transparent 65%);
  }

  .abo-hero__content {
    width: 45%;
  }
}

@media (max-width: 960px) {
  .theme-bulk-orders {
    --abo-pad: 24px;
  }

  .abo-hero {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 !important;
    background: var(--abo-blue);
    overflow: visible !important;
  }

  .abo-hero::after {
    display: none;
  }

  .abo-hero__photo {
    position: relative !important;
    inset: auto !important;
    z-index: 0;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto;
    object-fit: contain;
  }

  .abo-hero.has-photo .abo-hero__content {
    position: relative !important;
    inset: auto !important;
    right: auto !important;
    display: block;
    width: 100%;
    max-width: none;
  }

  .abo-hero__content {
    width: 100%;
    max-width: none;
    margin: 0 !important;
    padding: 36px 24px 40px;
    background: var(--abo-blue);
    text-align: right;
  }

  .theme-bulk-orders.is-ltr .abo-hero__content,
  html[lang="en"] .theme-bulk-orders .abo-hero__content {
    text-align: left !important;
    margin: 0 !important;
  }

  .abo-hero .abo-eyebrow,
  html[lang="en"] .abo-hero .abo-eyebrow {
    font-size: var(--abo-eye-size-m, 9px) !important;
    margin-bottom: 16px;
  }

  .abo-form-wrap .abo-eyebrow,
  html[lang="en"] .abo-form-wrap .abo-eyebrow {
    font-size: var(--abo-form-eye-size-m, 9px) !important;
  }

  .abo-hero__title,
  html[lang="en"] .abo-hero__title {
    font-size: var(--abo-title-size-m, 32px) !important;
    line-height: 1.6;
  }

  .abo-hero__body,
  html[lang="en"] .abo-hero__body,
  .theme-bulk-orders.is-ltr .abo-hero__body {
    margin: 20px 0 0 !important;
    max-width: none;
    font-size: var(--abo-body-size-m, 11px) !important;
  }

  .abo-hero__actions {
    margin-top: 25px;
    gap: 16px;
  }

  .abo-hero .abo-btn,
  html[lang="en"] .abo-hero .abo-btn {
    min-width: 148px;
    min-height: 48px;
    padding: 12px 19px;
    font-size: var(--abo-btn-size-m, 14px) !important;
  }

  /* Reference .partnership-form-wrap + .request-form @760 */
  .abo-form-wrap {
    display: block;
    padding: 60px 24px;
  }

  .abo-form-wrap__title,
  html[lang="en"] .abo-form-wrap__title {
    font-size: var(--abo-form-title-size-m, 29px) !important;
    line-height: 1.5;
  }

  .abo-form-wrap__desc,
  html[lang="en"] .abo-form-wrap__desc {
    font-size: var(--abo-form-desc-size-m, 11px) !important;
    line-height: 2.1;
    margin: 22px 0 30px;
  }

  .abo-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .abo-form__field,
  html[lang="en"] .abo-form__field {
    font-size: 12px !important;
    gap: 12px;
  }

  .abo-form__field input,
  .abo-form__field textarea,
  html[lang="en"] .abo-form__field input,
  html[lang="en"] .abo-form__field textarea {
    font-size: var(--abo-input-size-m, 11px) !important;
    min-height: 48px;
  }

  .abo-form__note,
  html[lang="en"] .abo-form__note {
    font-size: var(--abo-note-size-m, 9px) !important;
  }

  .abo-btn--submit,
  html[lang="en"] .abo-btn--submit {
    min-width: 148px;
    min-height: 48px;
    font-size: var(--abo-submit-size-m, 10px) !important;
  }

  .abo-form__done {
    min-height: 240px;
    padding: 32px 18px;
  }

  .abo-form__done-title {
    font-size: 22px;
  }

  .abo-form__done-text,
  html[lang="en"] .abo-form__done-text {
    font-size: var(--abo-success-size-m, 14px) !important;
  }
}

/* EN typography — match reference html[lang="en"] (Bulk Orders) */
html[lang="en"] .abo-hero .abo-eyebrow {
  font-size: var(--abo-eye-size, 10px) !important;
  letter-spacing: 0.13em !important;
  font-weight: 700 !important;
  white-space: nowrap;
}

html[lang="en"] .abo-form-wrap .abo-eyebrow {
  font-size: var(--abo-form-eye-size, 10px) !important;
  letter-spacing: 0.13em !important;
  font-weight: 700 !important;
}

html[lang="en"] .abo-hero__title {
  font-size: var(--abo-title-size, 68px) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.045em !important;
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
}

html[lang="en"] .abo-form-wrap__title {
  line-height: 1.14 !important;
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
}

html[lang="en"] .abo-hero__body {
  line-height: 1.9 !important;
  font-size: var(--abo-body-size, 13px) !important;
  font-family: var(--font-body) !important;
}

html[lang="en"] .abo-hero .abo-btn {
  font-size: var(--abo-btn-size, 15px) !important;
  letter-spacing: 0.02em;
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
}

html[lang="en"] .abo-btn--submit {
  font-size: var(--abo-submit-size, 11px) !important;
  letter-spacing: 0.02em;
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
}

html[lang="en"] .abo-form-wrap__desc,
html[lang="en"] .abo-form__field,
html[lang="en"] .abo-form__field input,
html[lang="en"] .abo-form__field textarea,
html[lang="en"] .abo-form__note {
  font-family: var(--font-body) !important;
}

@media (max-width: 960px) {
  html[lang="en"] .abo-hero .abo-eyebrow {
    font-size: var(--abo-eye-size-m, 9px) !important;
  }

  html[lang="en"] .abo-form-wrap .abo-eyebrow {
    font-size: var(--abo-form-eye-size-m, 9px) !important;
  }

  html[lang="en"] .abo-hero__title {
    font-size: var(--abo-title-size-m, 32px) !important;
    line-height: 1.6 !important;
  }

  html[lang="en"] .abo-hero__body {
    font-size: var(--abo-body-size-m, 11px) !important;
  }

  html[lang="en"] .abo-hero .abo-btn {
    font-size: var(--abo-btn-size-m, 14px) !important;
  }

  html[lang="en"] .abo-form-wrap__title {
    font-size: var(--abo-form-title-size-m, 29px) !important;
  }

  html[lang="en"] .abo-form-wrap__desc {
    font-size: var(--abo-form-desc-size-m, 11px) !important;
  }

  html[lang="en"] .abo-form__field {
    font-size: 12px !important;
  }

  html[lang="en"] .abo-form__field input,
  html[lang="en"] .abo-form__field textarea {
    font-size: var(--abo-input-size-m, 11px) !important;
  }

  html[lang="en"] .abo-form__note {
    font-size: var(--abo-note-size-m, 9px) !important;
  }

  html[lang="en"] .abo-btn--submit {
    font-size: var(--abo-submit-size-m, 10px) !important;
  }
}


