/* Weelx - "Women by Women" waitlist popup (weelx.com, EN + FR homepages). */
.wbw-overlay, .wbw-overlay *, .wbw-overlay *::before, .wbw-overlay *::after { box-sizing: border-box; }

.wbw-overlay {
  position: fixed; inset: 0; z-index: 2147483000;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.66);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .35s ease;
}
.wbw-overlay.wbw-open { opacity: 1; }
.wbw-overlay.wbw-closing { opacity: 0; transition-duration: .3s; }

/* ---- card ------------------------------------------------------------------ */
.wbw-card {
  position: relative; width: 100%; max-width: 440px;
  max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; overflow-x: hidden;
  background: #0e0e0e; color: #fff; border-radius: 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.06);
  font-family: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  opacity: 0; transform: translateY(28px) scale(.96);
  transition: opacity .45s ease, transform .55s cubic-bezier(.2, .85, .25, 1);
  scrollbar-width: none;
}
.wbw-card::-webkit-scrollbar { display: none; }
.wbw-open .wbw-card { opacity: 1; transform: none; }
.wbw-closing .wbw-card { opacity: 0; transform: translateY(16px) scale(.97); transition-duration: .3s; }

/* ---- cover with the title over its lower edge ------------------------------ */
.wbw-cover { position: relative; }
.wbw-cover img {
  display: block; width: 100%; height: auto; aspect-ratio: 2000 / 903; object-fit: cover;
  transform: scale(1.06); transition: transform 1.4s cubic-bezier(.2, .8, .2, 1);
}
.wbw-open .wbw-cover img { transform: none; }
.wbw-cover::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14, 14, 14, 0) 45%, rgba(14, 14, 14, .55) 75%, #0e0e0e 100%);
  pointer-events: none;
}

.wbw-overlay button.wbw-close {
  position: absolute; min-height: 0; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; padding: 0;
  border: 0; border-radius: 50%; background: rgba(0, 0, 0, .45); color: #fff; cursor: pointer;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; transition: background .2s ease, transform .2s ease;
}
.wbw-overlay button.wbw-close:hover { background: rgba(0, 0, 0, .7); transform: rotate(90deg); }
.wbw-close svg { width: 16px; height: 16px; }

.wbw-body { position: relative; z-index: 1; margin-top: -46px; padding: 0 26px 26px; }

