/* woo-payment-v2/index.css — page composition CSS. Mobile-first. */

/* ─── Molecules ────────────────────────────────────────────────────── */
@import url('../../_components/molecules/breadcrumb-row/breadcrumb-row.css');
@import url('../../_components/molecules/order-item/order-item.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/success-badge/success-badge.css');

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

.page-woo-payment-v2 [data-wins-counter] { display: none !important; }

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

/* Success badge region (Figma 1628:1582 y=184, centered) */
.page-woo-payment-v2 .woo-success-region {
  display: flex;
  justify-content: center;
  margin-top: 56px;
}

/* "Order Received" subtitle (Figma 1628:1559 y=304) */
.page-woo-payment-v2 .woo-subtitle {
  margin: 32px 0 0;
  text-align: center;
  font-family: 'Nationale', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgb(var(--color-text));
}

/* "Thank You" h1 (Figma 1628:1557 y=332) — GOTCHA #5: double space preserved in HTML */
.page-woo-payment-v2 .woo-hero__title {
  margin: 16px 0 0;
  text-align: center;
  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));
}

/* Description (Figma 1628:1558 y=380) */
.page-woo-payment-v2 .woo-hero__desc {
  margin: 8px auto 0;
  text-align: center;
  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));
  max-width: 768px;
}

/* Breadcrumb region (Figma 1628:1583 y=456) */
.page-woo-payment-v2 .woo-breadcrumb-region {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* Card chrome shared by Downloads + Bitcoin Payment Details cards (Figma 1628:1597 + 1628:1616) */
.page-woo-payment-v2 .woo-summary-card {
  width: 100%;
  max-width: 576px;
  margin: 24px auto 0;
  padding: 24px;
  background-color: rgb(var(--color-soft) / 0.5);
  border-radius: 12px;
  box-sizing: border-box;
}
.page-woo-payment-v2 .woo-summary-card:last-of-type {
  margin-bottom: 48px;
}

.page-woo-payment-v2 .woo-summary-card__title {
  font-family: 'Nationale', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.02em;
  color: rgb(var(--color-lead));
  margin: 0 0 24px;
}

/* Downloads card — list + unlock instruction strip */
.page-woo-payment-v2 .woo-downloads-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-woo-payment-v2 .woo-unlock-strip {
  margin-top: 24px;
  padding: 11px 16px;
  text-align: center;
  font-family: 'Nationale', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 24px;
  color: rgb(var(--color-subs));
  background-color: rgb(var(--color-mute));
  border: 1px solid rgb(var(--color-soft));
  border-radius: 8px;
}

/* Bitcoin Payment Details — 3-column grid (Figma 1628:1636: 3×160 + gap) */
.page-woo-payment-v2 .woo-btc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.page-woo-payment-v2 .woo-btc-cell__label {
  display: block;
  font-family: 'Nationale', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 24px;
  color: rgb(var(--color-text));
  margin: 0;
}
.page-woo-payment-v2 .woo-btc-cell__value {
  display: block;
  font-family: 'Nationale', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 32px;
  color: rgb(var(--color-lead));
  margin: 4px 0 0;
  word-break: break-all;
}

/* Mobile responsive: 3-col grid → 1-col stack */
@media (max-width: 767px) {
  .page-woo-payment-v2 .woo-btc-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

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

/* ─── Desktop ─────────────────────────────────────────────────────── */
@media (min-width: 1024px) {
  .page-woo-payment-v2 .woo-container { padding: 0 24px; }
  .page-woo-payment-v2 .woo-success-region { margin-top: 80px; }
  .page-woo-payment-v2 .woo-hero__title {
    font-size: 36px;
    line-height: 48px;
  }
  .page-woo-payment-v2 .woo-hero__desc {
    font-size: 18px;
    line-height: 28px;
    margin-top: 8px;
  }

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