.mlm-checkout-hero {
  --mlm-checkout-hero-font-heading: 'Proxima Nova A', -apple-system, 'Roboto', Arial, sans-serif;
  --mlm-checkout-hero-font-body: 'Inter', -apple-system, 'Roboto', Arial, sans-serif;
  --mlm-checkout-hero-text: #ffffff;
  --mlm-checkout-hero-cta: #434ce4;
  --mlm-checkout-hero-cta-hover: #3f3fd0;
  --mlm-checkout-hero-cta-active: #3434b8;
  --andes-color-accent: #3483fa;
  --mlm-checkout-hero-image: url("https://http2.mlstatic.com/storage/pog-cm-admin/calm-assets/mlm-hero-image--917x1715--4913d3c0.webp");
  --mlm-checkout-hero-image-desktop: url("https://http2.mlstatic.com/storage/pog-cm-admin/calm-assets/hero-hero-desktop--1727x911--04c2589c.webp");
  --mlm-checkout-hero-noise: url("https://http2.mlstatic.com/storage/pog-cm-admin/calm-assets/mlm-hero-noise--344x644--ad959b45.webp");
  --mlm-checkout-hero-noise-desktop: url("https://http2.mlstatic.com/storage/pog-cm-admin/calm-assets/mlm-hero-noise-desktop--1920x1080--a5723d1a.webp");
  position: relative;
  box-sizing: border-box;
  width: 100%;
  height: 644px;
  margin-top: 8px;
  margin-right: auto;
  margin-bottom: 6px;
  margin-left: auto;
  overflow: hidden;
  border-radius: 20px;
  color: var(--mlm-checkout-hero-text);
  background: #d7c09d;
  font-family: var(--mlm-checkout-hero-font-body);
}

