/* line 30, app/assets/stylesheets/sqrl_brand_tokens.scss */
:root {
  --sqrl-cream-50: #f8f4ee;
  --sqrl-sand-100: #ede0d0;
  --sqrl-sage-200: #eaebc4;
  --sqrl-acorn-400: #e6974c;
  --sqrl-cinnamon-500: #c19a77;
  --sqrl-bark-600: #a87555;
  --sqrl-home-bg: #f6fbf4;
  --sqrl-home-muted: #e7efeb;
  --sqrl-home-primary: #4b9b7d;
  --sqrl-home-primary-glow: #87c5ae;
  --sqrl-home-foreground: #305044;
  --sqrl-home-muted-foreground: #7b9d91;
  --sqrl-home-border: #cfe2d9;
  --sqrl-action-primary: #2f6f58;
  --sqrl-action-primary-hover: #285e4c;
  --sqrl-text-muted-accessible: #526e63;
  --sqrl-auth-primary-strong: var(--sqrl-action-primary);
  --sqrl-auth-primary-hover: var(--sqrl-action-primary-hover);
  --sqrl-auth-muted-foreground: var(--sqrl-text-muted-accessible);
  --sqrl-font-heading: "Montserrat", "Inter", sans-serif;
  --sqrl-font-body: "Inter", "Montserrat", sans-serif;
  --sqrl-space-1: 0.375rem;
  --sqrl-space-2: 0.75rem;
  --sqrl-space-3: 1.125rem;
  --sqrl-space-4: 1.5rem;
  --sqrl-space-5: 1.875rem;
  --sqrl-space-6: 2.25rem;
  --sqrl-space-8: 3rem;
  --sqrl-space-10: 3.75rem;
  --sqrl-space-12: 4.5rem;
  --sqrl-radius-sm: 0.375rem;
  --sqrl-radius-md: 0.75rem;
  --sqrl-radius-lg: 1.125rem;
  --sqrl-radius-xl: 1.5rem;
}

/* line 3, app/assets/stylesheets/first_order_offer_banner.scss */
.first-order-offer {
  position: relative;
  z-index: 2;
  width: 100%;
  border-block: 1px solid var(--sqrl-home-border);
  background: var(--sqrl-home-muted);
  color: var(--sqrl-home-foreground);
  font-family: var(--sqrl-font-body);
}

/* line 13, app/assets/stylesheets/first_order_offer_banner.scss */
.first-order-offer__details,
.first-order-offer__summary {
  width: 100%;
}

/* line 18, app/assets/stylesheets/first_order_offer_banner.scss */
.first-order-offer__summary {
  cursor: pointer;
  list-style: none;
}

/* line 23, app/assets/stylesheets/first_order_offer_banner.scss */
.first-order-offer__summary::-webkit-details-marker {
  display: none;
}

/* line 27, app/assets/stylesheets/first_order_offer_banner.scss */
.first-order-offer__summary:focus-visible {
  outline: 3px solid var(--sqrl-home-primary-glow);
  outline-offset: -3px;
}

/* line 32, app/assets/stylesheets/first_order_offer_banner.scss */
.first-order-offer.is-confirmed .first-order-offer__summary {
  display: none;
}

/* line 36, app/assets/stylesheets/first_order_offer_banner.scss */
.first-order-offer__inner {
  width: 100%;
  max-width: 1200px;
  min-height: 54px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--sqrl-space-2);
  margin-inline: auto;
  padding: var(--sqrl-space-1) var(--sqrl-space-4);
}

