/* Extracted from site/store.html on 2026-04-14 */

.donate-page { max-width: 540px; margin: 0 auto; padding: 16px; min-height: 100vh; }
        .org-header { text-align: center; padding: 24px 0 16px; }
        .org-logo { width: 80px; height: 80px; border-radius: 16px; object-fit: cover; margin-bottom: 12px; }
        .org-name { font-size: 24px; font-weight: 800; color: var(--text-primary); margin: 4px 0; }
        .org-tagline { font-size: 14px; color: var(--text-secondary); margin-top: 4px; }

        .product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 20px 0; }
        @media (max-width: 400px) { .product-grid { grid-template-columns: 1fr; } }

        .product-card { border: 1.5px solid var(--border); border-radius: 12px; overflow: hidden; background: white; transition: border-color 0.15s; }
        .product-card:hover { border-color: var(--accent); }
        .product-img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--bg-muted); }
        .product-placeholder { width: 100%; aspect-ratio: 1; background: var(--bg-muted); display: flex; align-items: center;
            justify-content: center; font-size: 40px; color: var(--text-muted); }
        .product-info { padding: 12px; }
        .product-name { font-size: 15px; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
        .product-price { font-size: 16px; font-weight: 700; color: var(--accent); }
        .product-buy-btn { width: 100%; padding: 10px; background: var(--accent); color: white; border: none;
            border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; margin-top: 8px; transition: opacity 0.15s; }
        .product-buy-btn:hover { opacity: 0.9; }

        .modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.4); display: flex; align-items: center;
            justify-content: center; z-index: 100; padding: 16px; }
        .modal-content { background: white; border-radius: 16px; padding: 24px; max-width: 400px; width: 100%; max-height: 90vh; overflow-y: auto; }
        .modal-title { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
        .modal-price { font-size: 18px; font-weight: 700; color: var(--accent); margin-bottom: 16px; }
        .modal-close { float: right; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text-muted); padding: 0; line-height: 1; }

        .donor-fields { margin: 0 0 16px; }
        .donor-fields label { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 4px; }
        .donor-fields input, .donor-fields select { width: 100%; padding: 12px; border: 1.5px solid var(--border);
            border-radius: 10px; font-size: 15px; margin-bottom: 10px; outline: none; box-sizing: border-box; background: white; }
        .donor-fields input:focus, .donor-fields select:focus { border-color: var(--accent); }
        .donor-fields .field-error { color: #dc3545; font-size: 13px; margin: -6px 0 10px; }
        .donor-fields .field-error:empty { display: none; }

        .qty-selector { display: flex; align-items: center; gap: 12px; margin: 12px 0; }
        .qty-btn { width: 36px; height: 36px; border: 2px solid var(--border); border-radius: 8px; background: white;
            font-size: 18px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; }
        .qty-btn:hover { border-color: var(--accent); }
        .qty-value { font-size: 20px; font-weight: 700; min-width: 30px; text-align: center; }

        .donate-btn { width: 100%; padding: 16px; background: var(--accent); color: white; border: none;
            border-radius: 12px; font-size: 18px; font-weight: 700; cursor: pointer; transition: opacity 0.15s; }
        .donate-btn:hover { opacity: 0.9; }
        .donate-btn:disabled { opacity: 0.5; cursor: not-allowed; }

        .secure-note { text-align: center; font-size: 11px; color: var(--text-muted); margin-top: 12px; }
        .branding { text-align: center; font-size: 11px; color: var(--text-muted); margin-top: 24px; padding-bottom: 24px; }

        .loading { display: flex; align-items: center; justify-content: center; min-height: 60vh; }
        .loading-spinner { width: 32px; height: 32px; border: 3px solid var(--border);
            border-top-color: var(--accent); border-radius: 50%; animation: spin 0.8s linear infinite; }
        @keyframes spin { to { transform: rotate(360deg); } }

        .error-state { text-align: center; padding: 48px 16px; }
        .error-state h2 { font-size: 20px; margin-bottom: 8px; }
        .error-state p { color: var(--text-muted); }

        .thanks-state { text-align: center; padding: 48px 16px; }
        .thanks-state h2 { font-size: 28px; margin-bottom: 8px; }
        .thanks-state p { color: var(--text-secondary); font-size: 15px; line-height: 1.6; }
        .thanks-check { font-size: 64px; margin-bottom: 12px; }

        .empty-state { text-align: center; padding: 48px 16px; color: var(--text-muted); font-size: 15px; }
