/* gedessin — bloc fiche produit et panier */
.gedessin-block { border: 2px solid #E4D8F0; border-radius: 16px; padding: 18px 20px; margin: 16px 0; background: #fff; }
.gedessin-title { margin: 0 0 8px; font-size: 1.1rem; font-weight: 800; }
.gedessin-text { margin: 0 0 12px; color: #4A3568; }
.gedessin-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.gedessin-btn { min-height: 48px; display: inline-flex; align-items: center; gap: 6px; }
/* par défaut (téléphone/tablette) : bouton ; sur ordinateur (souris + écran large) : QR code */
.gedessin-pc { display: none; }
.gedessin-block.gedessin-is-pc .gedessin-pc { display: block; }
.gedessin-block.gedessin-is-pc .gedessin-mobile { display: none; }
.gedessin-link { padding: 0; min-height: 0; font-size: inherit; vertical-align: baseline; }
.gedessin-qr { display: flex; gap: 18px; align-items: center; margin-top: 10px; }
.gedessin-qr[hidden] { display: none; }
.gedessin-qr-code { flex: 0 0 170px; width: 170px; height: 170px; border: 2px solid #2B2140; border-radius: 8px; padding: 6px; background: #fff; }
.gedessin-qr-code svg { width: 100%; height: 100%; display: block; }
.gedessin-qr-text p { margin: 0 0 6px; }
.gedessin-qr-wait { color: #4A3568; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.gedessin-dot { width: 12px; height: 12px; border-radius: 50%; background: #C3A3DC; display: inline-block; animation: gedessinPulse 1.4s infinite; }
@keyframes gedessinPulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.gedessin-muted { color: #6E5E8A; font-size: .9em; }
.gedessin-state--done { display: flex; gap: 16px; align-items: center; }
.gedessin-state--done[hidden] { display: none; }
.gedessin-preview { flex: 0 0 150px; width: 150px; height: 150px; border-radius: 12px; border: 2px dashed #C3A3DC; background: #FBF8FD; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gedessin-preview img { max-width: 100%; max-height: 100%; display: block; }
.gedessin-error { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: #FBE9E9; color: #8A3A3A; font-weight: 700; }
.gedessin-error[hidden] { display: none; }
.gedessin-cart-card { display: inline-flex; flex-direction: column; gap: 6px; margin: 6px 0; padding: 10px 12px; border: 2px solid #E4D8F0; border-radius: 12px; background: #FBF8FD; max-width: 100%; }
.gedessin-cart-card-title { font-weight: 800; color: #4A3568; font-size: .9em; }
.gedessin-cart-card img { width: 110px; height: 110px; object-fit: contain; border: 1px dashed #C3A3DC; border-radius: 8px; background: #fff; display: block; }
.gedessin-cart-card-text { font-size: .9em; color: #4A3568; }
.gedessin-cart-card-edit { font-weight: 700; color: #5A3A82; text-decoration: underline; font-size: .9em; }
/* on cache le champ de personnalisation natif « Dessin » (géré par le module) */
.gedessin-hide-native { display: none !important; }
