/* Girlie Box funnel — builds on the site tokens in style.css (--pink, --purple, --ink, fonts…).
   Mobile-first: everything below is the phone layout; wider screens only add columns. */

.gb { background: var(--cream); }
.gb-narrow { max-width: 640px; }
.gb-center { text-align: center; margin-top: 28px; }

/* Header: logo only — the funnel keeps people on the offer. */
.gb-header { display: flex; justify-content: center; padding: 12px 16px 0; }
.gb-header__logo img { height: 56px; width: auto; } /* was 44px: +27% on phones, 64px (+45%) from 900px up */

.gb-main { padding-bottom: 8px; }
.gb-section { padding: 36px 0; }
.gb-section--tint { background: var(--purple-tint); }
.gb-heading { text-align: center; font-size: 1.5rem; margin: 0 0 20px; }
.gb-message { text-align: center; padding: 64px 0; }

/* Hero */
.gb-hero { padding: 8px 0 32px; text-align: center; background: linear-gradient(180deg, var(--pink-tint), var(--cream)); }
.gb-main h1 { text-align: center; }
.gb-free-word { color: var(--pink); white-space: nowrap; }
.gb-eyebrow { display: block; max-width: none; text-align: center; margin: 0 auto 6px; font-family: var(--font-display); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.8rem; color: var(--pink); }
.gb-hero h1 { font-size: 2rem; line-height: 1.12; margin: 0 0 12px; }
.gb-hero__lead { margin: 0 auto 14px; font-size: 1.05rem; }
.gb-price { margin: 0 0 18px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.gb-price__now { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; color: var(--ink); line-height: 1; }
.gb-price__was { font-size: 0.9rem; }
.gb-cta { width: 100%; max-width: 420px; text-align: center; justify-content: center; }

/* Trust row */
.gb-trust { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; text-align: left; font-size: 0.85rem; font-weight: 600; }
.gb-trust li { display: flex; align-items: center; gap: 6px; }
.gb-trust__icon { width: 18px; height: 18px; color: var(--teal); }

/* Showcase */
.gb-showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gb-showcase__item { margin: 0; text-align: center; }
.gb-showcase__item img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: var(--white); border-radius: 14px; box-shadow: var(--shadow-soft); }
.gb-showcase__item figcaption { margin-top: 6px; font-size: 0.78rem; font-weight: 700; color: var(--ink); line-height: 1.25; }

/* The free design */
.gb-free { display: flex; align-items: center; gap: 14px; margin: 28px auto 0; max-width: 520px; padding: 14px; background: var(--gold-tint); border-radius: var(--radius); }
.gb-free img { width: 96px; height: 96px; object-fit: contain; background: var(--white); border-radius: 16px; flex-shrink: 0; }
.gb-free h3 { margin: 0 0 4px; font-size: 1.15rem; }
.gb-free p { margin: 0; font-size: 0.92rem; }
.gb-free__tag { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.72rem; color: var(--pink); margin-bottom: 2px !important; }

/* Steps + FAQ */
.gb-steps { margin: 0; padding-left: 22px; display: grid; gap: 10px; font-size: 1.02rem; }
.gb-faq { background: var(--white); border-radius: 14px; padding: 12px 16px; margin-bottom: 10px; box-shadow: var(--shadow-soft); }
.gb-faq summary { cursor: pointer; font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.gb-faq p { margin: 8px 0 0; }

/* Builder */
.gb-builder-head { padding: 18px 0 8px; text-align: center; }
.gb-builder-head h1 { font-size: 1.7rem; margin: 6px 0 8px; }
.gb-builder-head p { margin: 0 auto; }
.gb-back { font-weight: 700; color: var(--purple); text-decoration: none; }
.gb-error { margin: 12px 0 0; padding: 10px 14px; border-radius: 12px; background: #FDE7E4; color: #A02A1C; font-weight: 700; }
.gb-note { margin: 0 0 14px; padding: 10px 14px; border-radius: 12px; background: var(--sky-tint); color: var(--ink); font-weight: 600; }

.gb-filters { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0 14px; -webkit-overflow-scrolling: touch; }
.gb-filter { flex: 0 0 auto; border: 2px solid var(--purple-tint); background: var(--white); color: var(--ink); border-radius: 999px; padding: 7px 14px; font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; cursor: pointer; }
.gb-filter.is-active { background: var(--purple); border-color: var(--purple); color: var(--white); }

.gb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding-bottom: 110px; }
.gb-card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 6px 6px 8px; background: var(--white); border: 3px solid transparent; border-radius: 14px; box-shadow: var(--shadow-soft); font: inherit; text-align: center; cursor: pointer; color: var(--ink); }
.gb-card[hidden] { display: none; }
.gb-card.is-selected { border-color: var(--pink); }
.gb-card.is-nudge { animation: gb-nudge 0.35s; }
.gb-card__image { position: relative; display: block; aspect-ratio: 1 / 1; }
.gb-card__image img { width: 100%; height: 100%; object-fit: contain; }
.gb-card__placeholder { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 0.7rem; color: var(--ink-soft); }
.gb-card__tick { position: absolute; top: 2px; right: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--pink); color: var(--white); display: none; align-items: center; justify-content: center; }
.gb-card__tick .icon { width: 15px; height: 15px; stroke-width: 3; }
.gb-card.is-selected .gb-card__tick { display: flex; }
.gb-card__name { font-family: var(--font-display); font-weight: 700; font-size: 0.78rem; line-height: 1.2; }
.gb-card__fit { font-size: 0.66rem; color: var(--ink-soft); line-height: 1.2; }
@keyframes gb-nudge { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

/* Sticky progress bar */
.gb-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--white); border-top: 3px solid var(--purple-tint); padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 18px rgba(34, 33, 75, 0.08); }
.gb-bar--ready { border-top-color: var(--teal); }
.gb-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gb-bar__text { font-family: var(--font-display); font-weight: 700; color: var(--ink); line-height: 1.2; }
.gb-bar__hint { display: block; font-family: var(--font-body); font-weight: 600; font-size: 0.78rem; color: var(--ink-soft); }
.gb-bar--ready .gb-bar__hint { color: var(--teal); }
.gb-bar .btn[disabled] { opacity: 0.45; cursor: not-allowed; box-shadow: none; transform: none; }

