    body {
            font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
            margin: 15px;
           
        }

        .wrap {
            max-width: 900px;
            margin: 0 auto;
            min-height: 400px;
            width: 550px;
            font-size: 14px;
        }

       

        .muted {
            color: #6b7280;
            font-size: 14px;
        }

        .btns {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            margin-top: 10px;
        }

        button {
            padding: 10px 14px;
            border: 0;
            border-radius: 10px;
            cursor: pointer;
            background: #1f2a60;
            color: #fff;
        }

        button:disabled {
            opacity: .55;
            cursor: not-allowed;
        }

        /* messages multi-lignes */
        #status {
            white-space: pre-line;
            margin-top: 10px;
        }

        /* Bloc paiement */
        #payBox {
            width: 400px;
            max-width: 100%;
            margin-top: 14px;
            display: none;
        }

        /* Header au-dessus du widget */
        #payHeader {
            border-radius: 10px 10px 0 0;
            padding: 10px 12px;
            background: #2b3b76;
            color: #ffffff;
            border: 1px solid #e5e7eb;
            border-bottom: 0;
            text-align: center;
        }

        #payHeader .siteTitle {
            font-weight: 800;
            font-size: 14px;
            line-height: 1.15;
            color: #ffb74a;
            margin: 0;
        }

        #payHeader .orderInfo {
            margin-top: 4px;
            font-weight: 700;
            font-size: 16px;
            line-height: 1.25;
            color: #ffffff;
        }

        /* Widget */
        #sumup-card {
            border: 1px solid #e5e7eb;
            font-size: 30px;
            border-top: 0;
            border-radius: 0 0 10px 10px;
            overflow: hidden;
            background: #fff;
            min-height: 500px;
        }

        /* LOADER plein panneau (incluant titre + info commande) */
        #loaderOverlay {
            position: absolute;
            inset: 0;
            display: none;
            align-items: center;
            justify-content: center;
            border-radius: 14px;
            background: rgba(255, 255, 255, 0.86);
            backdrop-filter: blur(2px);
            z-index: 50;
            padding: 16px;
        }

        #loaderOverlay .card {
            width: min(650px, 100%);
            min-height: 650px;
            border: 1px solid #e5e7eb;
            border-radius: 14px;
            overflow: hidden;
            background: #fff;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10);
        }

        #loaderOverlay .hdr {
            background: #2b3b76;
            padding: 12px 14px;
            text-align: center;
            color: #fff;
        }

        #loaderOverlay .hdr .site {
            font-weight: 900;
            font-size: 14px;
            color: #ffb74a;
            line-height: 1.15;
        }

        #loaderOverlay .hdr .info {
            margin-top: 4px;
            font-weight: 800;
            font-size: 14px;
            line-height: 1.25;
            color: #fff;
        }

        #loaderOverlay .body {
            padding: 14px;
            display: flex;
            align-items: center;
            gap: 50px;
            color: #111827;
            font-weight: 800;
        }

        .spinner {
            width: 16px;
            height: 50px;
            border: 2px solid #e5e7eb;
            border-top-color: #1f2a60;
            border-radius: 50%;
            animation: spin 0.9s linear infinite;
            flex: 0 0 auto;
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }