/* ==========================================================
   FIFA World Cup 2026™ Official Jerseys Store
   Editorial · Premium · Professional
   Palette: Midnight navy + warm cream + signature gold
   Rhythm: Sophisticated alternation, NOT black/white flip
   ========================================================== */

:root {
  /* Deep midnight (NOT pure black) */
  --ink-deep: #0a1020;
  --ink: #111a2e;
  --ink-soft: #1a2540;
  --ink-line: #2a3654;

  /* Warm cream paper (NOT pure white) */
  --cream: #f6f1e6;
  --cream-2: #ede5d1;
  --cream-line: #d8cdb3;

  /* Signature gold (FIFA WC26 brand) */
  --gold: #c9a45a;
  --gold-light: #e6c887;
  --gold-deep: #8a6e34;

  /* Sparingly used accents */
  --pitch: #1c8a4a;
  --pitch-deep: #0e5a2e;

  --text-on-dark: #f6f1e6;
  --text-on-dark-mute: #98a2bb;
  --text-on-cream: #1a2540;
  --text-on-cream-mute: #6e7896;

  --f-display: 'Bebas Neue', Impact, sans-serif;
  --f-heading: 'Oswald', sans-serif;
  --f-body: 'Rajdhani', sans-serif;

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--f-body);
  color: var(--text-on-dark);
  background: var(--ink-deep);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
a { text-decoration: none; color: inherit; }
.icon { width: 1em; height: 1em; stroke: currentColor; stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ============ TOP BANNER ============ */
.top-banner {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 9px 16px;
  background: var(--ink-deep);
  border-bottom: 1px solid var(--ink-line);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--f-heading);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-light);
}

.top-banner .icon { width: 13px; height: 13px; color: var(--gold); }

/* ============ HEADER (centered brand only) ============ */
.header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 18px 18px;
  background: var(--ink);
  border-bottom: 1px solid var(--ink-line);
  position: relative;
}

.header::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -1px;
  transform: translateX(-50%);
  width: 64px;
  height: 2px;
  background: var(--gold);
}

.header__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  line-height: 1;
  text-decoration: none;
}

.header__brand-mark {
  font-family: var(--f-display);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -1px;
  color: var(--gold);
  line-height: 0.85;
}

.header__brand-text {
  font-family: var(--f-heading);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 2.4px;
  color: var(--text-on-dark);
  text-transform: uppercase;
  white-space: nowrap;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 56px 24px 48px;
  background:
    radial-gradient(ellipse 70% 100% at 50% 100%, rgba(201,164,90,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(28,138,74,0.08) 0%, transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-deep) 100%);
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 80px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 80px);
  pointer-events: none;
}

.hero__mark {
  position: absolute;
  top: 18px; right: 24px;
  font-family: var(--f-display);
  font-size: 110px;
  line-height: 0.85;
  letter-spacing: -8px;
  color: rgba(201,164,90,0.06);
  pointer-events: none;
  user-select: none;
}

.hero__eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-heading);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero__eyebrow::before, .hero__eyebrow::after {
  content: '';
  width: 24px; height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

.hero__title {
  position: relative;
  font-family: var(--f-display);
  font-size: clamp(46px, 14vw, 68px);
  line-height: 0.92;
  letter-spacing: 1px;
  color: var(--cream);
  margin-bottom: 14px;
}

.hero__title .gold { color: var(--gold); }

.hero__rule {
  width: 40px; height: 2px;
  background: var(--gold);
  margin: 18px auto;
}

.hero__sub {
  position: relative;
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-on-dark-mute);
  letter-spacing: 0.5px;
  max-width: 320px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ============ STATS BAR (cream — official program facts) ============ */
.stats {
  background: var(--cream);
  color: var(--text-on-cream);
  padding: 28px 18px 30px;
  position: relative;
}

.stats::before, .stats::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-deep) 0%, var(--gold) 50%, var(--gold-deep) 100%);
}
.stats::before { top: 0; }
.stats::after { bottom: 0; }

