.buy-page{background:#f8fafc;min-height:100vh;color:#0f172a;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}
.buy-wrap{max-width:960px;margin:0 auto;padding:16px 18px}
.buy-top{background:#0a1530;color:#e2e8f0;padding:10px 0}
.buy-top-inner{display:flex;align-items:center;justify-content:space-between;gap:12px}
.buy-brand{display:flex;align-items:center;gap:8px;color:#fff;text-decoration:none;font-size:.95rem}
.buy-brand span{opacity:.85;font-weight:400}
.buy-langs a{color:#c3cedd;margin-left:10px;text-decoration:none;font-size:.85rem}
.buy-langs a[aria-current="true"]{color:#7dd3fc;font-weight:600}
.buy-flash{margin:14px 0;padding:10px 12px;border-radius:8px;background:#ecfdf5;border:1px solid #6ee7b7}
.buy-flash--err{background:#fef2f2;border-color:#fca5a5}
.buy-grid{display:grid;gap:14px;grid-template-columns:1fr}
@media(min-width:720px){.buy-grid{grid-template-columns:1fr 1fr}}
.buy-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:16px 18px;box-shadow:0 4px 16px rgba(15,23,42,.04)}
.buy-card h2{margin:0 0 6px;font-size:1.15rem}
.buy-card .price{font-size:1.35rem;font-weight:700;margin:8px 0 2px}
.buy-card .muted{color:#64748b;font-size:.9rem}
.buy-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.buy-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:10px 16px;border-radius:10px;border:0;background:#2563eb;color:#fff;font-weight:600;text-decoration:none;cursor:pointer;font-size:.95rem}
.buy-btn:hover{background:#1d4ed8}
.buy-btn--ghost{background:#fff;color:#0f172a;border:1px solid #cbd5e1}
.buy-btn--ghost:hover{background:#f1f5f9}
.buy-btn--warn{background:#d97706}
.buy-btn--ok{background:#059669}
.buy-test{border:2px dashed #f59e0b;background:#fffbeb;padding:12px;border-radius:12px;margin:12px 0}
.buy-test strong{color:#b45309}
.buy-form label{display:block;margin:10px 0 4px;font-size:.85rem;font-weight:600}
.buy-form input,.buy-form select{width:100%;max-width:420px;padding:9px 11px;border:1px solid #cbd5e1;border-radius:8px;font:inherit}



.buy-table{width:100%;border-collapse:collapse;font-size:.9rem;background:#fff}
.buy-table th,.buy-table td{border-bottom:1px solid #e2e8f0;padding:8px;text-align:left;vertical-align:top}
.buy-badge{display:inline-block;padding:2px 8px;border-radius:999px;font-size:.75rem;font-weight:600}
.buy-badge--paid{background:#d1fae5;color:#065f46}
.buy-badge--await{background:#fef3c7;color:#92400e}

/* NEXUS site-footer (from style.css) full width under /buy/ */
.buy-page{display:flex;flex-direction:column;min-height:100vh}
.buy-page > main.buy-wrap{flex:1 0 auto}
.buy-page .site-footer{flex-shrink:0;margin-top:auto}
.buy-page .site-footer .icon{width:1em;height:1em;vertical-align:-0.15em;margin-right:6px}
.buy-page .visit-counter{display:inline-flex!important;align-items:center;gap:6px}
.buy-page .footer-version{opacity:1!important;color:#c3cedd!important;font-size:.7rem!important}

.buy-btn--faktury{font-size:1.05rem;padding:12px 20px;box-shadow:0 2px 8px rgba(5,150,105,.35)}
.buy-admin-toolbar{align-items:center}
