
/* Cadeaux surprises : uniquement dans la page partagée, aucune incidence sur la gestion. */
.ubc-page .ubc-surprise-area[hidden],
.ubc-page #ubc-surprise-details[hidden],
.ubc-page #ubc-surprise-cancel[hidden],
.ubc-page #ubc-surprise-notice[hidden]{display:none!important}
.ubc-page .ubc-surprise-area{border:1px solid #e7c7d4;background:linear-gradient(160deg,#fffafa,#fff6f9);margin:28px 0}
.ubc-page .ubc-surprise-area>h2{margin-top:0}
.ubc-page .ubc-surprise-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),1fr));gap:12px;margin:16px 0 20px}
.ubc-page .ubc-surprise-item{background:#fff;border:1px solid #ecdae2;border-radius:12px;padding:15px;min-width:0;box-sizing:border-box;overflow-wrap:anywhere}
.ubc-page .ubc-surprise-item h3{font-size:17px;line-height:1.35;margin:0 0 8px}
.ubc-page .ubc-surprise-item p{margin:7px 0}
.ubc-page .ubc-surprise-state{display:inline-flex;padding:4px 10px;font-size:13px;font-weight:650;border:1px solid #e7ccd8;background:#fff2f7;color:#823351;border-radius:100px}
.ubc-page .ubc-surprise-state.is-purchased{background:#edf7ee;border-color:#cee5d1;color:#245c39}
.ubc-page .ubc-surprise-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.ubc-page .ubc-surprise-actions button{margin:0}
.ubc-page #ubc-surprise-details{border-top:1px solid #ead6df;padding-top:14px}
.ubc-page #ubc-surprise-details>summary{cursor:pointer;font-weight:650;color:#873352;padding:9px 0}
.ubc-page #ubc-surprise-details form{margin-top:12px}
.ubc-page .ubc-surprise-form-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.ubc-page #ubc-surprise-notice{font-size:14px;color:#693348;background:#fff;padding:10px 12px;margin:12px 0 0;border-left:3px solid #b74e76;border-radius:6px;overflow-wrap:anywhere}
@media(max-width:600px){.ubc-page .ubc-surprise-grid{grid-template-columns:minmax(0,1fr)}.ubc-page .ubc-surprise-item{padding:13px}.ubc-page .ubc-surprise-form-actions{align-items:stretch;flex-direction:column}.ubc-page .ubc-surprise-form-actions button{width:100%}}