/* Ceremonial program title above stats */
.stats__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 22px;
}
.stats__rule {
  flex: 1 1 auto;
  max-width: 36px;
  height: 1px;
  background: var(--gold-deep);
  opacity: 0.55;
}
.stats__title {
  flex: 0 0 auto;
  font-family: var(--f-heading);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gold-deep);
  white-space: nowrap;
  text-align: center;
}

/* Three-column stat grid */
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  position: relative;
  padding: 0 4px;
}

.stat + .stat::before {
  content: '';
  position: absolute;
  left: 0; top: 12%;
  width: 1px;
  height: 76%;
  background: var(--cream-line);
}

.stat__num {
  font-family: var(--f-display);
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.5px;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
}

.stat__pct {
  font-size: 0.5em;
  margin-left: 1px;
  letter-spacing: -1px;
  font-weight: 400;
}

.stat--accent .stat__num {
  color: var(--gold-deep);
}

.stat__bar {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  opacity: 0.4;
  margin: 12px 0 10px;
}

.stat--accent .stat__bar {
  background: var(--gold-deep);
  opacity: 1;
}

.stat__label {
  font-family: var(--f-heading);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 1.6px;
  color: var(--text-on-cream);
  text-transform: uppercase;
  line-height: 1.4;
  max-width: 110px;
}

/* ============ TEAMS FILTER ============ */
.teams {
  background: var(--ink);
  padding: 18px 0 20px;
  border-bottom: 1px solid var(--ink-line);
}

.teams__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  margin-bottom: 14px;
}

.teams__title {
  font-family: var(--f-heading);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
}

.teams__hint {
  font-family: var(--f-body);
  font-size: 10px;
  color: var(--text-on-dark-mute);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.teams__hint .icon { width: 12px; height: 12px; }

.teams__scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 18px 4px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.teams__scroll::-webkit-scrollbar { display: none; }

.team {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 9px;
  background: transparent;
  border: 1px solid var(--ink-line);
  border-radius: 100px;
  scroll-snap-align: start;
  transition: border-color 0.25s, background 0.25s;
  white-space: nowrap;
}

.team:active { transform: scale(0.97); }

.team.is-active {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(201,164,90,0.12), rgba(201,164,90,0.03));
}

.team__flag {
  flex-shrink: 0;
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.team__flag--all {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink-deep);
}
.team__flag--all .icon {
  width: 12px; height: 12px;
  stroke: var(--ink-deep);
  stroke-width: 2.5;
}

.team__name {
  font-family: var(--f-heading);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: var(--text-on-dark-mute);
  text-transform: uppercase;
  transition: color 0.25s;
}

.team.is-active .team__name { color: var(--gold-light); }

/* ============ PRODUCTS ============ */
.products {
  background: var(--ink-deep);
  padding: 32px 14px 36px;
  position: relative;
}

.products__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 4px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--ink-line);
  padding-bottom: 14px;
}

.products__title {
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--cream);
}

.products__count {
  font-family: var(--f-heading);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: var(--text-on-dark-mute);
  text-transform: uppercase;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.products__empty {
  font-family: var(--f-heading);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--text-on-dark-mute);
  text-transform: uppercase;
  text-align: center;
  padding: 36px 16px;
  border: 1px dashed var(--ink-line);
  border-radius: var(--r-md);
}

