.site-gifts{--gift-paper:#fffdf7;--gift-cream:#f4eee2;--gift-green:#1e4d27;--gift-ink:#20291f;--gift-muted:#536050;--gift-line:#d8c9b4;color:var(--gift-ink);background:var(--gift-cream);line-height:1.5;font-family:"Instrument Sans",system-ui,sans-serif;min-height:70vh}
.site-gifts :where(*, *::before, *::after){box-sizing:border-box}
.site-gifts :where(h1,h2,h3){color:var(--gift-green);font-family:Fraunces,Georgia,serif;line-height:1.13;overflow-wrap:anywhere;margin:0 0 .55em;font-weight:600}
.site-gifts h1{font-size:clamp(2rem,6vw,4rem)}
.site-gifts h2{font-size:clamp(1.55rem,4vw,2.25rem)}
.site-gifts h3{font-size:1.22rem}
.site-gifts p{margin:0 0 .75rem;overflow-wrap:anywhere}
.site-gifts a:not(.site-gift-btn){color:var(--gift-green);text-decoration:underline;overflow-wrap:anywhere}
.site-gifts :where(a,button,input,textarea,select,summary):focus-visible{outline:3px solid var(--gift-green);outline-offset:3px}
.site-gifts [hidden]{display:none!important}
.site-gift-wrap{width:min(68rem,100%);margin:auto;padding:1rem 1rem 7rem}
.site-gift-hero{padding:clamp(1.15rem,5vw,4.4rem);background:var(--gift-paper);border:1px solid var(--gift-line);border-top:4px solid #a8895d;border-radius:12px;margin-bottom:1rem}
.site-gift-hero.compact{padding:clamp(1rem,4vw,2.5rem)}
.site-gift-hero.compact h1{font-size:clamp(2rem,5vw,3.05rem);margin-top:.3em}
.site-gift-hero > p:not(.site-gift-kicker){max-width:57ch}
.site-gift-kicker,.gift-print-kicker{font-size:.78rem;color:var(--gift-muted);text-transform:uppercase;letter-spacing:.09em;font-weight:700}
.site-gifts-workspace{background:transparent;min-height:0}
.site-gift-catalog-card{display:flex;flex-direction:column;align-items:flex-start}
.site-gift-catalog-card > a{margin-top:auto}
.site-gift-preview{background:#eee4d2;width:100%;min-height:9rem;display:flex;gap:.35rem;align-items:center;justify-content:center;padding:.7rem;margin:0 0 .9rem;border-radius:5px}
.site-gift-preview-paper{width:64%;max-width:9rem;min-height:5rem;background:#fffdf7;border:1px solid #a8895d;border-top:5px solid #2b813b;color:#1e4d27;padding:.4rem;display:grid;align-content:center;gap:.25rem;font:600 .7rem/1.1 Fraunces,Georgia,serif}
.site-gift-preview-paper i{height:3px;background:#ded2c0;width:76%}
.site-gift-preview-paper i:last-child{width:52%;background:#a8895d}
.site-gift-preview .is-second{width:32%;border-top-color:#a04436}
.preview-box .site-gift-preview-paper,.preview-affiche .site-gift-preview-paper{width:52%;min-height:7rem}
.preview-bon .site-gift-preview-paper{border:3px double #a8895d;border-top-color:#a04436}
.preview-autocollants .site-gift-preview-paper:first-child{width:5.5rem;height:5.5rem;border-radius:50%;text-align:center;border:2px solid #2b813b}
.site-gift-actions{display:flex;flex-wrap:wrap;gap:.65rem 1rem;align-items:flex-end;margin-top:.7rem}
.site-gift-actions > p{margin:auto 0}
.site-gift-actions > a:not(.site-gift-btn){align-self:center;padding:.6rem 0}
.site-gift-btn{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:44px;max-width:100%;padding:.55rem 1rem;border-radius:7px;border:1px solid var(--gift-green);text-decoration:none;text-align:center;background:var(--gift-green);color:white;cursor:pointer;font:600 1rem/1.25 "Instrument Sans",system-ui,sans-serif;overflow-wrap:anywhere}
.site-gift-btn.secondary{background:var(--gift-paper);color:var(--gift-green)}
.site-gift-btn:hover{filter:brightness(.93)}
.site-gift-btn:disabled{cursor:wait;opacity:.72}
.site-gift-section{margin-top:clamp(1.25rem,4vw,3rem);scroll-margin-top:6rem}
.site-gift-grid,.site-gift-list{display:grid;gap:.75rem;grid-template-columns:repeat(auto-fit,minmax(min(14rem,100%),1fr));margin:.85rem 0}
.site-gift-grid.fields{grid-template-columns:repeat(auto-fit,minmax(min(15rem,100%),1fr));align-items:start}
.site-gift-card{min-width:0;background:var(--gift-paper);border:1px solid var(--gift-line);border-radius:10px;padding:clamp(.9rem,3vw,1.5rem)}
.site-gift-card > :last-child,.site-gift-hero > :last-child{margin-bottom:0}
.site-gift-card label{display:block;font-weight:600;font-size:.93rem;min-width:0}
.site-gift-card :is(input:not([type=checkbox]),select,textarea){font:inherit;font-size:16px;width:100%;min-height:44px;padding:.55rem .65rem;margin:.25rem 0 0;border:1px solid #8b8f80;border-radius:6px;background:#fff;color:var(--gift-ink)}
.site-gift-card textarea{resize:vertical}
.site-gift-card fieldset{border:0;padding:0;margin:.7rem 0;min-width:0}
.site-gift-card legend{font-weight:700}
.site-gift-card label.site-gift-check{display:flex;align-items:center;gap:.65rem;min-height:44px;margin:.35rem 0}
.site-gift-check input{accent-color:var(--gift-green);width:1.1rem;height:1.1rem;flex:0 0 auto}
.site-gift-card summary{cursor:pointer;color:var(--gift-green);font-weight:700;min-height:44px;padding:.65rem 0;overflow-wrap:anywhere}
.site-gift-error,.site-gift-notice{padding:.8rem 1rem;border:1px solid currentColor;border-radius:7px;background:var(--gift-paper)}
.site-gift-error{color:#872919}
.site-gift-notice{color:var(--gift-green)}
.site-gift-data{white-space:pre-line}
.site-gift-card fieldset .site-gift-data{margin-left:1.75rem}
.gift-emergency{width:min(100%,40rem);padding-bottom:2rem}
.gift-emergency-photo{display:block;max-width:100%;height:auto;max-height:55vh;object-fit:contain;margin:1rem auto;border-radius:8px}
.gift-emergency > p:last-child{margin-top:1rem}

.site-gift-print{margin:0}
.gift-print-toolbar{width:min(100%,64rem);margin:auto;padding:1rem 1rem 0}
.gift-print-toolbar h1{font-size:clamp(1.8rem,5vw,3rem);margin-top:.35em}
.gift-print-main{width:min(100%,78rem);margin:auto;padding:1rem;overflow-x:auto}
.gift-doc,.gift-wallet-face,.gift-sticker,.gift-wallpaper{background:var(--gift-paper);border:1px solid var(--gift-line);margin:0 auto 1rem;padding:clamp(.9rem,4vw,1.6rem);overflow-wrap:anywhere}
.gift-doc{max-width:70rem}
.gift-box,.gift-a5{max-width:39rem}
.gift-doc-header{display:flex;align-items:center;justify-content:space-between;gap:.8rem;border-bottom:2px solid #a8895d;margin-bottom:.75rem}
.gift-doc-header h2{margin:.25rem 0}
.gift-print-photo{max-width:26%;height:auto;max-height:7rem;aspect-ratio:1.3;object-fit:cover;margin-bottom:.45rem}
.gift-doc section{margin:.75rem 0}
.gift-doc h3{margin-bottom:.3rem}
.gift-print-details{margin:0}
.gift-print-details > div{margin:.2rem 0;overflow-wrap:anywhere}
.gift-print-details dt{font-weight:700}
.gift-print-details dd{margin:0;white-space:pre-line}
.gift-print-contact{padding:.2rem 0}
.gift-print-contact b{white-space:nowrap}
.gift-printed-date{display:inline-block;margin:0 .8em .2em 0}
.gift-print-qr{display:flex;flex-direction:column;align-items:center;width:fit-content;margin:.5rem 0;color:var(--gift-green);font-weight:700;font-size:.9rem}
.gift-print-qr svg{display:block;width:7rem;height:auto;aspect-ratio:1}
.gift-wallet-layout{display:flex;gap:8mm;align-items:flex-start;justify-content:center;flex-wrap:wrap}
.gift-wallet-face{display:block;width:min(100%,85.6mm);min-height:54mm;border:1px dashed #61685f;font-size:.81rem;line-height:1.18;margin:0;padding:3mm}
.gift-wallet-face h2{font-size:1.1rem;margin:.2em 0 .4em}
.gift-wallet-face .gift-print-photo{float:right;width:22mm;height:19mm;max-width:30%;object-fit:cover;margin:0 0 .2rem .35rem}
.gift-wallet-face p{margin:.15em 0}
.gift-wallet-face .gift-print-qr{margin:.25em 0 0}
.gift-wallet-face .gift-print-qr svg{width:26mm}
.gift-voucher{border:2px solid var(--gift-green)}
.gift-voucher-noel{border:4px double #a8895d}
.gift-voucher-value{font-size:1.65rem;font-weight:700;color:var(--gift-green)}
.gift-voucher p{white-space:pre-line}
.gift-poster ul{padding-left:1.3em}
.gift-sticker{padding:1.1rem;text-align:center;border:1px dashed #61685f}
.gift-sticker-round{width:min(100%,150mm);min-height:min(145mm,85vw);aspect-ratio:1;border-radius:50%;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:11%}
.gift-sticker-rect{max-width:300mm;display:flex;align-items:center;justify-content:space-around;gap:.4rem}
.gift-sticker h2{font-size:clamp(1.1rem,4vw,1.65rem)}
.gift-sticker-rect .gift-print-qr svg{width:clamp(3.5rem,25vw,8rem)}
.gift-wallpaper{width:min(100%,17rem);min-height:30rem;border:12px solid var(--gift-green);padding-top:9rem;text-align:center;display:flex;flex-direction:column;align-items:center}
.gift-wallpaper .gift-print-qr svg{width:min(100%,9rem)}
.gift-calendar{border-collapse:collapse;width:100%;table-layout:fixed;font-size:clamp(.52rem,1.4vw,.9rem)}
.gift-calendar :is(th,td){border:1px solid var(--gift-line);overflow-wrap:anywhere;padding:.2rem;vertical-align:top}
.gift-calendar td{height:3.9rem}
.gift-calendar-blank{background:var(--gift-cream)}
.gift-calendar-cover{text-align:center;border:2px solid #a8895d;padding:2rem 1rem}
.gift-calendar-cover h2{font-size:clamp(2rem,7vw,5rem);color:#2b813b}
.gift-calendar-cover .gift-print-photo{width:65%;max-width:32rem;max-height:15rem;aspect-ratio:1.75}
.gift-calendar-holiday,.gift-calendar-reminder{display:block;line-height:1.1}
.gift-calendar-holiday{color:#804628}
.gift-calendar-reminder{color:var(--gift-green);font-weight:700}
.gift-month > p{font-size:.78rem;margin:.35rem 0 0}

@media (min-width:1024px){.site-gifts-owner{margin-left:16rem}.site-gift-wrap{padding-top:2rem;padding-bottom:4rem}}
@media print{
    .site-gift-print{background:#fff;-webkit-print-color-adjust:exact;print-color-adjust:exact}
    .gift-print-toolbar{display:none}
    .gift-print-main{overflow:visible;width:auto;margin:0;padding:0}
    .gift-doc,.gift-sticker,.gift-wallet-face{margin:0 auto;max-width:none;box-shadow:none}
    .gift-doc{padding:4mm}
    .gift-doc-header{break-inside:avoid}
    .gift-doc-header p{margin-bottom:1.5mm}
    .gift-doc section{margin:2mm 0}
    .gift-doc section h3{break-after:avoid}
    .gift-doc :is(p,li,.gift-print-details,.gift-print-contact){font-size:9pt;line-height:1.18}
    .gift-doc :is(dt,dd){display:inline}
    .gift-doc dt::after{content:': '}
    .gift-doc h2{font-size:21pt}
    .gift-doc h3{font-size:11pt}
    .gift-doc.gift-a5{width:132mm}
    .gift-doc.gift-a4{width:194mm}
    .gift-print-photo{max-height:27mm}
    .gift-wallet-face{width:85.6mm;height:54mm;min-height:0;flex:0 0 85.6mm;font-size:7pt;padding:2.5mm}
    .gift-wallet-face h2{font-size:12pt}
    .gift-wallet-face .gift-print-qr svg{width:24mm}
    .gift-wallet-face .gift-print-contact{padding:.3mm 0}
    .gift-wallet-layout{gap:6mm;flex-wrap:nowrap}
    .gift-sticker-round{width:150mm;height:150mm;min-height:0;padding:19mm}
    .gift-sticker-rect{width:300mm;height:100mm;padding:10mm}
    .gift-sticker-rect .gift-print-qr svg{width:34mm}
    .gift-month{width:281mm;break-inside:avoid;break-after:page}
    .gift-month:last-child{break-after:auto}
    .gift-month .gift-print-photo{max-height:17mm}
    .gift-calendar-cover .gift-print-photo{max-height:100mm}
    .gift-calendar{font-size:8pt}
    .gift-calendar td{height:20mm;padding:1mm}
    .gift-voucher .gift-voucher-value{font-size:16pt}
}
