:root{
  --primary:#2563EB; --primary-dark:#1E3A8A; --accent:#F59E0B;
  /* Dark navy (baby-blue -> navy) theme */
  --ink:#eaf1ff; --muted:#9fb2d0; --line:rgba(255,255,255,.10);
  --bg:#081428; --bg-alt:#0b1d3a; --card:#0f2547; --card-2:#12305c;
  --radius:16px;
  --shadow:0 12px 34px rgba(0,0,0,.38);
  --shadow-lg:0 24px 60px rgba(0,0,0,.55);
  /* fixed light-component text (modals / receipt on white) */
  --ink-d:#0f172a; --muted-d:#64748b; --line-d:#e5e9f0;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:'Tajawal','Cairo',sans-serif;color:var(--ink);
  background:var(--bg);line-height:1.75;font-size:17px;overflow-x:hidden;
}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
.wrap{width:100%;max-width:1000px;margin:0 auto;padding:0 20px}
.wrap.narrow{max-width:760px}
h1,h2,h3{font-family:'Cairo',sans-serif;line-height:1.3;font-weight:800;color:#fff}
s{color:var(--muted)}

/* ---------- Sticky top (topbar + header stay fixed while scrolling) ---------- */
.sticky-top{position:sticky;top:0;z-index:60}

/* ---------- Top bar ---------- */
.topbar{background:linear-gradient(90deg,var(--primary-dark),var(--primary));color:#fff;font-size:14px;font-weight:600;padding:9px 0}
.topbar-inner{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:nowrap}
.topbar-text{flex:0 1 auto;min-width:0;text-align:center}
.topbar-buy{flex:0 0 auto;background:var(--accent);color:#111;font-weight:800;font-size:13px;
  padding:6px 16px;border-radius:999px;border:0;cursor:pointer;white-space:nowrap;font-family:inherit;
  box-shadow:0 3px 10px rgba(0,0,0,.25);transition:.15s;line-height:1.4}
.topbar-buy:hover{transform:translateY(-1px);filter:brightness(1.05)}

/* ---------- Header ---------- */
.site-header{background:rgba(8,20,40,.85);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:64px;gap:12px}
.logo img{height:38px;width:auto}
.header-actions{display:flex;align-items:center;gap:12px}
.cur-switch{display:inline-flex;border:1px solid var(--line);border-radius:999px;overflow:hidden;background:rgba(255,255,255,.05)}
.cur-switch button{border:0;background:transparent;padding:7px 14px;font-family:inherit;font-weight:700;cursor:pointer;color:var(--muted);font-size:14px}
.cur-switch button.active{background:var(--primary);color:#fff}
.btn-nav{background:var(--primary);color:#fff;padding:9px 20px;border-radius:999px;font-weight:700;transition:.2s;box-shadow:0 6px 18px rgba(37,99,235,.4)}
.btn-nav:hover{background:var(--primary-dark)}

/* ---------- Primary buy button (bright baby-blue, glowing) ---------- */
.btn-pay{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  background:linear-gradient(135deg,#4aa3ff,var(--primary));color:#fff;
  font-family:inherit;font-weight:800;font-size:19px;
  padding:17px 34px;border-radius:14px;cursor:pointer;transition:.2s;border:0;
  box-shadow:0 12px 30px rgba(37,99,235,.5);width:100%;max-width:440px
}
.btn-pay:hover{transform:translateY(-2px);box-shadow:0 16px 38px rgba(37,99,235,.6);filter:brightness(1.05)}
.btn-pay .ap-mark{display:inline-flex;align-items:center}

/* ---------- Hero (single-column, centered, VSL style) ---------- */
.hero{background:radial-gradient(1100px 520px at 50% -8%,rgba(37,99,235,.28),transparent 60%),var(--bg);padding:34px 0 46px}
.hero-inner{max-width:720px;margin:0 auto;text-align:center;display:flex;flex-direction:column;align-items:center}
.hero-countdown{width:100%;margin-bottom:22px}
.hero-countdown .timer-title{display:block;color:var(--accent);font-weight:800;font-size:16px;margin-bottom:12px}
.badge{display:inline-block;background:rgba(37,99,235,.18);color:#8ec1ff;border:1px solid rgba(37,99,235,.4);font-weight:700;font-size:14px;padding:6px 16px;border-radius:999px;margin-bottom:16px}
.hero-inner h1{font-size:40px;font-weight:900;margin-bottom:16px;letter-spacing:-.5px}
.hero-inner .lead{font-size:20px;color:#bcd4ff;font-weight:700;margin-bottom:12px;max-width:620px}
.hero-inner .desc{color:var(--muted);font-size:17px;margin-bottom:24px;max-width:600px}
.hero-media{width:100%;max-width:640px;margin:6px auto 22px}
.hero-media img{border-radius:18px;box-shadow:var(--shadow-lg);width:100%;border:1px solid var(--line)}
.rating-row{display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:18px;flex-wrap:wrap}
.stars,.r-stars{color:var(--accent);letter-spacing:2px;font-size:18px}
.rating-txt{color:var(--muted);font-size:14px;font-weight:600}
.hero-buy{width:100%;display:flex;flex-direction:column;align-items:center}
.hero-buy .price-line{display:flex;align-items:center;justify-content:center;gap:14px;margin:6px 0}
.price-now{font-size:34px;font-weight:900;color:#fff;font-family:'Cairo'}
.price-old{font-size:20px}
.cta-sub{color:var(--muted);font-size:14px;margin-top:8px}

/* ---------- Scarcity progress bar (under hero CTA) ---------- */
.scarcity{width:100%;max-width:440px;margin:20px auto 0}
.scarcity-bar{height:16px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid var(--line);overflow:hidden}
.scarcity-bar span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,var(--accent),#ffcf5a);box-shadow:0 0 14px rgba(245,179,1,.6)}
.scarcity-txt{color:var(--accent);font-weight:800;font-size:14px;margin-top:10px;text-align:center}

/* ---------- Countdown boxes ---------- */
.countdown{display:flex;gap:12px;justify-content:center}
.cd{background:rgba(255,255,255,.06);border:1px solid var(--line);border-radius:12px;padding:10px 14px;min-width:70px;text-align:center}
.cd b{display:block;font-size:28px;font-family:'Cairo';font-weight:800;color:#fff}
.cd span{font-size:12px;color:var(--muted)}
.timer-sec{padding:0}

/* ---------- Stats band ---------- */
.stats-band{background:linear-gradient(135deg,var(--primary),var(--primary-dark));color:#fff;padding:34px 0}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;text-align:center}
.stat-cell{padding:6px 4px}
.stat-val{display:block;font-family:'Cairo';font-weight:900;font-size:34px;line-height:1.1;color:#fff}
.stat-lbl{display:block;font-size:14.5px;opacity:.92;margin-top:6px}

/* ---------- Success story (image instead of video) ---------- */
.story-sec .wrap{max-width:760px}
.story-grid{display:flex;flex-direction:column;gap:26px;align-items:center;text-align:center}
.story-media{width:100%;max-width:620px}
.story-media img{width:100%;border-radius:18px;box-shadow:var(--shadow-lg);border:1px solid var(--line)}
.story-text h2{font-size:30px;margin-bottom:14px}
.story-text>p{color:var(--muted);font-size:17px;margin-bottom:22px}
.story-metrics{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:24px;justify-content:center}
.sm-cell{flex:1;min-width:130px;background:var(--card);border:1px solid var(--line);border-radius:14px;padding:16px 12px;text-align:center}
.sm-cell b{display:block;font-family:'Cairo';font-weight:900;font-size:26px;color:#8ec1ff}
.sm-cell span{display:block;font-size:13.5px;color:var(--muted);margin-top:4px}
.story-text .btn-pay{margin:0 auto}

/* ---------- Results gallery ---------- */
.results-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.result-card{background:var(--card);border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:var(--shadow);margin:0}
.result-img{background:var(--bg-alt);aspect-ratio:4/3;display:flex;align-items:center;justify-content:center;overflow:hidden}
.result-img img{width:100%;height:100%;object-fit:cover}
.result-card figcaption{padding:14px 16px;font-size:14px;font-weight:600;color:var(--ink)}

/* ---------- Sections ---------- */
.section{padding:60px 0;background:var(--bg)}
.section.alt{background:var(--bg-alt)}
.section-head{text-align:center;max-width:640px;margin:0 auto 40px}
.section-head h2{font-size:31px;margin-bottom:10px}
.section-head p{color:var(--muted);font-size:18px}

/* ---------- Books ---------- */
.books-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.book-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:22px;text-align:center;transition:.25s;box-shadow:var(--shadow)}
.book-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-lg);border-color:rgba(37,99,235,.5)}
.book-cover{margin-bottom:16px}
.book-cover img{height:200px;width:auto;margin:0 auto;border-radius:10px;box-shadow:0 10px 24px rgba(0,0,0,.45)}
.cover-fallback{height:200px;display:grid;place-items:center;font-size:66px;font-weight:900;color:#fff;background:linear-gradient(150deg,var(--primary),var(--primary-dark));border-radius:10px;font-family:'Cairo'}
.book-card h3{font-size:20px;margin-bottom:8px}
.book-card p{color:var(--muted);font-size:15px;margin-bottom:14px}
.chip{display:inline-block;background:rgba(245,158,11,.18);color:#ffcf5a;font-weight:700;font-size:13px;padding:5px 14px;border-radius:999px}

/* ---------- Features / Bonuses ---------- */
.features-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.feature{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:26px;text-align:center;transition:.2s}
.section.alt .feature{background:var(--card-2)}
.feature:hover{box-shadow:var(--shadow);transform:translateY(-4px);border-color:rgba(37,99,235,.5)}
.f-icon{display:inline-grid;place-items:center;width:60px;height:60px;border-radius:16px;background:rgba(37,99,235,.18);color:#8ec1ff;margin-bottom:14px}
.feature.bonus .f-icon{background:rgba(245,158,11,.18);color:#ffcf5a}
.feature h3{font-size:19px;margin-bottom:8px}
.feature p{color:var(--muted);font-size:15px}

/* ---------- Value box ---------- */
.value-box{background:var(--card);border:1px solid var(--line);border-radius:20px;padding:30px;box-shadow:var(--shadow);text-align:center}
.value-list{list-style:none}
.value-list li{display:flex;align-items:center;gap:12px;padding:14px 4px;border-bottom:1px dashed var(--line);text-align:right}
.value-list .v-check{color:#34d399;display:inline-flex}
.value-list .v-title{flex:1;font-weight:600;color:var(--ink)}
.value-list .v-val{font-weight:700;color:#fff}
.v-total .v-title,.v-final .v-title{font-weight:800}
.v-final{border-bottom:0}
.v-final .v-val{color:#8ec1ff;font-size:24px;font-weight:900;font-family:'Cairo'}
.savings{display:inline-block;background:rgba(52,211,153,.16);color:#6ee7b7;font-weight:800;padding:8px 20px;border-radius:999px;margin:18px 0}
.value-box .btn-pay{margin:6px auto 0}

/* ---------- Reviews ---------- */
.reviews-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.review{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:24px;box-shadow:var(--shadow)}
.r-content{font-size:16px;margin:10px 0 18px;color:#cbd8ee}
.r-author{display:flex;align-items:center;gap:12px}
.r-avatar{width:48px;height:48px;border-radius:50%;background:linear-gradient(150deg,var(--primary),var(--primary-dark));color:#fff;display:grid;place-items:center;font-weight:800;font-size:20px;overflow:hidden}
.r-avatar img{width:100%;height:100%;object-fit:cover}
.r-author b{display:block;font-size:15px;color:#fff}
.r-author small{color:var(--muted)}

/* ---------- Guarantee ---------- */
.guarantee{display:flex;gap:20px;align-items:center;background:var(--card);border:1px solid rgba(52,211,153,.35);border-radius:20px;padding:28px}
.g-icon{flex-shrink:0;width:70px;height:70px;border-radius:50%;background:rgba(52,211,153,.16);color:#34d399;display:grid;place-items:center}
.g-icon svg{width:38px;height:38px}
.guarantee h3{font-size:22px;margin-bottom:6px}
.guarantee p{color:var(--muted)}

/* ---------- FAQ ---------- */
.faq-item{background:var(--card);border:1px solid var(--line);border-radius:14px;margin-bottom:12px;overflow:hidden}
.faq-q{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;background:none;border:0;padding:18px 22px;font-family:inherit;font-weight:700;font-size:17px;cursor:pointer;text-align:right;color:#fff}
.faq-q i{font-style:normal;font-size:24px;color:#8ec1ff;transition:.25s;flex-shrink:0}
.faq-item.open .faq-q i{transform:rotate(45deg)}
.faq-a{max-height:0;overflow:hidden;transition:max-height .3s ease}
.faq-a p{padding:0 22px 18px;color:var(--muted)}

/* ---------- Small guarantee reassurance line (under CTAs) ---------- */
.guar-line{margin-top:12px;color:var(--muted);font-size:14px;font-weight:600;text-align:center}

/* ---------- Limited-offer banner ---------- */
.offer-banner{background:linear-gradient(135deg,rgba(245,179,1,.14),rgba(37,99,235,.14)),var(--bg-alt);
  border-top:1px solid var(--line);border-bottom:1px solid var(--line);text-align:center;padding:52px 0}
.offer-kicker{display:inline-block;background:var(--accent);color:#111;font-weight:800;font-size:13px;
  padding:6px 18px;border-radius:999px;margin-bottom:16px}
.offer-banner h2{font-size:30px;margin-bottom:10px;color:#fff}
.offer-banner p{color:#cdddf7;font-size:17px;margin-bottom:22px}
.offer-banner .btn-pay{margin:0 auto}

/* ---------- Final CTA ---------- */
.final-cta{background:linear-gradient(160deg,var(--primary),var(--primary-dark));color:#fff;text-align:center;padding:70px 0}
.final-cta h2{font-size:34px;margin-bottom:12px}
.final-cta p{font-size:18px;opacity:.92;margin-bottom:8px}
.final-cta .price-line{justify-content:center;margin:18px 0}
.final-cta .price-now{color:#fff}
.final-cta .price-old{color:rgba(255,255,255,.7)}
.final-cta .btn-pay{margin:10px auto 0;background:#fff;color:var(--primary-dark);box-shadow:0 12px 30px rgba(0,0,0,.3)}
.final-cta .btn-pay:hover{background:#f1f5ff}
.final-cta .cta-sub{color:rgba(255,255,255,.85)}
.price-line{display:flex;align-items:center;gap:14px}

/* ---------- Footer ---------- */
.site-footer{background:#050d1c;color:#cbd5e1;padding:50px 0 0;border-top:1px solid var(--line)}
.footer-inner{display:flex;justify-content:space-between;gap:30px;flex-wrap:wrap;padding-bottom:34px}
.f-brand{max-width:420px}
.f-logo{height:38px;margin-bottom:14px}
.f-brand p{color:#94a3b8;font-size:15px}
.f-links{display:flex;flex-direction:column;gap:12px}
.f-links a{color:#cbd5e1;font-weight:600}
.f-links a:hover{color:#fff}
.copyright{border-top:1px solid rgba(255,255,255,.1);text-align:center;padding:18px;font-size:14px;color:#94a3b8}

/* ---------- WhatsApp float ---------- */
.wa-float{position:fixed;bottom:22px;left:22px;width:56px;height:56px;border-radius:50%;background:#25D366;color:#fff;display:grid;place-items:center;box-shadow:0 8px 20px rgba(37,211,102,.5);z-index:60;transition:.2s}
.wa-float:hover{transform:scale(1.08)}

/* ---------- Live notifications ---------- */
.lp-notify{position:fixed;bottom:22px;right:22px;background:var(--card-2);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow-lg);padding:12px 16px;display:flex;align-items:center;gap:12px;max-width:300px;z-index:55;transform:translateY(140%);opacity:0;transition:.4s;color:var(--ink)}
.lp-notify.show{transform:translateY(0);opacity:1}
.lp-notify .dot{width:10px;height:10px;border-radius:50%;background:#22c55e;flex-shrink:0;box-shadow:0 0 0 4px rgba(34,197,94,.2)}
.lp-notify b{font-size:14px;color:#fff}
.lp-notify small{color:var(--muted);font-size:12px;display:block}

/* ---------- Responsive ---------- */
@media(max-width:900px){
  .books-grid,.features-grid{grid-template-columns:repeat(2,1fr)}
  .reviews-grid{grid-template-columns:1fr}
  .results-grid{grid-template-columns:repeat(2,1fr)}
  .stats-grid{grid-template-columns:repeat(2,1fr);gap:24px}
}
@media(max-width:620px){
  body{font-size:16px}
  .hero-inner h1{font-size:28px}
  .hero-inner .lead{font-size:18px}
  .section{padding:46px 0}
  .section-head h2,.final-cta h2{font-size:25px}
  .books-grid,.features-grid{grid-template-columns:1fr}
  .results-grid{grid-template-columns:1fr}
  .stat-val{font-size:28px}
  .story-text h2{font-size:25px}
  .btn-nav{padding:8px 16px;font-size:14px}
  .logo img{height:32px}
  .topbar{font-size:12.5px}
  .topbar-inner{gap:10px}
  .topbar-buy{font-size:12px;padding:5px 12px}
  .lp-notify{bottom:20px;right:12px;left:12px;max-width:none}
  .countdown{gap:8px}
  .cd{min-width:62px;padding:8px 10px}
  .cd b{font-size:23px}
  .footer-inner{flex-direction:column}
}
[hidden]{display:none!important}

/* ============================================================
   Page flash message (white card -> use fixed dark text)
   ============================================================ */
.page-flash{position:fixed;top:16px;left:50%;transform:translateX(-50%);z-index:200;
  max-width:92%;background:#fff;border:1px solid var(--line-d);border-right:4px solid var(--primary);
  box-shadow:var(--shadow-lg);border-radius:12px;padding:12px 44px 12px 18px;font-weight:600;
  color:var(--ink-d);display:flex;align-items:center;gap:10px;animation:flashIn .3s ease}
.page-flash.error{border-right-color:#dc2626;color:#991b1b}
.page-flash.success{border-right-color:#16a34a}
.page-flash button{position:absolute;left:10px;top:50%;transform:translateY(-50%);
  border:0;background:transparent;font-size:16px;cursor:pointer;color:var(--muted-d)}
@keyframes flashIn{from{opacity:0;transform:translate(-50%,-12px)}to{opacity:1;transform:translate(-50%,0)}}

/* ============================================================
   Buy modal (white dialog -> fixed dark text)
   ============================================================ */
body.no-scroll{overflow:hidden}
.buy-modal{position:fixed;inset:0;z-index:300;display:none;align-items:center;justify-content:center;padding:18px}
.buy-modal.open{display:flex}
.buy-backdrop{position:absolute;inset:0;background:rgba(2,8,20,.7);backdrop-filter:blur(3px)}
.buy-dialog{position:relative;z-index:1;width:100%;max-width:440px;background:#fff;border-radius:20px;color:var(--ink-d);
  box-shadow:var(--shadow-lg);padding:26px 24px;max-height:92vh;overflow-y:auto;animation:buyIn .28s ease}
@keyframes buyIn{from{opacity:0;transform:translateY(18px) scale(.98)}to{opacity:1;transform:none}}
.buy-x{position:absolute;top:12px;left:14px;border:0;background:#f1f5f9;width:34px;height:34px;
  border-radius:50%;cursor:pointer;font-size:15px;color:var(--muted-d);line-height:1}
.buy-x:hover{background:#e2e8f0}
.buy-head{text-align:center;margin-bottom:14px}
.buy-logo{height:38px;width:auto;margin:0 auto 8px}
.buy-head h3{font-size:22px;color:var(--primary-dark)}
.buy-sub{color:var(--muted-d);font-size:14px;margin-top:4px}
.buy-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;
  background:#f5f8ff;border:1px solid var(--line-d);border-radius:12px;padding:12px 14px;margin-bottom:16px}
.buy-summary .bs-name{font-weight:700;font-size:14px;color:var(--ink-d)}
.buy-summary .bs-price .price{font-size:20px;font-weight:900;color:var(--primary-dark);font-family:'Cairo'}
.buy-form label{display:block;margin-bottom:12px}
.buy-form label>span{display:block;font-weight:700;font-size:14px;margin-bottom:5px;color:var(--ink-d)}
.buy-form label>span b{color:#dc2626}
.buy-form input{width:100%;border:1px solid var(--line-d);border-radius:10px;padding:12px 14px;
  font-family:inherit;font-size:16px;background:#fff;color:var(--ink-d);transition:.15s}
.buy-form input:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px rgba(37,99,235,.15)}
.buy-hint{color:var(--muted-d);font-size:12.5px;margin:2px 0 14px}
.buy-submit{width:100%;margin-top:4px}
.buy-submit.loading{opacity:.7;pointer-events:none}
.buy-submit.loading span:last-child::after{content:'…'}
.buy-secure{text-align:center;color:var(--muted-d);font-size:12.5px;margin-top:12px}

/* ============================================================
   Receipt / invoice page (success.php) — light page
   ============================================================ */
.receipt-page{background:#f5f8ff;color:var(--ink-d)}
.receipt-page h1,.receipt-page h2,.receipt-page h3{color:var(--ink-d)}
.receipt-wrap{max-width:640px;margin:0 auto;padding:34px 18px}
.receipt-card{background:#fff;border:1px solid var(--line-d);border-radius:20px;box-shadow:var(--shadow);padding:30px 26px;margin-bottom:20px}
.receipt-card.center{text-align:center}
.receipt-card h1{font-size:26px;color:var(--primary-dark);margin-bottom:8px}
.receipt-card .muted{color:var(--muted-d)}
.receipt-card .muted.small{font-size:13px}
.rc-x{width:70px;height:70px;border-radius:50%;background:#fee2e2;color:#dc2626;font-size:34px;
  display:flex;align-items:center;justify-content:center;margin:0 auto 16px}
.rc-pending{width:70px;height:70px;border-radius:50%;background:#fef3c7;font-size:34px;
  display:flex;align-items:center;justify-content:center;margin:0 auto 16px}
.rc-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin:18px 0 10px}
.rc-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}
.rc-logo{height:36px;width:auto}
.rc-paid{background:#dcfce7;color:#15803d;font-weight:800;font-size:13px;padding:6px 14px;border-radius:999px}
.rc-hero{text-align:center;padding:6px 0 20px;border-bottom:1px dashed var(--line-d);margin-bottom:20px}
.rc-check{width:74px;height:74px;border-radius:50%;background:var(--primary);color:#fff;font-size:40px;
  display:flex;align-items:center;justify-content:center;margin:0 auto 14px;box-shadow:0 10px 24px rgba(37,99,235,.35)}
.rc-invoice h2,.rc-downloads h2{font-size:19px;margin-bottom:12px;color:var(--primary-dark)}
.rc-table{width:100%;border-collapse:collapse;margin-bottom:12px}
.rc-table td{padding:10px 4px;border-bottom:1px solid var(--line-d);font-size:15px}
.rc-table td:first-child{color:var(--muted-d)}
.rc-table td:last-child{text-align:left;font-weight:600}
.rc-table tr.rc-total td{border-bottom:0;font-size:17px;padding-top:14px}
.rc-table tr.rc-total td b{color:var(--primary-dark)}
.rc-seller{font-size:13px;color:var(--muted-d);background:#f5f8ff;border-radius:10px;padding:10px 12px}
.rc-seller a{color:var(--primary);font-weight:700}
.rc-downloads{margin-top:24px;padding-top:22px;border-top:1px dashed var(--line-d)}
.dl-list{display:flex;flex-direction:column;gap:12px}
.dl-item{display:flex;align-items:center;gap:14px;border:1px solid var(--line-d);border-radius:12px;padding:12px}
.dl-cover{width:48px;height:60px;flex:0 0 auto;border-radius:6px;overflow:hidden;background:#f5f8ff;display:flex;align-items:center;justify-content:center}
.dl-cover img{width:100%;height:100%;object-fit:cover}
.dl-info{flex:1;font-size:15px}
.dl-btn{background:var(--primary);color:#fff;font-weight:800;padding:9px 18px;border-radius:10px;white-space:nowrap;transition:.15s}
.dl-btn:hover{background:var(--primary-dark)}
.dl-soon{color:var(--muted-d);font-size:13px;white-space:nowrap}
.rc-foot{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin:24px 0 6px}
.btn-ghost-line{border:1px solid var(--line-d);color:var(--ink-d);font-weight:700;padding:11px 22px;border-radius:10px}
.btn-ghost-line:hover{border-color:var(--primary);color:var(--primary)}
@media print{
  .receipt-page{background:#fff}
  .rc-foot,.rc-downloads .dl-btn,.wa-float{display:none!important}
  .receipt-card{box-shadow:none;border:0}
}
