.msgc{--ms-gold:#bd9458;--ms-ink:#1d1712;font-family:inherit;color:var(--ms-ink);max-width:1180px;margin:32px auto 65px}.msgc *{box-sizing:border-box}.msgc-head{padding:45px 20px;text-align:center;background:#f7f4ef;border-radius:22px;margin-bottom:30px}.msgc-head h2{font-size:clamp(27px,4vw,46px);font-weight:500;margin:15px 0}.msgc-head p{font-size:16px;margin:0}.msgc-overline{color:var(--ms-gold);font-size:12px;letter-spacing:3px}.msgc-grid{display:grid;grid-template-columns:1.35fr .85fr 1fr;gap:0;border:1px solid #eae6df;border-radius:19px;overflow:hidden}.msgc-field{padding:26px;border-right:1px solid #eae6df;min-width:0}.msgc-field:last-child{border:0}.msgc h3{font-size:17px;margin:0 0 25px;font-weight:600}.msgc h3 span{font-size:12px;color:var(--ms-gold);margin-right:9px}.msgc-designs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.msgc-designs label{cursor:pointer}.msgc-designs input{position:absolute;opacity:0}.msgc-design{aspect-ratio:1.6;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:12px;outline:2px solid transparent;outline-offset:3px;font-size:clamp(13px,1.6vw,23px);letter-spacing:1px;text-align:center}.msgc-design b{font-weight:500;letter-spacing:3px}.msgc-design small{font-size:9px;margin-top:9px;letter-spacing:2px}.msgc-noir{background:#15110d;color:#fff}.msgc-noir b{color:#c99e60}.msgc-or{background:#c69a5e;color:#1e1710}.msgc-designs input:checked+.msgc-design{outline-color:#b78e52}.msgc-designs input:focus-visible+.msgc-design{outline:3px solid #333}.msgc select,.msgc input:not([type=radio]),.msgc textarea{width:100%;border:1px solid #dfd9d0;border-radius:12px;background:#fff;padding:13px 14px;min-height:47px;font-family:inherit;font-size:15px}.msgc select{max-width:240px}.msgc-choice{display:block;margin:12px 0;line-height:1.5;cursor:pointer}.msgc-choice input{accent-color:#b78e52;margin-right:8px}.msgc-details{margin-top:22px;padding:30px;border-radius:19px;background:#faf9f6}.msgc-details label{display:block;font-size:14px;margin:14px 0}.msgc-details label input,.msgc-details label textarea{margin-top:8px}.msgc-two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.msgc-submit{display:block;width:100%;max-width:425px;margin:25px 0 0 auto;padding:16px 24px;border:0;background:#1d1712!important;color:white!important;border-radius:50px;font-size:15px;cursor:pointer}.msgc-submit span{margin-left:15px;color:#c89e60}.msgc-submit:hover{background:#9b763e!important}@media(max-width:900px){.msgc-grid{grid-template-columns:1fr}.msgc-field{border-right:0;border-bottom:1px solid #eae6df}.msgc-field:last-child{border:0}.msgc-two{grid-template-columns:1fr}.msgc-submit{max-width:none}}

/* v0.4.2 — Integration dans la colonne de resume du produit WooCommerce. */
.ms-gc-on-product{width:100%;min-width:0;max-width:100%;clear:both}
.ms-gc-on-product .msgc{width:100%;max-width:100%;margin:12px 0 28px}
.ms-gc-on-product .msgc-head{display:none}
.ms-gc-on-product .msgc-grid{display:block;border-radius:16px;overflow:visible}
.ms-gc-on-product .msgc-field{padding:20px 22px;border-right:0;border-bottom:1px solid #eae6df}
.ms-gc-on-product .msgc-field:last-child{border-bottom:0}
.ms-gc-on-product .msgc h3{font-size:17px;margin:0 0 16px;line-height:1.4}
.ms-gc-on-product .msgc-designs{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-width:460px}
.ms-gc-on-product .msgc-design{font-size:clamp(15px,2vw,23px);min-height:100px}
.ms-gc-on-product .msgc select{max-width:100%}
.ms-gc-on-product .msgc-details{padding:22px;margin-top:18px}
.ms-gc-on-product .msgc-submit{max-width:none;margin-top:18px}
.ms-gc-on-product .msgc-custom[hidden]{display:none!important}
@media(max-width:580px){.ms-gc-on-product .msgc-field{padding:18px 16px}.ms-gc-on-product .msgc-details{padding:18px 16px}.ms-gc-on-product .msgc-two{grid-template-columns:1fr}.ms-gc-on-product .msgc-design{font-size:15px;min-height:90px}}

/* v0.4.3 - Champ e-mail visible uniquement pour un envoi à un proche. */
.msgc .msgc-recipient-email[hidden]{display:none!important}
.msgc-feedback{margin-top:12px;padding:12px 16px;border-radius:10px;font-size:14px;line-height:1.5}
.msgc-feedback:empty{display:none}
.msgc-feedback.is-success{background:#eaf5ec;color:#20532d}
.msgc-feedback.is-error{background:#fff1ee;color:#8a261d}
.msgc-feedback a{color:inherit;text-decoration:underline;font-weight:700;margin-left:8px}
.msgc-submit:disabled{opacity:.65;cursor:wait}

/* v0.4.9 — Grille compacte : 01 pleine largeur ; 02 et 03 sur deux colonnes. */
.msgc .msgc-grid,
.ms-gc-on-product .msgc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
}
.msgc .msgc-grid > .msgc-field:first-child,
.ms-gc-on-product .msgc-grid > .msgc-field:first-child {
  grid-column: 1 / -1;
  border-right: 0;
  border-bottom: 1px solid #eae6df;
}
.msgc .msgc-grid > .msgc-field:nth-child(2),
.ms-gc-on-product .msgc-grid > .msgc-field:nth-child(2) {
  border-right: 1px solid #eae6df;
  border-bottom: 0;
}
.msgc .msgc-grid > .msgc-field:nth-child(3),
.ms-gc-on-product .msgc-grid > .msgc-field:nth-child(3) {
  border: 0;
}
.ms-gc-on-product .msgc-designs { max-width: 460px; }
.msgc .msgc-details { width: 100%; }
@media (max-width: 580px) {
  .msgc .msgc-grid,
  .ms-gc-on-product .msgc-grid { grid-template-columns: minmax(0, 1fr); }
  .msgc .msgc-grid > .msgc-field:first-child,
  .ms-gc-on-product .msgc-grid > .msgc-field:first-child { grid-column: 1; }
  .msgc .msgc-grid > .msgc-field:nth-child(2),
  .ms-gc-on-product .msgc-grid > .msgc-field:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid #eae6df;
  }
}

/* v0.4.22 — Suppression des modèles : montant et envoi à 50/50, détails à 100%. */
.msgc .msgc-grid, .ms-gc-on-product .msgc-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}
.msgc .msgc-grid > .msgc-field:first-child, .ms-gc-on-product .msgc-grid > .msgc-field:first-child {grid-column:auto;border-right:1px solid #eae6df;border-bottom:0;}
.msgc .msgc-grid > .msgc-field:nth-child(2), .ms-gc-on-product .msgc-grid > .msgc-field:nth-child(2) {border:0;}
.msgc .msgc-details {width:100%;}
@media(max-width:580px) {
.msgc .msgc-grid,.ms-gc-on-product .msgc-grid {grid-template-columns:1fr;}
.msgc .msgc-grid > .msgc-field:first-child,.ms-gc-on-product .msgc-grid > .msgc-field:first-child {grid-column:1;border-right:0;border-bottom:1px solid #eae6df;}
}
