/* Liaison du header AC à la boutique et à l’atelier — aperçu local uniquement. */
:root{--gutter:clamp(22px,6vw,88px);--ac-header-height:94px}
html{scroll-padding-top:calc(var(--ac-header-height) + 24px);overflow-y:scroll;scrollbar-gutter:stable}
body{padding-top:var(--ac-header-height)}
.site-header.ac-original-header{position:fixed;top:0;left:0;right:0;z-index:40;display:flex;align-items:center;justify-content:space-between;width:100%;box-sizing:border-box;background:#090a0c;font:16px/1.7 var(--sans);height:var(--ac-header-height);min-height:var(--ac-header-height);max-height:var(--ac-header-height);flex-shrink:0;flex-wrap:nowrap}
.site-header a{text-decoration:none}
.site-header .header-start{flex:none}
.site-header .brand{width:110px;height:77px;flex:none}
.site-header .brand svg{width:110px;height:auto;filter:none}
.site-header .brand-lockup{max-width:none}
.site-header nav a{font-weight:400}
.site-header nav a[aria-current="page"]{color:#e8cf9a}
.site-header nav a[aria-current="page"]:after{width:100%;background:#d5bd89}
.site-header .header-tools{margin-left:auto}
.site-header .header-tools .display-menu{color:#d8c39b}
.site-header .display-menu button{z-index:45}
.site-header .creation-spectrum-label{color:#e8cf9a}
@supports (background-clip:text){
 .site-header .creation-spectrum-label{background:linear-gradient(110deg,#f8f4ec 0%,#f8f4ec 35%,#cbb079 46%,#ffe8b4 51%,#cbb079 56%,#f8f4ec 67%,#f8f4ec 100%);background-size:240% 100%;background-position:0% 50%;background-clip:text;-webkit-background-clip:text;color:transparent;animation:creation-gold-text 5s ease-in-out infinite alternate}
}
@keyframes creation-gold-text{to{background-position:100% 50%}}
.shop-utility{background:#f5f1e7;border-bottom:1px solid #d8cfbd}
.shop-utility-inner{max-width:1280px;margin:auto;padding:10px 42px;display:flex;gap:24px;justify-content:flex-start;align-items:center;min-height:47px}
.boutique-quick-nav,.boutique-account-nav{display:flex;align-items:center;gap:24px;min-width:0}
.boutique-quick-nav button{padding:3px 0;background:transparent;color:#646c5e;font-size:11px;white-space:nowrap;position:relative}
.boutique-quick-nav button[aria-pressed="true"]{color:#263c32}
.boutique-quick-nav button[aria-pressed="true"]:after{content:'';position:absolute;left:0;right:0;bottom:0;height:1px;background:#a78951}
.boutique-account-nav a{font-size:10px;text-decoration:none;white-space:nowrap;color:#5d675b}
.boutique-account-nav a.current{color:#8b6837;text-decoration:underline;text-underline-offset:5px}
.boutique-account-nav #order-count{display:inline-grid;place-items:center;min-width:17px;height:17px;padding:0 3px;border:1px solid #b5a17d;border-radius:50%;margin-left:5px;color:#6e572f;font-size:9px}
.atelier-header-context{width:100%;height:80px;min-width:0;display:grid;grid-template-columns:minmax(100px,1fr) minmax(120px,1.3fr) auto auto;align-items:center;gap:24px;padding:12px max(24px,calc((100vw - 1280px)/2));color:#263c32;background:#f2ecde;border-bottom:1px solid #d8cfbd;box-sizing:border-box}
.atelier-return{font-size:12px;white-space:nowrap;color:#715e3e;display:inline-flex;gap:10px;align-items:center;justify-self:start}
.atelier-return:hover{color:#263c32}
.atelier-header-title{min-width:0;border-left:1px solid #ccb991;padding-left:25px;line-height:1.3}
.atelier-header-title>span{display:block;font-size:8px;letter-spacing:.14em;color:#876c43;margin-bottom:3px}
.atelier-header-title strong{font:26px/1.1 var(--serif);font-weight:400;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.atelier-save{display:flex;align-items:center;gap:15px}
.atelier-save>span{width:140px;flex:0 0 140px;max-width:140px;font-size:9px;line-height:1.5;color:#697360}
.atelier-save button{border:1px solid #b9a16c;border-radius:999px;padding:9px 15px;background:transparent;font-size:11px;color:#334834;min-height:40px}
.atelier-save button:hover{background:#e5dcc8;border-color:#987a44}
.atelier-header-price{font:32px/1.1 var(--serif);font-weight:400;color:#876c43;white-space:nowrap;padding-left:20px;border-left:1px solid #ccb991;width:90px;min-width:90px;text-align:right;font-variant-numeric:tabular-nums}
.atelier-progress{background:#f0ebdf;border-bottom:1px solid #d9cfb9}
.atelier-progress-inner{max-width:1250px;margin:auto;padding:10px 42px;display:flex;gap:10px;align-items:center;justify-content:center;font-size:10px;color:#80836f}
.atelier-progress a{color:#777d6c;text-decoration:none}
.atelier-progress a:hover{color:#805e34}
.atelier-progress span[aria-current="step"]{color:#2d4234;font-weight:600}
.atelier-progress .progress-divider{color:#b6aa8d;font-size:13px;padding:0 7px}
.boutique-route-enter{animation:boutique-route-enter .28s cubic-bezier(.2,.6,.2,1) both}
@keyframes boutique-route-enter{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
.store-hero h1{font-size:clamp(55px,5.3vw,74px);max-width:490px;line-height:1.01;margin-bottom:21px}
.store-hero h1 em{display:block}
.store-hero .store-hero-inner,.store-hero{min-height:680px}
.store-hero-inner{padding-top:55px;padding-bottom:55px}
.store-hero .hero-description{max-width:335px}
.store-hero .hero-postscript{margin-top:17px}
body[data-view="atelier"] .editor-top,body[data-view="commande"] .editor-top{padding-top:24px}
body[data-view="atelier"] .editor-top .draft-state{color:#7d806f;font-size:10px}
@media(min-width:1550px){.store-hero h1{font-size:78px;max-width:520px}.store-hero,.store-hero .store-hero-inner{min-height:710px}}
@media(max-width:1120px){
 :root{--ac-header-height:76px}
 .site-header .brand,.site-header .brand svg{width:100px;height:auto}
 .site-header .brand{height:66px}
 .site-header .menu-toggle{margin-left:auto}
 .site-header nav.is-open a[aria-current="page"]:after{display:none}
 .site-header .header-tools{display:none}
 .atelier-header-context{gap:18px;grid-template-columns:minmax(100px,1fr) minmax(100px,1fr) auto auto}
 .atelier-save>span{display:none}
 .atelier-header-title strong{font-size:23px}
 .store-hero h1{font-size:62px;max-width:400px}
}
@media(max-width:760px){
 .site-header .brand{height:66px}
 .site-header nav.is-open .home-orbit{min-height:44px}
 .shop-utility-inner{padding:11px 22px;gap:8px;flex-wrap:wrap}
 .boutique-quick-nav{gap:19px;flex:1;min-width:260px;justify-content:space-between}
 .boutique-quick-nav button{font-size:10px;min-height:32px}
 .boutique-account-nav{width:100%;justify-content:flex-end;gap:20px;border-top:1px solid #ded6c4;padding-top:8px;margin-top:2px}
 .boutique-account-nav a{font-size:9px;min-height:26px;display:flex;align-items:center}
 .atelier-header-context{height:66px;grid-template-columns:minmax(55px,1fr) auto auto;gap:10px}
 .atelier-header-title{display:none}
 .atelier-return{font-size:10px;gap:6px}
 .atelier-save button{padding:8px 12px;min-height:36px;font-size:10px}
 .atelier-header-price{font-size:26px;width:68px;min-width:68px;padding-left:10px}
 .atelier-progress-inner{padding:10px 18px;font-size:9px;gap:5px;justify-content:flex-start}
 .atelier-progress .progress-divider{padding-inline:3px;font-size:11px}
 .store-hero,.store-hero .store-hero-inner{min-height:800px}
 .store-hero-inner{padding:32px 26px 0}
 .store-hero h1{font-size:52px;max-width:320px;line-height:1.01;margin-bottom:16px}
 .store-hero .hero-description{max-width:300px}
 .store-hero-photo{height:330px}
 .store-hero:before{background:linear-gradient(180deg,#14281e 0%,#14281e 52%,#14281e44 67%,transparent 84%)}
 .hero-experience{bottom:20px}
}
@media(max-width:370px){
 .atelier-header-context{gap:8px}
 .atelier-return{font-size:9px;gap:3px}
 .atelier-save button{font-size:9px;padding:8px 10px}
 .atelier-header-price{width:60px;min-width:60px;font-size:24px;padding-left:8px}
 .store-hero,.store-hero .store-hero-inner{min-height:840px}
 .store-hero h1{font-size:48px;max-width:280px}
 .boutique-quick-nav{gap:14px;min-width:0;width:100%}
 .boutique-quick-nav button{font-size:9px}
 .atelier-progress-inner{font-size:8px;gap:4px}
}
@media(prefers-reduced-motion:reduce){
 .boutique-route-enter,.site-header .creation-spectrum-label{animation:none}
 html{scroll-behavior:auto}
}
.reduced-motion .boutique-route-enter,.reduced-motion .creation-spectrum-label{animation:none!important}
.reduced-motion{scroll-behavior:auto}

/* Le texte d’accompagnement des collections devient un repère visuel. */
.collection-heading{align-items:center}
.collection-heading .collection-note{flex:0 1 355px;max-width:355px;min-width:0;border-left:2px solid #b2945c;padding:5px 0 5px 24px;color:#42513e;line-height:1.65;margin:0}
.collection-note .note-opening{display:block;font-size:14px;color:#68715e;line-height:1.6}
.collection-note strong{display:block;font:600 18px/1.45 var(--sans);color:#2b4233;margin:11px 0}
.collection-note em{display:block;font:italic 28px/1.12 var(--serif);color:#98753e;max-width:310px}
@media(max-width:760px){
 .collection-heading .collection-note{max-width:100%;margin:23px 0 6px;padding-left:20px}
 .collection-note .note-opening{font-size:13px}
 .collection-note strong{font-size:17px;margin:9px 0}
 .collection-note em{font-size:27px}
}

/* Rééquilibrage de l’accueil après retrait des deux boutons. */
.store-hero,.store-hero .store-hero-inner{min-height:560px}
.store-hero .store-hero-inner{display:flex;align-items:center;padding-top:44px;padding-bottom:44px}
.store-hero-copy{position:relative;z-index:1}
.store-hero .hero-description{margin-bottom:0}
.hero-experience{bottom:28px}
@media(min-width:1550px){
 .store-hero,.store-hero .store-hero-inner{min-height:620px}
 .store-hero .store-hero-inner{padding-top:48px;padding-bottom:48px}
}
@media(max-width:760px){
 .store-hero,.store-hero .store-hero-inner{min-height:680px}
 .store-hero .store-hero-inner{display:block;padding-top:32px;padding-bottom:280px}
 .hero-experience{bottom:20px}
}
@media(max-width:370px){
 .store-hero,.store-hero .store-hero-inner{min-height:700px}
 .store-hero .store-hero-inner{padding-bottom:300px}
}

/* Quatre repères assortis : pictogrammes vectoriels et typographie lisible. */
.store-promises{background:linear-gradient(180deg,#f5f1e7,#ece7d8);border-top:1px solid #d9ceb6;border-bottom:1px solid #d9ceb6}
.promises-inner{padding-top:26px;padding-bottom:26px;gap:0;align-items:stretch}
.promise{gap:13px;padding-right:18px;align-items:center}
.promise+.promise{border-left:1px solid #cfc3a8;padding-left:22px}
.promise .promise-icon{width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center;border:1px solid #c8b58477;border-radius:50%;background:linear-gradient(145deg,#fffdf4a8,#e6ddc933);color:#97743c}
.promise-icon svg{display:block;width:28px;height:28px;overflow:visible}
.promise>div{min-width:0}
.promise strong{font-size:12px;line-height:1.45;letter-spacing:.005em;color:#2a4233}
.promise small{font-size:10px;line-height:1.55;color:#6d7463;margin-top:4px}
@media(max-width:1080px) and (min-width:761px){
 .promises-inner{padding-inline:26px}
 .promise{gap:10px;padding-right:12px}
 .promise+.promise{padding-left:14px}
 .promise .promise-icon{width:38px;height:38px;flex-basis:38px}
 .promise-icon svg{width:25px;height:25px}
 .promise strong{font-size:11px}
}
@media(max-width:760px){
 .promises-inner{grid-template-columns:1fr 1fr;padding:23px 22px;row-gap:23px}
 .promise{gap:11px;padding-right:14px}
 .promise+.promise{padding-left:17px}
 .promise:nth-child(odd){border-left:0;padding-left:0}
 .promise .promise-icon{width:36px;height:36px;flex-basis:36px}
 .promise-icon svg{width:25px;height:25px}
 .promise strong{font-size:11px}
 .promise small{font-size:10px}
}
@media(max-width:370px){
 .promises-inner{padding-inline:17px}
 .promise{gap:9px;padding-right:10px}
 .promise+.promise{padding-left:12px}
 .promise:nth-child(odd){padding-left:0}
 .promise .promise-icon{width:32px;height:32px;flex-basis:32px}
 .promise-icon svg{width:23px;height:23px}
}

/* Les rayons sous le header : navigation de boutique clairement identifiée. */
.shop-utility{background:linear-gradient(180deg,#faf7ef,#f0e9da);border-bottom:1px solid #cbb98e;box-shadow:0 4px 14px #2234280b;position:relative;z-index:5}
body[data-view="boutique"]>.shop-utility{position:sticky;top:var(--ac-header-height);z-index:30}
.shop-utility-inner{min-height:80px;padding-top:13px;padding-bottom:13px;gap:22px}
.boutique-quick-nav{gap:8px}
.boutique-quick-nav button{display:flex;align-items:center;justify-content:center;gap:10px;min-height:50px;padding:12px 18px;border:1px solid transparent;border-radius:4px;background:transparent;color:#43523e;font-size:13px;font-weight:600;line-height:1.3}
.rayon-icon{display:block;width:24px;height:24px;flex:none;color:#9d7c43}
.boutique-quick-nav button:hover{background:transparent;border-color:transparent;color:#876b3e}
.boutique-quick-nav button[aria-pressed="true"]{background:transparent;color:#263c32;border-color:transparent;box-shadow:none}
.boutique-quick-nav button[aria-pressed="true"]:after{display:block;left:18px;right:18px;bottom:2px;height:1px;background:#a78951}
.boutique-quick-nav button[aria-pressed="true"] .rayon-icon{color:#9d7c43}
.boutique-account-nav{gap:10px}
.boutique-account-nav a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;border:1px solid #cdbd9b;border-radius:4px;background:#fffaf0;color:#42513b;font-size:12px;font-weight:400;text-decoration:none}
.boutique-account-nav a:hover,.boutique-account-nav a.current{background:#e5d7b9;color:#3f4c35;text-decoration:none}
.boutique-account-nav #order-count{min-width:21px;height:21px;margin-left:8px;border-color:#b5985d;background:#e5d1a2;color:#37462f;font-size:10px}

/* Catalogue : écrin ivoire, cartes en relief et sélection vert profond. */
.storefront .shop-toolbar{display:block;padding-bottom:20px}
.storefront .collection-tabs{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:10px;padding:9px;
 border:1px solid #cbb98e;border-radius:15px;
 background:linear-gradient(145deg,#faf6eb,#e9dfc9);
 box-shadow:0 12px 26px -18px #283c3459,0 3px 7px #634c2d0c,inset 0 1px 0 #fffef8
}
.storefront .collection-tabs button{
 display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:15px;min-width:0;
 min-height:88px;padding:18px 23px;border:1px solid #d7c9ad;border-radius:9px;
 background:linear-gradient(135deg,#fffdf7,#f6f0e2);color:#344a3b;font-weight:600;text-align:left;
 box-shadow:0 3px 7px #493d2110,inset 0 1px 0 #fff;
 transition:border-color .18s ease,box-shadow .18s ease,color .18s ease
}
.storefront .collection-tabs button.active{
 background:linear-gradient(130deg,#365445,#1f3a2e);border-color:#b29865;color:#fff9ec;
 box-shadow:0 7px 14px -7px #122e2666,inset 0 1px 0 #f6e5b535,inset 0 -2px 0 #152e2766
}
.storefront .collection-tabs button .rayon-icon{width:27px;height:27px}
.storefront .collection-tabs button.active .rayon-icon{color:#e5c78a}
.storefront .collection-tabs button .collection-label{font:600 14px/1.4 var(--sans);color:inherit;margin:0;white-space:normal}
.storefront .collection-tabs button.active .collection-label{color:#fff9ec}
.storefront .collection-tabs button .collection-price{
 font:30px/1.15 var(--serif);font-variant-numeric:lining-nums;color:#8b6937;margin:0;white-space:nowrap;
 padding-left:18px;border-left:1px solid #d8c7a4
}
.storefront .collection-tabs button.active .collection-price{color:#f0d7a2;border-left-color:#e8ce9340}
.storefront .occasion-row{
 padding:22px 24px;margin:0 0 32px;gap:10px;
 border:1px solid #d6c8a9;border-radius:12px;
 background:linear-gradient(115deg,#f5efe1,#fcf9f1);
 box-shadow:0 8px 20px -16px #4b432d55,inset 0 1px 0 #fffdf7,inset 0 0 0 4px #fffdf338
}
.storefront .occasion-row>span{font-size:12px;font-weight:600;line-height:1.5;color:#344a3b;margin-right:8px}
.storefront .occasion-row .chip{
 font-size:11px;font-weight:600;min-height:44px;padding:10px 16px;border:1px solid #d2c2a0;border-radius:28px;
 background:linear-gradient(180deg,#fffef9,#f7f1e5);color:#40513e;line-height:1.4;
 box-shadow:0 3px 5px #4b3d2010,inset 0 1px 0 #fff;
 transition:border-color .18s ease,box-shadow .18s ease,color .18s ease
}
.storefront .occasion-row .chip.active{
 border-color:#a58344;background:linear-gradient(155deg,#ead4a0,#d5b675);color:#2b3e30;
 box-shadow:0 4px 8px -3px #7e623b40,inset 0 1px 0 #fff4d6,inset 0 -2px 0 #a37a3d26
}
@media(hover:hover){
 .storefront .collection-tabs button:hover{border-color:#a98b55;box-shadow:0 5px 12px #493d2120,inset 0 1px 0 #fff}
 .storefront .collection-tabs button.active:hover{box-shadow:0 7px 16px -5px #122e2670,inset 0 1px 0 #f6e5b545,inset 0 -2px 0 #152e2766}
 .storefront .occasion-row .chip:hover{border-color:#a58344;box-shadow:0 4px 8px #4b3d2020,inset 0 1px 0 #fff}
}
@media(max-width:1120px){
 .shop-utility-inner{padding-inline:26px}
 .boutique-quick-nav button{padding-inline:13px;font-size:12px}
 .boutique-account-nav a{font-size:11px;padding-inline:12px}
 .storefront .collection-tabs button{padding:18px 15px;gap:11px}
 .storefront .collection-tabs button .collection-label{font-size:12px}
 .storefront .collection-tabs button .collection-price{font-size:28px;padding-left:12px}
}
@media(max-width:900px){
 .shop-utility-inner{flex-wrap:wrap;gap:11px}
 .boutique-quick-nav{width:100%;flex:1 0 100%}
 .boutique-quick-nav button{flex:1;white-space:normal}
 .boutique-account-nav{width:100%;justify-content:flex-end;border-top:1px solid #d7c8a9;padding-top:10px}
}
@media(max-width:760px){
 .shop-utility-inner{padding:12px 18px;gap:9px}
 .boutique-quick-nav{gap:7px;min-width:0}
 .boutique-quick-nav button{flex-direction:column;min-width:0;min-height:70px;padding:10px 5px;gap:7px;font-size:11px;text-align:center}
 .boutique-quick-nav .rayon-icon{width:23px;height:23px}
 .boutique-quick-nav button>span{max-width:110px}
 .boutique-account-nav{gap:8px;margin-top:0;padding-top:10px}
 .boutique-account-nav a{flex:1;min-height:40px;font-size:11px;padding:8px 10px}
 .storefront .collection-tabs{gap:6px;padding:6px;border-radius:12px}
 .storefront .collection-tabs button{display:flex;flex-direction:column;justify-content:center;gap:9px;min-height:148px;padding:15px 5px 12px;text-align:center;border-radius:7px}
 .storefront .collection-tabs button .rayon-icon{width:24px;height:24px}
 .storefront .collection-tabs button .collection-label{font-size:11px;line-height:1.25;min-height:28px;display:flex;align-items:center;justify-content:center}
 .storefront .collection-tabs button .collection-price{font-size:26px;width:calc(100% - 12px);padding:8px 0 0;border-left:0;border-top:1px solid #d8c7a4}
 .storefront .collection-tabs button.active .collection-price{border-top-color:#e8ce9340}
 .storefront .occasion-row{padding:20px 16px;gap:9px;margin-bottom:26px;border-radius:10px}
 .storefront .occasion-row>span{width:100%;font-size:12px;margin:0 0 5px}
 .storefront .occasion-row .chip{font-size:11px;padding:10px 13px;min-height:44px}
}
@media(max-width:370px){
 .boutique-quick-nav button{font-size:10px}
 .storefront .collection-tabs button .collection-label{font-size:10px}
 .storefront .occasion-row{padding-inline:12px}
}

/* Vrais emojis couleur, identiques dans les deux bandeaux. */
.rayon-emoji{display:inline-grid;place-items:center;font-family:'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif;font-weight:400;font-style:normal;font-variant-emoji:emoji;line-height:1;text-shadow:0 1px 1px #263c3212}
.boutique-quick-nav button .rayon-emoji{width:30px;height:30px;font-size:28px}
.storefront .collection-tabs button .rayon-emoji{width:32px;height:32px;margin:0;font-size:30px;line-height:1}
@media(max-width:760px){
 .boutique-quick-nav button .rayon-emoji{width:29px;height:29px;font-size:27px}
 .storefront .collection-tabs button .rayon-emoji{width:32px;height:32px;font-size:29px}
}

/* Faire-part : enveloppe photographique bordeaux et sceau doré, fond transparent. */
.boutique-quick-nav{align-items:stretch}
.boutique-quick-nav button .rayon-envelope{display:block;width:52px;height:36px;object-fit:contain;flex:none}
.storefront .collection-tabs button .rayon-icon{justify-self:center}
.storefront .collection-tabs button .rayon-envelope{display:block;width:52px;height:36px;object-fit:contain;margin:0}
@media(max-width:760px){
 .boutique-quick-nav button .rayon-envelope{width:48px;height:33px}
 .storefront .collection-tabs button .rayon-envelope{width:52px;height:36px}
}

/* La boutique se termine sur les trois réponses utiles, sans liens répétitifs. */
body[data-view="boutique"]>.footer{display:none}
.orders-head+.resume-draft{margin:0 0 28px}

/* Le menu reprend le centrage du header AC commun aux pages particuliers. */
.shop-utility .boutique-account-nav{flex:none;margin-left:auto}
.shop-utility .boutique-account-nav a{white-space:nowrap}

/* Équilibrer les deux lignes de la phrase de fin. */
.store-details>.story-intro>p:not(.eyebrow){text-wrap:balance}

/* Sauvegarde privée : un seul formulaire, visible lorsque l’aperçu est connecté. */
.cloud-save-dialog{width:min(500px,calc(100vw - 30px));max-height:calc(100dvh - 40px);overflow:auto;padding:38px;background:#f8f5ee;border:1px solid #b9a16c;color:#263d31;box-shadow:0 28px 90px #0006}
.cloud-save-dialog::backdrop{background:#10251dcc;backdrop-filter:blur(5px)}
.cloud-save-dialog h2{font-size:42px;margin:12px 0 18px}.cloud-save-dialog h2 em{color:#a17b45}
.cloud-save-dialog>p:not(.eyebrow){font-size:13px;line-height:1.7}.cloud-save-dialog .field{display:block;margin:20px 0;font-size:12px}
.cloud-save-dialog input{display:block;width:100%;padding:12px;margin-top:8px;border:1px solid #d2c6ae;background:#fffaf1;font:inherit;color:inherit}
.cloud-save-dialog #cloud-private-link{font-size:11px}.cloud-save-dialog #cloud-save-result{font-size:12px;color:#8b6535}
@media(max-width:550px){.cloud-save-dialog{padding:30px 22px}.cloud-save-dialog h2{font-size:36px}}

/* Ouverture : chaque format rentre dans son enveloppe, puis sort entièrement.
   Le volume réservé au-dessus suit les dimensions réelles de l’enveloppe. */
.discovery .envelope-stage{
 --envelope-width:min(76cqw,340px);
 --envelope-ratio:1.48;
 height:auto;min-height:0;display:flex;flex-direction:column;
 align-items:center;justify-content:flex-start;gap:16px;
 padding:24px 12px 40px;overflow:visible;perspective:none;
}
.discovery .envelope-stage.format-square{--envelope-width:min(70cqw,270px);--envelope-ratio:1}
.discovery .envelope-stage.format-portrait{--envelope-width:min(62cqw,215px);--envelope-ratio:.77}
.discovery .envelope-stage::before{
 content:'';display:block;flex:none;width:var(--envelope-width);
 aspect-ratio:var(--envelope-ratio);pointer-events:none;
}
.discovery .envelope{
 position:relative;bottom:auto;flex:none;width:var(--envelope-width);
 aspect-ratio:var(--envelope-ratio);transform:rotate(-5deg);
 transform-style:flat;perspective:1000px;isolation:isolate;
 transition:transform .55s cubic-bezier(.2,.6,.2,1);
}
.discovery .env-paper{
 left:6%;bottom:6%;width:88%;height:88%;z-index:2;
 transform:translateY(0);overflow:hidden;
 transition:transform 1.3s cubic-bezier(.25,.65,.25,1) 1s,box-shadow 1.3s 1s;
}
.discovery .env-paper .miniature{width:100%;height:100%;padding:18px;aspect-ratio:auto!important}
.discovery .env-flap{
 height:64%;z-index:6;transform:rotateX(0);
 transition:transform .85s cubic-bezier(.3,.5,.3,1) .15s,z-index 0s .6s;
}
.discovery .env-seal{transition:opacity .2s ease}
.discovery .envelope.is-open{transform:rotate(0)}
.discovery .envelope.is-open .env-seal{opacity:0}
.discovery .envelope.is-open .env-flap{transform:rotateX(180deg);z-index:1}
.discovery .envelope.is-open .env-paper{transform:translateY(-110%);box-shadow:0 8px 20px #33251726}
.discovery .discovery-actions{min-height:108px;align-content:center}
.discovery .opening-instant,.discovery .opening-instant *{transition:none!important}
.product-actions>.btn{justify-content:center}
@media(max-width:760px){
 .discovery .envelope-stage{padding:20px 10px 30px;gap:12px}
 .discovery .env-paper .miniature{padding:14px}
}
@media(prefers-reduced-motion:reduce){
 .discovery .envelope,.discovery .envelope *{transition:none!important}
}
.reduced-motion .discovery .envelope,.reduced-motion .discovery .envelope *{transition:none!important}

/* Le titre reçoit le focus de navigation sans contour décoratif. */
.store-hero h1:focus{outline:none}