.mlm-checkout-hero__media,
.mlm-checkout-hero__noise,
.mlm-checkout-hero__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.mlm-checkout-hero__media {
  top: -15.22%;
  right: auto;
  bottom: auto;
  left: -11.95%;
  width: 121.17%;
  height: auto;
  aspect-ratio: 416.827 / 765.286;
  background-image: var(--mlm-checkout-hero-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.mlm-checkout-hero__noise {
  background-image: var(--mlm-checkout-hero-noise);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  mix-blend-mode: soft-light;
}

.mlm-checkout-hero__overlay {
  top: auto;
  height: 320px;
  opacity: 0.5;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000000 35%, #000000 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000000 35%, #000000 100%);
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 100%);
}

.mlm-checkout-hero__content {
  position: absolute;
  right: 0;
  bottom: 24px;
  left: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
  padding: 0 24px;
}

.mlm-checkout-hero__eyebrow {
  margin: 0;
  color: var(--mlm-checkout-hero-text);
  font-family: var(--mlm-checkout-hero-font-body);
  font-feature-settings: "case" 1, "ss01" 1;
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 0;
}

.mlm-checkout-hero__title {
  position: relative;
  max-width: 296px;
  min-height: 120px;
  max-height: 120px;
  margin: 0;
  overflow: hidden;
  color: var(--mlm-checkout-hero-text);
  font-family: var(--mlm-checkout-hero-font-heading);
  font-feature-settings: "salt" 1, "calt" 0, "ss01" 1;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -2px;
}

.mlm-checkout-hero__title-item {
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: none;
}

.mlm-checkout-hero__title-item.is-active {
  opacity: 1;
}

.mlm-checkout-hero__title-item.is-hidden,
.mlm-checkout-hero__title-item.is-entering {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
}

.mlm-checkout-hero__title-item.is-entering {
  animation: mlm-checkout-hero-title-in 650ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.mlm-checkout-hero__title-item.is-exiting {
  animation: mlm-checkout-hero-title-out 450ms cubic-bezier(0.4, 0, 0.6, 1) forwards;
}

.mlm-checkout-hero__cta {
  box-sizing: border-box;
  width: 100%;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 12px;
  color: #ffffff;
  background: var(--mlm-checkout-hero-cta);
  font-family: 'Inter', -apple-system, 'Roboto', Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease, opacity 160ms ease;
}

.mlm-checkout-hero__cta:hover {
  background: var(--mlm-checkout-hero-cta-hover);
}

.mlm-checkout-hero__cta:active {
  background: var(--mlm-checkout-hero-cta-active);
  transform: translateY(1px);
}

.mlm-checkout-hero__cta:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

.mlm-checkout-hero__cta[aria-disabled="true"],
.mlm-checkout-hero__cta.is-disabled {
  background: rgba(67, 76, 228, 0.5);
  cursor: not-allowed;
  pointer-events: none;
}

@keyframes mlm-checkout-hero-title-in {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mlm-checkout-hero-title-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mlm-checkout-hero__title-item.is-entering,
  .mlm-checkout-hero__title-item.is-exiting {
    animation: none;
  }
}

@media (min-width: 800px) {
  .mlm-checkout-hero {
    height: 752px;
    min-height: 0;
    margin-top: 8px;
    margin-bottom: 8px;
    border-radius: 20px;
  }

  .mlm-checkout-hero__media {
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    background-color: #473b30;
    background-image: var(--mlm-checkout-hero-image-desktop), var(--mlm-checkout-hero-image);
    background-position: center, center 35%;
    background-size: cover, cover;
    background-repeat: no-repeat, no-repeat;
  }

  .mlm-checkout-hero__media::before,
  .mlm-checkout-hero__media::after {
    display: none;
  }

  .mlm-checkout-hero__overlay {
    inset: 0;
    height: auto;
    opacity: .1;
    -webkit-mask-image: none;
    mask-image: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: linear-gradient(to top right, #000 0%, transparent 100%);
  }

  .mlm-checkout-hero__content {
    right: auto;
    bottom: 40px;
    left: 40px;
    width: min(860px, calc(100% - 80px));
    gap: 32px;
    padding: 0;
  }

  .mlm-checkout-hero__eyebrow {
    font-size: 14px;
    line-height: 18px;
  }

  .mlm-checkout-hero__title {
    width: 100%;
    max-width: 860px;
    min-height: 0;
    max-height: none;
    font-size: 88px;
    line-height: 88px;
    letter-spacing: -4px;
  }

  .mlm-checkout-hero__cta {
    width: max-content;
    min-width: 216px;
    height: 48px;
    font-size: 14px;
  }
}

@media (min-width: 1601px) {
  .mlm-checkout-hero { height: 904px; }
  .mlm-checkout-hero__noise {
    opacity: .3;
    background-image: var(--mlm-checkout-hero-noise-desktop);
  }
  .mlm-checkout-hero__overlay {
    opacity: .4;
    background-image:
      linear-gradient(209.06deg, rgba(0, 0, 0, 0) 47.956%, rgba(0, 0, 0, .466) 89.241%, #000 100%),
      linear-gradient(209.06deg, rgba(0, 0, 0, 0) 47.956%, rgba(0, 0, 0, .466) 89.241%, #000 100%),
      linear-gradient(209.06deg, rgba(0, 0, 0, 0) 47.956%, rgba(0, 0, 0, .466) 89.241%, #000 100%),
      linear-gradient(209.06deg, rgba(0, 0, 0, 0) 47.956%, rgba(0, 0, 0, .466) 89.241%, #000 100%),
      linear-gradient(209.06deg, rgba(0, 0, 0, 0) 47.956%, rgba(0, 0, 0, .466) 89.241%, #000 100%);
  }
  .mlm-checkout-hero__content {
    width: min(1040px, calc(100% - 80px));
    gap: 40px;
  }
  .mlm-checkout-hero__eyebrow {
    font-size: 20px;
    line-height: 24px;
  }
  .mlm-checkout-hero__title {
    max-width: 1040px;
    font-size: 100px;
    line-height: 100px;
    letter-spacing: -5px;
  }
}

@media (min-width: 800px) and (max-width: 1365px) {
  .mlm-checkout-hero__eyebrow {
    font-size: 20px;
    line-height: 24px;
  }
  .mlm-checkout-hero__noise {
    opacity: .3;
    background-image: var(--mlm-checkout-hero-noise-desktop);
  }
  .mlm-checkout-hero__overlay {
    opacity: .4;
    background-image:
      linear-gradient(221.12895251325995deg, rgba(0, 0, 0, 0) 47.956%, rgba(0, 0, 0, .466) 89.241%, #000 100%),
      linear-gradient(221.12895251325995deg, rgba(0, 0, 0, 0) 47.956%, rgba(0, 0, 0, .466) 89.241%, #000 100%),
      linear-gradient(221.12895251325995deg, rgba(0, 0, 0, 0) 47.956%, rgba(0, 0, 0, .466) 89.241%, #000 100%),
      linear-gradient(221.12895251325995deg, rgba(0, 0, 0, 0) 47.956%, rgba(0, 0, 0, .466) 89.241%, #000 100%),
      linear-gradient(221.12895251325995deg, rgba(0, 0, 0, 0) 47.956%, rgba(0, 0, 0, .466) 89.241%, #000 100%);
  }
  .mlm-checkout-hero__title {
    font-size: 72px;
    line-height: 72px;
  }
}

@media (min-width: 1366px) and (max-width: 1600px) {
  .mlm-checkout-hero { height: 712px; }
  .mlm-checkout-hero__noise {
    opacity: .3;
    background-image: var(--mlm-checkout-hero-noise-desktop);
  }
  .mlm-checkout-hero__overlay {
    opacity: .4;
    background-image:
      linear-gradient(211.6887539187091deg, rgba(0, 0, 0, 0) 47.956%, rgba(0, 0, 0, .466) 89.241%, #000 100%),
      linear-gradient(211.6887539187091deg, rgba(0, 0, 0, 0) 47.956%, rgba(0, 0, 0, .466) 89.241%, #000 100%),
      linear-gradient(211.6887539187091deg, rgba(0, 0, 0, 0) 47.956%, rgba(0, 0, 0, .466) 89.241%, #000 100%),
      linear-gradient(211.6887539187091deg, rgba(0, 0, 0, 0) 47.956%, rgba(0, 0, 0, .466) 89.241%, #000 100%),
      linear-gradient(211.6887539187091deg, rgba(0, 0, 0, 0) 47.956%, rgba(0, 0, 0, .466) 89.241%, #000 100%);
  }
  .mlm-checkout-hero__title {
    max-width: 880px;
  }
}
