/* ── Modules 3-4-5 : Paiement, Boutique, Admin ── */

/* Panier */
.cart-empty { text-align:center; padding:60px 20px; color:var(--text-muted); }
.cart-empty i { font-size:48px; margin-bottom:16px; display:block; }

/* Type selector (payment config) */
.type-selector { display:grid; grid-template-columns:repeat(auto-fill,minmax(140px,1fr)); gap:10px; }
.type-option { display:flex; flex-direction:column; align-items:center; gap:6px; padding:16px 10px;
    background:var(--bg-input); border:2px solid var(--border); border-radius:var(--radius);
    cursor:pointer; text-align:center; transition:all var(--transition); font-size:13px; }
.type-option input[type=radio] { display:none; }
.type-option i { font-size:22px; color:var(--text-muted); }
.type-option small { color:var(--text-muted); font-size:11px; }
.type-option:hover { border-color:var(--accent); }
.type-option.selected { border-color:var(--accent); background:var(--accent-dim); }
.type-option.selected i { color:var(--accent); }

/* Checkout success/cancel */
.checkout-result { min-height:70vh; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:40px; }
.checkout-result .result-icon { font-size:80px; margin-bottom:24px; }
.checkout-result h1 { margin-bottom:12px; }
.checkout-result p { color:var(--text-muted); margin-bottom:32px; }

/* Mes achats */
.purchase-item { display:flex; align-items:center; gap:16px; padding:14px 20px; border-bottom:1px solid var(--border); }
.purchase-item:last-child { border-bottom:none; }
.purchase-thumb { width:60px; height:60px; object-fit:cover; border-radius:6px; flex-shrink:0; }
.purchase-thumb-placeholder { width:60px; height:60px; background:var(--bg-input); border-radius:6px;
    display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.purchase-info { flex:1; }
.purchase-info strong { display:block; margin-bottom:4px; }
.purchase-meta { font-size:13px; color:var(--text-muted); }
.purchase-amount { color:var(--accent); font-weight:700; white-space:nowrap; }

/* Orders vendeur */
.order-row code { font-size:11px; background:var(--bg-input); padding:2px 6px; border-radius:4px; }

/* Stats admin */
.stats-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:16px; }
@media(max-width:900px){ .stats-grid { grid-template-columns:repeat(3,1fr); } }
@media(max-width:600px){ .stats-grid { grid-template-columns:repeat(2,1fr); } }

/* Dashboard cards inactives */
.dash-card--inactive { opacity:.5; pointer-events:none; }

/* Add to cart button overlay sur les posts de la boutique */
.post-action-btn {
    position:absolute; bottom:0; left:0; right:0;
    background:rgba(0,0,0,.75); color:#fff;
    text-align:center; padding:8px;
    font-size:13px; font-weight:600;
    opacity:0; transition:opacity var(--transition);
    display:flex; align-items:center; justify-content:center; gap:6px;
}
.post:hover .post-action-btn { opacity:1; }
