/* woo-login/index.css — page composition CSS.
   Imports the components used + adds page-scoped overrides for layout glue.
   Mobile-first: base = mobile, @media (min-width: 1024px) for desktop. */

/* ─── Atoms ────────────────────────────────────────────────────────── */
@import url('../../_components/atoms/btn-primary/btn-primary.css');
@import url('../../_components/atoms/input-wrap-woo/input-wrap-woo.css');
@import url('../../_components/atoms/field-input/field-input.css');

/* ─── Molecules ────────────────────────────────────────────────────── */
@import url('../../_components/molecules/progress-stepper/progress-stepper.css');
@import url('../../_components/molecules/divider-h/divider-h.css');
@import url('../../_components/molecules/social-row/social-row.css');
@import url('../../_components/molecules/order-item/order-item.css');
@import url('../../_components/molecules/order-total-row/order-total-row.css');

/* ─── Sections ─────────────────────────────────────────────────────── */
@import url('../../_components/sections/header-full/header-full.css');
@import url('../../_components/sections/footer-full/footer-full.css');
@import url('../../_components/sections/mobile-menu/mobile-menu.css');
@import url('../../_components/sections/order-summary/order-summary.css');

/* ─── Page-scoped overrides ─────────────────────────────────────────── */

/* Hide wins-counter on woo pages (per Wave 4a handoff — V1 pattern) */
.page-woo-login [data-wins-counter] { display: none !important; }

/* Page main wrapper — mobile container with safe padding */
.page-woo-login .woo-main {
  position: relative;
  overflow: hidden;
}
.page-woo-login .woo-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

/* Progress stepper row (Figma 1619:147 — top:136 from page top) */
.page-woo-login .woo-progress {
  margin-top: 32px;
}

/* Hero block (Figma sign-in title y=232; description y=296) */
.page-woo-login .woo-hero {
  text-align: center;
  margin-top: 48px;
  margin-bottom: 40px;
}
.page-woo-login .woo-hero__title {
  font-family: 'Nationale', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 36px;
  letter-spacing: -0.02em;
  color: rgb(var(--color-lead));
  margin: 0;
}
.page-woo-login .woo-hero__desc {
  font-family: 'Nationale', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: rgb(var(--color-subs));
  margin: 16px auto 0;
  max-width: 600px;
}

/* Form region — email + continue + divider + social */
.page-woo-login .woo-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.page-woo-login .woo-form__row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
}
.page-woo-login .woo-form__divider,
.page-woo-login .woo-form__social,
.page-woo-login .woo-form .input-wrap-woo,
.page-woo-login .woo-form .btn-primary {
  width: 100%;
  max-width: 384px;
}

/* Order summary region */
.page-woo-login .woo-order {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 64px;
  margin-bottom: 48px;
  gap: 24px;
}

/* Proceed-to-checkout CTA — page-level, 960w with br 8 (login uses default 8) */
.page-woo-login .btn-proceed {
  display: block;
  width: 100%;
  max-width: 960px;
  height: 48px;
  padding: 12px;
  border: 0;
  margin: 0;
  border-radius: 8px;
  background-color: rgb(var(--color-lead));
  color: rgb(var(--color-fore));
  font-family: 'Nationale', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  transition: opacity 0.18s ease;
}
.page-woo-login .btn-proceed:hover  { opacity: 0.92; }
.page-woo-login .btn-proceed:active { opacity: 0.86; }

/* Hide the bottom glow on mobile (V1 pattern) */
.page-woo-login .woo-glow { display: none; }

/* ─── Desktop (>=1024px) ──────────────────────────────────────────── */
@media (min-width: 1024px) {
  .page-woo-login .woo-container { padding: 0 24px; }

  .page-woo-login .woo-progress { margin-top: 56px; }

  .page-woo-login .woo-hero {
    margin-top: 64px;
    margin-bottom: 48px;
  }
  .page-woo-login .woo-hero__title {
    font-size: 36px;
    line-height: 48px;
  }
  .page-woo-login .woo-hero__desc {
    font-size: 18px;
    line-height: 28px;
    margin-top: 16px;
  }

  .page-woo-login .woo-order { margin-top: 96px; margin-bottom: 52px; }

  /* Decorative glows visible on desktop only */
  .page-woo-login .woo-glow {
    display: block;
    position: absolute;
    z-index: 0;
    pointer-events: none;
    user-select: none;
  }
  .page-woo-login .woo-glow--top {
    top: -184px;
    left: -8px;
    width: 1456px;
    height: 448px;
  }
  .page-woo-login .woo-glow--bottom {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    height: 98px;
  }
}
