html.has-first-order-offer,
html.has-first-order-offer body {
  overflow: hidden;
}

.first-order-offer {
  position: fixed;
  inset: 0;
  z-index: 1010;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(2, 22, 19, 0.72);
}

.first-order-offer[hidden],
.first-order-offer [hidden] {
  display: none;
}

.first-order-offer__panel {
  position: relative;
  width: min(100%, 510px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(30px, 5vw, 46px);
  border: 1px solid rgba(226, 234, 224, 0.34);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(20, 62, 55, 0.94), rgba(5, 34, 30, 0.97)),
    rgba(8, 43, 38, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 253, 244, 0.18), 0 26px 70px rgba(0, 15, 13, 0.34);
  color: #f8f4ea;
  backdrop-filter: blur(14px) saturate(112%);
}

.first-order-offer__brand {
  display: flex;
  width: 94px;
  height: 56px;
  margin: -8px 0 18px;
  align-items: center;
  overflow: hidden;
}

.first-order-offer__brand img {
  width: 94px;
  height: 63px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.94;
}

.first-order-offer__eyebrow {
  margin: 0 0 6px;
  color: rgba(240, 239, 226, 0.72);
  font: 700 12px/1.2 var(--font-display, "Inter Tight", sans-serif);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.first-order-offer h2 {
  margin: 0;
  color: #fffaf0;
  font: 700 clamp(48px, 9vw, 70px)/0.9 var(--font-display, "Inter Tight", sans-serif);
  letter-spacing: -0.055em;
}

.first-order-offer__copy {
  max-width: 410px;
  margin: 20px 0 24px;
  color: rgba(244, 241, 231, 0.82);
  font: 400 15px/1.58 var(--font-body, Inter, sans-serif);
}

.first-order-offer__form {
  display: grid;
  gap: 12px;
}

.first-order-offer__label {
  color: #fffaf0;
  font: 650 13px/1.3 var(--font-display, "Inter Tight", sans-serif);
}

.first-order-offer__input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(232, 237, 226, 0.34);
  border-radius: 11px;
  background: rgba(250, 248, 240, 0.95);
  color: #092d28;
  font: 500 16px/1.3 var(--font-body, Inter, sans-serif);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.first-order-offer__input:focus-visible,
.first-order-offer__panel :focus-visible {
  outline: 2px solid #d9eee4;
  outline-offset: 3px;
}

.first-order-offer__form .lynx-glass-button {
  width: 100%;
  min-height: 48px;
  justify-content: center;
}

.first-order-offer__status {
  min-height: 20px;
  margin: 0;
  color: #f2d4ca;
  font: 500 13px/1.45 var(--font-body, Inter, sans-serif);
}

.first-order-offer__dismiss {
  justify-self: center;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: rgba(247, 243, 233, 0.78);
  font: 650 13px/1.3 var(--font-display, "Inter Tight", sans-serif);
  text-decoration: underline;
  text-decoration-color: rgba(247, 243, 233, 0.28);
  text-underline-offset: 4px;
  cursor: pointer;
}

.first-order-offer__privacy {
  margin: 8px 0 0;
  color: rgba(233, 235, 225, 0.58);
  font: 400 11px/1.5 var(--font-body, Inter, sans-serif);
}

.first-order-offer__success p {
  margin: 20px 0 24px;
  color: rgba(244, 241, 231, 0.82);
  font: 400 15px/1.58 var(--font-body, Inter, sans-serif);
}

@media (max-width: 480px) {
  .first-order-offer {
    padding: 14px;
  }

  .first-order-offer__panel {
    max-height: calc(100dvh - 28px);
    padding: 28px 22px;
    border-radius: 16px;
    backdrop-filter: blur(10px) saturate(108%);
  }

  .first-order-offer h2 {
    font-size: clamp(46px, 16vw, 60px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .first-order-offer,
  .first-order-offer * {
    scroll-behavior: auto;
    transition: none;
  }
}
