.gds-catalog-grid { display: grid; grid-template-columns: repeat(var(--gds-cols, 3), 1fr); gap: 20px; margin: 20px 0; }
.gds-catalog-card { border: 1px solid #e2e2e2; border-radius: 8px; padding: 18px; background: #fff; }
.gds-catalog-name { margin: 0 0 4px; font-size: 18px; }
.gds-catalog-category { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: #888; margin-bottom: 8px; }
.gds-catalog-desc { font-size: 14px; color: #444; }
.gds-catalog-price { font-size: 20px; font-weight: 700; margin-top: 10px; }
.gds-catalog-unit { font-size: 13px; font-weight: 400; color: #888; }

.gds-signup-form input[type=text], .gds-signup-form input[type=email], .gds-signup-form textarea { width: 100%; max-width: 420px; padding: 8px; border: 1px solid #ccc; border-radius: 4px; }
.gds-signup-form button { padding: 10px 20px; border: none; border-radius: 4px; background: #2271b1; color: #fff; cursor: pointer; font-size: 15px; }
.gds-signup-success { padding: 14px; background: #eaf7ea; border: 1px solid #b7e1b7; border-radius: 6px; }

body.gds-standalone { background: #f1f1f1; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: #222; margin:0; }
.gds-invoice-page { max-width: 760px; margin: 40px auto; }
.gds-invoice-view { background: #fff; border-radius: 8px; padding: 40px; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.gds-invoice-header { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 20px; margin-bottom: 24px; }
.gds-invoice-logo { max-height: 60px; }
.gds-invoice-meta { text-align: right; }
.gds-status-pill { display: inline-block; padding: 3px 12px; border-radius: 12px; font-size: 11px; text-transform: uppercase; letter-spacing: .03em; }
.gds-status-draft { background: #eee; color: #555; }
.gds-status-sent { background: #dbeafe; color: #1e40af; }
.gds-status-paid { background: #dcfce7; color: #166534; }
.gds-status-partially_paid { background: #fef9c3; color: #854d0e; }
.gds-status-overdue { background: #fee2e2; color: #991b1b; }
.gds-status-cancelled { background: #f3f4f6; color: #6b7280; }
table.gds-invoice-items { width: 100%; border-collapse: collapse; margin: 20px 0; }
table.gds-invoice-items th { text-align: left; padding: 8px; background: #f7f7f7; font-size: 12px; text-transform: uppercase; }
table.gds-invoice-items td { padding: 8px; border-bottom: 1px solid #eee; }
table.gds-invoice-totals { margin-left: auto; width: 280px; }
table.gds-invoice-totals td { padding: 4px 8px; }
table.gds-invoice-totals tr.gds-grand td { font-weight: 700; border-top: 2px solid #333; }
.gds-notice { padding: 12px 16px; border-radius: 6px; margin: 16px 0; }
.gds-notice-success { background: #eaf7ea; border: 1px solid #b7e1b7; }
.gds-notice-error { background: #fdecea; border: 1px solid #f3b6b0; }
.gds-pay-buttons { margin: 24px 0; display: flex; gap: 12px; flex-wrap: wrap; }
.gds-pay-btn { display: inline-block; padding: 12px 22px; border-radius: 6px; text-decoration: none; font-weight: 600; }
.gds-pay-stripe { background: #635bff; color: #fff; }
.gds-pay-paypal { background: #ffc439; color: #111; }
.gds-invoice-terms { font-size: 13px; color: #555; margin-top: 24px; }
.gds-footer-note { color: #999; font-size: 11px; margin-top: 30px; }
