@charset "UTF-8";

.lion-order-modal {
  --modal-black: #050401;
  --modal-chocolate: #100b04;
  --modal-panel: #171006;
  --modal-panel-soft: #211707;
  --modal-gold: #ffcb19;
  --modal-gold-soft: #d8a914;
  --modal-cream: #f8ead0;
  --modal-muted: rgba(248, 234, 208, .68);
  --modal-line: rgba(255, 203, 25, .24);
  --modal-error: #ffdf85;
  font-family: var(--lo-font-body, "Salter Roman", Georgia, serif);
  letter-spacing: .018em;
}

.lion-order-modal [hidden] {
  display: none !important;
}

.lion-order-modal__overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 42px);
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 203, 25, .12), transparent 24rem),
    rgba(0, 0, 0, .72);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  backdrop-filter: blur(6px);
}

.lion-order-modal__overlay.is-active {
  opacity: 1;
  pointer-events: auto;
  overflow: hidden;
}

.lion-order-modal__dialog {
  position: relative;
  width: min(520px, 100%);
  transform: translateY(12px) scale(.98);
  transition: width 240ms ease, transform 260ms cubic-bezier(.22, 1, .36, 1);
}

.lion-order-modal__overlay.is-active .lion-order-modal__dialog {
  transform: translateY(0) scale(1);
}

.lion-order-modal__dialog--expanded {
  width: min(620px, 96vw);
}

.lion-order-modal__card {
  position: relative;
  overflow: visible;
  padding: clamp(34px, 4vw, 50px) clamp(28px, 4.8vw, 46px) clamp(28px, 4.8vw, 46px);
  color: var(--modal-cream);
  text-align: center;
  background:
    linear-gradient(180deg, rgba(12, 9, 4, .9), rgba(5, 4, 1, .98)),
    url("/images/BlackPattern LO.png") center / 540px auto repeat,
    var(--modal-black);
  border: 1px solid var(--modal-line);
  border-radius: 10px;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, .52),
    inset 0 1px 0 rgba(255, 238, 150, .09);
}

.lion-order-modal__card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 203, 25, .14), transparent 16rem),
    linear-gradient(90deg, transparent, rgba(255, 203, 25, .08), transparent);
  opacity: .78;
}

.lion-order-modal__card > * {
  position: relative;
  z-index: 1;
}

.lion-order-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  width: 42px;
  height: 42px;
  display: flex;
  justify-content:center;
  align-items:center;
  border: 1px solid rgba(255, 203, 25, .28);
  border-radius: 999px;
  color: var(--modal-cream);
  background: rgba(0, 0, 0, .42);
  font: inherit;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.lion-order-modal__close:hover,
.lion-order-modal__close:focus-visible {
  border-color: rgba(255, 203, 25, .58);
  background: rgba(0, 0, 0, .68);
  transform: scale(1.04);
}

.lion-order-modal__header {
  position: relative;
  max-width: 420px;
  padding-top: clamp(116px, 8.8vw, 134px);
  margin: 0 auto clamp(22px, 3.2vw, 30px);
}

.lion-order-modal__brand-mark {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 3;
  width: clamp(78px, 7vw, 96px);
  height: clamp(86px, 7.8vw, 106px);
  margin: 0;
  display: grid;
  place-items: center;
  overflow: visible;
  border: 0;
  border-radius: 0;
  color: transparent;
  background: transparent;
  box-shadow: none;
  transform: translateX(-50%);
}

.lion-order-modal__brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter:
    drop-shadow(0 16px 22px rgba(0, 0, 0, .46))
    drop-shadow(0 2px 0 rgba(255, 244, 160, .32));
}

.lion-order-modal__title--visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
}

.lion-order-modal--signup .lion-order-modal__header {
  padding-top: clamp(108px, 8.4vw, 124px);
  margin-bottom: clamp(22px, 3.2vw, 30px);
}