.product {
  position: relative;
  background: var(--ink);
  border: 1px solid var(--ink-line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.3s, box-shadow 0.3s, opacity 0.3s;
  display: flex;
  flex-direction: column;
  transform-origin: center;
  animation: product-in 0.4s cubic-bezier(.4,1.2,.5,1) both;
}

.product.is-hidden {
  display: none !important;
}

@keyframes product-in {
  from { opacity: 0; transform: scale(0.94) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.product:active { transform: scale(0.98); }

@media (hover: hover) {
  .product:hover {
    transform: translateY(-3px);
    border-color: var(--gold-deep);
    box-shadow: 0 18px 32px rgba(0,0,0,0.45);
  }
}

.product__badge {
  position: absolute;
  top: 10px; left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px 4px 6px;
  background: var(--gold);
  color: var(--ink-deep);
  font-family: var(--f-heading);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 2px;
  z-index: 2;
}
.product__badge .icon { width: 10px; height: 10px; stroke-width: 2; }

.product__image {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  position: relative;
  background:
    radial-gradient(ellipse 60% 60% at 50% 50%, rgba(201,164,90,0.06) 0%, transparent 70%),
    linear-gradient(180deg, var(--ink-soft) 0%, var(--ink) 100%);
  overflow: hidden;
}

.product__image::before {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  width: 60%;
  height: 12px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.4) 0%, transparent 70%);
  transform: translateX(-50%);
  filter: blur(4px);
}

.product__image img {
  width: 92%;
  height: 92%;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.5));
  transition: transform 0.4s ease;
  position: relative;
  z-index: 1;
}

@media (hover: hover) {
  .product:hover .product__image img { transform: scale(1.05); }
}

.product__info {
  padding: 12px 14px 14px;
  border-top: 1px solid var(--ink-line);
}

.product__team {
  font-family: var(--f-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--cream);
  text-transform: uppercase;
}

.product__type {
  font-family: var(--f-body);
  font-size: 10px;
  font-weight: 400;
  color: var(--text-on-dark-mute);
  letter-spacing: 0.5px;
  margin-top: 1px;
}

.product__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.product__price {
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--gold-light);
}

.product__buy {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px 6px 12px;
  background: var(--cream);
  color: var(--ink-deep);
  font-family: var(--f-heading);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border-radius: 100px;
  transition: background 0.2s, transform 0.15s;
}

.product__buy:active { transform: scale(0.95); }
.product__buy .icon { width: 11px; height: 11px; stroke-width: 2; }

@media (hover: hover) {
  .product__buy:hover { background: var(--gold); }
}

.product__verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--ink-line);
  font-family: var(--f-heading);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--text-on-dark-mute);
  text-transform: uppercase;
}

.product__verified .icon {
  width: 12px; height: 12px;
  color: var(--pitch);
  stroke-width: 2;
}

/* ============ GUARANTEE (cream — major rhythm shift) ============ */
.guarantee {
  background: var(--cream);
  color: var(--text-on-cream);
  padding: 40px 20px;
  position: relative;
}

.guarantee::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.guarantee__head {
  text-align: center;
  margin-bottom: 28px;
}

.guarantee__seal {
  width: 64px; height: 64px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-radius: 50%;
  position: relative;
  box-shadow: 0 6px 18px rgba(138,110,52,0.28);
}

.guarantee__seal::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 50%;
}

.guarantee__seal .icon {
  width: 28px; height: 28px;
  color: var(--ink-deep);
  stroke-width: 1.8;
}

.guarantee__title {
  font-family: var(--f-display);
  font-size: 26px;
  letter-spacing: 1px;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 8px;
}

.guarantee__sub {
  font-family: var(--f-body);
  font-size: 13px;
  color: var(--text-on-cream-mute);
  line-height: 1.5;
  max-width: 320px;
  margin: 0 auto;
}

.guarantee__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--cream-line);
  border: 1px solid var(--cream-line);
}

