/* NAILY'S Moisson V5 — Espace cartes cadeaux, recette / production selon l'URL.
   Le formulaire et la prévisualisation ne créent aucune commande avant l'action explicite. */
.gift-page{background:#fcf7f4;color:#5a3c48;overflow-x:clip}
.gift-page [hidden]{display:none!important}
.gift-page .site-header{z-index:220}
.gift-page .site-header .header-bell{margin-left:auto}
.gift-page .site-header .header-account{margin-left:0}
.gift-hero{background:linear-gradient(120deg,#fcf2ef 0%,#f7e8e3 55%,#f2d9d0 100%);border-bottom:1px solid #e8cbc1;overflow:hidden}
.gift-hero-inner{display:grid;grid-template-columns:1fr 1.05fr;gap:clamp(35px,5vw,92px);min-height:510px;align-items:center;padding:64px 0 70px}
.gift-hero-copy{padding:15px 0}
.gift-eyebrow{font:700 10px/1.5 Manrope,'DM Sans',sans-serif;letter-spacing:.23em;color:#b07b7d;margin:0 0 21px}
.gift-hero h1{font:400 clamp(44px,5.1vw,72px)/1.09 Georgia,'Times New Roman',serif;letter-spacing:-.045em;color:#55343f;margin:0 0 24px;max-width:630px}
.gift-hero h1 em,.gift-flow-head h2 em,.gift-preview h3 em{font-weight:400;color:#a06c7a}
.gift-hero-lead{font-size:15px;line-height:1.9;color:#80616a;max-width:500px;margin:0 0 30px}
.gift-hero-cta{display:inline-flex;align-items:center;gap:17px;min-height:46px;padding:11px 20px;background:#e3b36c;border:1px solid #d5a05b;border-radius:999px;text-decoration:none;color:#593842;font-size:13px;font-weight:750;box-shadow:0 8px 20px #a7815330;transition:transform .2s,box-shadow .2s}
.gift-hero-cta:hover{transform:translateY(-2px);box-shadow:0 10px 24px #a7815350}
.gift-hero-photo{position:relative;border-radius:25px;overflow:hidden;box-shadow:0 25px 60px #77475126;min-width:0;aspect-ratio:1.54;background:#a96f78}
.gift-hero-photo img{display:block;width:100%;height:100%;object-fit:cover}
.gift-photo-caption{position:absolute;right:20px;bottom:17px;padding:8px 14px;border:1px solid #ffffff55;background:#5f3a458c;border-radius:999px;color:#fff8ef;font:italic 16px Georgia,serif;backdrop-filter:blur(12px)}
.gift-flow{padding:80px 0 110px;scroll-margin-top:90px}
.gift-flow-head{text-align:center;max-width:740px;margin:0 auto 40px}
.gift-flow-head h2{font:400 clamp(39px,4.7vw,57px)/1.14 Georgia,'Times New Roman',serif;color:#583642;margin:0 0 19px}
.gift-flow-head>p:last-child{font-size:14px;line-height:1.9;color:#866b73;margin:0}
.gift-layout{display:grid;grid-template-columns:minmax(0,1.13fr) minmax(320px,.87fr);gap:26px;align-items:start}
.gift-editor{display:grid;gap:18px;min-width:0}
.gift-step{background:#fffbf9;border:1px solid #ecd4ca;border-radius:24px;box-shadow:0 15px 34px #8d5b5112;padding:35px 35px 33px}
.gift-step-heading{display:flex;align-items:center;gap:16px;margin-bottom:26px}
.gift-step-heading--small{margin-bottom:23px}
.gift-step-num{width:49px;height:49px;min-width:49px;display:grid;place-items:center;border:1px solid #d9b597;border-radius:50%;background:#f8e8db;color:#986d5c;font:400 19px Georgia,'Times New Roman',serif}
.gift-step-kicker{margin:0 0 7px;color:#ad8082;letter-spacing:.17em;font-size:9px;font-weight:700}
.gift-step-heading h3{margin:0;color:#573843;font:400 clamp(23px,2.3vw,29px)/1.17 Georgia,'Times New Roman',serif}
.gift-amount-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin-bottom:23px}
.gift-amount-grid button{min-height:61px;border:1px solid #e8cfc4;background:#fff8f5;color:#674753;border-radius:15px;font-size:17px;font-weight:750;cursor:pointer;transition:background .15s,border-color .15s,transform .15s}
.gift-amount-grid button:hover{transform:translateY(-1px);border-color:#be947c}
.gift-amount-grid button.is-selected,.gift-amount-grid button[aria-pressed="true"]{color:#593743;border-color:#c7915a;background:#f2d3a7;box-shadow:inset 0 0 0 1px #edbc82}
.gift-field{display:block;font-size:13px;font-weight:750;line-height:1.5;color:#664b54;margin:17px 0 9px}
.gift-field small{font-weight:400;color:#a0848b;margin-left:5px}
.gift-page #gift-form>input,.gift-custom-amount input{width:100%;height:50px;padding:14px 16px;border:1px solid #ddc3ba;border-radius:12px;color:#593d48;background:#fff;font:500 14px Manrope,'DM Sans',sans-serif;box-sizing:border-box}
.gift-page #gift-form>input:focus-visible,.gift-custom-amount input:focus-visible,.gift-page .gift-amount-grid button:focus-visible,.gift-hero-cta:focus-visible,.gift-page .gift-pay-button:focus-visible{outline:2px solid #ab7886;outline-offset:3px}
.gift-custom-amount{position:relative}
.gift-custom-amount input{padding-right:48px}
.gift-custom-amount span{position:absolute;right:18px;top:50%;transform:translateY(-50%);font:700 17px Georgia,serif;color:#987379}
.gift-form-hint{display:block;font-size:11px;line-height:1.7;color:#99818a;margin:10px 0 0}
.gift-form-divider{height:1px;background:#ead5ce;margin:31px 0}
.gift-mail-hint{background:#f9f0ec;border-left:3px solid #d6af9a;padding:12px 14px;border-radius:0 8px 8px 0;margin-top:20px}
.gift-auth-intro{font-size:12px;color:#876e76;line-height:1.8;margin:0 0 18px}
.gift-account-step .gift-step-heading{margin-bottom:16px}
.gift-page .gift-auth{margin-top:13px;padding:20px;border-color:#e9d5cd;background:#fff7f2}
.gift-page .gift-auth .auth-form{max-width:none}
.gift-page .gift-auth .auth-tabs{margin-bottom:20px}
.gift-page .gift-auth .auth-form h3{font-size:25px}
.gift-payment-step{background:#f4e4dc;border:1px solid #e7c4b5;padding:26px 30px;border-radius:21px}
.gift-pay-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #d7b4a4;padding-bottom:16px;margin-bottom:15px}
.gift-pay-summary span{font-size:12px;font-weight:650;color:#815d68}
.gift-pay-summary strong{font:italic 700 31px Georgia,serif;color:#664451;white-space:nowrap}
.gift-payment-state,.gift-payment-error{font-size:12px;line-height:1.7;color:#855f6b;margin:0 0 17px}
.gift-payment-error{padding:11px 13px;background:#fff1ee;color:#a44051;border:1px solid #e8b4b9;border-radius:11px}
.gift-payment-state.is-warning{color:#8f5648}
.gift-payment-state.is-success{color:#386b4d}
.gift-pay-button{width:100%;min-height:54px;border-radius:14px;display:flex;align-items:center;justify-content:center;gap:13px;box-sizing:border-box;border:1px solid #d09c58;background:linear-gradient(115deg,#f3d7a3,#dfa960);color:#55333e;font:750 13px Manrope,'DM Sans',sans-serif;text-align:center;text-decoration:none;cursor:pointer;padding:14px;box-shadow:0 7px 19px #b7875323}
.gift-pay-button:disabled{opacity:.54;cursor:not-allowed;box-shadow:none}
.gift-pay-button:not(:disabled):hover{filter:brightness(1.03)}
.gift-pay-footnote{font-size:10px;line-height:1.8;color:#916e73;margin:15px 0 0;text-align:center}
.gift-preview{position:sticky;top:110px;min-width:0}
.gift-preview-inner{padding:28px 26px;background:#faeeeb;border:1px solid #e8cfc5;border-radius:24px;box-shadow:0 15px 36px #85575e13}
.gift-preview .gift-eyebrow{margin-bottom:10px}
.gift-preview h3{font:400 clamp(26px,2.3vw,32px)/1.17 Georgia,'Times New Roman',serif;color:#613d4a;margin:0 0 20px}
.gift-card-art{position:relative;width:100%;aspect-ratio:3/2;background:#78333b;border-radius:13px;overflow:hidden;box-shadow:0 16px 30px #653c4b3a;container-type:inline-size;isolation:isolate}
.gift-card-art>img{position:absolute;inset:0;width:100%;height:100%;object-fit:fill}
.gift-card-amount{position:absolute;z-index:1;left:43%;top:49%;width:42%;height:16%;display:flex;align-items:center;justify-content:center;white-space:nowrap;color:#ffdfa5;font:italic 700 clamp(17px,8.8cqw,65px)/1 Georgia,'Times New Roman',serif;letter-spacing:-.055em;text-shadow:0 2px 2px #51161a,0 4px 9px #290b1380}
.gift-card-recipient{position:absolute;z-index:1;left:44%;top:70.5%;width:40%;height:6%;display:flex;align-items:center;justify-content:center;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#ffedc5;font:italic 400 clamp(8px,2.5cqw,22px)/1 Georgia,'Times New Roman',serif;text-shadow:0 2px 6px #381115}
.gift-preview-note{color:#92747d;font-size:11px;line-height:1.7;margin:19px 0}
.gift-benefits{display:grid;gap:0;border-top:1px solid #e1c9c2}
.gift-benefits>div{display:flex;gap:14px;align-items:flex-start;border-bottom:1px solid #e1c9c2;padding:15px 4px}
.gift-benefits>div>span{display:grid;place-items:center;width:35px;height:35px;flex:none;border-radius:50%;border:1px solid #dbbcae;color:#a37a6a;font:24px Georgia,serif}
.gift-benefits p{display:grid;gap:4px;margin:0}
.gift-benefits strong{font:700 12px Manrope,'DM Sans',sans-serif;color:#64424d}
.gift-benefits small{font-size:11px;line-height:1.5;color:#98787f}
.gift-bottom{background:#714957;color:#fff7f1;padding:50px 0}
.gift-bottom-inner{display:flex;align-items:center;gap:24px;flex-wrap:wrap;justify-content:space-between}
.gift-bottom-inner p{font:italic 30px Georgia,serif;margin:0}
.gift-bottom-inner>span{max-width:335px;font-size:12px;line-height:1.8;color:#f0dcd9}
.gift-bottom-inner>a{color:#ffe6b5;font-size:12px;border-bottom:1px solid #e6bb87;padding-bottom:7px;text-decoration:none}
@media(max-width:1050px){
 .gift-hero-inner{gap:38px;min-height:460px}
 .gift-layout{grid-template-columns:minmax(0,1fr) minmax(300px,.82fr)}
 .gift-step{padding:27px}
 .gift-preview-inner{padding:22px 18px}
}
@media(max-width:880px){
 .gift-hero-inner{grid-template-columns:1fr;padding:52px 0;gap:30px}
 .gift-hero h1{max-width:720px}
 .gift-hero-photo{width:min(660px,100%);margin:auto}
 .gift-layout{grid-template-columns:1fr}
 .gift-preview{position:static;grid-row:1}
 .gift-preview-inner{display:grid;grid-template-columns:1fr 1fr;gap:8px 22px;align-items:start}
 .gift-preview .gift-eyebrow,.gift-preview h3,.gift-preview-note{grid-column:1/-1}
 .gift-card-art{grid-column:1}
 .gift-benefits{grid-column:2;margin:0;border-top:0}
 .gift-benefits>div:first-child{padding-top:3px}
}
@media(max-width:680px){
 .gift-hero-inner{padding:37px 0 46px}
 .gift-hero h1{font-size:clamp(39px,10vw,57px)}
 .gift-hero-lead{font-size:13px;line-height:1.8}
 .gift-hero-photo{border-radius:18px}
 .gift-photo-caption{font-size:12px}
 .gift-flow{padding:50px 0 75px}
 .gift-flow-head h2{font-size:42px}
 .gift-layout{gap:20px}
 .gift-step{padding:22px 17px;border-radius:18px}
 .gift-step-heading{gap:12px}
 .gift-step-num{width:42px;height:42px;min-width:42px}
 .gift-step-heading h3{font-size:24px}
 .gift-preview-inner{display:block;padding:23px 18px}
 .gift-preview h3{font-size:28px}
 .gift-card-art{width:100%;max-width:510px;margin:0 auto}
 .gift-benefits{border-top:1px solid #e1c9c2}
 .gift-benefits>div:first-child{padding-top:15px}
 .gift-amount-grid{gap:8px}
 .gift-amount-grid button{font-size:15px;min-height:53px}
 .gift-payment-step{padding:23px 18px}
 .gift-bottom-inner{display:grid;gap:15px}
 .gift-bottom-inner p{font-size:27px}
}
@media(max-width:390px){
 .gift-amount-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .gift-page .gift-auth{padding:18px 12px}
}
@media(prefers-reduced-motion:reduce){
 .gift-hero-cta,.gift-amount-grid button{transition:none}
 .gift-hero-cta:hover,.gift-amount-grid button:hover{transform:none}
}

/* Statut de retour Stripe ; le retour du navigateur ne prouve pas l'encaissement. */
.gift-checkout-result{
  display:flex;align-items:flex-start;gap:18px;box-sizing:border-box;
  padding:21px 24px;margin-top:25px;margin-bottom:0;
  border:1px solid #d7ad97;border-radius:19px;background:#fff9f2;
  box-shadow:0 12px 34px #6e424515;
}
.gift-checkout-result[hidden]{display:none}
.gift-checkout-result-icon{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:50%;background:#eed5b6;color:#835e4c;font:28px Georgia,serif}
.gift-checkout-result h2{font:400 26px Georgia,serif;color:#643e50;margin:0 0 10px}
.gift-checkout-result p{color:#775762;font-size:13px;line-height:1.75;margin:0 0 10px}
.gift-checkout-result a{color:#7e515e;font-size:12px;text-decoration:underline;text-underline-offset:4px}
@media(max-width:600px){.gift-checkout-result{padding:18px;gap:11px;margin-top:14px}.gift-checkout-result h2{font-size:23px}}

.gift-page .gift-hero {
  position:relative; background:transparent; border-bottom:0;
  padding-bottom:clamp(18px,2.5vw,42px);
}
.gift-page .gift-hero::after {
  content:""; position:absolute; inset:auto 0 0; height:clamp(25px,4vw,65px);
  background:url('./assets/lisiere.webp') center / 100% 100% no-repeat;
  mask-image:linear-gradient(transparent,#000 34%,#000); pointer-events:none;
}
.gift-page :is(.gift-hero h1,.gift-flow-head h2,.gift-preview h3) {color:var(--salon-ink);}
.gift-page .gift-hero-photo {
  border:1px solid #f9dfac;
  box-shadow:0 0 0 1px var(--salon-gold),0 15px 36px #74433226;
}
.gift-page :is(.gift-step,.gift-preview-inner,.gift-payment-step) {
  background:var(--salon-paper);border:1px solid #d5b378;
  box-shadow:0 12px 32px #74433218;
}
.gift-page :is(.gift-hero-cta,.gift-pay-button:not(:disabled)) {
  background:linear-gradient(145deg,#986021,#7d4717);color:white;
  border-color:#af8149;font-family:Georgia,serif;
}
.gift-page .gift-bottom {border-top:1px solid var(--salon-gold);}