.lion-order-modal--signup .lion-order-modal__subtitle {
  margin-top: 0;
}

.lion-order-modal__title,
.lion-order-modal__success-title {
  margin: 0;
  color: var(--modal-gold);
  font-family: var(--lo-font-body, "Salter Roman", Georgia, serif);
  font-size: clamp(2.7rem, 7vw, 4.6rem);
  font-weight: 400;
  line-height: .9;
  letter-spacing: 0;
  text-shadow: 0 10px 28px rgba(0, 0, 0, .5);
}

.lion-order-modal__title--small {
  font-size: clamp(2.15rem, 6vw, 3.45rem);
}

.lion-order-modal__subtitle {
  max-width: 37ch;
  margin: 14px auto 0;
  color: var(--modal-muted);
  font-size: clamp(1.06rem, 2.45vw, 1.22rem);
  line-height: 1.42;
  letter-spacing: .018em;
}

.lion-order-modal__benefits {
  width: min(100%, 430px);
  margin: 0 auto 24px;
  padding: 16px 18px;
  display: grid;
  gap: 9px;
  list-style: none;
  color: rgba(248, 234, 208, .76);
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 203, 25, .16);
  border-radius: 8px;
  text-align: left;
}

.lion-order-modal__benefits li {
  position: relative;
  margin: 0;
  padding-left: 18px;
  font-size: 1.02rem;
  line-height: 1.36;
  letter-spacing: .016em;
}

.lion-order-modal__benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--modal-gold);
  box-shadow: 0 0 14px rgba(255, 203, 25, .46);
}

.lion-order-modal__sign_up_error {
  display: none;
  width: min(100%, 430px);
  margin: 0 auto 12px;
  padding: 9px 12px;
  color: var(--modal-error);
  background: rgba(95, 35, 0, .34);
  border: 1px solid rgba(255, 156, 61, .24);
  border-radius: 7px;
  font-size: .88rem;
  line-height: 1.25;
}