/* line 48, app/assets/stylesheets/first_order_offer_banner.scss */
.first-order-offer__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 var(--sqrl-space-2);
  border-radius: 999px;
  background: var(--sqrl-acorn-400);
  color: var(--sqrl-home-foreground);
  font-family: var(--sqrl-font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

/* line 65, app/assets/stylesheets/first_order_offer_banner.scss */
.first-order-offer__headline {
  min-width: 0;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
}

/* line 73, app/assets/stylesheets/first_order_offer_banner.scss */
.first-order-offer__headline-mobile {
  display: none;
}

/* line 77, app/assets/stylesheets/first_order_offer_banner.scss */
.first-order-offer__helper {
  margin-left: var(--sqrl-space-1);
  color: var(--sqrl-text-muted-accessible);
  font-size: 0.8rem;
  font-weight: 600;
}

/* line 84, app/assets/stylesheets/first_order_offer_banner.scss */
.first-order-offer__cta,
.first-order-offer__submit,
.first-order-offer__applied,
.first-order-offer__inbox {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--sqrl-space-3);
  border: 0;
  border-radius: var(--sqrl-radius-md);
  background: var(--sqrl-action-primary);
  color: #fff;
  font-family: var(--sqrl-font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

/* line 104, app/assets/stylesheets/first_order_offer_banner.scss */
.first-order-offer__summary:hover .first-order-offer__cta,
.first-order-offer__submit:hover {
  background: var(--sqrl-action-primary-hover);
  transform: translateY(-1px);
}

/* line 110, app/assets/stylesheets/first_order_offer_banner.scss */
.first-order-offer__submit {
  cursor: pointer;
}

/* line 114, app/assets/stylesheets/first_order_offer_banner.scss */
.first-order-offer__submit:focus-visible,
.first-order-offer__consent input:focus-visible,
.first-order-offer__email-field input:focus-visible,
.first-order-offer__toast-close:focus-visible {
  outline: 3px solid var(--sqrl-home-primary-glow);
  outline-offset: 3px;
}

/* line 122, app/assets/stylesheets/first_order_offer_banner.scss */
.first-order-offer__applied,
.first-order-offer__inbox {
  background: transparent;
  color: var(--sqrl-action-primary);
}

/* line 128, app/assets/stylesheets/first_order_offer_banner.scss */
.first-order-offer__success {
  display: flex;
  align-items: center;
  gap: var(--sqrl-space-2);
}

/* line 134, app/assets/stylesheets/first_order_offer_banner.scss */
.first-order-offer__panel {
  border-top: 1px solid var(--sqrl-home-border);
  background: var(--sqrl-cream-50);
}

/* line 139, app/assets/stylesheets/first_order_offer_banner.scss */
.first-order-offer__form,
.first-order-offer__success {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding: var(--sqrl-space-3) var(--sqrl-space-4);
}

/* line 147, app/assets/stylesheets/first_order_offer_banner.scss */
.first-order-offer__form {
  display: grid;
  grid-template-columns: minmax(18rem, 1fr) minmax(18rem, 1fr);
  gap: var(--sqrl-space-2) var(--sqrl-space-4);
  align-items: end;
}

/* line 154, app/assets/stylesheets/first_order_offer_banner.scss */
.first-order-offer__form[hidden],
.first-order-offer__success[hidden] {
  display: none;
}

/* line 159, app/assets/stylesheets/first_order_offer_banner.scss */
.first-order-offer__email-field label {
  display: block;
  margin-bottom: var(--sqrl-space-1);
  font-size: 0.875rem;
  font-weight: 700;
}

/* line 166, app/assets/stylesheets/first_order_offer_banner.scss */
.first-order-offer__field-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--sqrl-space-2);
}

/* line 172, app/assets/stylesheets/first_order_offer_banner.scss */
.first-order-offer__email-field input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0 var(--sqrl-space-2);
  border: 1px solid var(--sqrl-home-primary);
  border-radius: var(--sqrl-radius-md);
  background: #fff;
  color: var(--sqrl-home-foreground);
  font: inherit;
}

/* line 184, app/assets/stylesheets/first_order_offer_banner.scss */
.first-order-offer__consent {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: var(--sqrl-space-2);
  color: var(--sqrl-text-muted-accessible);
  font-size: 0.8rem;
  line-height: 1.4;
}

/* line 194, app/assets/stylesheets/first_order_offer_banner.scss */
.first-order-offer__consent input {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  accent-color: var(--sqrl-action-primary);
}

/* line 201, app/assets/stylesheets/first_order_offer_banner.scss */
.first-order-offer__consent a {
  color: var(--sqrl-action-primary);
  font-weight: 700;
  text-underline-offset: 3px;
}

/* line 207, app/assets/stylesheets/first_order_offer_banner.scss */
.first-order-offer__terms {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--sqrl-text-muted-accessible);
  font-size: 0.75rem;
  line-height: 1.4;
}

