/* MEDmart — additions on top of the 2027 design (style.css is the design, kept verbatim). */

/* Rich text coming from the admin editor / seeded HTML */
.prose h3{font-size:1.2rem;font-weight:800;margin:22px 0 10px}
.prose ul,.prose ol{margin:0 0 14px;padding:0}
.prose ul{list-style:none}
.prose ol{padding-inline-start:22px}
.prose ul li{position:relative;padding-inline-start:30px;margin-bottom:10px;color:var(--muted)}
.prose ul li:before{content:"✓";position:absolute;inset-inline-start:0;top:2px;width:20px;height:20px;border-radius:50%;background:var(--brand);color:#fff;font-size:.7rem;display:grid;place-items:center}
.prose li b,.prose li strong{color:var(--ink,inherit);font-weight:700}
.prose a{color:var(--brand-d);text-decoration:underline}
.news-body p,.svc-body p{max-width:none}
.svc-body>p:first-child,.news-body>p:first-child{font-size:1.05rem}

/* Form feedback (contact + checkout) */
.form-errors,.checkout-errors{background:#fdecec;border:1px solid #f3c2c2;color:#8a1f1f;border-radius:12px;padding:12px 16px;margin-bottom:16px;font-size:.92rem}
.form-errors ul,.checkout-errors ul{margin:0;padding-inline-start:18px}
.text-center{text-align:center}

/* ===== Checkout / confirmation / verify (re-skinned onto the 2027 layout) ===== */
.checkout-section .wrap{max-width:760px}
.checkout-card{background:#fff;border:1px solid var(--line,rgba(0,0,0,.08));border-radius:16px;padding:36px;box-shadow:0 10px 40px rgba(12,27,42,.06)}
.checkout-card .checkout-heading{text-align:center;margin-bottom:26px}
.checkout-form .form-row{display:grid;gap:18px}
@media (min-width:576px){.checkout-form .form-row{grid-template-columns:1fr 1fr}}
.checkout-form label,.receipt-block label{display:block;font-size:.88rem;margin-bottom:6px;color:var(--muted)}
.checkout-form input,.receipt-block input[type=file]{width:100%;padding:11px 14px;border:1px solid rgba(0,0,0,.12);border-radius:10px;margin-bottom:18px;font:inherit}
.ticket-grid{display:grid;gap:14px;margin-top:8px}
@media (min-width:576px){.ticket-grid{grid-template-columns:1fr 1fr}}
.ticket-option{position:relative;display:block;border:1px solid rgba(0,0,0,.12);border-radius:12px;padding:18px;cursor:pointer;transition:border-color .2s,box-shadow .2s}
.ticket-option:has(input:checked){border-color:var(--brand);box-shadow:0 0 0 3px rgba(2,164,137,.25)}
.checkout-form .ticket-option input{position:absolute;inset-inline-end:16px;top:18px;width:auto;margin:0}
.ticket-option .ticket-name{font-weight:600;display:block;padding-inline-end:28px}
.ticket-option .ticket-price{font-size:1.1rem;font-weight:700;margin-top:8px;display:block}
.ticket-option .ticket-price small{font-size:.75rem;font-weight:500;color:var(--muted)}
.ticket-option .ticket-badge{position:absolute;top:-12px;inset-inline-start:16px;background:var(--brand);color:#fff;font-size:.75rem;font-weight:600;padding:3px 10px;border-radius:999px}
.checkout-submit{width:100%;justify-content:center;margin-top:8px}
.checkout-back{display:block;text-align:center;margin-top:20px;font-size:.9rem}
.summary-list{border:1px solid rgba(0,0,0,.1);border-radius:12px;overflow:hidden;margin:24px 0}
.summary-list .row{display:flex;justify-content:space-between;gap:16px;padding:12px 16px;border-bottom:1px solid rgba(0,0,0,.06)}
.summary-list .row:last-child{border-bottom:0}
.status--paid{color:var(--brand-d);font-weight:600}
.status--danger{color:#d64545;font-weight:600}
.status--warning{color:#d99a2b;font-weight:600}
.receipt-block{border-top:1px solid rgba(0,0,0,.08);padding-top:22px;margin-top:8px}
.receipt-block h3{font-size:1.1rem;margin-bottom:8px}
.verify-wrap{text-align:center}
.verify-icon{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;margin:0 auto 14px}
.verify-icon--paid{background:#e3f6f2;color:var(--brand-d)}
.verify-icon--pending{background:#fdf3dc;color:#b37a0e}
.verify-icon--invalid{background:#fdecec;color:#c23b3b}
.verify-list{text-align:start}
.verify-list .label{font-size:.8rem;color:var(--muted);margin:12px 0 2px}
.verify-list .value{font-weight:600}

/* Legal pages + footer links + checkout consent line */
.legal-body h3{margin:28px 0 10px}
.legal-body a{color:var(--green,#1a8f5b);text-decoration:underline}
.legal-links a{color:inherit;opacity:.85}
.legal-links a:hover{opacity:1;text-decoration:underline}
.checkout-legal{font-size:.82rem;opacity:.8;margin:0 0 14px}
.checkout-legal a{text-decoration:underline}