/* Review / thank-you */
.gb-review { list-style: none; margin: 16px 0 8px; padding: 0; display: grid; gap: 8px; }
.gb-review li { display: flex; align-items: center; gap: 12px; padding: 8px 12px; background: var(--white); border-radius: 14px; box-shadow: var(--shadow-soft); font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.gb-review img, .gb-review__noimg { width: 52px; height: 52px; border-radius: 10px; object-fit: contain; background: var(--purple-tint); flex-shrink: 0; }
.gb-review__free { background: var(--gold-tint) !important; }
.gb-badge { font-style: normal; font-family: var(--font-body); font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; background: var(--pink); color: var(--white); border-radius: 999px; padding: 2px 8px; margin-left: 4px; white-space: nowrap; }
.gb-totals { margin: 18px 0; padding: 14px 16px; background: var(--white); border-radius: 16px; box-shadow: var(--shadow-soft); }
.gb-totals div { display: flex; justify-content: space-between; padding: 4px 0; color: var(--ink); }
.gb-totals dt, .gb-totals dd { margin: 0; }
.gb-totals__total { border-top: 2px solid var(--purple-tint); margin-top: 6px; padding-top: 8px !important; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; }
.gb-secure { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 0.85rem; margin: 12px 0 0; }
.gb-total-line { font-family: var(--font-display); font-weight: 700; color: var(--ink); }

/* Footer */
.gb-footer { padding: 24px 0 28px; text-align: center; font-size: 0.85rem; }
.gb-footer a { color: var(--ink-soft); }
.gb-footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; }
.gb-footer .wrap { text-align: center; }
.gb-footer__legal { margin: 8px auto 0; text-align: center; }

/* The free gift is never named or shown sharp before it arrives: the picture is a tiny (24px-wide)
   copy of the real design, scaled up and heavily blurred, so only its colours come through. */
.gb-main .gb-mystery { display: block; position: relative; overflow: hidden; flex-shrink: 0; border-radius: 16px; background: var(--purple-tint); }
.gb-main .gb-mystery img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; background: none; filter: blur(7px); transform: scale(1.3); }
.gb-main .gb-mystery--lg { width: 96px; height: 96px; }
.gb-main .gb-mystery--sm { width: 52px; height: 52px; border-radius: 10px; }
.gb-main .gb-mystery--sm img { filter: blur(4px); }

@media (min-width: 600px) {
  .gb-hero h1 { font-size: 2.6rem; }
  .gb-showcase { grid-template-columns: repeat(4, 1fr); }
  .gb-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .gb-card__name { font-size: 0.9rem; }
  .gb-trust { grid-template-columns: repeat(4, auto); justify-content: center; }
}
@media (min-width: 900px) {
  .gb-header__logo img { height: 64px; }
  .gb-grid { grid-template-columns: repeat(5, 1fr); }
  .gb-cta { width: auto; min-width: 320px; }
}
@media (prefers-reduced-motion: reduce) { .gb-card.is-nudge { animation: none; } }
@media (min-width: 900px) {
  .gb-showcase { grid-template-columns: repeat(6, 1fr); }
}

/* Upsell 1 offer page */
.gb-timer { margin: 10px 0 0; font-weight: 700; color: var(--ink); }
.gb-timer strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--pink); font-variant-numeric: tabular-nums; }
.gb-boxsummary { display: inline-flex; align-items: center; gap: 10px; margin: 14px auto 0; padding: 8px 14px; background: var(--gold-tint); border-radius: 14px; font-weight: 600; color: var(--ink); text-align: left; }
.gb-decline { margin: 12px 0 0; text-align: center; }
.gb-linkbtn { background: none; border: 0; padding: 6px 4px; font: inherit; font-weight: 700; color: var(--ink-soft); text-decoration: underline; cursor: pointer; }
.gb-linkbtn:hover { color: var(--ink); }
