/* Transparent, optional gifting on top of the existing memorial design. */
.commerce-page .btn-outline{background:#f9f9f7;color:#313b2a;border:1px solid #e2ded6;box-shadow:none;border-radius:12px;padding:10px 17px}
.commerce-page .eyebrow,.commerce-dialog .eyebrow{font-size:13px;color:#576a4b;line-height:1.8;margin-bottom:3px}
.memorial-services{margin-block:30px;scroll-margin-top:115px;min-width:0}
.services-heading{margin-bottom:22px;max-width:720px}.services-heading h2{font-size:clamp(22px,2.5vw,29px);line-height:1.7;margin-bottom:7px}
.services-heading>p:last-child{font-size:15px;line-height:1.9;color:#495159}
/* Equal cards, 3 / 2 / 1 per row; a short last row is centred, so any number of gifts and any order (khatm_type
   priority) leave no holes. The yearly package is only highlighted, no longer twice as wide. */
.service-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:15px}.service-grid>.service-card{flex:0 1 calc((100% - 30px) / 3)}
.service-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;text-decoration:none;padding:23px;border:1px solid #f0ede9;border-radius:20px;background:#fdfcfc;min-width:0;transition:border-color .18s,background .18s}
button.service-card{font:inherit;color:inherit;text-align:start;cursor:pointer;width:100%}
.service-purchased-badge{display:inline-flex;align-items:center;gap:4px;background:#eef3eb;color:#3f5e3b;padding:3px 10px;border-radius:999px;font-size:13px;font-weight:700}
.service-card:hover{border-color:#586b4c;background:#f8faf7}.service-card:focus-visible{outline:3px solid #56684a;outline-offset:4px}
.service-card.service-featured{background:linear-gradient(120deg,#f5f7f3,#fcfcfb);border-color:#e0dbd2}
.service-icon{display:grid;place-items:center;width:44px;height:44px;border:1px solid #e6e2db;border-radius:14px;color:#506145;margin-bottom:14px;background:#f5f7f3}
.service-icon .ui-icon{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7}
.service-category{font-size:13px;color:#57694b;margin-bottom:5px}.service-card h3{font-size:18px;line-height:1.8;margin:0 0 7px;color:#2e3828}
.service-card>p{font-size:14px;line-height:1.9;color:#4a525b;margin-bottom:20px;overflow-wrap:anywhere}
.service-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:auto;width:100%;padding-top:15px;border-top:1px solid #f1efeb}
.service-card-bottom>strong{font-size:16px;color:#4c5d42;font-variant-numeric:tabular-nums}.service-card-bottom>span{display:flex;gap:6px;align-items:center;font-size:13px;color:#415038}
.service-card-bottom .ui-icon{width:17px;height:17px}
html.commerce-modal-open{overflow:hidden}
.commerce-dialog{width:min(640px,calc(100% - 24px));max-height:calc(100dvh - 24px);padding:0;border:1px solid #e4e0d8;border-radius:24px;margin:auto;background:#fefdfd;color:#2f3a29;box-shadow:0 25px 90px rgba(0,0,0,.53);overflow:hidden;font:inherit;color-scheme:light}
.commerce-dialog[open]{display:flex;flex-direction:column}.commerce-dialog::backdrop{background:rgba(44,62,80,.4);backdrop-filter:blur(5px)}
.commerce-dialog-heading{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:19px 24px;background:#f7f9f5;border-bottom:1px solid #ebe8e2;flex-shrink:0}
.commerce-dialog-heading h2{font-size:22px;line-height:1.6;margin:0}.commerce-close{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;padding:0;border:1px solid #798592;border-radius:50%;background:transparent;color:#35402e;font:inherit;font-size:25px;line-height:1;cursor:pointer}
.commerce-dialog-body{padding:23px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#e2ded6 transparent;min-height:0}
.commerce-dialog-body::-webkit-scrollbar{width:5px}.commerce-dialog-body::-webkit-scrollbar-thumb{background:#e2ded6;border-radius:8px}
.commerce-dedication{padding:15px 17px;background:#faf9f7;border-radius:14px;margin-bottom:18px;border-inline-start:3px solid #586b4c}
.commerce-dedication span,.commerce-dedication small{display:block;font-size:13px;color:#4f6044}.commerce-dedication strong{display:block;font-size:18px;line-height:1.8;overflow-wrap:anywhere}
.commerce-summary{color:#44533b;line-height:1.95;margin:13px 0;font-size:15px}
.commerce-details{padding-inline-start:20px;line-height:2;font-size:14px;color:#4e5e43;margin:10px 0 18px}.commerce-details li+li{margin-top:4px}
.commerce-notice{padding:13px 15px;background:#f9f8f6;border:1px solid #e7e3dc;border-radius:12px;color:#3d4b35;line-height:1.9;font-size:14px;margin:16px 0}
.commerce-errors{padding:14px 17px;border:1px solid #9d2d25;border-radius:12px;color:#651d18;font-size:14px;line-height:1.9;margin:16px 0}.commerce-errors ul{padding-inline-start:20px}
.commerce-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:20px;align-items:start}.commerce-form label,.commerce-fields label,.commerce-custom-fields label{display:grid;align-content:start;gap:8px;min-width:0;font-size:15px;color:#3a4732}
.commerce-form input:not([type=radio]):not([type=hidden]),.commerce-form select,.commerce-fields select,.commerce-fields textarea{width:100%;min-width:0;padding:11px 13px;min-height:48px;background:#ffffff;border:1px solid #e6e3dc;border-radius:11px;color:#2e3828;font:inherit;font-size:16px;line-height:1.7;color-scheme:light}
.commerce-form :focus-visible,.commerce-page :focus-visible{outline:3px solid #586b4c;outline-offset:2px}
.commerce-fields small,.commerce-hint{font-size:13px;color:#4c555d;line-height:1.9}.commerce-hint{margin:10px 0 14px}
.commerce-custom-fields{display:grid;gap:18px;margin-top:20px}.commerce-form .text-action{background:none;border:0;color:#506245;font:inherit;font-size:14px;text-decoration:underline;cursor:pointer;min-height:44px}
.commerce-privacy{border:1px solid #eceae4;border-radius:14px;margin:18px 0 14px;padding:10px 16px;min-width:0}
.commerce-privacy label{display:flex;gap:10px;align-items:center;min-height:44px;padding-block:7px;font-size:14px;line-height:1.9;cursor:pointer}.commerce-privacy input{appearance:none;display:grid;place-items:center;width:21px;height:21px;flex:0 0 21px;border:2px solid #7a8692;border-radius:50%;background:transparent}.commerce-privacy input:checked{border-color:#546648}.commerce-privacy input:checked::after{content:'';width:9px;height:9px;border-radius:50%;background:#586b4c}
.commerce-total{display:none}
.commerce-submit{width:100%;min-height:48px;padding:10px 18px;display:flex;align-items:center;justify-content:center;gap:12px;font-size:16px;font-weight:700;border-radius:14px;white-space:normal;transition:background .18s,border-color .18s;cursor:pointer}
.commerce-submit.has-price{justify-content:space-between}
.commerce-submit-text{flex:1 1 auto;text-align:center}
.commerce-submit.has-price .commerce-submit-text{text-align:start}
.commerce-submit-price{flex:0 0 auto;font-variant-numeric:tabular-nums;font-size:16px;font-weight:800;padding:4px 10px;border-radius:9px;background:rgba(0,0,0,.1);color:inherit;letter-spacing:.2px}
.commerce-submit-price:empty{display:none}
.commerce-submit:disabled{opacity:.7;cursor:not-allowed;box-shadow:none}
.commerce-stage{display:block;padding:30px var(--page-gutter,16px) 50px}.commerce-page{width:100%;max-width:740px;margin:auto;min-width:0}.commerce-page h1{font-size:clamp(23px,3vw,31px);line-height:1.8}.commerce-page-panel{padding:28px;border:1px solid #eeece7;background:#fdfcfc;border-radius:22px;margin-top:22px;min-width:0}.commerce-page-panel h2{font-size:22px;line-height:1.8}.commerce-page-heading{margin-top:20px}
.order-facts{margin-block:22px}.order-facts>div{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid #efede8;padding:14px 0;font-size:15px}.order-facts dt{color:#505962}.order-facts dd{max-width:65%;overflow-wrap:anywhere;text-align:end;font-variant-numeric:tabular-nums}
.receipt-links,.demo-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:20px}.receipt-links a,.commerce-page .btn{font-size:15px;min-height:44px}.commerce-page .text-action{display:inline-block;color:#526447;padding:10px 0;font-size:15px;text-decoration:none}.demo-amount{font-size:34px;color:#526447;margin:20px 0}.demo-amount span{font-size:18px}
.order-list{display:grid;gap:16px}.order-list article{padding:22px;border:1px solid #eeece7;border-radius:18px;background:#fcfcfb;display:flex;gap:20px;align-items:center;justify-content:space-between;min-width:0}.order-list h2{font-size:19px}.order-list p{font-size:14px;line-height:1.9;color:#4a525b}.order-list strong{display:block;color:#516346;margin-top:10px}.order-list .btn{flex-shrink:0}.admin-order-filters{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:22px}.order-list .admin-order{display:block}.admin-order .commerce-fields{padding-top:16px;border-top:1px solid #eeebe6}.admin-order form .btn{align-self:end}
@media(max-width:1000px){.service-grid>.service-card{flex-basis:calc((100% - 15px) / 2)}}
.workspace .admin-order-filters .btn[aria-current="page"]{border-color:var(--iporse-navy);background:var(--iporse-navy);color:#fff}
@media(max-width:600px){.service-grid{gap:12px}.service-grid>.service-card{flex-basis:100%}.service-card{padding:20px}.service-icon{margin-bottom:10px}.service-card>p{margin-bottom:14px}.commerce-fields{grid-template-columns:1fr}.commerce-dialog{border-radius:18px}.commerce-dialog-heading{padding:15px 16px;gap:10px}.commerce-dialog-heading h2{font-size:19px}.commerce-dialog-body{padding:17px 15px}.commerce-page-panel{padding:21px 17px}.commerce-total strong{font-size:19px}.commerce-privacy{padding:12px}.order-facts>div{display:block}.order-facts dd{max-width:100%;text-align:start;margin-top:5px}.receipt-links,.demo-actions{display:grid;grid-template-columns:1fr}.order-list article{display:block}.order-list .btn{margin-top:14px}.order-list .commerce-fields{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.service-card{transition:none}}

.commerce-form .commerce-privacy-disclosure{border:1px solid #eae7e1;border-radius:13px;margin:20px 0 12px;background:#fbfbf9;overflow:hidden}
.commerce-form .commerce-privacy-disclosure>summary{display:flex;align-items:center;gap:10px;min-height:52px;padding:12px 14px;list-style:none;cursor:pointer;font-size:14px;line-height:1.8}
.commerce-privacy-disclosure>summary::-webkit-details-marker{display:none}.commerce-privacy-disclosure>summary>strong{margin-inline-start:auto;font-size:13px;color:#4b5b41;text-align:end}.commerce-privacy-disclosure>summary .ui-icon{width:18px;height:18px;flex-shrink:0}.commerce-privacy-disclosure[open]>summary .ui-icon{transform:rotate(180deg)}
.commerce-privacy-disclosure .commerce-privacy{margin:0 12px 12px;padding:8px 10px;border-color:#ebe8e2}.commerce-privacy-disclosure .commerce-hint{margin:4px 0}
.commerce-dialog>.commerce-checkout{flex:0 0 auto;padding:14px 23px 18px;background:#fefdfd;border-top:1px solid #ebe8e2}.commerce-dialog-body{flex:1 1 auto}
@media(max-width:600px){.commerce-dialog>.commerce-checkout{padding:12px 15px 15px}.commerce-form .commerce-privacy-disclosure>summary{align-items:start;gap:7px;font-size:13px}.commerce-privacy-disclosure>summary>strong{font-size:12px}}
/* Admin: group Quran completion (commerce/group-khatm) */
.gk-admin-card{display:grid;gap:14px;margin-bottom:18px;padding:20px;border:1px solid #eeece7;border-radius:18px;background:#fcfcfb}
.gk-admin-card h2{margin:0;font-size:1.05rem}
.gk-admin-card form{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0}
.gk-admin-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;margin:0}
.gk-admin-stats div{padding:12px;border-radius:14px;background:#F6EFE0;text-align:center}
.gk-admin-stats dt{font-size:.78rem;color:#7A5D24}.gk-admin-stats dd{margin:4px 0 0;font-size:1.15rem;font-weight:800;color:#2C3E50}
.gk-admin-meter{height:10px}
.gk-admin-table-wrap{overflow-x:auto}
.gk-admin-table{width:100%;border-collapse:collapse;font-size:.88rem}
.gk-admin-table th,.gk-admin-table td{padding:10px 8px;border-bottom:1px solid #eeece7;text-align:right;white-space:nowrap}
.gk-admin-table th{font-size:.78rem;color:#5C636B;font-weight:700}
.gk-admin-form label{display:grid;gap:4px;font-size:.85rem}.gk-admin-form .gk-admin-wide{flex:1;min-width:200px}
.gk-admin-form input,.gk-admin-form select{padding:8px 10px;border:1px solid #ddd8cc;border-radius:10px;font:inherit}
.gk-admin-history{display:grid;gap:6px;margin:0;padding:0;list-style:none}
.gk-admin-history li{display:flex;justify-content:space-between;gap:10px;padding:8px 12px;border-radius:10px;background:#F7F5F0;font-size:.88rem}
.gk-admin-card button:disabled{opacity:.5;cursor:not-allowed}
/* «حمایت از آی‌پُرسه»: a too-small amount is refused on «ثبت سفارش» with this red note above the total. */
.commerce-min-error{margin:0 0 10px;padding:10px 14px;border:1px solid #e3a59f;border-radius:12px;background:#fdf0ee;color:#9d2d25;font-size:14px;font-weight:700;line-height:1.8}
.commerce-min-error[hidden]{display:none}
/* Receipt (commerce/order.blade.php): one card, header with picture and status, amount, facts grid, one action row. */
.receipt-page{max-width:680px}
.receipt-card{padding:26px;border:1px solid #eeece7;border-radius:24px;background:#fdfcfc;box-shadow:0 18px 50px rgba(60,55,40,.07);min-width:0}
.receipt-head{display:flex;align-items:center;gap:16px;padding-bottom:20px;border-bottom:1px solid #efede8}
.receipt-image{flex:none;width:64px;height:64px;border-radius:18px;object-fit:cover}
.receipt-title{flex:1;min-width:0}.receipt-title .eyebrow{margin:0 0 2px}
.receipt-page .receipt-title h1{margin:0;font-size:clamp(20px,2.6vw,25px);line-height:1.6}
.receipt-for{margin:2px 0 0;color:#5b6b50;font-size:14px}
.receipt-status{flex:none;align-self:flex-start;padding:6px 12px;border-radius:999px;font-size:13px;font-weight:700;white-space:nowrap;background:#f1efea;color:#4d5560}
.receipt-status.is-paid{background:#e8f1e3;color:#3f5a32}.receipt-status.is-pending{background:#fbf1dc;color:#7a5a1c}.receipt-status.is-canceled{background:#fbeceb;color:#8f2f27}
.receipt-amount{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0 16px;padding:16px 18px;border-radius:16px;background:#f5f7f2;border:1px solid #e5e9df;font-size:15px;color:#4a525b}
.receipt-amount strong{font-size:23px;color:#3f5035;font-variant-numeric:tabular-nums}
.receipt-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}
.receipt-facts>div{padding:12px 14px;border:1px solid #efede8;border-radius:14px;background:#fff;min-width:0}
.receipt-facts dt{font-size:12.5px;color:#6b737b;margin-bottom:3px}.receipt-facts dd{margin:0;font-size:15px;color:#2f3a29;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.receipt-facts .receipt-tracking{grid-column:1/-1}
.receipt-facts>div:nth-child(odd):nth-last-child(2){grid-column:1/-1} /* an odd fact before the tracking row fills its row */
.receipt-tracking dd{display:flex;align-items:center;justify-content:space-between;gap:10px}
.receipt-tracking code{font:inherit;font-size:13.5px;letter-spacing:.2px;color:#3d4650;overflow-wrap:anywhere;min-width:0}
.receipt-copy{flex:none;min-height:36px;padding:4px 14px;border:1px solid #dcd7cc;border-radius:10px;background:#f9f8f5;color:#3f5035;font:inherit;font-size:13px;cursor:pointer}
.receipt-copy:hover{border-color:#586b4c}.receipt-copy:focus-visible{outline:2px solid #56684a;outline-offset:2px}
.receipt-note{display:flex;gap:9px;align-items:flex-start;margin:16px 0 0;font-size:13.5px;line-height:1.9;color:#5a636b}
.receipt-note .ui-icon{flex:none;width:18px;height:18px;margin-top:4px;color:#8a7a52}
.receipt-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:22px;padding-top:20px;border-top:1px solid #efede8}
.receipt-actions form{flex:1 1 100%;margin:0}.receipt-actions form .btn{width:100%}
.receipt-actions>.btn{flex:1 1 0;display:inline-flex;align-items:center;justify-content:center;gap:7px}
.receipt-actions .ui-icon{width:17px;height:17px}
@media(max-width:600px){.receipt-card{padding:18px 15px;border-radius:20px}.receipt-head{flex-wrap:wrap;gap:12px}.receipt-image{width:54px;height:54px}.receipt-title{flex:1 1 calc(100% - 70px)}.receipt-status{order:3;margin-inline-start:66px}.receipt-facts{grid-template-columns:1fr}.receipt-amount strong{font-size:20px}.receipt-actions>.btn{flex:1 1 100%}}
/* The gift's photo at the top of the order form: full width in its own proportions, rounded, no frame. */
.commerce-photo{margin:0 0 14px;border-radius:16px;overflow:hidden;background:#efece5}
.commerce-photo[hidden]{display:none}
.commerce-photo img{display:block;width:100%;height:auto;opacity:0;transition:opacity .18s ease-in-out}
.commerce-photo img.is-loaded{opacity:1}
@media(max-width:600px){.commerce-photo{border-radius:13px}}

/* 2026-11-24 receipt: Enamad seal under the payment button */
.receipt-trust{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:18px;padding-top:16px;border-top:1px solid var(--iporse-border, #ece8df);color:var(--iporse-muted, #5C636B);font-size:.85rem}
.receipt-trust img{display:block;width:96px;height:auto;min-height:60px}
.receipt-actions .btn .ui-icon{width:18px;height:18px}
.receipt-trust[hidden]{display:none}

/* ===== receipt redesign (2026-11-24): navy band, three steps, the amount large, one list of facts ===== */
.receipt-page{max-width:640px}
.rcpt{overflow:hidden;border:1px solid #ebe6da;border-radius:26px;background:#fff;box-shadow:0 30px 60px -36px rgba(44,62,80,.4)}
.rcpt-head{display:flex;align-items:center;gap:16px;padding:22px 24px;background:#2C3E50;background-image:radial-gradient(110% 140% at 100% 0%,rgba(197,160,89,.28),transparent 55%);color:#fff}
.rcpt-image{flex:none;width:64px;height:64px;border-radius:18px;object-fit:cover;box-shadow:0 0 0 3px rgba(255,255,255,.18)}
.rcpt-title{flex:1;min-width:0}
.rcpt-eyebrow{margin:0;color:#D9BC85;font-size:.82rem;font-weight:700}
.receipt-page .rcpt-title h1{margin:2px 0 0;color:#fff;font-size:clamp(1.15rem,2.6vw,1.45rem);line-height:1.6}
.rcpt-for{margin:2px 0 0;color:#dfe5ea;font-size:.9rem}
.rcpt-status{align-self:flex-start}
.rcpt-steps{display:grid;grid-template-columns:repeat(3,1fr);margin:0;padding:18px 24px 6px;list-style:none;counter-reset:none}
.rcpt-steps li{position:relative;display:grid;justify-items:center;gap:6px;text-align:center;font-size:.85rem;font-weight:700;color:#8a9097}
.rcpt-steps li+li::before{content:"";position:absolute;top:16px;inset-inline-end:calc(50% + 22px);width:calc(100% - 44px);height:2px;border-radius:2px;background:#e7e2d6}
.rcpt-steps li.is-done+li::before,.rcpt-steps li.is-done::before{background:#5D7052}
.rcpt-dot{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;border:2px solid #e2ddd0;background:#fff;color:#8a9097;font-size:.9rem}
.rcpt-dot .ui-icon{width:18px;height:18px}
.rcpt-steps .is-done{color:#3f5a32}.rcpt-steps .is-done .rcpt-dot{border-color:#5D7052;background:#5D7052;color:#fff}
.rcpt-steps .is-current{color:#7a5a1c}.rcpt-steps .is-current .rcpt-dot{border-color:#C5A059;background:#FBF1DC;color:#7a5a1c;box-shadow:0 0 0 5px rgba(197,160,89,.18)}
.rcpt-body{padding:14px 24px 24px}
.rcpt-amount{display:grid;justify-items:center;gap:2px;margin:6px 0 18px;padding:18px;border-radius:18px;background:#faf7ef;border:1px solid #efe7d4}
.rcpt-amount span{font-size:.88rem;color:#6b737b}
.rcpt-amount strong{font-size:clamp(1.6rem,4.5vw,2.1rem);font-weight:900;color:#2C3E50;font-variant-numeric:tabular-nums;line-height:1.3}
.rcpt-amount small{font-size:.5em;font-weight:700;color:#6b737b}
.rcpt-facts{margin:0;border:1px solid #eee9de;border-radius:16px;overflow:hidden}
.rcpt-facts>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:#fff}
.rcpt-facts>div+div{border-top:1px solid #f0ebe1}
.rcpt-facts dt{font-size:.88rem;color:#6b737b}
.rcpt-facts dd{margin:0;font-size:.95rem;font-weight:700;color:#2f3a29;text-align:end;overflow-wrap:anywhere}
.rcpt-pay{margin-top:18px;padding-top:0;border-top:0}
.rcpt-pay .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:54px;font-size:1rem;transition:transform 150ms cubic-bezier(.2,.8,.2,1),box-shadow 150ms cubic-bezier(.2,.8,.2,1)}
@media(hover:hover){.rcpt-pay .btn:hover{transform:translateY(-1px);box-shadow:0 12px 24px -14px rgba(44,62,80,.5)}.rcpt-pay .btn:active{transform:scale(.98)}}
.rcpt-note{display:flex;gap:9px;align-items:flex-start;margin:16px 0 0;font-size:.85rem;line-height:1.9;color:#5a636b}
.rcpt-note .ui-icon{flex:none;width:18px;height:18px;margin-top:4px;color:#8a7a52}
.rcpt-trust{margin-top:16px}
.rcpt .commerce-notice{margin:0 0 14px}
@media(max-width:560px){
 .rcpt-head{flex-wrap:wrap;padding:18px}
 .rcpt-title{flex:1 1 calc(100% - 80px)}
 .rcpt-status{order:3;margin-inline-start:80px}
 .rcpt-steps{padding:16px 12px 4px}
 .rcpt-steps li{font-size:.78rem}
 .rcpt-body{padding:12px 16px 18px}
}

/* 5 Dec 2026: the minimum-amount note under the amount box, in red */
.commerce-hint-error{margin:8px 0 4px;color:#c0392b;font-size:13.5px;font-weight:700;line-height:1.9}
.commerce-hint-error[hidden]{display:none}

/* Receipt: thank-you note once paid, and the way back to the memorial */
.rcpt-thanks{display:grid;justify-items:center;gap:6px;margin:4px 0 16px;padding:20px 18px 18px;border:1px solid #ecd9b0;border-radius:18px;background:linear-gradient(160deg,#fffaf0,#fbf1dc);text-align:center}
.rcpt-thanks-mark{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#fff;color:#b5523b;box-shadow:0 6px 16px -8px rgba(181,82,59,.6)}
.rcpt-thanks-mark .ui-icon{width:24px;height:24px;fill:currentColor}
.rcpt-thanks h2{margin:4px 0 0;font-size:1.08rem;line-height:1.8;color:#2c3e50}
.rcpt-thanks p{margin:0;font-size:.92rem;line-height:2;color:#5a5144}
.rcpt a.rcpt-back{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;margin:16px 0 0;padding:13px 18px;border-radius:14px;background:#2c3e50;color:#fff;font-weight:700;text-decoration:none;box-shadow:0 10px 22px -14px rgba(44,62,80,.9);transition:transform .15s,box-shadow .15s,background .15s}
.rcpt a.rcpt-back:hover{background:#34495e;transform:translateY(-1px);box-shadow:0 14px 26px -14px rgba(44,62,80,.95)}
.rcpt a.rcpt-back:focus-visible{outline:2px solid #c5a059;outline-offset:3px}
.rcpt-back .ui-icon{width:18px;height:18px;flex:none}
.rcpt-back span{overflow-wrap:anywhere}

/* The gateway check dialog (VPN / proxy), commerce/gateway-dialog.blade.php */
.gateway-dialog{position:fixed;inset:0;margin:auto;height:fit-content;max-height:calc(100dvh - 28px);overflow:auto;width:min(420px,calc(100% - 28px));padding:26px 22px 20px;border:1px solid #e4e0d8;border-radius:22px;background:#fefdfd;color:#2f3a29;text-align:center;box-shadow:0 25px 80px rgba(0,0,0,.45);font:inherit;color-scheme:light}
.gateway-dialog[open]{display:grid;gap:10px;justify-items:center}
.gateway-dialog::backdrop{background:rgba(44,62,80,.5);backdrop-filter:blur(4px)}
.gateway-close{position:absolute;inset-block-start:10px;inset-inline-end:12px;border:0;background:none;font-size:26px;line-height:1;color:#7a8288;cursor:pointer}
.gateway-mark{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#fdf0ee;color:#b5523b}
.gateway-mark .ui-icon{width:26px;height:26px}
.gateway-dialog h2{margin:2px 0 0;font-size:1.1rem;color:#2c3e50}
.gateway-dialog p{margin:0;font-size:.92rem;line-height:2;color:#4c555d}
.gateway-retry{display:inline-flex;align-items:center;gap:8px;width:100%;justify-content:center;margin-top:4px}
.gateway-retry .ui-icon{width:18px;height:18px}
.gateway-status{min-height:1.6em;font-size:.85rem!important;color:#8a5a12!important}
.gateway-card{display:grid;gap:6px;justify-items:center;width:100%;padding:14px;border:1px dashed #d9c79b;border-radius:16px;background:#fffaf0}
.gateway-card-number{font-size:1.25rem;letter-spacing:.06em;color:#2c3e50;font-variant-numeric:tabular-nums}
.gateway-card-owner{font-size:.85rem;color:#5a636b}
.gateway-copy{padding:7px 16px;font-size:.88rem}
.gateway-dialog .gateway-continue{padding:4px 8px;border:0;background:none;font:inherit;font-size:.85rem;color:#5a636b;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.gateway-dialog .gateway-continue:hover{color:#2c3e50}

.rcpt-back .ui-icon{transform:scaleX(-1)}
