/* =============================================================
   styles-fundraiser.css  —  Hearts to Hands CLT Fundraiser
   ONLY fundraiser-section-specific styles. Loaded AFTER styles-base.css.

   Anything visual that should look the same site-wide lives in
   /assets/css/styles-base.css instead of here.
   ============================================================= */

/* ─── Prize carousel (Swiper.js) — index.php only ─────────────
   The .prize-card has fixed 185px width via base CSS. Swiper's slide
   wrappers need to size to that content rather than impose their own width. */
.prize-swiper { width: 100%; padding: 4px 0 6px; overflow: hidden; }
.prize-swiper .swiper-wrapper { transition-timing-function: linear !important; }
.prize-swiper .swiper-slide { width: auto; height: auto; display: flex; }
.prize-swiper .swiper-slide > .prize-card { width: 185px; }


/* =============================================================
   Migrated from /assets/css/styles-base.css (Batch 1 cleanup).
   These selectors are used ONLY in /fundraiser/ pages
   (donation_success.php, raffle_success.php, winners.php, index.php).
   Moved here so base CSS holds only truly shared/site-wide styles.
   ============================================================= */

/* ═══════════════════════════════════════════════════════════════════
   Generic page patterns — promoted from fundraiser section CSS.
   These apply site-wide (portal volunteer, admin, fundraiser, main).
   Use these class names on any page that needs the same visual identity.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Generic patterns from donation_success.php ── */
.thank-hero {
      text-align: center; padding: 3rem 1.5rem 2.5rem;
      background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(110,231,183,.12), transparent),
                  radial-gradient(ellipse 50% 40% at 80% 100%, rgba(216,168,90,.08), transparent);
      border-radius: 20px; border: 1px solid rgba(255,255,255,.07);
      margin-bottom: 1.5rem;
    }
    .thank-icon {
      width: 72px; height: 72px; border-radius: 50%;
      background: rgba(110,231,183,.12); border: 2px solid rgba(110,231,183,.30);
      display: flex; align-items: center; justify-content: center;
      font-size: 2rem; margin: 0 auto 1.25rem;
      animation: popIn .5s cubic-bezier(.17,.67,.29,1.35) both;
    }
    .thank-title { font-family:'Bebas Neue',sans-serif; font-size:clamp(2rem,8vw,3.5rem); line-height:1; margin-bottom:.5rem; }
    .thank-amount {
      font-family:'Bebas Neue',sans-serif; font-size:clamp(3rem,10vw,5rem);
      line-height:1; color:#ffffff;
      animation: countUp .8s ease both .3s;
    }
    .thank-sub { color:rgba(233,238,247,.55); font-size:.92rem; max-width:420px; margin:.75rem auto 0; line-height:1.6; }
    .impact-card {
      background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.09);
      border-radius:14px; padding:1.25rem 1rem; text-align:center;
    }
    .impact-card-icon { font-size:1.6rem; margin-bottom:.5rem; }
    .impact-card-text { font-size:.8rem; color:rgba(233,238,247,.55); line-height:1.5; }
    .impact-card-text strong { color:rgba(233,238,247,.85); }