.guarantee__item {
  background: var(--cream);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.guarantee__item .icon {
  width: 22px; height: 22px;
  color: var(--gold-deep);
  stroke-width: 1.5;
}

.guarantee__item-title {
  font-family: var(--f-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  color: var(--ink);
  text-transform: uppercase;
}

.guarantee__item-desc {
  font-family: var(--f-body);
  font-size: 11px;
  color: var(--text-on-cream-mute);
  line-height: 1.4;
}

/* ============ REVIEWS BAR ============ */
.reviews {
  background: var(--ink);
  padding: 28px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--ink-line);
}

.reviews__score {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  padding-right: 18px;
  border-right: 1px solid var(--ink-line);
}

.reviews__num {
  font-family: var(--f-display);
  font-size: 36px;
  letter-spacing: 0;
  line-height: 1;
  color: var(--gold);
}

.reviews__stars {
  display: flex;
  gap: 1px;
  margin-top: 4px;
}

.reviews__stars .icon {
  width: 11px; height: 11px;
  color: var(--gold);
  fill: var(--gold);
  stroke: var(--gold);
  stroke-width: 1;
}

.reviews__txt {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.reviews__count {
  font-family: var(--f-heading);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: var(--text-on-dark-mute);
  text-transform: uppercase;
}

.reviews__quote {
  font-family: var(--f-body);
  font-size: 12.5px;
  font-style: italic;
  color: var(--cream);
  line-height: 1.4;
}

.reviews__quote::before { content: '"'; color: var(--gold); }
.reviews__quote::after { content: '"'; color: var(--gold); }

/* ============ LIVE BAR ============ */
.live {
  background: var(--ink-deep);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--ink-line);
}

.live__dot {
  width: 7px; height: 7px;
  background: var(--pitch);
  border-radius: 50%;
  animation: live-blink 1.5s ease-in-out infinite;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(28,138,74,0.6);
}

@keyframes live-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.live__text {
  font-family: var(--f-body);
  font-size: 11.5px;
  color: var(--text-on-dark-mute);
  letter-spacing: 0.3px;
  line-height: 1.3;
}

.live__text strong {
  color: var(--cream);
  font-weight: 600;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--ink-deep);
  padding: 28px 20px 24px;
  text-align: center;
  border-top: 1px solid var(--ink-line);
}

.footer__brand {
  font-family: var(--f-display);
  font-size: 22px;
  letter-spacing: 0;
  color: var(--gold);
  margin-bottom: 4px;
}

