.cadeau-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(1.25rem, 4vw, 3rem); align-items: start; }
.carte-apercu { container-type: inline-size; min-width: 0; margin: 0; padding: 5%; min-height: 0; aspect-ratio: 3 / 2; border-radius: .6rem; box-shadow: 0 1rem 2.2rem #5133242c; overflow-wrap: anywhere; color: #33261e; background: #faecd1 url('/images/cadeau-classique-champagne.jpg') center / 100% 100% no-repeat; }
.carte-apercu[data-theme=noel] { background-image: url('/images/cadeau-noel-ivoire.jpg'); }
.carte-entete { width: 74%; }
.carte-logo { display: block; width: clamp(32px, 9.5cqw, 70px); height: auto; mix-blend-mode: multiply; }
#carte-titre { color: #651d2a; font: 600 clamp(1.08rem, 5.1cqw, 2.55rem)/1.06 Georgia, serif; letter-spacing: -.027em; margin-block: .3em .23em; }
#carte-montant { display: inline-block; max-width: 100%; border: 1px solid #936820; outline: 1px solid #b68b42; outline-offset: 2px; background: #fff9edc9; color: #651d2a; font: 600 clamp(1.1rem, 5cqw, 2.6rem)/1.05 Georgia, serif; padding: .12em .45em .18em; }
.carte-message { width: 72%; padding-block: .4em .3em; margin-block: .45em .15em; border-top: 1px solid #a7804688; font-size: clamp(.65rem, 2.45cqw, 1rem); line-height: 1.32; }
.carte-message p { margin: .18em 0; }
#carte-message { white-space: pre-wrap; min-height: 1.3em; margin-block-start: .35em; }
.carte-pied { width: 72%; display: flex; align-items: center; justify-content: space-between; gap: .45em; margin: 0; padding-block-start: .2em; color: #57222a; }
.carte-pied small { display: block; color: #55463a; font-size: clamp(.56rem, 1.85cqw, .82rem); line-height: 1.15; }
.carte-code { font: 700 clamp(.65rem, 2.15cqw, 1.05rem)/1.2 monospace; letter-spacing: .045em; }
.carte-qr { display: block; width: clamp(28px, 8cqw, 58px); height: auto; border-radius: .15rem; }
.cadeau-personnalisation { min-width: 0; }
.cadeau-personnalisation h2 { font-size: clamp(1.35rem, 2.5vw, 2rem); }
.cadeau-personnalisation p { margin-block: .45rem .85rem; }
#cadeau-options { display: grid; gap: .6rem; }
#cadeau-options textarea { display: block; width: 100%; padding: .7rem; font: inherit; border: 1px solid #969e90; }
@media (max-width: 800px) { .cadeau-layout { grid-template-columns: minmax(0, 1fr); } #contenu { padding-block-start: 1.5rem; } #contenu .page-title { font-size: clamp(1.85rem, 8vw, 3rem); margin-block: 0 1.1rem; } }
#gift-purchase:not([hidden]) { display: grid; gap: .65rem; }
#gift-purchase[hidden] { display: none; }
#gift-purchase input[type=checkbox] { display: inline; width: auto; min-height: 0; }
#gift-purchase button { justify-self: start; }
@media (max-width: 350px) { .carte-apercu { aspect-ratio: 1.33; } }
.carte-apercu { min-height: min-content; }
