.ag-sadaqah-archive-hero,
.ag-sadaqah-single,
.ag-sadaqah-option,
.ag-empty-cart,
.ag-sadaqah-checkout-note,
.ag-sadaqah-cart-note{box-sizing:border-box}
.ag-sadaqah-archive-hero{display:grid;grid-template-columns:minmax(260px,.85fr) minmax(0,1.15fr);align-items:center;gap:clamp(28px,6vw,72px);max-width:1040px;margin:0 auto 28px;padding:clamp(22px,4vw,42px);border-radius:24px;background:#f1f7f2}
.ag-sadaqah-archive-visual{display:grid;min-height:270px;margin:0;place-items:center}
.ag-sadaqah-archive-visual img{display:block;width:min(100%,380px);height:auto;max-height:320px;object-fit:contain}
.ag-sadaqah-archive-copy{max-width:520px}
.ag-sadaqah-archive-eyebrow,.ag-sadaqah-single__eyebrow{display:block;margin-bottom:11px;color:#087554;font-size:12px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.ag-sadaqah-archive-copy h1{margin:0 0 12px;color:#143a2f;font-size:clamp(2.2rem,4.6vw,3.5rem);font-weight:900;letter-spacing:-.05em;line-height:1.04}
.ag-sadaqah-archive-copy p{max-width:460px;margin:0;color:#5f7169;font-size:16px;line-height:1.55}
.ag-sadaqah-archive-jump{display:inline-flex;gap:9px;align-items:center;margin-top:22px;color:#075d45;font-size:14px;font-weight:850;text-decoration:none}
.ag-sadaqah-archive-jump:focus-visible,.ag-sadaqah-option a:focus-visible,.ag-sadaqah-single a:focus-visible,.ag-sadaqah-single button:focus-visible,.ag-empty-cart a:focus-visible{outline:3px solid #ffc629;outline-offset:3px}
.ag-sadaqah-breadcrumb{display:flex;gap:9px;align-items:center;width:max-content;max-width:100%;margin:0 auto 30px;padding:8px 0;color:#6a7c73;font-size:13px}
.ag-sadaqah-breadcrumb a{color:#075d45;font-weight:750;text-decoration:none}
.ag-sadaqah-plans-heading{margin:0 auto 18px;text-align:center}
.ag-sadaqah-plans-heading h2{margin:0;color:#143a2f;font-size:clamp(1.55rem,3vw,2rem);font-weight:850;letter-spacing:-.035em;line-height:1.15}
.ag-sadaqah-plans-heading p{margin:6px 0 0;color:#66776f;font-size:14px}
.ag-sadaqah-product-grid{width:min(900px,100%);margin-right:auto!important;margin-left:auto!important;grid-template-columns:repeat(2,minmax(0,1fr))}
.ag-sadaqah-option{display:grid;min-width:0;grid-template-columns:120px minmax(0,1fr);align-items:center;gap:18px;padding:16px;border:1px solid #dce9e2;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(18,61,46,.06)}
.ag-sadaqah-option__image{display:block;overflow:hidden;aspect-ratio:1;border-radius:13px;background:#eef6f0}
.ag-sadaqah-option__image img{display:block;width:100%;height:100%;object-fit:cover}
.ag-sadaqah-option__body{display:flex;min-width:0;flex-direction:column;align-self:stretch;justify-content:center}
.ag-sadaqah-option__label{color:#07845e;font-size:10px;font-weight:850;letter-spacing:.07em;text-transform:uppercase}
.ag-sadaqah-option h3{margin:5px 0 4px;color:#143a2f;font-size:19px;font-weight:850;line-height:1.2}
.ag-sadaqah-option h3 a{color:inherit;text-decoration:none}
.ag-sadaqah-option p{margin:0;color:#64766e;font-size:13px;line-height:1.4}
.ag-sadaqah-option__footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:16px;padding-top:13px;border-top:1px solid #e8eee9}
.ag-sadaqah-option__price{color:#075d45;font-size:19px;font-weight:900;line-height:1.15}
.ag-sadaqah-option__price .subscription-details{display:block;margin-top:3px;color:#66776f;font-size:11px;font-weight:600}
.ag-sadaqah-option__cta,.ag-sadaqah-single__cta{display:inline-flex;min-height:42px;align-items:center;justify-content:center;gap:8px;padding:0 16px;border:0;border-radius:11px;background:#ffc629;color:#143a2f!important;font-size:13px;font-weight:850;text-decoration:none!important;white-space:nowrap;cursor:pointer}
.ag-sadaqah-archive-note{max-width:700px;margin:8px auto 0;color:#718078;font-size:12px;line-height:1.5;text-align:center}
.ag-sadaqah-single{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(28px,6vw,74px);max-width:1080px;margin:0 auto 58px;padding:clamp(22px,4vw,44px);border:1px solid #e0eae4;border-radius:24px;background:#fff;box-shadow:0 14px 38px rgba(18,61,46,.07)}
.ag-sadaqah-single__visual{display:flex;min-height:350px;flex-direction:column;align-items:center;justify-content:center;margin:0;padding:20px;border-radius:20px;background:#f2f7f3}
.ag-sadaqah-single__visual img{display:block;width:min(100%,420px);height:auto;max-height:390px;object-fit:contain}
.ag-sadaqah-single__visual figcaption{margin-top:8px;color:#60746a;font-size:13px;font-weight:750}
.ag-sadaqah-single__copy h1{margin:0 0 12px;color:#143a2f;font-size:clamp(2rem,4vw,3rem);font-weight:900;letter-spacing:-.045em;line-height:1.05}
.ag-sadaqah-single__copy>p:not(.ag-sadaqah-single__note){margin:0;color:#5f7169;font-size:15px;line-height:1.55}
.ag-sadaqah-single__amount{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:22px 0 16px;padding:15px 17px;border-radius:13px;background:#f2f7f3;color:#264c3d}
.ag-sadaqah-single__amount>span{font-size:13px;font-weight:750}
.ag-sadaqah-single__amount strong{color:#075d45;font-size:22px;font-weight:900;text-align:right}
.ag-sadaqah-single__amount .subscription-details{display:block;color:#66776f;font-size:12px;font-weight:600}
.ag-sadaqah-single__form{display:flex;align-items:end;gap:12px}
.ag-sadaqah-single__quantity{display:flex;min-width:145px;flex-direction:column;gap:6px;color:#345a4c;font-size:12px;font-weight:800}
.ag-sadaqah-single__quantity .quantity{display:block;margin:0!important}
.ag-sadaqah-single__quantity input{width:100%;min-height:46px;border:1px solid #cadbd1;border-radius:10px;background:#fff;color:#183c30;font-size:16px}
.ag-sadaqah-single__cta{min-height:48px;flex:1;font-size:14px}
.ag-sadaqah-single__note{margin:14px 0 0!important;color:#77847e!important;font-size:12px!important;line-height:1.5!important}
.ag-empty-cart{max-width:700px;margin:28px auto 54px;padding:clamp(26px,5vw,50px);border:1px solid #dce9e2;border-radius:22px;background:#f4f8f5;text-align:center}
.ag-empty-cart__mark{display:grid;width:54px;height:54px;margin:0 auto 16px;border-radius:50%;background:#e1f1e8;color:#087554;font-size:25px;font-weight:800;place-items:center}
.ag-empty-cart__mark svg{display:block;width:24px;height:24px}
.ag-empty-cart h2{margin:0 0 8px;color:#143a2f;font-size:clamp(1.65rem,4vw,2.15rem);font-weight:900;letter-spacing:-.035em;line-height:1.1}
.ag-empty-cart p{max-width:440px;margin:0 auto;color:#63756d;font-size:14px;line-height:1.5}
.ag-empty-cart__actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:20px}
.ag-empty-cart__actions a{display:inline-flex;min-height:46px;align-items:center;justify-content:center;padding:0 18px;border:1px solid #c9ded3;border-radius:11px;background:#fff;color:#075d45;font-size:13px;font-weight:850;text-decoration:none}
.ag-empty-cart__actions a:first-child{border-color:#ffc629;background:#ffc629;color:#143a2f}
.ag-sadaqah-cart-note,.ag-sadaqah-checkout-note{margin:0 0 20px;padding:16px 18px;border-left:4px solid #07845e;border-radius:0 12px 12px 0;background:#eff7f2;color:#264c3d}
.ag-sadaqah-cart-note strong,.ag-sadaqah-checkout-note strong{display:block;margin-bottom:4px;color:#143a2f;font-size:15px;font-weight:850}
.ag-sadaqah-cart-note p,.ag-sadaqah-checkout-note p{margin:0;color:#5f7169;font-size:13px;line-height:1.5}
body.ag-sadaqah-checkout .ag-course-selector label,body.ag-sadaqah-checkout #ag_course_dropdown_field label{color:#234d3e;font-weight:750}
body.ag-sadaqah-checkout .woocommerce-checkout-review-order-table{border-radius:12px;overflow:hidden}
@media(max-width:760px){.ag-sadaqah-archive-hero,.ag-sadaqah-single{grid-template-columns:1fr;gap:20px}.ag-sadaqah-archive-hero{padding:20px}.ag-sadaqah-archive-visual{min-height:190px}.ag-sadaqah-archive-visual img{width:min(76%,300px);max-height:220px}.ag-sadaqah-archive-copy{text-align:center}.ag-sadaqah-archive-copy p{margin-inline:auto}.ag-sadaqah-product-grid{grid-template-columns:1fr}.ag-sadaqah-option{grid-template-columns:96px minmax(0,1fr);gap:14px;padding:13px}.ag-sadaqah-single{padding:18px}.ag-sadaqah-single__visual{min-height:230px;padding:12px}.ag-sadaqah-single__visual img{width:min(82%,310px);max-height:275px}.ag-sadaqah-single__copy h1{font-size:2.1rem}}
@media(max-width:420px){.ag-sadaqah-option{grid-template-columns:82px minmax(0,1fr);gap:11px;padding:11px}.ag-sadaqah-option h3{font-size:17px}.ag-sadaqah-option p{font-size:12px}.ag-sadaqah-option__footer{gap:7px;margin-top:12px;padding-top:11px}.ag-sadaqah-option__price{font-size:17px}.ag-sadaqah-option__cta{min-height:40px;padding:0 11px;font-size:12px}.ag-sadaqah-single__form{align-items:stretch;flex-direction:column}.ag-sadaqah-single__quantity{min-width:0}.ag-sadaqah-single__cta{width:100%}.ag-empty-cart__actions{flex-direction:column}.ag-empty-cart__actions a{width:100%}}

.ag-sadaqah-quantity{width:min(520px,100%);margin:18px auto 24px;padding:16px 18px;border:1px solid #d9e9e0;border-radius:16px;background:#f3f8f5;color:#234d3e}
.ag-sadaqah-quantity>label{display:block;margin:0 0 8px;color:#143a2f;font-size:15px;font-weight:850}
.ag-sadaqah-quantity__fields{display:flex;align-items:center;gap:10px}
.ag-sadaqah-quantity select,.ag-sadaqah-quantity input{width:100%;min-height:46px;padding:0 13px;border:1px solid #cadbd1;border-radius:10px;background:#fff;color:#173c30;font:inherit;font-size:15px;font-weight:700}
.ag-sadaqah-quantity__custom{display:block;flex:0 0 150px}
.ag-sadaqah-quantity__custom[hidden]{display:none}
.ag-sadaqah-quantity>p{margin:8px 0 0;color:#64766e;font-size:12px;line-height:1.45}
.ag-sadaqah-quantity select:focus-visible,.ag-sadaqah-quantity input:focus-visible{outline:3px solid #ffc629;outline-offset:2px}
.ag-sadaqah-option__per-learner{display:block;margin-top:3px;color:#66776f;font-size:11px;font-weight:600}
.ag-sadaqah-option__total{display:flex;flex-direction:column;gap:3px;margin:12px 0 0;padding-top:10px;border-top:1px solid #e8eee9}
.ag-sadaqah-option__total span{color:#66776f;font-size:11px;font-weight:700}
.ag-sadaqah-option__total strong{color:#075d45;font-size:13px;font-weight:850;line-height:1.35}
.ag-sadaqah-quantity--detail{width:100%;margin:0;padding:14px;border-radius:13px}
.ag-sadaqah-single__form{align-items:stretch;flex-direction:column}
.ag-sadaqah-single__cta{flex:0 0 auto}
.ag-sadaqah-single__total{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin:0;padding:13px 15px;border-radius:12px;background:#eff7f2;color:#345a4c}
.ag-sadaqah-single__total span{font-size:13px;font-weight:750}
.ag-sadaqah-single__total strong{color:#075d45;font-size:17px;font-weight:900;text-align:right}
@media(max-width:420px){.ag-sadaqah-quantity{padding:14px}.ag-sadaqah-quantity__custom{flex-basis:120px}.ag-sadaqah-single__total strong{font-size:15px}}

/* Keep the two contribution plans readable even when the store's global grid rules load later. */
.woocommerce ul.products.ag-store-product-grid.ag-sadaqah-product-grid,
.woocommerce-page ul.products.ag-store-product-grid.ag-sadaqah-product-grid,
ul.products.ag-store-product-grid.ag-sadaqah-product-grid{width:min(900px,calc(100% - 32px))!important;margin-right:auto!important;margin-left:auto!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
.ag-sadaqah-option__footer{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:10px}
.ag-sadaqah-option__price{min-width:0;overflow-wrap:anywhere}
.ag-sadaqah-option__cta{width:100%;min-width:0;box-sizing:border-box;white-space:normal;text-align:center}
@media(max-width:760px){.woocommerce ul.products.ag-store-product-grid.ag-sadaqah-product-grid,.woocommerce-page ul.products.ag-store-product-grid.ag-sadaqah-product-grid,ul.products.ag-store-product-grid.ag-sadaqah-product-grid{width:min(520px,calc(100% - 28px))!important;grid-template-columns:minmax(0,1fr)!important}}
