/* AzanGuru Sadaqah journey v2. Loaded only when option ag_sadaqah_journey_v2 = 1. Scoped to .agj / .agj-single / body classes. */
.agj{--g1:#076b47;--g2:#054d33;--gold:#ffc629;--ink:#143a2f;--mist:#f1f7f2;--line:#cfe4d8;max-width:1040px;margin:0 auto;padding:0 14px;color:var(--ink);font-family:'DM Sans',sans-serif}
.agj *{box-sizing:border-box}
.agj h1,.agj h2,.agj h3{margin:0;color:var(--ink)}
.agj-hero{display:grid;grid-template-columns:1fr;gap:20px;padding:26px 20px;border-radius:26px;background:linear-gradient(135deg,var(--g1),var(--g2));color:#fff;text-align:center;box-shadow:0 18px 44px rgba(7,107,71,.22);overflow:hidden}
.agj-hero h1{color:#fff;font-size:clamp(1.7rem,5.5vw,2.8rem);font-weight:900;line-height:1.1;letter-spacing:-.03em;margin:8px 0 12px}
.agj-hero p{margin:0 auto 18px;max-width:520px;color:#d8efe4;font-size:15px;line-height:1.55}
.agj-eyebrow{display:inline-block;padding:6px 12px;border-radius:999px;background:rgba(255,198,41,.18);color:var(--gold);font-size:12px;font-weight:850;letter-spacing:.06em;text-transform:uppercase}
.agj-hero__visual{margin:0;order:-1}
.agj-hero__visual img{width:min(60%,200px);height:auto;aspect-ratio:1;object-fit:cover;border-radius:20px;border:4px solid rgba(255,255,255,.9);box-shadow:0 14px 34px rgba(0,0,0,.28)}
.agj-hero__free{display:block;margin-top:14px;color:#fff;font-size:13px;font-weight:700;text-decoration:underline}
.agj-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:0 24px;border-radius:14px;border:2px solid transparent;font-size:15px;font-weight:850;text-decoration:none!important;cursor:pointer}
.agj-btn--gold{background:var(--gold);color:var(--ink)!important}
.agj-btn--green{background:var(--g1);color:#fff!important;box-shadow:0 8px 20px rgba(7,107,71,.28)}
.agj-btn--green span:last-child{color:var(--gold)}
.agj-btn--outline{border-color:var(--g1);color:var(--g1)!important;background:#fff}
.agj a:focus-visible,.agj input:focus-visible+span,.agj summary:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
.agj-does,.agj-choose,.agj-faq,.agj-free{margin-top:34px}
.agj h2{font-size:clamp(1.3rem,3.5vw,1.8rem);font-weight:850;color:var(--g1);margin-bottom:14px}
.agj-cards{display:grid;grid-template-columns:1fr;gap:12px}
.agj-card{padding:18px;border:1px solid #dce9e2;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(18,61,46,.06)}
.agj-card h3{font-size:15px;font-weight:850;margin-bottom:6px}
.agj-card p{margin:0;color:#5f7169;font-size:14px;line-height:1.5}
.agj-choose{padding:20px 16px;border:1px solid var(--line);border-top:4px solid var(--gold);border-radius:22px;background:#fff;box-shadow:0 12px 30px rgba(18,61,46,.09)}
.agj-step{margin-bottom:22px}
.agj-step h3{display:flex;align-items:center;gap:10px;font-size:16px;font-weight:850;margin-bottom:12px}
.agj-num{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--g1);color:var(--gold);font-size:14px;font-weight:900;flex:none}
.agj input[type=radio]{position:absolute;opacity:0;pointer-events:none}
.agj-toggle{display:grid;grid-template-columns:1fr;gap:10px}
.agj-opt,.agj-chip{position:relative;display:block;cursor:pointer}
.agj-opt span{display:block;padding:14px 16px;border:2px solid var(--line);border-radius:14px;background:#fff}
.agj-opt strong{display:block;font-size:16px}
.agj-opt em{display:block;margin-top:2px;color:#5f7169;font-size:13px;font-style:normal}
.agj-opt input:checked+span,.agj-chip input:checked+span{border-color:var(--g1);background:var(--mist);box-shadow:inset 0 0 0 1px var(--g1)}
.agj-chips{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.agj-chip span{display:flex;align-items:center;justify-content:center;min-height:48px;border:2px solid var(--line);border-radius:12px;font-weight:850;font-size:15px;background:#fff}
.agj-other{display:block;margin-top:12px}
.agj-other span{display:block;margin-bottom:6px;font-size:13px;color:#5f7169}
.agj-other input{width:100%;min-height:48px;padding:0 14px;border:2px solid var(--line);border-radius:12px;font-size:16px;font-weight:700}
.agj-other[hidden]{display:none}
.agj-step--review{position:sticky;bottom:0;z-index:5;margin:0 -16px 0;padding:14px 16px 16px;background:#fff;border-top:1px solid var(--line);box-shadow:0 -10px 24px rgba(18,61,46,.08)}
.agj-summary{margin-bottom:12px;padding:12px 14px;border-radius:12px;background:var(--mist)}
.agj-summary__line{margin:0;font-weight:850;font-size:15px;line-height:1.4}
.agj-summary__sub{margin:2px 0 0;color:#5f7169;font-size:13px}
.agj-give{width:100%}
.agj-trust{margin:14px 0 0;color:#5f7169;font-size:13px;text-align:center}
.agj-trust a{color:var(--g1);font-weight:700}
.agj-faq details{margin-bottom:8px;border:1px solid #dce9e2;border-radius:14px;background:#fff}
.agj-faq summary{padding:14px 16px;font-weight:800;font-size:15px;cursor:pointer}
.agj-faq details p{margin:0;padding:0 16px 14px;color:#5f7169;font-size:14px;line-height:1.55}
.agj-free{padding:24px 18px;border:1px solid #f0d98a;border-radius:22px;background:#fff8e1;text-align:center;margin-bottom:40px}
.agj-free h2{color:var(--ink);margin-bottom:12px}
@media(min-width:760px){
 .agj{padding:0 20px}
 .agj-hero{grid-template-columns:1.3fr 1fr;text-align:left;padding:42px;gap:36px;align-items:center}
 .agj-hero p{margin-left:0}
 .agj-hero__visual{order:0;text-align:center}
 .agj-hero__visual img{width:min(100%,300px);height:auto}
 .agj-cards{grid-template-columns:repeat(3,1fr)}
 .agj-toggle{grid-template-columns:1fr 1fr}
 .agj-chips{grid-template-columns:repeat(7,1fr)}
 .agj-choose{padding:28px}
 .agj-step--review{margin:0 -28px -28px;padding:16px 28px 22px;position:static;box-shadow:none}
 .agj-give{width:auto;min-width:300px}
}
@media(prefers-reduced-motion:reduce){.agj *{transition:none!important}}
/* Hide the theme's footer paid-plan popups on the gift page (v2 only: this file loads only when the switch is ON) */
body.term-quran-course-gift #site-pricing-section,body.term-quran-course-gift #site-basic-plan-needed-section,
body.ag-sadaqah-product #site-pricing-section,body.ag-sadaqah-product #site-basic-plan-needed-section{display:none!important}
/* Product page: read-only summary */
.agj-single{display:block;max-width:640px;margin:0 auto 40px;padding:clamp(22px,4vw,36px);border:1px solid #e0eae4;border-radius:24px;background:#fff;box-shadow:0 14px 38px rgba(18,61,46,.07);font-family:'DM Sans',sans-serif;color:#143a2f}
.agj-single h1{margin:0 0 10px;font-size:clamp(1.6rem,5vw,2.3rem);font-weight:900;line-height:1.1;color:#143a2f}
.agj-single p{margin:0 0 14px;color:#5f7169;font-size:15px;line-height:1.55}
.agj-single__chosen{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin:0 0 16px;padding:14px 16px;border-radius:14px;background:#f1f7f2;font-weight:850}
.agj-single__chosen a{color:#076b47;font-size:14px;font-weight:800}
.agj-single__total{margin:0 0 16px;font-weight:850;font-size:16px}
.agj-single .agj-btn{width:100%;background:#076b47;color:#fff!important;border:0}

/* Zakat toggle (same idea as the app: off = Sadaqah-e-Jariyah) */
.agj .agj-zakat{display:flex;align-items:center;gap:12px;margin:0 0 12px;padding:12px 14px;border:1.5px solid #d6e6dc;border-radius:14px;background:#fff;cursor:pointer}
.agj .agj-zakat input{width:22px;height:22px;accent-color:#076b47;flex:none}
.agj .agj-zakat strong{display:block;color:#143a2f;font-size:16px}
.agj .agj-zakat em{display:block;font-style:normal;color:#5b6b63;font-size:13.5px;margin-top:2px}
