/* A single footer, grouped by identity, navigation and payments. */
footer.compact-footer{position:relative;display:grid;grid-template-columns:minmax(180px,1fr) auto auto;align-items:center;gap:28px;padding:25px 0 28px;border-top:1px solid var(--line);color:var(--muted);font-size:12px;min-width:0;isolation:isolate}
footer.compact-footer::before{content:'';position:absolute;inset-inline:20%;top:-1px;height:1px;background:linear-gradient(90deg,transparent,var(--accent),transparent);opacity:.35;pointer-events:none}
.compact-footer .footer-identity{display:flex;align-items:center;gap:12px;min-width:0;text-decoration:none}
.compact-footer .footer-mark{display:block;flex:none;width:38px;height:38px;padding:6px;background:#11232d;border:1px solid var(--line);border-radius:11px;object-fit:contain}
.compact-footer .footer-identity-copy{display:grid;gap:3px;font:inherit;letter-spacing:normal;min-width:0}
.compact-footer .footer-identity-copy strong{font:650 15px/1.4 system-ui,sans-serif;letter-spacing:1.5px;color:var(--text,var(--ink))}
.compact-footer .footer-identity-copy small{font:11px/1.7 Vazirmatn,system-ui,sans-serif;letter-spacing:normal;color:var(--muted)}
.compact-footer .footer-copyright span{font:inherit;letter-spacing:inherit}
.compact-footer .footer-links{display:flex;align-items:center;justify-content:center;gap:22px;margin:0;font-size:11px;flex-wrap:wrap}
.compact-footer .footer-links>a{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:4px 0;color:var(--muted);font:inherit;line-height:1.8;white-space:nowrap;background:none;border:0;text-decoration:none;transition:color .2s ease}
.compact-footer .footer-links>a:hover{color:var(--accent)}

.compact-footer .footer-action-label{position:static;width:auto;height:auto;margin:0;overflow:visible;clip-path:none;font:inherit;letter-spacing:normal;transform:none!important}
.compact-footer .footer-meta{display:flex;align-items:center;justify-content:flex-end;gap:18px;padding-inline-start:24px;border-inline-start:1px solid var(--line);min-width:0}
.payment-footer{--payment-ink:#e8f2f1;--payment-muted:#afc0c3;flex:0 1 auto;min-width:0;max-width:min(380px,100%);padding:8px 12px;border:1px solid var(--line);border-radius:14px;background:var(--panel2,var(--surface));color:var(--payment-ink);opacity:0;transform:translateY(4px);transition:opacity .4s ease,transform .4s cubic-bezier(.16,1,.3,1)}
.payment-footer[hidden]{display:none}
.payment-footer.payments-ready{opacity:1;transform:none}
.accepted-payments{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px}
.accepted-payment{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px 10px;min-height:38px;padding:0;text-decoration:none;color:var(--payment-ink);white-space:nowrap;border-radius:5px;transition:opacity .2s}
.accepted-payment:hover{opacity:.8}
.accepted-payment:focus-visible{outline:2px solid #8bd9c8;outline-offset:4px}
.accepted-payment small{font:11px/1.7 Vazirmatn,system-ui,sans-serif;letter-spacing:normal;color:var(--payment-muted)}
.accepted-payment svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5}
.accepted-payment>span{font:inherit;letter-spacing:normal}
.stripe-badge{display:flex;align-items:center;flex:none}
.stripe-badge img{display:block;width:108px;height:24px;object-fit:contain}
.stripe-badge .stripe-badge-light{display:none}
html[data-theme=light] .payment-footer{--payment-ink:#173039;--payment-muted:#4e646c}
html[data-theme=light] .stripe-badge-dark{display:none}
html[data-theme=light] .stripe-badge .stripe-badge-light{display:block}
@media(max-width:1100px){footer.compact-footer{gap:20px}.compact-footer .footer-links{gap:16px}.compact-footer .footer-meta{gap:12px;padding-inline-start:18px}}
@media(max-width:900px){
 footer.compact-footer{grid-template-columns:1fr auto;gap:14px 20px}
 .compact-footer .footer-links{justify-content:flex-end}
 .compact-footer .footer-meta{grid-column:1/-1;justify-content:space-between;border-inline-start:0;padding-inline-start:0}
}
@media(max-width:560px){
 footer.compact-footer{grid-template-columns:1fr;justify-items:center;gap:10px;padding:23px 0 25px}
 .compact-footer .footer-identity{justify-content:center;gap:10px}
 .compact-footer .footer-identity-copy strong{font-size:15px}
 .compact-footer .footer-links{justify-content:center;gap:18px;font-size:11px;width:100%}
 .compact-footer .footer-meta{grid-column:auto;justify-content:center;gap:14px;width:100%}
 .payment-footer{padding:6px 8px;border-radius:12px}
 .accepted-payments{gap:8px}
 .accepted-payment{gap:8px}
 .accepted-payment small{font-size:10px}
 .stripe-badge img{width:88px;height:19.556px}
}
@media(prefers-reduced-motion:reduce){.payment-footer,.accepted-payment,.compact-footer .footer-links>a{transition:none;transform:none}}
