/* woo-register/index.css — page composition CSS.
   Imports components + page-scoped overrides. Mobile-first. */

/* ─── 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/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 (per Wave 4a handoff) */
.page-woo-register [data-wins-counter] { display: none !important; }

.page-woo-register .woo-main {
  position: relative;
  overflow: hidden;
}
.page-woo-register .woo-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

.page-woo-register .woo-progress { margin-top: 32px; }

.page-woo-register .woo-hero {
  text-align: center;
  margin-top: 48px;
  margin-bottom: 40px;
}
.page-woo-register .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-register .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 */
.page-woo-register .woo-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}
.page-woo-register .woo-form form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}
.page-woo-register .woo-form .input-wrap-woo,
.page-woo-register .woo-form .btn-primary,
.page-woo-register .btn-existing {
  width: 100%;
  max-width: 384px;
}

/* Create-my-account button keeps spec gap 24 from password (form gap=16, +8 margin) */
.page-woo-register .btn-primary--create {
  margin-top: 8px;
}

/* "I already have an account" — line bg, subs text (page-inline secondary CTA) */
.page-woo-register .btn-existing {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 12px;
  border: 0;
  margin: 0;
  border-radius: 8px;
  background-color: rgb(var(--color-line));
  color: rgb(var(--color-subs));
  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-register .btn-existing:hover  { opacity: 0.92; }
.page-woo-register .btn-existing:active { opacity: 0.86; }

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

.page-woo-register .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-register .btn-proceed:hover  { opacity: 0.92; }
.page-woo-register .btn-proceed:active { opacity: 0.86; }

/* Decorative glows hidden on mobile */
.page-woo-register .woo-glow { display: none; }

/* ─── Desktop ─────────────────────────────────────────────────────── */
@media (min-width: 1024px) {
  .page-woo-register .woo-container { padding: 0 24px; }
  .page-woo-register .woo-progress { margin-top: 56px; }
  .page-woo-register .woo-hero {
    margin-top: 64px;
    margin-bottom: 48px;
  }
  .page-woo-register .woo-hero__title {
    font-size: 36px;
    line-height: 48px;
  }
  .page-woo-register .woo-hero__desc {
    font-size: 18px;
    line-height: 28px;
  }
  .page-woo-register .woo-order { margin-top: 96px; margin-bottom: 52px; }

  .page-woo-register .woo-glow {
    display: block;
    position: absolute;
    z-index: 0;
    pointer-events: none;
    user-select: none;
  }
  .page-woo-register .woo-glow--top {
    top: -184px;
    left: -8px;
    width: 1456px;
    height: 448px;
  }
  .page-woo-register .woo-glow--bottom {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    height: 98px;
  }
}