.footer__tag {
  font-family: var(--f-heading);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 2.5px;
  color: var(--text-on-dark-mute);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer__pay {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 16px;
}

.footer__pay-item {
  font-family: var(--f-heading);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.2px;
  color: var(--text-on-dark-mute);
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid var(--ink-line);
  border-radius: 4px;
}

.footer__legal {
  font-family: var(--f-body);
  font-size: 10px;
  color: var(--text-on-dark-mute);
  letter-spacing: 0.3px;
  opacity: 0.8;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 370px) {
  .hero__title { font-size: 40px; }
  .product__team { font-size: 12px; }
  .product__price { font-size: 18px; }
  .product__buy { font-size: 9px; padding: 5px 9px 5px 11px; }
  .stat__num { font-size: 32px; }
  .stat__bar { width: 14px; margin: 10px 0 8px; }
  .stat__label { font-size: 8.5px; letter-spacing: 1.3px; }
  .stats__title { font-size: 8px; letter-spacing: 1.4px; }
}

@media (min-width: 540px) {
  body { background: #050810; padding-top: 24px; padding-bottom: 24px; }
  .page-wrap {
    max-width: 460px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 50px 100px rgba(0,0,0,0.7);
  }
  .top-banner { border-radius: 0; }
}

@media (min-width: 768px) {
  .products__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

/* === USA host badge on first product card === */
.product__host {
  position: absolute;
  top: 10px; right: 10px;
  background: linear-gradient(135deg, #b22234, #3c3b6e);
  color: #fff;
  font-family: var(--f-heading);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 8px;
  border-radius: 2px;
  z-index: 2;
  text-transform: uppercase;
}

/* === Charity breakdown bar (homepage) === */
.charity {
  background: var(--ink);
  padding: 22px 18px;
  border-bottom: 1px solid var(--ink-line);
}
.charity__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.charity__icon {
  width: 16px; height: 16px;
  color: var(--gold);
  fill: var(--gold);
}
.charity__title {
  font-family: var(--f-heading);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
}
.charity__bar {
  position: relative;
  height: 6px;
  background: var(--ink-line);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 14px;
}
.charity__bar-fill {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
}
.charity__legend {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.charity__legend li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-body);
  font-size: 12px;
  color: var(--text-on-dark);
}
.charity__legend .dot {
  width: 8px; height: 8px;
  border-radius: 2px;
  flex-shrink: 0;
}
.charity__legend b {
  font-family: var(--f-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-light);
  min-width: 48px;
}
.charity__legend em {
  font-style: normal;
  font-family: var(--f-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--cream);
}
.charity__note {
  font-size: 10px;
  color: var(--text-on-dark-mute);
  margin-left: auto;
  text-align: right;
}

/* === How It Works === */
.howit {
  background: var(--cream);
  color: var(--text-on-cream);
  padding: 36px 20px 32px;
  position: relative;
}
.howit::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.howit__title {
  font-family: var(--f-display);
  font-size: 26px;
  letter-spacing: 1px;
  color: var(--ink);
  text-align: center;
  margin-bottom: 24px;
}
.howit__steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.howit__step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.howit__step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink-deep);
  font-family: var(--f-display);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(138,110,52,0.3);
}
.howit__step-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.howit__step-text strong {
  font-family: var(--f-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--ink);
  text-transform: uppercase;
}
.howit__step-text span {
  font-family: var(--f-body);
  font-size: 12px;
  color: var(--text-on-cream-mute);
  line-height: 1.5;
}

/* ============================================================ */
/* ===========  DETAIL VIEW (claim page)  ===================== */
/* ============================================================ */

/* Make [hidden] truly hide views (overrides any later display rules) */
.view[hidden] { display: none !important; }

.view--list { display: block; }
.view--detail { display: block; }

/* Belt-and-suspenders: ensure detail-only sticky CTA never leaks onto list */
body:not(.is-detail) .view--detail,
body:not(.is-detail) .detail-cta {
  display: none !important;
}

body.is-detail { background: var(--ink-deep); }

.detail-head {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: rgba(10,16,32,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ink-line);
}

.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px 6px 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--ink-line);
  border-radius: 100px;
  font-family: var(--f-heading);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--cream);
  text-transform: uppercase;
  transition: background 0.2s;
}
.detail-back:active { background: rgba(255,255,255,0.08); }
.detail-back .icon { width: 13px; height: 13px; stroke-width: 2; }

.detail-head__brand {
  font-family: var(--f-display);
  font-size: 18px;
  letter-spacing: -0.5px;
  color: var(--gold);
}
.detail-head__spacer { width: 64px; }

/* === Detail Hero === */
.detail-hero {
  position: relative;
  padding: 24px 20px 20px;
  background:
    radial-gradient(ellipse 90% 70% at 50% 50%, rgba(201,164,90,0.08) 0%, transparent 70%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-deep) 100%);
  text-align: center;
}

.detail-hero__flag-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.detail-hero__flag {
  font-size: 44px;
  line-height: 1;
  display: inline-block;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4));
}

.detail-hero__name-block {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.detail-hero__name {
  font-family: var(--f-display);
  font-size: 34px;
  letter-spacing: 1.5px;
  color: var(--cream);
  line-height: 0.95;
}

.detail-hero__nick {
  font-family: var(--f-heading);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
}

.detail-hero__tagline {
  font-family: var(--f-display);
  font-size: 20px;
  letter-spacing: 1px;
  color: var(--gold-light);
  margin: 12px 0 22px;
  font-style: italic;
  position: relative;
  display: inline-block;
}

.detail-hero__tagline::before,
.detail-hero__tagline::after {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 30px;
  height: 1px;
  background: var(--gold);
  margin: 0 14px;
  opacity: 0.5;
}

.detail-hero__image-wrap {
  position: relative;
  margin: 0 -10px;
  padding: 8px;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(201,164,90,0.12) 0%, transparent 70%);
  border-radius: var(--r-lg);
}