/* line 215, app/assets/stylesheets/first_order_offer_banner.scss */
.first-order-offer__success {
  flex-wrap: wrap;
  color: var(--sqrl-home-foreground);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* line 222, app/assets/stylesheets/first_order_offer_banner.scss */
.first-order-offer__success strong {
  font-family: var(--sqrl-font-heading);
  font-weight: 800;
}

/* line 227, app/assets/stylesheets/first_order_offer_banner.scss */
.first-order-offer__toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--sqrl-space-4) + env(safe-area-inset-bottom));
  z-index: 50;
  width: calc(100% - var(--sqrl-space-4) * 2);
  max-width: 30rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sqrl-space-2);
  padding: var(--sqrl-space-3);
  border-radius: var(--sqrl-radius-lg);
  background: var(--sqrl-action-primary);
  color: #fff;
  box-shadow: 0 24px 44px -22px rgba(48, 80, 68, 0.58);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 120%);
  transition: opacity 160ms ease, transform 160ms ease;
}

/* line 249, app/assets/stylesheets/first_order_offer_banner.scss */
.first-order-offer__toast.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

/* line 255, app/assets/stylesheets/first_order_offer_banner.scss */
.first-order-offer__toast.is-error {
  background: #9f2d20;
}

/* line 259, app/assets/stylesheets/first_order_offer_banner.scss */
.first-order-offer__toast-title,
.first-order-offer__toast-message {
  margin: 0;
}

/* line 264, app/assets/stylesheets/first_order_offer_banner.scss */
.first-order-offer__toast-title {
  font-weight: 800;
}

/* line 268, app/assets/stylesheets/first_order_offer_banner.scss */
.first-order-offer__toast-message {
  margin-top: var(--sqrl-space-1);
  font-size: 0.8rem;
}

/* line 273, app/assets/stylesheets/first_order_offer_banner.scss */
.first-order-offer__toast-close {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  cursor: pointer;
  font-size: 1.5rem;
}

@media (max-width: 48rem) {
  /* line 286, app/assets/stylesheets/first_order_offer_banner.scss */
  .first-order-offer__inner {
    min-height: 72px;
    gap: var(--sqrl-space-1) var(--sqrl-space-2);
    padding: var(--sqrl-space-2);
  }
  /* line 292, app/assets/stylesheets/first_order_offer_banner.scss */
  .first-order-offer__badge {
    min-height: 24px;
    padding-inline: var(--sqrl-space-1);
    font-size: 0.65rem;
  }
  /* line 298, app/assets/stylesheets/first_order_offer_banner.scss */
  .first-order-offer__headline {
    font-size: 0.82rem;
  }
  /* line 302, app/assets/stylesheets/first_order_offer_banner.scss */
  .first-order-offer__headline-desktop,
.first-order-offer__helper {
    display: none;
  }
  /* line 307, app/assets/stylesheets/first_order_offer_banner.scss */
  .first-order-offer__headline-mobile {
    display: inline;
  }
  /* line 311, app/assets/stylesheets/first_order_offer_banner.scss */
  .first-order-offer__cta,
.first-order-offer__submit,
.first-order-offer__applied,
.first-order-offer__inbox {
    min-height: 48px;
    padding-inline: var(--sqrl-space-2);
    font-size: 0.75rem;
  }
  /* line 320, app/assets/stylesheets/first_order_offer_banner.scss */
  .first-order-offer__form {
    grid-template-columns: 1fr;
    padding: var(--sqrl-space-3) var(--sqrl-space-2);
  }
  /* line 325, app/assets/stylesheets/first_order_offer_banner.scss */
  .first-order-offer__terms {
    grid-column: auto;
  }
  /* line 329, app/assets/stylesheets/first_order_offer_banner.scss */
  .first-order-offer__success {
    padding: var(--sqrl-space-3) var(--sqrl-space-2);
  }
}

@media (max-width: 32rem) {
  /* line 335, app/assets/stylesheets/first_order_offer_banner.scss */
  .first-order-offer__field-row {
    grid-template-columns: 1fr;
  }
  /* line 339, app/assets/stylesheets/first_order_offer_banner.scss */
  .first-order-offer__submit {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  /* line 345, app/assets/stylesheets/first_order_offer_banner.scss */
  .first-order-offer__cta,
.first-order-offer__submit,
.first-order-offer__toast {
    transition: none;
  }
}
