/* Shop-spezifische Styles */

/* Header */
.sf-header { background: var(--bg2); border-bottom: 1px solid var(--border); padding: 0 24px; }
.sf-header-inner { max-width: 960px; margin: 0 auto; display: flex; align-items: center;
                   gap: 16px; padding: 16px 0; }
.sf-logo { height: 48px; width: 48px; object-fit: contain; border-radius: 8px; }
.sf-header-info { flex: 1; }
.sf-verein-name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; color: #fff; }
.sf-verein-beschreibung { font-size: .85rem; color: var(--text-muted); margin-top: 2px; }
.sf-page-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: #fff; flex: 1; }
.sf-back { color: var(--text-muted); font-size: .9rem; }

/* Cart-Button */
.sf-cart-btn { position: relative; font-size: 1.5rem; line-height: 1; text-decoration: none; }
.sf-cart-badge { position: absolute; top: -6px; right: -8px; background: var(--accent);
                 color: var(--bg); border-radius: 100px; font-size: .65rem; font-weight: 700;
                 padding: 2px 5px; }

/* Main */
.sf-main { max-width: 960px; margin: 0 auto; padding: 32px 24px; }
.sf-section-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;
                    color: #fff; margin-bottom: 20px; }

/* Artikel-Grid */
.sf-artikel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.sf-artikel-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-lg);
                   overflow: hidden; cursor: pointer; transition: border-color .2s, transform .15s; }
.sf-artikel-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.sf-card-bild { height: 160px; background: var(--bg3); display: flex; align-items: center; justify-content: center; }
.sf-card-bild img { width: 100%; height: 100%; object-fit: cover; }
.sf-card-placeholder { font-size: 3rem; }
.sf-card-body { padding: 16px; }
.sf-card-name { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: #fff;
                margin-bottom: 6px; }
.sf-card-beschreibung { font-size: .85rem; color: var(--text-muted); margin-bottom: 12px;
                        display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
                        overflow: hidden; }
.sf-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.sf-card-betrag { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--accent); }
.sf-btn-spenden { background: var(--accent); color: var(--bg); border: none; border-radius: var(--radius-sm);
                  padding: 8px 18px; font-family: var(--font-display); font-weight: 700; font-size: .9rem;
                  cursor: pointer; }

/* Modal */
.sf-modal-overlay { position: fixed; inset: 0; background: rgba(7,11,20,.8); backdrop-filter: blur(4px);
                    z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; }
.sf-modal { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-lg);
            max-width: 480px; width: 100%; padding: 32px; position: relative; }
.sf-modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none;
                  color: var(--text-muted); font-size: 1.2rem; cursor: pointer; }
.sf-modal-bild { height: 180px; background: var(--bg3); border-radius: var(--radius);
                 margin-bottom: 16px; overflow: hidden; display: flex; align-items: center;
                 justify-content: center; }
.sf-modal-bild img { width: 100%; height: 100%; object-fit: cover; }
.sf-modal-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800;
                 color: #fff; margin-bottom: 8px; }
.sf-modal-beschreibung { font-size: .9rem; color: var(--text-muted); margin-bottom: 16px; }
.sf-modal-betrag-row { display: flex; justify-content: space-between; align-items: center;
                       margin-bottom: 16px; padding: 12px 16px; background: var(--bg3);
                       border-radius: var(--radius); }
.sf-modal-betrag-label { font-size: .85rem; color: var(--text-muted); }
.sf-modal-betrag { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; color: var(--accent); }

/* Zweck-Checkbox */
.sf-zweck-label { display: flex; align-items: flex-start; gap: 10px; padding: 12px 16px;
                  background: var(--bg3); border-radius: var(--radius); margin-bottom: 16px;
                  cursor: pointer; }
.sf-zweck-label input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.sf-zweck-hint { font-size: .75rem; color: var(--accent); font-weight: 600; display: block; }

/* Checkout */
.sf-steps { display: flex; gap: 8px; margin-bottom: 24px; }
.sf-step { padding: 6px 14px; border-radius: 100px; font-size: .82rem; font-weight: 600;
           background: var(--bg3); color: var(--text-muted); }
.sf-step-active { background: rgba(0,200,150,.15); color: var(--accent); border: 1px solid rgba(0,200,150,.3); }
.sf-step-done { background: var(--bg3); color: var(--accent); }

.sf-checkout { max-width: 560px; }
.sf-checkout-summary, .sf-cart-list { background: var(--bg2); border: 1px solid var(--border);
                                      border-radius: var(--radius); padding: 16px; margin-bottom: 20px; }
.sf-ci-item, .sf-cart-item { display: flex; justify-content: space-between; padding: 6px 0;
                              border-bottom: 1px solid rgba(30,45,69,.5); font-size: .9rem; }
.sf-ci-total, .sf-cart-gesamt { display: flex; justify-content: space-between; padding-top: 8px;
                                 font-weight: 700; margin-top: 4px; }
.sf-ci-zweck { display: block; font-size: .78rem; color: var(--accent); margin-top: 2px; }

.sf-btn-remove { background: none; border: none; color: var(--text-muted); cursor: pointer;
                 font-size: .9rem; padding: 4px 8px; }
.sf-btn-remove:hover { color: var(--danger); }

.sf-otp-hint { color: var(--text-muted); margin-bottom: 16px; }
.sf-otp-input { font-size: 2rem; text-align: center; letter-spacing: 8px; font-family: var(--font-display); }
.sf-form-group--centered { align-items: center; }

.sf-input-prefix { display: flex; }
.sf-prefix { background: var(--bg3); border: 1px solid var(--border); border-right: none;
             border-radius: var(--radius-sm) 0 0 var(--radius-sm); padding: 10px 12px;
             font-size: .82rem; color: var(--text-muted); white-space: nowrap; }
.sf-input-prefix input { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

/* Stripe Elements */
.sf-payment-element { background: var(--bg2); border: 1px solid var(--border);
                      border-radius: var(--radius); padding: 16px; margin-bottom: 16px; }

/* Danke-Seite */
.sf-danke { text-align: center; max-width: 480px; margin: 80px auto; }
.sf-danke-icon { font-size: 4rem; margin-bottom: 16px; }
.sf-danke-title { font-family: var(--font-display); font-size: 2rem; font-weight: 800;
                  color: var(--accent); margin-bottom: 12px; }
.sf-danke-text { color: var(--text-muted); margin-bottom: 16px; }

/* Footer */
.sf-footer { text-align: center; padding: 32px; color: var(--text-muted); font-size: .82rem;
             border-top: 1px solid var(--border); margin-top: 64px; }