.detail-hero__image {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 32px rgba(0,0,0,0.6));
  animation: detail-float 4s ease-in-out infinite;
}

@keyframes detail-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.detail-hero__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px 5px 8px;
  background: var(--gold);
  color: var(--ink-deep);
  font-family: var(--f-heading);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 2px;
  text-transform: uppercase;
}
.detail-hero__badge .icon { width: 11px; height: 11px; stroke-width: 2.5; }

/* === Detail Story === */
.detail-story {
  background: var(--cream);
  color: var(--text-on-cream);
  padding: 28px 22px;
  position: relative;
}
.detail-story::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.detail-story__eyebrow {
  display: block;
  font-family: var(--f-heading);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--gold-deep);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.detail-story__text {
  font-family: var(--f-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
}

/* === Why Authentic === */
.detail-auth {
  background: var(--ink);
  padding: 26px 20px;
  border-bottom: 1px solid var(--ink-line);
}
.detail-auth__title {
  font-family: var(--f-heading);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 18px;
  text-align: center;
}
.detail-auth__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.detail-auth__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--ink-line);
  border-radius: var(--r-md);
}
.detail-auth__list .icon {
  width: 22px; height: 22px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.detail-auth__list strong {
  display: block;
  font-family: var(--f-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--cream);
  margin-bottom: 2px;
}
.detail-auth__list span {
  font-family: var(--f-body);
  font-size: 11.5px;
  color: var(--text-on-dark-mute);
  line-height: 1.4;
}

/* === Size Selector === */
.detail-size {
  background: var(--ink-deep);
  padding: 26px 20px 22px;
  border-bottom: 1px solid var(--ink-line);
}
.detail-size__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}
.detail-size__title {
  font-family: var(--f-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--cream);
  text-transform: uppercase;
}
.detail-size__guide {
  font-family: var(--f-heading);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-transform: uppercase;
}
.detail-size__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin-bottom: 10px;
}
.size-pill {
  padding: 12px 0;
  background: var(--ink);
  border: 1.5px solid var(--ink-line);
  border-radius: var(--r-sm);
  font-family: var(--f-heading);
  font-size: 12px;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.5px;
  transition: all 0.2s;
}
.size-pill:active { transform: scale(0.96); }
.size-pill.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink-deep);
  box-shadow: 0 4px 12px rgba(201,164,90,0.3);
}
.detail-size__hint {
  font-family: var(--f-body);
  font-size: 11px;
  color: var(--text-on-dark-mute);
  text-align: center;
  margin-top: 6px;
}

/* === One Per Person Notice === */
.detail-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 16px 0;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(201,164,90,0.1), rgba(201,164,90,0.02));
  border: 1px solid rgba(201,164,90,0.3);
  border-radius: var(--r-md);
  margin-top: 18px;
}
.detail-notice .icon {
  width: 22px; height: 22px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.detail-notice strong {
  display: block;
  font-family: var(--f-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-bottom: 3px;
}
.detail-notice span {
  font-family: var(--f-body);
  font-size: 11.5px;
  color: var(--text-on-dark-mute);
  line-height: 1.4;
}

/* === Detail Charity Breakdown === */
.detail-charity {
  background: var(--ink-deep);
  padding: 24px 20px 22px;
}
.detail-charity__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--ink-line);
}
.detail-charity__amt {
  font-family: var(--f-display);
  font-size: 32px;
  letter-spacing: 0;
  color: var(--gold);
  line-height: 1;
}
.detail-charity__lbl {
  font-family: var(--f-heading);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: var(--text-on-dark-mute);
  text-transform: uppercase;
}
.detail-charity__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}
.detail-charity__list li {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  align-items: center;
  gap: 10px;
}
.detail-charity__list .dot {
  width: 8px; height: 8px;
  border-radius: 2px;
}
.detail-charity__list .lbl {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.detail-charity__list strong {
  font-family: var(--f-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--cream);
}
.detail-charity__list em {
  font-style: normal;
  font-family: var(--f-body);
  font-size: 10.5px;
  color: var(--text-on-dark-mute);
}
.detail-charity__list .amt {
  font-family: var(--f-display);
  font-size: 16px;
  letter-spacing: 0;
  color: var(--gold-light);
}
.detail-charity__note {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: rgba(28,138,74,0.08);
  border: 1px solid rgba(28,138,74,0.25);
  border-radius: var(--r-sm);
  font-family: var(--f-body);
  font-size: 11px;
  color: var(--cream);
  line-height: 1.4;
}
.detail-charity__note .icon {
  width: 14px; height: 14px;
  color: var(--pitch);
  fill: var(--pitch);
  flex-shrink: 0;
}

/* === Detail Sticky CTA === */
.detail-cta {
  position: sticky;
  bottom: 0;
  z-index: 40;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, transparent 0%, var(--ink-deep) 30%);
}