/* ── Generic patterns from winners.php ── */
/* ── Page hero ───────────────────────────────────────────── */
    .results-hero {
      text-align:center; padding:2.5rem 1.5rem 2rem;
      border-radius:20px; margin-bottom:1.5rem;
      background:radial-gradient(ellipse 70% 60% at 50% 0%,rgba(216,168,90,.14),transparent),
                 radial-gradient(ellipse 50% 40% at 80% 100%,rgba(31,166,222,.08),transparent);
      border:1px solid rgba(255,255,255,.07); position:relative; overflow:hidden;
    }
    .hero-label { font-size:.80rem; font-weight:700; letter-spacing:.16em; text-transform:uppercase;
      color:rgba(233,238,247,.45); margin-bottom:.5rem; }
    .hero-title { font-family:'Bebas Neue',sans-serif; font-size:clamp(2.4rem,8vw,4rem);
      line-height:1; color:var(--h2h-gold,#D8A85A); margin-bottom:.3rem; }
    /* ── My wins ─────────────────────────────────────────────── */
    .my-wins-section { margin-bottom:2rem; }
    .section-heading {
      display:flex; align-items:center; gap:.65rem; margin-bottom:.85rem;
    }
    .section-heading-text { font-size:.80rem; font-weight:800; letter-spacing:.12em;
      text-transform:uppercase; color:var(--h2h-gold,#D8A85A); white-space:nowrap; }
    .section-line { flex:1; height:1px; background:rgba(216,168,90,.18); }

    .win-card {
      background:linear-gradient(160deg,rgba(110,231,183,.10),rgba(110,231,183,.04));
      border:1.5px solid rgba(110,231,183,.45);
      border-radius:16px; overflow:hidden;
      box-shadow:0 0 0 1px rgba(110,231,183,.15), 0 8px 28px rgba(110,231,183,.10);
      margin-bottom:1rem;
    }
    .win-card-inner { display:flex; gap:1rem; padding:1rem; align-items:flex-start; }
    .win-photo { width:80px; height:80px; flex-shrink:0; border-radius:10px;
      background:rgba(255,255,255,.05); overflow:hidden;
      display:flex; align-items:center; justify-content:center;
      font-size:1.8rem; color:rgba(255,255,255,.15); }
    .win-photo img { width:100%; height:100%; object-fit:contain; padding:4px; box-sizing:border-box; }
    .win-info { flex:1; min-width:0; }
    .win-badge { display:inline-flex; align-items:center; gap:.3rem;
      font-size:.72rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase;
      color:rgba(110,231,183,.95); background:rgba(110,231,183,.12);
      border:1px solid rgba(110,231,183,.30); border-radius:99px;
      padding:2px 10px; margin-bottom:.4rem; }
    .win-title { font-size:1.05rem; font-weight:800; color:#e9eef7; line-height:1.25; margin-bottom:.2rem; }
    .win-loc { font-size:.78rem; color:rgba(31,166,222,.80); display:flex; align-items:center;
      gap:.25rem; margin-bottom:.75rem; }
    .win-loc i { font-size:.68rem; }

    /* Directions buttons */
    .dir-btns { display:flex; flex-wrap:wrap; gap:.5rem; }
    .dir-btn {
      display:inline-flex; align-items:center; gap:.4rem;
      padding:.42rem .85rem; border-radius:9px;
      font-size:.80rem; font-weight:700; text-decoration:none;
      border:1.5px solid transparent; transition:all .16s;
    }
    .dir-btn-copy   { background:rgba(255,255,255,.07); border-color:rgba(255,255,255,.18);
      color:rgba(233,238,247,.80); cursor:pointer; }
    .dir-btn-copy:hover   { background:rgba(255,255,255,.14); color:#fff; }
    .dir-btn-google { background:rgba(66,133,244,.14); border-color:rgba(66,133,244,.35);
      color:rgba(130,185,255,.95); }
    .dir-btn-google:hover { background:rgba(66,133,244,.26); border-color:rgba(66,133,244,.60); color:#fff; }
    .dir-btn-apple  { background:rgba(255,255,255,.07); border-color:rgba(255,255,255,.20);
      color:rgba(233,238,247,.90); }
    .dir-btn-apple:hover  { background:rgba(255,255,255,.14); border-color:rgba(255,255,255,.40); color:#fff; }

    /* ── All winners list ────────────────────────────────────── */
    .winners-section { margin-bottom:2rem; }
    .cat-label { font-size:.72rem; font-weight:700; letter-spacing:.13em; text-transform:uppercase;
      color:rgba(233,238,247,.38); margin:1rem 0 .4rem; }
    .winner-row {
      display:flex; align-items:center; gap:.75rem;
      padding:.65rem .85rem; border-radius:10px;
      background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.07);
      margin-bottom:.4rem; transition:background .15s;
    }
    .winner-row.is-mine {
      background:rgba(110,231,183,.06); border-color:rgba(110,231,183,.30);
    }
    .winner-row-photo { width:36px; height:36px; border-radius:6px; flex-shrink:0;
      background:rgba(255,255,255,.05); overflow:hidden;
      display:flex; align-items:center; justify-content:center;
      font-size:1rem; color:rgba(255,255,255,.15); }
    .winner-row-photo img { width:100%; height:100%; object-fit:contain; padding:2px; box-sizing:border-box; }
    .winner-row-title { flex:1; font-size:.88rem; font-weight:600; color:#d8e2f0; min-width:0; }
    .winner-row-name  { font-size:.80rem; font-weight:700; color:rgba(233,238,247,.60);
      white-space:nowrap; flex-shrink:0; }
    .winner-row.is-mine .winner-row-name { color:rgba(110,231,183,.90); }
    .winner-row-you { font-size:.68rem; font-weight:800; letter-spacing:.08em;
      color:rgba(110,231,183,.90); background:rgba(110,231,183,.12);
      border:1px solid rgba(110,231,183,.28); border-radius:99px;
      padding:1px 7px; margin-left:.4rem; flex-shrink:0; }
    .no-winner { color:rgba(233,238,247,.28); font-style:italic; font-size:.80rem; }

    /* ── Not closed yet ──────────────────────────────────────── */
    .not-closed { text-align:center; padding:3rem 1.5rem;
      border-radius:16px; border:1px dashed rgba(255,255,255,.12); }
    .not-closed i { font-size:2.5rem; color:rgba(233,238,247,.25); margin-bottom:.75rem; }
    .not-closed h3 { font-size:1.1rem; font-weight:700; color:rgba(233,238,247,.70); margin-bottom:.4rem; }
    .not-closed p  { font-size:.88rem; color:rgba(233,238,247,.40); margin:0; }

/* ── Generic patterns from index.php ── */
/* ── Hero ─────────────────────────────────────────────────── */
    .hero-wrap { position:relative; overflow:hidden; border-radius:20px; margin-bottom:2rem; background:#070b14; border:1px solid rgba(255,255,255,.08); }
    .hero-bg {
      position:absolute; inset:0; z-index:0;
      background: radial-gradient(ellipse 70% 60% at 15% 50%, rgba(206,17,38,.18), transparent),
                  radial-gradient(ellipse 60% 50% at 85% 30%, rgba(31,166,222,.16), transparent),
                  radial-gradient(ellipse 50% 70% at 50% 100%, rgba(216,168,90,.10), transparent),
                  linear-gradient(160deg, #070b14 0%, #0b1525 100%);
    }
    .hero-bg::after {
      content:''; position:absolute; inset:0;
      background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 80px),
                        repeating-linear-gradient(180deg, rgba(255,255,255,.025) 0 1px, transparent 1px 80px);
      animation: gridDrift 20s linear infinite;
    }
    @keyframes gridDrift { from{background-position:0 0} to{background-position:80px 80px} }
    .hero-inner { position:relative; z-index:1; padding:3.5rem 2rem 3rem; text-align:center; }
    .hero-eyebrow { display:inline-flex; align-items:center; gap:.4rem; font-size:.68rem; letter-spacing:.22em; text-transform:uppercase; font-weight:700; color:var(--h2h-gold,#D8A85A); background:rgba(216,168,90,.10); border:1px solid rgba(216,168,90,.22); border-radius:99px; padding:.3rem .9rem; margin-bottom:1.25rem; }
    .hero-wordmark { font-family:'Bebas Neue',sans-serif; font-size:clamp(3.2rem,8vw,6rem); letter-spacing:.02em; line-height:.95; margin-bottom:.6rem; white-space:nowrap; }
    .title-break { display:none; }
    @media (max-width:600px) {
      .hero-wordmark { white-space:normal; font-size:clamp(3.2rem,13vw,5rem); }
      .title-break   { display:block; }
    }
    .hero-wordmark .wh { color:#CE1126; }
    .hero-wordmark .wn { color:#1FA6DE; }
    .hero-wordmark .wt,
    .hero-wordmark .wc {
      font-family:'Barlow Condensed',sans-serif;
      font-weight:200;
      letter-spacing:.02em;
      text-transform:uppercase;
      vertical-align:baseline;
    }
    .hero-wordmark .wt { color:rgba(255,255,255,.75); }
    .hero-wordmark .wc { color:#ffffff; }
    .hero-tagline { font-size:1rem; color:rgba(233,238,247,.50); max-width:480px; margin:0 auto .9rem; line-height:1.5; }
    .hero-tagline strong { color:var(--h2h-gold,#D8A85A); }

    .sale-pill { display:inline-flex; align-items:center; gap:.4rem; padding:.35rem 1.1rem; border-radius:99px; font-size:.78rem; font-weight:600; margin-bottom:1.25rem; }
    .sale-pill-open   { background:rgba(110,231,183,.12); border:1px solid rgba(110,231,183,.30); color:rgba(110,231,183,.95); }
    .sale-pill-soon   { background:rgba(216,168,90,.10); border:1px solid rgba(216,168,90,.28); color:var(--h2h-gold,#D8A85A); }
    .sale-pill-closed { background:rgba(206,17,38,.10);    border:1px solid rgba(206,17,38,.28);    color:#CE1126; }
    .sale-pulse { width:7px; height:7px; border-radius:50%; background:currentColor; animation:pulse 1.5s infinite; }

    /* .cd-* (sale countdown timer) — moved to /fundraiser/assets/css/styles-fundraiser.css
       since the countdown only exists on /fundraiser/index.php. */

    .impact-strip { display:flex; align-items:center; justify-content:center; gap:2rem; flex-wrap:wrap; padding:1.1rem 1.5rem; background:rgba(255,255,255,.03); border-top:1px solid rgba(255,255,255,.07); }
    .impact-item  { display:flex; align-items:center; gap:.5rem; }
    .impact-text  { font-size:.87rem; color:rgba(233,238,247,.62); }
    .impact-text strong { color:rgba(233,238,247,.85); }

    /* ── Section chrome ───────────────────────────────────────── */
    .sec-chrome { display:flex; align-items:center; gap:.9rem; margin-bottom:1.5rem; }
    .sec-icon { width:36px; height:36px; border-radius:10px; flex-shrink:0; display:flex; align-items:center; justify-content:center; font-size:1rem; }
    .sec-icon-gold { background:rgba(216,168,90,.15); color:var(--h2h-gold,#D8A85A); border:1px solid rgba(216,168,90,.25); }
    .sec-icon-blue { background:rgba(31,166,222,.12); color:#1FA6DE; border:1px solid rgba(31,166,222,.22); }
    .sec-title { font-size:1.15rem; font-weight:800; color:#fff; }
    .sec-sub   { font-size:.88rem; color:rgba(233,238,247,.55); margin-top:.25rem; }


    /* ── Prize cards ──────────────────────────────────────────── */
    /* Fixed-width cards matching raffle_success.php */
    .prize-card {
      flex:0 0 185px; width:185px; max-width:185px; min-width:185px;
      scroll-snap-align:start; overflow:hidden;
      background:linear-gradient(175deg,rgba(30,40,62,.90),rgba(18,26,48,.95));
      border:1px solid rgba(255,255,255,.13); border-radius:12px;
      display:flex; flex-direction:column;
      box-shadow:0 4px 18px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06);
      transition:border-color .18s, box-shadow .18s, transform .18s;
      box-sizing:border-box;
    }
    .prize-card:hover {
      transform:translateY(-3px);
      border-color:rgba(216,168,90,.35);
      box-shadow:0 8px 28px rgba(0,0,0,.45), 0 0 0 1px rgba(216,168,90,.18);
    }

    /* Photo */
    .prize-photo-wrap { position:relative; flex-shrink:0; overflow:hidden; }
    /* Location strip */
    /* Card body */
    .prize-body { padding:.55rem .7rem 0; flex:1; display:flex; flex-direction:column; min-width:0; overflow:hidden; }
    .prize-name { font-size:.88rem; font-weight:700; color:#d8e2f0; line-height:1.25; margin-bottom:.18rem; word-break:break-word; overflow-wrap:break-word; }
    /* Card header matches raffle_success.php */
    /* Description + read more — matches raffle_success.php */
    .desc-toggle {
      margin-top:.35rem; padding:.2rem .6rem;
      background:rgba(216,168,90,.10); border:1px solid rgba(216,168,90,.25);
      border-radius:99px; font-size:.72rem; font-weight:600;
      color:var(--h2h-gold,#D8A85A); cursor:pointer;
      transition:background .15s; display:none;
      align-self:flex-start; width:auto;
      line-height:1; -webkit-appearance:none; appearance:none;
    }
    .desc-toggle:hover { background:rgba(216,168,90,.18); border-color:rgba(216,168,90,.45); }

    /* Entries line + footer */
    .prize-entries-line {
      display:flex; align-items:center; gap:.28rem;
      padding:.3rem .65rem .38rem;
      font-size:.75rem; font-weight:700; color:rgba(216,168,90,.82);
      white-space:nowrap; overflow:hidden;
      border-top:1px solid rgba(255,255,255,.07);
      margin-top:auto;
    }
    .prize-entries-line i { font-size:.70rem; }
    .prize-entries-line.none { color:rgba(233,238,247,.55); font-weight:500; }



/* ─── checkout.php ─────────────────────────────────────────── */
/* CSS variables --co-color and --co-rgb defined inline in checkout.php (PHP interpolation) */

/* ── Type header ─────────────────────────────────────────── */
    .co-type-header {
      background: linear-gradient(135deg, rgba(var(--co-rgb),.10), rgba(var(--co-rgb),.04));
      border: 1px solid rgba(var(--co-rgb),.22);
      border-radius: 16px; padding: 1.25rem 1.5rem;
      display: flex; align-items: center; gap: 1rem;
      margin-bottom: 1.75rem;
    }
    .co-type-icon {
      width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
      background: rgba(var(--co-rgb),.15); border: 1px solid rgba(var(--co-rgb),.30);
      display: flex; align-items: center; justify-content: center;
      font-size: 1.3rem; color: var(--co-color);
    }
    .co-type-name { font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem; line-height: 1; color: var(--co-color); }
    .co-type-sub  { font-size: .78rem; color: rgba(233,238,247,.45); margin-top: .2rem; }

    /* ── Layout ──────────────────────────────────────────────── */
    /* faq-collapse-btn styles come from styles-portal.css */

    .checkout-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 2rem; align-items: start; padding-bottom: 4rem; }
    @media (max-width: 767px) { .checkout-wrap { grid-template-columns: 1fr; } .checkout-sidebar { order: -1; } }

    /* ── Step indicator ──────────────────────────────────────── */
    .step-bar { display: flex; align-items: center; margin-bottom: 1.75rem; }
    .snode { display: flex; flex-direction: column; align-items: center; gap: .3rem; flex-shrink: 0; }
    .scircle {
      width: 36px; height: 36px; border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: .78rem; font-weight: 800;
      border: 2px solid rgba(255,255,255,.14); color: rgba(233,238,247,.30);
      background: rgba(255,255,255,.04); transition: all .3s;
    }
    .snode.active  .scircle { border-color: var(--co-color); color: var(--co-color); background: rgba(var(--co-rgb),.12); box-shadow: 0 0 18px rgba(var(--co-rgb),.18); }
    .snode.done    .scircle { border-color: rgba(110,231,183,.60); color: rgba(110,231,183,.90); background: rgba(110,231,183,.10); }
    .slabel { font-size: .6rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(233,238,247,.28); transition: color .3s; white-space: nowrap; }
    .snode.active .slabel { color: var(--co-color); }
    .snode.done   .slabel { color: rgba(110,231,183,.65); }
    .sline { flex: 1; height: 1px; background: rgba(255,255,255,.09); margin: 0 .5rem; position: relative; top: -10px; transition: background .3s; }
    .sline.done { background: rgba(110,231,183,.35); }

    /* ── Step panels ─────────────────────────────────────────── */
    .step-panel { display: none; }
    .step-panel.active { display: block; animation: sFwd .3s ease; }
    .step-panel.back   { display: block; animation: sBck .3s ease; }
    @keyframes sFwd { from{opacity:0;transform:translateX(20px)} to{opacity:1;transform:translateX(0)} }
    @keyframes sBck { from{opacity:0;transform:translateX(-20px)} to{opacity:1;transform:translateX(0)} }

    .step-heading { font-family: 'Bebas Neue', sans-serif; font-size: 1.75rem; color: #fff; margin-bottom: .2rem; line-height: 1; }
    .step-sub { font-size: .82rem; color: rgba(233,238,247,.45); margin-bottom: 1.5rem; }

    /* ── Tier options ────────────────────────────────────────── */
    .tier-opt {
      display: flex; align-items: center; justify-content: space-between;
      padding: .9rem 1.1rem; border-radius: 13px; cursor: pointer; margin-bottom: .6rem;
      border: 1.5px solid rgba(255,255,255,.10); background: rgba(255,255,255,.04);
      transition: border-color .15s, background .15s, box-shadow .15s;
    }
    .tier-opt:hover    { border-color: rgba(var(--co-rgb),.35); background: rgba(var(--co-rgb),.06); }
    .tier-opt.selected { border-color: var(--co-color); background: rgba(var(--co-rgb),.10); box-shadow: 0 0 24px rgba(var(--co-rgb),.08); }
    .tier-opt input    { display: none; }
    .tier-dot { width:18px; height:18px; border-radius:50%; border:2px solid rgba(255,255,255,.20); flex-shrink:0; display:flex; align-items:center; justify-content:center; transition:border-color .15s; }
    .tier-opt.selected .tier-dot { border-color: var(--co-color); }
    .tier-dot::after { content:''; width:8px; height:8px; border-radius:50%; background:var(--co-color); opacity:0; transform:scale(0); transition:all .15s; }
    .tier-opt.selected .tier-dot::after { opacity:1; transform:scale(1); }
    .tier-left { display:flex; align-items:center; gap:.75rem; }
    .tier-qty  { font-family:'Bebas Neue',sans-serif; font-size:1.4rem; line-height:1; color:var(--co-color); }
    .tier-desc { font-size:.76rem; color:rgba(233,238,247,.45); margin-top:.1rem; }
    .tier-right { text-align:right; }
    .tier-price { font-weight:800; font-size:1.05rem; color:#fff; }
    .tier-save  { font-size:.62rem; color:rgba(110,231,183,.80); margin-top:.15rem; }
    .tier-badges { display:flex; gap:.3rem; margin-top:.2rem; justify-content:flex-end; flex-wrap:wrap; }
    .tbadge { font-size:.6rem; font-weight:700; padding:1px 7px; border-radius:99px; }
    .tbadge-blue  { background:rgba(31,166,222,.12); border:1px solid rgba(31,166,222,.22); color:#1FA6DE; }
    .tbadge-green { background:rgba(110,231,183,.10); border:1px solid rgba(110,231,183,.22); color:rgba(110,231,183,.85); }

    /* ── Donation presets ────────────────────────────────────── */
    .don-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:.6rem; margin-bottom:1rem; }
    .don-btn  { padding:.75rem .5rem; border-radius:12px; cursor:pointer; text-align:center; font-size:.95rem; font-weight:800; border:1.5px solid rgba(255,255,255,.12); background:rgba(255,255,255,.04); color:rgba(233,238,247,.65); transition:all .15s; }
    .don-btn:hover    { border-color:rgba(31,166,222,.40); background:rgba(31,166,222,.07); color:#fff; }
    .don-btn.selected { border-color:#1FA6DE; background:rgba(31,166,222,.15); color:#fff; box-shadow:0 0 20px rgba(31,166,222,.12); }

    /* ── Info callout box ────────────────────────────────────── */
    .type-callout {
      border-radius: 12px; padding: 1rem 1.15rem; margin-bottom: 1.25rem;
      background: rgba(var(--co-rgb),.07); border: 1px solid rgba(var(--co-rgb),.18);
      font-size: .8rem; color: rgba(233,238,247,.65); line-height: 1.6;
    }
    .type-callout strong { color: var(--co-color); }

    /* ── Form ────────────────────────────────────────────────── */
    .form-floating>.form-control:focus,
    .form-floating>.form-control:not(:placeholder-shown) { border-top-color: transparent !important; }
    .form-control.is-invalid { border-color:rgba(206,17,38,.65)!important; background-image:none!important; }
    .invalid-feedback { color:rgba(206,17,38,.90); font-size:.75rem; }

    /* ── Buttons ─────────────────────────────────────────────── */
    /* Disabled state for action buttons */
    .faq-collapse-btn:disabled, .faq-collapse-btn[disabled] { opacity:.35; cursor:not-allowed; transform:none; box-shadow:none; }
    .btn-row { display:flex; justify-content:flex-end; margin-top:.75rem; }

    /* ── Sidebar ─────────────────────────────────────────────── */
    .checkout-sidebar { position: sticky; top: 1.5rem; }
    .summary-card { background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.08); border-radius:18px; overflow:hidden; }
    .summary-head {
      padding: 1.25rem 1.4rem;
      background: linear-gradient(135deg,rgba(var(--co-rgb),.11),rgba(var(--co-rgb),.04));
      border-bottom: 1px solid rgba(var(--co-rgb),.15);
    }
    .summary-head-label { font-size:.62rem; text-transform:uppercase; letter-spacing:.14em; color:rgba(233,238,247,.32); font-weight:700; }
    .summary-type-pill {
      display:inline-flex; align-items:center; gap:.35rem; margin-top:.5rem;
      background:rgba(var(--co-rgb),.15); border:1px solid rgba(var(--co-rgb),.28);
      color:var(--co-color); border-radius:99px; font-size:.75rem; font-weight:700;
      padding:.3rem .85rem;
    }
    .summary-body { padding:1.25rem 1.4rem; }
    .summ-row { display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:.85rem; }
    .summ-name { font-size:.84rem; color:rgba(233,238,247,.80); line-height:1.4; }
    .summ-sub  { font-size:.68rem; color:rgba(233,238,247,.32); margin-top:.15rem; }
    .summ-price { font-weight:800; font-size:.94rem; color:var(--co-color); flex-shrink:0; margin-left:.5rem; }
    .summ-div  { height:1px; background:rgba(255,255,255,.07); margin:.85rem 0; }
    .summ-total-row { display:flex; justify-content:space-between; align-items:center; }
    .summ-total-lbl { font-size:.8rem; font-weight:700; color:rgba(233,238,247,.55); }
    .summ-total-val { font-family:'Bebas Neue',sans-serif; font-size:1.9rem; color:#fff; line-height:1; }
    .summ-placeholder { text-align:center; padding:1.75rem 0; }
    .summ-ph-emoji { font-size:2.2rem; display:block; margin-bottom:.5rem; opacity:.25; }
    .summ-ph-text  { font-size:.75rem; color:rgba(233,238,247,.22); }
    .summary-foot { padding:1rem 1.4rem; border-top:1px solid rgba(255,255,255,.06); background:rgba(255,255,255,.02); }
    .sec-badge { display:flex; align-items:center; gap:.5rem; font-size:.68rem; color:rgba(233,238,247,.28); margin-bottom:.4rem; }
    .sec-badge:last-child { margin-bottom:0; }

/* ─── raffle_success.php ─────────────────────────────────────────── */
/* ── Card first-pick shimmer ─────────────────────────────── */
    @keyframes shimmerSweep {
      0%   { transform:translateX(-120%); }
      100% { transform:translateX(120%); }
    }
    .prize-assign-card.just-picked .prize-photo::before {
      content:''; position:absolute; inset:0; z-index:3; pointer-events:none;
      background:linear-gradient(105deg,transparent 30%,rgba(216,168,90,.45) 50%,transparent 70%);
      animation:shimmerSweep .55s ease forwards;
    }
    @keyframes cardPop {
      0%   { transform:scale(1); }
      40%  { transform:scale(1.04); }
      100% { transform:scale(1); }
    }
    .prize-assign-card.just-picked { animation:cardPop .35s ease; }

    /* ── Order summary table ────────────────────────────────── */
    /* ── Order tickets ───────────────────────────────────────── */
    .order-tickets { display:flex; flex-direction:column; gap:.55rem; margin:.7rem 0 0; }
    .order-ticket {
      display:flex; align-items:stretch; position:relative;
      border-radius:12px; overflow:hidden;
      border:1px solid rgba(255,255,255,.10);
      background:linear-gradient(135deg,rgba(26,35,55,.95),rgba(14,21,40,.98));
      box-shadow:0 4px 18px rgba(0,0,0,.30);
    }
    /* Status stripe at top */
    .order-ticket::before {
      content:''; position:absolute; top:0; left:0; right:0; height:2px;
    }
    .order-ticket.ot-ok::before   { background:linear-gradient(90deg,rgba(110,231,183,.0),rgba(110,231,183,.80),rgba(110,231,183,.0)); }
    .order-ticket.ot-warn::before { background:linear-gradient(90deg,rgba(216,168,90,.0),rgba(216,168,90,.70),rgba(216,168,90,.0)); }

    /* Main body */
    .ot-body { flex:1; padding:.65rem .85rem .6rem; min-width:0; }
    .ot-order-num { font-size:.68rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:rgba(233,238,247,.35); margin-bottom:.25rem; }
    .ot-amount    { font-size:.88rem; font-weight:700; color:rgba(233,238,247,.85); }
    .ot-amount span { font-size:.72rem; font-weight:500; color:rgba(233,238,247,.40); margin-left:.3rem; }

    /* Progress bar inside ticket */
    .ot-progress-wrap { margin-top:.5rem; }
    .ot-progress-track {
      height:4px; border-radius:99px;
      background:rgba(255,255,255,.07); overflow:hidden; margin-bottom:.22rem;
    }
    .ot-progress-fill {
      height:100%; border-radius:99px;
      transition:width .6s cubic-bezier(.22,1,.36,1);
    }
    .ot-ok   .ot-progress-fill { background:linear-gradient(90deg,rgba(110,231,183,.60),rgba(110,231,183,.95)); }
    .ot-warn .ot-progress-fill { background:linear-gradient(90deg,rgba(216,168,90,.60),rgba(216,168,90,.95)); }
    .ot-progress-lbl { font-size:.72rem; font-weight:500; color:rgba(233,238,247,.40); }
    .ot-progress-lbl strong { color:rgba(233,238,247,.65); font-weight:700; }

    /* Perforated separator */
    .ot-perf {
      width:1px; flex-shrink:0; margin:.55rem 0;
      background:repeating-linear-gradient(to bottom,rgba(255,255,255,.18) 0,rgba(255,255,255,.18) 4px,transparent 4px,transparent 8px);
      position:relative;
    }
    .ot-perf::before,.ot-perf::after {
      content:''; position:absolute; width:14px; height:14px;
      border-radius:50%; background:#070b14; left:-7px; border:1px solid rgba(255,255,255,.08);
    }
    .ot-perf::before { top:-7px; }
    .ot-perf::after  { bottom:-7px; }

    /* Stub (right side) */
    .ot-stub {
      width:72px; flex-shrink:0; display:flex; flex-direction:column;
      align-items:center; justify-content:center; padding:.5rem .4rem;
      background:rgba(255,255,255,.025); gap:.1rem;
    }
    .ot-count {
      font-family:'Bebas Neue',sans-serif; line-height:1;
      font-size:2.4rem; color:var(--h2h-gold,#D8A85A);
    }
    .ot-ok   .ot-count { color:rgba(110,231,183,.90); }
    .ot-label { font-family:'Bebas Neue',sans-serif; font-size:.85rem; letter-spacing:.08em; color:rgba(233,238,247,.45); }
    .ot-status-ok   { font-size:.60rem; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:rgba(110,231,183,.75); margin-top:.25rem; }
    .ot-status-warn { font-size:.60rem; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:rgba(216,168,90,.75); margin-top:.25rem; }

    /* Summary footer */
    .order-summary-footer {
      display:flex; align-items:center; justify-content:flex-end; gap:.45rem; flex-wrap:wrap;
      margin-top:.5rem; padding-top:.5rem;
      border-top:1px solid rgba(255,255,255,.07);
      font-size:.75rem; color:rgba(233,238,247,.38);
    }
    .order-summary-footer strong { color:rgba(233,238,247,.70); font-weight:700; }
    .osf-label { font-family:'Bebas Neue',sans-serif; font-size:.85rem; letter-spacing:.08em; color:rgba(233,238,247,.45); }
    .osf-dot { width:3px; height:3px; border-radius:50%; background:rgba(255,255,255,.18); flex-shrink:0; }

    /* ── All-assigned celebration toast ─────────────────────── */
    #allDoneToast {
      position:fixed; bottom:1.5rem; left:50%; transform:translateX(-50%) translateY(120px);
      z-index:9998; background:linear-gradient(135deg,rgba(18,24,38,.97),rgba(24,32,50,.97));
      border:1px solid rgba(110,231,183,.40); border-radius:16px;
      padding:.9rem 1.4rem; display:flex; align-items:center; gap:.75rem;
      box-shadow:0 16px 48px rgba(0,0,0,.50), 0 0 0 1px rgba(110,231,183,.15);
      transition:transform .45s cubic-bezier(.22,1,.36,1), opacity .45s;
      opacity:0; white-space:nowrap;
    }
    #allDoneToast.show { transform:translateX(-50%) translateY(0); opacity:1; }
    #allDoneToast .toast-icon { font-size:1.6rem; }
    #allDoneToast .toast-title { font-size:.88rem; font-weight:800; color:rgba(110,231,183,.95); }
    #allDoneToast .toast-sub   { font-size:.82rem; color:rgba(233,238,247,.72); margin-top:.1rem; }

    /* ── Carousel fade edges ─────────────────────────────────── */
    .cat-carousel-wrap::before,
    .cat-carousel-wrap::after {
      content:''; position:absolute; top:0; bottom:.9rem; width:38px;
      z-index:6; pointer-events:none; transition:opacity .2s;
    }
    .cat-carousel-wrap::before { left:0;  background:linear-gradient(to right,#070b14 10%,transparent); }
    .cat-carousel-wrap::after  { right:0; background:linear-gradient(to left, #070b14 10%,transparent); }
    .cat-carousel-wrap.at-start::before { opacity:0; }
    .cat-carousel-wrap.at-end::after    { opacity:0; }

    /* ── Ticket-stub hero decoration ─────────────────────────── */
    .thank-hero { position:relative; }
    .thank-hero::before {
      content:''; position:absolute; inset:0; border-radius:20px; pointer-events:none;
      background:radial-gradient(circle at 20% 50%,rgba(216,168,90,.06),transparent 60%),
                 radial-gradient(circle at 80% 50%,rgba(31,166,222,.05),transparent 60%);
    }
    .ticket-notch {
      position:absolute; top:50%; width:18px; height:18px; border-radius:50%;
      background:var(--page-bg,#070b14); border:1px solid rgba(255,255,255,.07);
      transform:translateY(-50%);
    }
    .ticket-notch-left  { left:-9px; }
    .ticket-notch-right { right:-9px; }
    .ticket-perforation {
      position:absolute; top:50%; left:26px; right:26px; height:1px;
      border-top:1.5px dashed rgba(255,255,255,.08); transform:translateY(-50%);
      pointer-events:none;
    }
    @keyframes heroGlow {
      0%,100% { opacity:.7; } 50% { opacity:1; }
    }
    .thank-icon { animation:popIn .5s cubic-bezier(.17,.67,.29,1.35) both, heroGlow 3s ease-in-out 1s infinite; }

    /* ── Category heading ───────────────────────────────────── */
    .cat-heading-text {
      font-size:.82rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase;
      color:var(--h2h-gold,#D8A85A); white-space:nowrap;
    }

    /* ── Smooth card entry animation ─────────────────────────── */
    @keyframes cardFadeUp {
      from { opacity:0; transform:translateY(12px); }
      to   { opacity:1; transform:translateY(0); }
    }
    .cat-carousel-item { animation:cardFadeUp .4s ease both; }

    /* ── Hero ─────────────────────────────────────────────────── */
    .thank-hero {
      text-align: center; padding: 3rem 1.5rem 2.5rem;
      border-radius: 20px; border: 1px solid rgba(255,255,255,.07);
      margin-bottom: 1.5rem; position: relative; overflow: hidden;
    }
    .thank-hero-raffle {
      background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(216,168,90,.14), transparent),
                  radial-gradient(ellipse 50% 40% at 80% 100%, rgba(31,166,222,.08), transparent);
    }
    .thank-hero-fifty {
      background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(110,231,183,.13), transparent),
                  radial-gradient(ellipse 50% 40% at 80% 100%, rgba(216,168,90,.08), transparent);
    }
    .thank-icon {
      width: 72px; height: 72px; border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 2rem; margin: 0 auto 1.25rem;
      animation: popIn .5s cubic-bezier(.17,.67,.29,1.35) both;
    }
    .thank-icon-raffle { background: rgba(216,168,90,.12); border: 2px solid rgba(216,168,90,.30); }
    .thank-icon-fifty  { background: rgba(110,231,183,.12); border: 2px solid rgba(110,231,183,.30); }
    @keyframes popIn { from{opacity:0;transform:scale(.5)} to{opacity:1;transform:scale(1)} }
    /* ── Thank-you hero text ────────────────────────────────── */
    .thank-gratitude {
      font-family:'Bebas Neue',sans-serif;
      font-size:clamp(1.6rem,5vw,2.4rem);
      color:rgba(233,238,247,.70); letter-spacing:.18em;
      line-height:1; margin-bottom:.1rem;
      animation:countUp .6s ease both .1s;
    }
    .thank-name {
      font-family:'Bebas Neue',sans-serif;
      font-size:clamp(3.2rem,11vw,5.5rem);
      line-height:1; margin-bottom:.5rem; display:block;
      background:linear-gradient(105deg,#c89a45 0%,#D8A85A 35%,#fef3c7 52%,#D8A85A 65%,#c89a45 100%);
      background-size:250% auto;
      -webkit-background-clip:text; -webkit-text-fill-color:transparent;
      background-clip:text;
      animation:nameShimmer 4s ease-in-out 1.2s infinite, countUp .7s ease both .2s;
    }
    @keyframes nameShimmer {
      0%,100% { background-position:0% center; }
      50%      { background-position:100% center; }
    }

    .thank-qty {
      font-family:'Bebas Neue',sans-serif; font-size:clamp(2.4rem,8vw,4rem);
      line-height:1; animation:countUp .8s ease both .35s;
    }
    @keyframes countUp { from{opacity:0;transform:translateY(18px)} to{opacity:1;transform:translateY(0)} }
    .thank-cta {
      font-size:clamp(.9rem,2.8vw,1.05rem); color:rgba(233,238,247,.72);
      max-width:420px; margin:.85rem auto 0; line-height:1.65;
      animation:countUp .8s ease both .45s;
    }
    .thank-cta strong { color:var(--h2h-gold,#D8A85A); }
    .thank-sub { display:none; }

    /* ── Info cards (matching donation impact cards) ───────────── */
    .info-card {
      background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.09);
      border-radius:14px; padding:1.25rem 1rem; text-align:center;
    }
    .info-card-icon { font-size:1.6rem; margin-bottom:.5rem; }
    .info-card-text { font-size:.8rem; color:rgba(233,238,247,.75); line-height:1.5; }
    .info-card-text strong { color:rgba(233,238,247,.85); }

    /* ── Floating label fix ────────────────────────────────────── */
    .form-floating > .form-control:focus,
    .form-floating > .form-control:not(:placeholder-shown),
    .form-floating > .form-select { border-top-color: transparent !important; }

    /* ── Sticky ticket counter ─────────────────────────────────── */
    @keyframes numBump { 0%{transform:scale(1)} 50%{transform:scale(1.3)} 100%{transform:scale(1)} }

    /* ── Sticky stats    /* ── Sticky stats: inline anchor ───────────────────────────── */
    .stats-sticky { margin-bottom:1rem; }

    /* Fixed clone that appears when user scrolls past inline stats */
    #statsFixed {
      position:fixed; top:0; left:0; right:0; z-index:500;
      background:rgba(7,11,20,.97);
      backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px);
      border-bottom:1px solid rgba(255,255,255,.10);
      padding:.65rem 1rem .5rem;
      box-shadow:0 6px 24px rgba(0,0,0,.55);
      transform:translateY(-105%);
      transition:transform .32s cubic-bezier(.22,1,.36,1);
      pointer-events:none;
    }
    #statsFixed .stats-inner {
      max-width:720px; margin:0 auto;
    }
    #statsFixed.visible {
      transform:translateY(0);
      pointer-events:auto;
    }

    /* ── Ticket stat cards ──────────────────────────────────────── */
    .ticket-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:.65rem; margin-bottom:.75rem; }
    .tstat-card {
      border-radius:16px; padding:1rem .85rem .85rem; text-align:center;
      border:1px solid rgba(255,255,255,.08); background:rgba(255,255,255,.03);
      transition:border-color .3s, background .3s, box-shadow .3s;
      position:relative; overflow:hidden;
    }
    .tstat-card::before {
      content:''; position:absolute; inset:0; border-radius:16px; opacity:0;
      transition:opacity .3s; pointer-events:none;
    }
    .tstat-card.purchased { border-color:rgba(216,168,90,.30); background:rgba(216,168,90,.06); }
    .tstat-card.purchased::before { background:radial-gradient(circle at 50% 0,rgba(216,168,90,.12),transparent 70%); opacity:1; }
    .tstat-card.remaining { border-color:rgba(31,166,222,.22); background:rgba(31,166,222,.05); }
    .tstat-card.remaining::before { background:radial-gradient(circle at 50% 0,rgba(31,166,222,.10),transparent 70%); opacity:1; }
    .tstat-card.assigned  { border-color:rgba(110,231,183,.20); background:rgba(110,231,183,.04); }
    .tstat-card.assigned::before { background:radial-gradient(circle at 50% 0,rgba(110,231,183,.10),transparent 70%); opacity:1; }
    .tstat-card.assigned.complete { border-color:rgba(110,231,183,.55); background:rgba(110,231,183,.10); box-shadow:0 0 20px rgba(110,231,183,.10); }
    .tstat-num {
      font-family:'Bebas Neue',sans-serif; font-size:3rem; line-height:1;
      margin-bottom:.2rem; transition:color .3s; position:relative;
    }
    .tstat-num.bump { animation:numBump .25s cubic-bezier(.22,1,.36,1); }
    .tstat-card.purchased .tstat-num { color:var(--h2h-gold,#D8A85A); }
    .tstat-card.remaining .tstat-num { color:#1FA6DE; }
    .tstat-card.assigned  .tstat-num { color:rgba(110,231,183,.85); }
    .tstat-lbl {
      font-size:.78rem; font-weight:700; letter-spacing:.10em; text-transform:uppercase;
      color:rgba(233,238,247,.65); position:relative;
    }
    .tstat-sub {
      font-size:.75rem; color:rgba(233,238,247,.62); margin-top:.15rem;
      letter-spacing:.02em; position:relative;
    }
    /* Progress bar under stats */
    .assign-progress-wrap { margin-bottom:1.25rem; }
    .assign-progress-bar-bg { height:6px; background:rgba(255,255,255,.07); border-radius:99px; overflow:hidden; }
    .assign-progress-bar-fill { height:100%; border-radius:99px; background:linear-gradient(90deg,var(--h2h-gold,#D8A85A),rgba(110,231,183,.80)); transition:width .4s cubic-bezier(.22,1,.36,1); }
    .assign-progress-lbl { display:flex; justify-content:space-between; font-size:.78rem; color:rgba(233,238,247,.65); margin-top:.3rem; letter-spacing:.04em; }

    /* ── Prize assign cards ────────────────────────────────────── */
    /* ── Category carousels ───────────────────────────────────── */
    .cat-section { margin-bottom:2rem; }
    .cat-heading {
      display:flex; align-items:center; gap:.6rem; margin-bottom:.6rem;
      flex-wrap:wrap;
    }
    .cat-heading-text {
      font-size:.82rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase;
      color:var(--h2h-gold,#D8A85A); white-space:nowrap;
    }
    .cat-heading-line { flex:1; height:1px; background:rgba(216,168,90,.15); min-width:20px; }
    /* Carousel wrapper */
    .cat-carousel-wrap { position:relative; }
    /* Nav arrows live in the heading, not floating */
    .cat-nav { display:flex; gap:.4rem; flex-shrink:0; }
    .cat-arrow {
      width:34px; height:34px; border-radius:50%;
      background:rgba(216,168,90,.18);
      border:1.5px solid rgba(216,168,90,.55);
      color:var(--h2h-gold,#D8A85A);
      display:flex; align-items:center; justify-content:center;
      cursor:pointer; transition:all .16s; flex-shrink:0;
      padding:0; font-size:0;
    }
    .cat-arrow i { font-size:14px; line-height:1; width:14px; height:14px; display:flex; align-items:center; justify-content:center; }
    .cat-arrow:hover { background:rgba(216,168,90,.24); border-color:rgba(216,168,90,.65); transform:scale(1.08); }
    .cat-arrow:active { transform:scale(.92); }
    .cat-arrow:disabled { opacity:.38; cursor:default; transform:none; filter:saturate(.4); }
    .cat-carousel {
      display:flex; gap:.75rem;
      overflow-x:auto; scroll-snap-type:x mandatory;
      -webkit-overflow-scrolling:touch;
      padding:.25rem .05rem 1rem; scrollbar-width:none;
    }
    .cat-carousel::-webkit-scrollbar { display:none; }
    .cat-carousel-item { flex:0 0 185px; width:185px; max-width:185px; min-width:185px; scroll-snap-align:start; overflow:hidden; }

    /* ── Prize assign card ─────────────────────────────────────── */
    .prize-assign-card {
      background:linear-gradient(175deg,rgba(30,40,62,.90),rgba(18,26,46,.95));
      border:1px solid rgba(255,255,255,.13);
      border-radius:12px; overflow:hidden;
      display:flex; flex-direction:column; height:100%;
      transition:border-color .18s, box-shadow .18s, transform .18s;
      box-shadow:0 4px 18px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06);
    }
    .prize-assign-card:hover {
      transform:translateY(-3px);
      border-color:rgba(255,255,255,.25);
      box-shadow:0 10px 28px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.08);
    }
    .prize-assign-card.has-tickets {
      background:linear-gradient(175deg,rgba(20,52,40,.90),rgba(14,38,30,.95));
      border-color:rgba(110,231,183,.55);
      box-shadow:0 0 0 1px rgba(110,231,183,.20), 0 6px 24px rgba(110,231,183,.12);
    }
    .prize-assign-card.has-tickets:hover {
      border-color:rgba(110,231,183,.75);
      box-shadow:0 0 0 1px rgba(110,231,183,.35), 0 12px 32px rgba(110,231,183,.18);
    }
    /* Photo — 4:3 saves vertical space vs 1:1 */
    .prize-photo {
      width:100%; aspect-ratio:4/3;
      background:rgba(255,255,255,.03);
      display:flex; align-items:center; justify-content:center;
      font-size:2rem; color:rgba(255,255,255,.07); overflow:hidden; flex-shrink:0;
    }
    .prize-photo img { width:100%; height:100%; object-fit:contain; display:block; padding:7px; box-sizing:border-box; }
    /* Location strip */
    .prize-loc-strip {
      display:flex; align-items:center; gap:.28rem;
      width:100%; padding:.26rem .7rem;
      background:rgba(31,166,222,.08);
      border-top:1px solid rgba(31,166,222,.14);
      border-bottom:1px solid rgba(31,166,222,.14);
      font-size:.75rem; font-weight:600; color:rgba(31,166,222,.85);
      white-space:nowrap; overflow:hidden; box-sizing:border-box;
    }
    .prize-loc-strip .ph-map-pin { font-size:.68rem; flex-shrink:0; }
    .prize-loc-city { overflow:hidden; text-overflow:ellipsis; min-width:0; }
    /* Card body */
    .prize-card-body { padding:.55rem .7rem .3rem; flex:1; min-height:0; min-width:0; overflow:hidden; }
    .prize-card-title {
      font-size:.88rem; font-weight:700; color:#d8e2f0;
      line-height:1.25; margin-bottom:.18rem;
      word-break:break-word; overflow-wrap:break-word; min-width:0;
    }
    .prize-assign-card.has-tickets .prize-card-title { color:rgba(110,231,183,.95); }

    /* ── Prize card header (winners + value) ───────────────── */
    .prize-card-header {
      display:flex; align-items:center; justify-content:center;
      padding:.28rem .55rem;
      background:rgba(255,255,255,.04);
      border-bottom:1px solid rgba(255,255,255,.09);
      gap:.5rem; flex-shrink:0;
    }
    .pch-winners {
      display:flex; align-items:center; gap:.22rem; flex:1;
      font-size:.70rem; font-weight:700; color:rgba(216,168,90,.80);
    }
    .pch-winners i { font-size:.62rem; }
    .pch-value {
      display:flex; align-items:center; gap:.22rem; flex:1; justify-content:flex-end;
      font-size:.70rem; font-weight:700; color:var(--h2h-gold,#D8A85A);
    }
    .pch-value i { font-size:.60rem; }

    .prize-card-desc {
      font-size:.75rem; color:rgba(233,238,247,.72); line-height:1.45;
      display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden;
    }
    .prize-card-desc.expanded { -webkit-line-clamp:unset; overflow:visible; }
    /* .desc-toggle styles live in /assets/css/styles-base.css — display:none by default,
       JS reveals via inline style when description is clamped. Don't add an override here. */
    /* ── Merged footer: entry count + stepper in one row ──────── */
    .prize-footer {
      display:flex; align-items:center;
      border-top:1px solid rgba(255,255,255,.07);
      padding:.38rem .65rem .38rem .55rem;
      gap:.3rem; margin-top:auto; flex-shrink:0; min-height:40px;
      width:100%; box-sizing:border-box; min-width:0; overflow:hidden;
    }
    .prize-entries-cnt {
      flex:1; display:flex; align-items:center; gap:.28rem;
      font-size:.75rem; font-weight:700;
      color:rgba(216,168,90,.85); min-width:0; max-width:100%;
      white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
    }
    .prize-entries-cnt i { font-size:.72rem; flex-shrink:0; }
    .prize-entries-cnt.none { color:rgba(233,238,247,.65); font-weight:500; font-size:.75rem; }
    .stepper-inline { display:flex; align-items:center; gap:.25rem; flex-shrink:0; }
    .prize-count-num {
      font-family:'Bebas Neue',sans-serif; font-size:1.35rem;
      min-width:20px; text-align:center;
      color:rgba(233,238,247,.72); transition:color .2s; line-height:1;
    }
    .prize-assign-card.has-tickets .prize-count-num { color:rgba(110,231,183,.95); }
    .prize-count-num.bump { animation:numBump .2s ease; }
    .stepper-btn {
      width:28px; height:28px; border-radius:50%;
      border:1px solid rgba(255,255,255,.14); background:rgba(255,255,255,.07);
      color:rgba(233,238,247,.70);
      display:flex; align-items:center; justify-content:center;
      cursor:pointer; transition:all .14s; flex-shrink:0;
      padding:0; margin:0; line-height:1; font-size:0;
    }
    .stepper-btn i { font-size:13px; line-height:1; width:13px; height:13px; display:flex; align-items:center; justify-content:center; }
    .stepper-btn:hover:not(:disabled) { background:rgba(216,168,90,.18); border-color:rgba(216,168,90,.52); color:var(--h2h-gold,#D8A85A); transform:scale(1.12); }
    .stepper-btn:active:not(:disabled) { transform:scale(.88); }
    .stepper-btn:disabled { opacity:.18; cursor:not-allowed; }
    .prize-assign-card.has-tickets .stepper-btn.btn-minus:not(:disabled) { border-color:rgba(110,231,183,.45); background:rgba(110,231,183,.12); color:rgba(110,231,183,.90); }
    .prize-assign-card.has-tickets .stepper-btn.btn-minus:hover:not(:disabled) { background:rgba(110,231,183,.25); border-color:rgba(110,231,183,.65); }
    .stepper-btn.btn-plus:not(:disabled) { border-color:rgba(110,231,183,.35); background:rgba(110,231,183,.09); color:rgba(110,231,183,.90); }
    .stepper-btn.btn-plus:hover:not(:disabled) { background:rgba(110,231,183,.22); border-color:rgba(110,231,183,.60); transform:scale(1.12); }
    /* Auto-save indicator */
    .autosave-indicator {
      display:flex; align-items:center; gap:.45rem;
      font-size:.80rem; font-weight:600; color:rgba(233,238,247,.68);
      padding:.5rem .9rem; border-radius:99px;
      background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08);
      transition:all .3s; margin:0 auto .5rem; width:fit-content;
    }
    .autosave-indicator.saving   { color:rgba(31,166,222,.80);    border-color:rgba(31,166,222,.28);    background:rgba(31,166,222,.06); }
    .autosave-indicator.saved    { color:rgba(216,168,90,.90); border-color:rgba(216,168,90,.35); background:rgba(216,168,90,.08); }
    .autosave-indicator.all-saved{ color:rgba(110,231,183,.95); border-color:rgba(110,231,183,.40); background:rgba(110,231,183,.08); }
    .autosave-indicator.error    { color:rgba(206,17,38,.85);    border-color:rgba(206,17,38,.30);    background:rgba(206,17,38,.06); cursor:pointer; }
    .autosave-dot { width:6px; height:6px; border-radius:50%; background:currentColor; flex-shrink:0; }
    .autosave-indicator.saving .autosave-dot { animation:pulse 1s infinite; }
    @keyframes pulse { 0%,100%{opacity:.3} 50%{opacity:1} }
    .btn-save {
      background:linear-gradient(135deg,#D8A85A,#c9a45a); border:none; color:#070b14;
      font-weight:800; font-size:.88rem; padding:.75rem 2.5rem; border-radius:10px;
      transition:filter .18s, transform .18s, opacity .18s;
    }
    .btn-save:hover:not(:disabled) { filter:brightness(1.08); transform:translateY(-1px); color:#070b14; }
    .btn-save:disabled { opacity:.35; cursor:not-allowed; }
    .btn-save.saved { background:linear-gradient(135deg,rgba(110,231,183,.85),rgba(52,178,126,.85)); }
    /* ── Sale countdown timer (Closes in / Opens in) ────────────
       Fluid sizing via clamp() so it shrinks gracefully on mobile
       (was overflowing the right margin before — fixed-width units
       and large padding added up to ~400px minimum). Wraps to two
       lines only as a last-resort safety net. */
    .cd-wrap {
      display: inline-flex;
      flex-wrap: wrap;                                  /* safety net for tiny screens */
      align-items: center;
      gap: clamp(.25rem, 1.5vw, .6rem);
      background: rgba(216,168,90,.08);
      border: 1.5px solid rgba(216,168,90,.30);
      border-radius: 16px;
      padding: clamp(.45rem, 2vw, .75rem) clamp(.75rem, 3.5vw, 1.4rem);
      max-width: 100%;                                  /* never overflow parent */
      transition: background .5s, border-color .5s;
    }
    .cd-unit { text-align: center; min-width: clamp(1.9rem, 7vw, 3.2rem); }
    .cd-num  { font-family:'Bebas Neue',sans-serif; font-size: clamp(1.5rem, 6.5vw, 2.4rem); line-height: 1; color: var(--h2h-gold,#D8A85A); }
    .cd-lbl  { font-size: clamp(.62rem, 2vw, .78rem); color: rgba(233,238,247,.75); letter-spacing: .06em; text-transform: uppercase; margin-top: .1rem; }
    .cd-sep  { font-family:'Bebas Neue',sans-serif; font-size: clamp(1.3rem, 5.5vw, 2.1rem); color: rgba(255,255,255,.50); align-self: flex-start; margin-top: .05rem; }
    /* The "Opens in" / "Closes in" label has inline styles — scale it down on mobile too. */
    .cd-wrap > span:first-child {
      font-size: clamp(.7rem, 2.4vw, .88rem) !important;
      margin-right: clamp(.2rem, 1.5vw, .5rem) !important;
    }
    .lock-notice {
      background:rgba(206,17,38,.09); border:1px solid rgba(206,17,38,.25); border-radius:10px;
      padding:.9rem 1.1rem; display:flex; gap:.65rem; align-items:flex-start; margin-bottom:1.5rem;
    }

/* ─── tax_receipt.php ─────────────────────────────────────────────
   Receipt is a "document" UI: white card with dark gradient header,
   gold accent rule, structured donation table. Styles are scoped under
   body.page-fundraiser-tax-receipt because some selectors (.receipt-table,
   .total-amt, .highlight) are too generic to leak into other pages. */

body.page-fundraiser-tax-receipt .receipt-doc {
  background: #fff; color: #1a1a2e;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,.35);
  margin: 0 auto; max-width: 640px;
}

/* Header — dark gradient with gold underline */
body.page-fundraiser-tax-receipt .receipt-header {
  background: linear-gradient(135deg, #070b14, #111827);
  padding: 2rem 2rem 1.5rem; text-align: center;
  border-bottom: 3px solid #D8A85A;
}
body.page-fundraiser-tax-receipt .receipt-org {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem; color: #D8A85A;
  letter-spacing: .08em; line-height: 1;
}
body.page-fundraiser-tax-receipt .receipt-org-sub {
  font-size: .78rem; color: rgba(233,238,247,.55);
  margin-top: .2rem; letter-spacing: .06em;
}
body.page-fundraiser-tax-receipt .receipt-title {
  font-size: .72rem; font-weight: 800;
  letter-spacing: .20em; text-transform: uppercase;
  color: rgba(233,238,247,.50); margin-top: 1rem;
}
body.page-fundraiser-tax-receipt .receipt-year {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem; color: #fff; line-height: 1;
}

/* Body — white surface with the donor info, table, totals */
body.page-fundraiser-tax-receipt .receipt-body { padding: 1.75rem 2rem; }
body.page-fundraiser-tax-receipt .receipt-to-row {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 1.5rem;
}
body.page-fundraiser-tax-receipt .receipt-to { /* anchor only */ }
body.page-fundraiser-tax-receipt .receipt-logo {
  height: 52px; width: auto; opacity: .85;
  flex-shrink: 0; margin-left: 1rem;
}
body.page-fundraiser-tax-receipt .receipt-to-label {
  font-size: .68rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(0,0,0,.35); margin-bottom: .2rem;
}
body.page-fundraiser-tax-receipt .receipt-to-name { font-size: 1.1rem; font-weight: 700; color: #111; }
body.page-fundraiser-tax-receipt .receipt-to-email { font-size: .82rem; color: rgba(0,0,0,.50); }

/* Orders table */
body.page-fundraiser-tax-receipt .receipt-table {
  width: 100%; border-collapse: collapse; margin-bottom: 1.5rem;
}
body.page-fundraiser-tax-receipt .receipt-table th {
  font-size: .65rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(0,0,0,.40);
  padding: .4rem .5rem;
  border-bottom: 2px solid #e0e0e0;
  text-align: left;
}
body.page-fundraiser-tax-receipt .receipt-table td {
  font-size: .82rem;
  padding: .55rem .5rem;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
  color: #222;
}
body.page-fundraiser-tax-receipt .receipt-table tr:last-child td { border-bottom: none; }
body.page-fundraiser-tax-receipt .type-donation { color: #059669; font-weight: 700; }
body.page-fundraiser-tax-receipt .type-raffle   { color: #7c3aed; font-weight: 600; }

/* Totals box */
body.page-fundraiser-tax-receipt .receipt-totals {
  background: #f8f9fa; border-radius: 10px;
  padding: 1rem 1.25rem; margin-bottom: 1.5rem;
}
body.page-fundraiser-tax-receipt .receipt-total-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .25rem 0; font-size: .88rem;
}
body.page-fundraiser-tax-receipt .receipt-total-row.highlight {
  border-top: 1px solid #dee2e6;
  margin-top: .35rem; padding-top: .55rem;
  font-weight: 800; font-size: .95rem;
}
body.page-fundraiser-tax-receipt .total-label { color: rgba(0,0,0,.55); }
body.page-fundraiser-tax-receipt .total-label.deductible { color: #059669; }
body.page-fundraiser-tax-receipt .total-amt   { font-weight: 700; color: #111; }
body.page-fundraiser-tax-receipt .total-amt.deductible { color: #059669; }

/* Disclaimer + EIN pill */
body.page-fundraiser-tax-receipt .receipt-disclaimer {
  font-size: .72rem; color: rgba(0,0,0,.40);
  line-height: 1.6;
  border-top: 1px solid #e0e0e0;
  padding-top: 1rem;
}
body.page-fundraiser-tax-receipt .receipt-disclaimer strong { color: rgba(0,0,0,.60); }
body.page-fundraiser-tax-receipt .receipt-ein {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .75rem; font-weight: 700;
  color: rgba(0,0,0,.45);
  background: #f0f0f0;
  padding: .2rem .65rem;
  border-radius: 99px;
}

/* Print styles — strip chrome, force backgrounds to print */
@media print {
  body.page-fundraiser-tax-receipt { background: #fff !important; }
  body.page-fundraiser-tax-receipt .no-print,
  body.page-fundraiser-tax-receipt .portal-header,
  body.page-fundraiser-tax-receipt .portal-nav-drawer,
  body.page-fundraiser-tax-receipt .offcanvas-backdrop { display: none !important; }
  body.page-fundraiser-tax-receipt .receipt-doc { box-shadow: none; max-width: 100%; }
  body.page-fundraiser-tax-receipt .receipt-header {
    -webkit-print-color-adjust: exact; print-color-adjust: exact;
  }
}