.wbw-title {
  margin: 0; font-family: "DM Serif Display", "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 400; font-size: 42px; line-height: 1.05; letter-spacing: -.01em; color: #FC68B8;
}
.wbw-desc { margin: 8px 0 30px; font-size: 16px; line-height: 1.45; color: #fff; }
.wbw-head { text-align: center; }
.wbw-head .wbw-title, .wbw-head .wbw-desc { white-space: nowrap; overflow: hidden; }

/* ---- form ------------------------------------------------------------------ */
.wbw-field { margin: 0 0 12px; }
.wbw-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wbw-overlay input.wbw-input, .wbw-overlay select.wbw-code {
  height: 52px; border: 1px solid #fff; border-radius: 16px; background: #1a1a1a; color: #fff;
  font: inherit; font-size: 16px; /* 16px keeps iOS from zooming in on focus */
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.wbw-overlay input.wbw-input { width: 100%; padding: 0 18px; margin: 0; line-height: normal; box-shadow: none; }
.wbw-overlay input.wbw-input::placeholder { color: #8a8a8a; }
.wbw-overlay input.wbw-input:focus, .wbw-overlay select.wbw-code:focus { outline: none; border-color: #fff; background: #1d1d1d; box-shadow: 0 0 0 4px rgba(252, 104, 184, .18); }
.wbw-phone { display: flex; gap: 8px; }
.wbw-overlay select.wbw-code { flex: 0 0 auto; width: 108px; padding: 0 10px; margin: 0; cursor: pointer; }
.wbw-overlay .wbw-phone input.wbw-input { flex: 1 1 auto; min-width: 0; }
.wbw-overlay input.wbw-input[aria-invalid="true"] { border-color: #ff6b6b; }
.wbw-error { margin: 6px 4px 0; font-size: 13px; color: #ff8a8a; }
.wbw-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.wbw-overlay button.wbw-submit {
  position: relative; padding: 0; text-transform: none; width: 100%; height: 54px; margin-top: 6px; border: 0; border-radius: 16px;
  background: #fff; color: #141414; font: inherit; font-size: 16px; font-weight: 700; letter-spacing: .01em; cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.wbw-overlay button.wbw-submit:hover { filter: brightness(1.05); box-shadow: 0 12px 32px rgba(255, 255, 255, .22); }
.wbw-overlay button.wbw-submit:active { transform: scale(.98); }
.wbw-overlay button.wbw-submit[disabled] { opacity: .7; cursor: progress; }
.wbw-submit .wbw-spin {
  display: inline-block; width: 16px; height: 16px; margin-right: 8px; vertical-align: -3px;
  border: 2px solid rgba(20, 20, 20, .35); border-top-color: #141414; border-radius: 50%; animation: wbw-spin .8s linear infinite;
}
@keyframes wbw-spin { to { transform: rotate(360deg); } }
.wbw-status { margin: 10px 4px 0; font-size: 14px; color: #ff8a8a; }
.wbw-overlay a.wbw-privacy {
  display: flex; align-items: center; justify-content: center; gap: 6px; margin: 14px 0 0;
  white-space: nowrap; overflow: hidden; font-size: 12.5px; line-height: 1.4; color: #9a9a9a; text-decoration: none;
  transition: color .2s ease;
}
.wbw-overlay a.wbw-privacy:hover { color: #e0e0e0; text-decoration: underline; }
.wbw-privacy svg { flex: 0 0 auto; width: 12px; height: 12px; }
.wbw-overlay a.wbw-privacy:focus-visible { outline: 2px solid #FC68B8; outline-offset: 3px; border-radius: 4px; }
.wbw-close:focus-visible, .wbw-submit:focus-visible { outline: 2px solid #FC68B8; outline-offset: 3px; }

/* ---- staggered fade-in of the content, and the form -> thank-you swap ------- */
.wbw-stagger > * { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .6s cubic-bezier(.2, .85, .25, 1); }
.wbw-open .wbw-stagger > * { opacity: 1; transform: none; }
.wbw-open .wbw-stagger > *:nth-child(1) { transition-delay: .12s; }
.wbw-open .wbw-stagger > *:nth-child(2) { transition-delay: .2s; }
.wbw-open .wbw-stagger > *:nth-child(3) { transition-delay: .28s; }
.wbw-open .wbw-stagger > *:nth-child(4) { transition-delay: .36s; }
.wbw-open .wbw-stagger > *:nth-child(5) { transition-delay: .44s; }
.wbw-open .wbw-stagger > *:nth-child(6) { transition-delay: .52s; }

.wbw-form-wrap { transition: opacity .3s ease, transform .3s ease; }
.wbw-form-wrap.wbw-out { opacity: 0; transform: translateY(-10px); }

.wbw-thanks { text-align: center; padding-top: 4px; opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .5s ease, transform .55s cubic-bezier(.2, .85, .25, 1); }
.wbw-thanks.wbw-in { opacity: 1; transform: none; }
.wbw-thanks .wbw-title { font-size: 38px; }
.wbw-thanks .wbw-desc { margin: 10px 0 22px; }
.wbw-check {
  width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: #FC68B8; color: #141414;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(252, 104, 184, .35);
  transform: scale(.6); transition: transform .6s cubic-bezier(.3, 1.6, .5, 1) .15s;
}
.wbw-thanks.wbw-in .wbw-check { transform: none; }
.wbw-check svg { width: 30px; height: 30px; }

html.wbw-lock, html.wbw-lock body { overflow: hidden !important; }

/* ---- phones ---------------------------------------------------------------- */
@media (max-width: 520px) {
  .wbw-overlay { padding: 12px; align-items: flex-end; }
  .wbw-card { max-width: none; border-radius: 24px; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
  .wbw-body { margin-top: -38px; padding: 0 16px 20px; }
  .wbw-title { font-size: 36px; }
  .wbw-desc { font-size: 15px; margin-bottom: 26px; }
  .wbw-overlay select.wbw-code { width: 114px; padding: 0 6px 0 12px; }
}
@media (max-width: 360px) {
  .wbw-title { font-size: 31px; }
  .wbw-body { padding: 0 12px 18px; }
  .wbw-head .wbw-desc { letter-spacing: -.01em; }
  .wbw-overlay select.wbw-code { width: 110px; padding: 0 4px 0 10px; }
}
/* Short screens: keep the button in view. */
@media (max-height: 700px) {
  .wbw-cover img { aspect-ratio: 2000 / 760; object-position: center 30%; }
  .wbw-desc { margin-bottom: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .wbw-overlay, .wbw-card, .wbw-cover img, .wbw-stagger > *, .wbw-form-wrap, .wbw-thanks, .wbw-check { transition: none !important; }
  .wbw-card, .wbw-stagger > *, .wbw-thanks, .wbw-check, .wbw-cover img { transform: none !important; }
}

/* Gold "Join the waitlist" call to action in the homepage's Women Drivers section - opens the popup
   (any [data-wbw-open] element does; see wbw.js). Same gold as the hero's "Download now". */
.weelx-wbw-cta-wrap { margin-top: 22px; }
button.weelx-wbw-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 30px; margin: 0; border: 0; border-radius: 999px;
  /* !important: Elementor blanks every background-image inside a section until it is scrolled into
     view (its lazy-load rule is itself !important), which left the button colourless. */
  background-color: #c9a464; background-image: linear-gradient(135deg, #e6c886 0%, #c9a464 55%, #b48b60 100%) !important;
  color: #141414;
  font-family: inherit; font-size: 16px; font-weight: 600; letter-spacing: .01em; line-height: 1; text-transform: none;
  box-shadow: 0 10px 24px rgba(180, 139, 96, .32); cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
button.weelx-wbw-cta:hover, button.weelx-wbw-cta:focus { background-color: #c9a464; color: #141414; filter: brightness(1.05); box-shadow: 0 14px 30px rgba(180, 139, 96, .42); }
button.weelx-wbw-cta:active { transform: scale(.98); }
button.weelx-wbw-cta:focus-visible { outline: 2px solid #b48b60; outline-offset: 3px; }
button.weelx-wbw-cta svg { width: 18px; height: 18px; flex: none; }
@media (max-width: 767px) {
  .weelx-wbw-cta-wrap { margin-top: 16px; }
  button.weelx-wbw-cta { width: 100%; }
}