.detail-cta__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-deep));
  color: var(--ink-deep);
  font-family: var(--f-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: var(--r-md);
  box-shadow: 0 12px 28px rgba(201,164,90,0.4);
  transition: transform 0.15s;
  position: relative;
  overflow: hidden;
}
.detail-cta__btn:active { transform: scale(0.98); }
.detail-cta__btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: cta-shine 3.5s ease-in-out infinite;
}
@keyframes cta-shine {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}
.detail-cta__btn > span:first-child {
  flex: 1;
  text-align: left;
}
.detail-cta__amt {
  font-family: var(--f-display);
  font-size: 18px;
  letter-spacing: 0;
}
.detail-cta__btn .icon {
  width: 16px; height: 16px;
  stroke-width: 2.5;
}
.detail-cta__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 8px;
  font-family: var(--f-body);
  font-size: 10px;
  color: var(--text-on-dark-mute);
}
.detail-cta__trust .icon {
  width: 11px; height: 11px;
  stroke-width: 2;
}

/* === Size Guide Modal === */
.size-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.size-modal[hidden] { display: none; }

.size-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5,8,16,0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fade-in 0.25s ease;
}

.size-modal__panel {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: var(--ink);
  border-top: 2px solid var(--gold);
  border-radius: 20px 20px 0 0;
  padding: 22px 22px calc(22px + env(safe-area-inset-bottom, 0px));
  animation: slide-up 0.3s cubic-bezier(.4,1.2,.5,1);
  max-height: 85vh;
  overflow-y: auto;
}

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes slide-up { from { transform: translateY(100%); } to { transform: translateY(0); } }

.size-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink-line);
}

.size-modal__head h3 {
  font-family: var(--f-display);
  font-size: 22px;
  letter-spacing: 1px;
  color: var(--cream);
}

.size-modal__close {
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}

.size-modal__intro {
  font-family: var(--f-body);
  font-size: 12px;
  color: var(--text-on-dark-mute);
  margin-bottom: 14px;
  line-height: 1.5;
}

.size-modal__table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--f-body);
  font-size: 12.5px;
}

.size-modal__table th {
  font-family: var(--f-heading);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--gold);
  text-transform: uppercase;
  text-align: left;
  padding: 10px 6px;
  border-bottom: 1px solid var(--ink-line);
}

.size-modal__table td {
  padding: 10px 6px;
  color: var(--cream);
  border-bottom: 1px solid var(--ink-line);
}

.size-modal__table td b {
  font-family: var(--f-heading);
  font-size: 13px;
  color: var(--gold-light);
  letter-spacing: 0.5px;
}

.size-modal__note {
  font-family: var(--f-body);
  font-size: 11.5px;
  font-style: italic;
  color: var(--text-on-dark-mute);
  margin-top: 14px;
  padding: 10px 12px;
  background: rgba(201,164,90,0.06);
  border: 1px solid rgba(201,164,90,0.15);
  border-radius: var(--r-sm);
  line-height: 1.4;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