.lion-order-modal__form {
  width: min(100%, 430px);
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.lion-order-modal .input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.lion-order-modal__input {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(255, 203, 25, .28);
  border-radius: 999px;
  outline: 0;
  color: var(--modal-cream);
  background: rgba(255, 255, 255, .07);
  font: inherit;
  font-size: 1.06rem;
  line-height: 1;
  letter-spacing: .014em;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.lion-order-modal__input::placeholder {
  color: rgba(248, 234, 208, .52);
}

.lion-order-modal__input:focus {
  border-color: rgba(255, 203, 25, .82);
  background: rgba(255, 255, 255, .1);
  box-shadow: 0 0 0 4px rgba(255, 203, 25, .12);
}

.lion-order-modal__cta {
  min-height: 56px;
  padding: 0 22px;
  border: 1px solid rgba(255, 203, 25, .76);
  border-radius: 999px;
  color: #100b04;
  background: linear-gradient(180deg, #ffd431, #f4b90f);
  font: inherit;
  font-size: 1.08rem;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(255, 203, 25, .16);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.lion-order-modal__cta:hover,
.lion-order-modal__cta:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 20px 42px rgba(255, 203, 25, .2);
}

.lion-order-modal__cta:disabled,
.lion-order-modal__cta[disabled] {
  cursor: not-allowed;
  opacity: .48;
  transform: none;
  filter: grayscale(.25);
}

.lion-order-modal__note {
  max-width: 36ch;
  margin: 12px auto 0;
  color: rgba(248, 234, 208, .58);
  font-size: .96rem;
  line-height: 1.32;
  letter-spacing: .014em;
}

.lion-order-modal__verify {
  padding-top: 2px;
  text-align: center;
}

.lion-order-modal__otp {
  width: min(100%, 430px);
  margin: 22px auto 14px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.lion-order-modal__otp-input {
  width: 100%;
  aspect-ratio: 1 / 1.12;
  min-height: 48px;
  border: 1px solid rgba(255, 203, 25, .28);
  border-radius: 9px;
  outline: 0;
  color: var(--modal-gold);
  background: rgba(255, 255, 255, .07);
  text-align: center;
  font: inherit;
  font-size: 1.35rem;
  font-weight: 400;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.lion-order-modal__otp-input:focus {
  border-color: rgba(255, 203, 25, .82);
  background: rgba(255, 255, 255, .1);
  box-shadow: 0 0 0 4px rgba(255, 203, 25, .12);
  transform: translateY(-1px);
}

.lion-order-modal__otp-error {
  min-height: 20px;
  margin: 0 0 12px;
  color: var(--modal-error);
  font-size: .9rem;
  line-height: 1.25;
}

.lion-order-modal__otp--error {
  animation: lion-order-modal-shake 340ms ease;
}

.lion-order-modal__otp--error .lion-order-modal__otp-input {
  border-color: rgba(255, 134, 76, .72);
  box-shadow: 0 0 0 3px rgba(255, 134, 76, .12);
}

.lion-order-modal__verify-meta {
  margin-top: 14px;
}

.lion-order-modal__note--tight {
  margin: 0 0 6px;
}

.lion-order-modal__link {
  appearance: none;
  padding: 0;
  border: 0;
  color: var(--modal-gold);
  background: none;
  font: inherit;
  font-size: .92rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lion-order-modal__link:disabled {
  color: rgba(248, 234, 208, .48);
  cursor: default;
  text-decoration: none;
}

.lion-order-modal__success {
  padding: clamp(24px, 5vw, 44px) 0;
  text-align: center;
}

.lion-order-modal__success-mark {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto 18px;
}

.lion-order-modal__success-ring {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 203, 25, .36), transparent 68%);
  animation: pulse 1.6s infinite;
}

.lion-order-modal__success-check {
  position: relative;
  z-index: 1;
}

.lion-order-modal__circle {
  stroke: url(#goldGradient);
  stroke-width: 4;
  stroke-dasharray: 327;
  stroke-dashoffset: 327;
  animation: draw 600ms forwards;
}

.lion-order-modal__check {
  stroke: url(#goldGradient);
  stroke-width: 6;
  stroke-dasharray: 70;
  stroke-dashoffset: 70;
  animation: draw 400ms 500ms forwards;
}

.lion-order-modal__success-text {
  max-width: 34ch;
  margin: 14px auto 0;
  color: var(--modal-muted);
  font-size: 1rem;
  line-height: 1.35;
}

@keyframes lion-order-modal-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

@keyframes pulse {
  0% {
    transform: scale(.82);
    opacity: .38;
  }
  100% {
    transform: scale(1.28);
    opacity: 0;
  }
}

@media (max-width: 560px) {
  .lion-order-modal__overlay {
    padding: 14px;
  }

  .lion-order-modal__card {
    padding: 34px 18px 22px;
    border-radius: 8px;
  }

  .lion-order-modal__close {
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
  }

  .lion-order-modal__brand-mark {
    width: 66px;
    height: 72px;
  }

  .lion-order-modal__header {
    padding-top: 96px;
  }

  .lion-order-modal__title {
    font-size: clamp(2.35rem, 11vw, 3.4rem);
  }

  .lion-order-modal__subtitle {
    font-size: 1.02rem;
  }

  .lion-order-modal .input-row {
    grid-template-columns: 1fr;
  }

  .lion-order-modal__benefits {
    padding: 14px;
  }

  .lion-order-modal__input,
  .lion-order-modal__cta {
    min-height: 52px;
  }

  .lion-order-modal__otp {
    gap: 7px;
  }

  .lion-order-modal__otp-input {
    min-height: 42px;
    border-radius: 7px;
    font-size: 1.08rem;
  }
}

@media (max-width: 375px) {
  .lion-order-modal__overlay {
    padding: 8px;
  }

  .lion-order-modal__card {
    padding-inline: 14px;
  }
}
