:root{
  --beige:#f6f1e8; --beige-clair:#fdfbf7;
  --gold:#9a8250; --gold-clair:#c9b895; --gold-fonce:#7a6740;
  --charcoal:#2e2a26; --brown-light:#a99a83; --blanc:#fff;
}
*{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html{scroll-behavior:smooth}
body{font-family:'Jost',sans-serif;background:var(--beige-clair);color:var(--charcoal);-webkit-font-smoothing:antialiased;overflow-x:hidden;touch-action:manipulation}
img{max-width:100%}
a{color:inherit;text-decoration:none}
button{font-family:inherit;touch-action:manipulation}

/* ===== Header fixe épuré : recherche + logo compact + icônes ===== */
header{position:fixed;top:0;left:0;right:0;z-index:100;background:rgba(253,251,247,.97);backdrop-filter:blur(8px);border-bottom:1px solid #ece5d6}
body{padding-top:72px}
@media(min-width:768px){body{padding-top:78px}}
.header-inner{max-width:1280px;margin:0 auto;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:10px 14px;gap:8px}
.header-spacer{min-width:64px}
.logo{text-align:center;line-height:1;min-width:0}
.logo-img{height:50px;width:auto}
footer .logo-img{height:112px}
header.scrolled .logo-img{height:38px}
.logo h1{font-family:'Cormorant Garamond',serif;font-weight:500;letter-spacing:.22em;font-size:clamp(13px,4.2vw,22px);color:var(--gold);padding-left:.22em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.logo-divider{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:5px}
.logo-divider span.line{display:block;width:clamp(36px,10vw,72px);height:1px;background:var(--gold-clair)}
.logo-divider span.diamond{width:6px;height:6px;background:var(--gold-clair);transform:rotate(45deg);display:block;flex-shrink:0}
.header-right{display:flex;justify-content:flex-end;align-items:center;gap:6px}
.icon-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;background:none;border:none;cursor:pointer;position:relative;min-width:52px;min-height:48px;padding:6px 8px;border-radius:10px}
.icon-btn:active{background:#f3ecdd}
.icon-btn svg{width:22px;height:22px;stroke:var(--charcoal);fill:none;stroke-width:1.4}
.icon-btn small{font-size:9px;letter-spacing:.12em;text-transform:uppercase;color:#6b6259}
.cart-count{position:absolute;top:2px;right:8px;background:var(--gold);color:#fff;font-size:10px;min-width:17px;height:17px;border-radius:20px;display:flex;align-items:center;justify-content:center;padding:0 4px}

/* ===== Nos Collections : dans le corps de page, sous le titre Hero ===== */
.collections-bar{padding:8px 0 6px;text-align:center}
.collections-bar p.label{font-size:11px;letter-spacing:.28em;text-transform:uppercase;color:var(--brown-light);margin-bottom:10px;padding:0 16px}
.tabs{display:flex;width:100%;align-items:center;gap:10px;overflow-x:auto;padding:4px 16px 8px;-webkit-overflow-scrolling:touch;scroll-snap-type:x mandatory;scrollbar-width:none;justify-content:safe center}
.tabs::-webkit-scrollbar{display:none}
@media(min-width:768px){.tabs{justify-content:center;flex-wrap:wrap;overflow:visible}}
.tab{font-family:'Cormorant Garamond',serif;font-size:16px;letter-spacing:.04em;color:#8a7e68;padding:12px 16px;min-height:48px;border:1px solid transparent;border-radius:30px;display:flex;align-items:center;gap:8px;cursor:pointer;background:#fff;border-color:#ece5d6;transition:.25s;flex-shrink:0;scroll-snap-align:center;white-space:nowrap}
.tab:hover{color:var(--charcoal)}
.tab.active{color:var(--charcoal);border-color:var(--gold);background:#fffdf4}
.tab.active::before{content:'';width:7px;height:7px;background:var(--gold);transform:rotate(45deg);display:inline-block;flex-shrink:0}
.tab small{font-family:'Jost';font-size:11px;color:var(--gold);border:1px solid var(--gold-clair);border-radius:20px;padding:1px 8px;letter-spacing:.06em;white-space:nowrap}

/* ===== Hero ===== */
.hero{background:var(--beige);text-align:center}
.hero-photo{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:64vh;min-height:64svh;padding:90px 20px 52px;overflow:hidden}
.hero-photo::before{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(20,16,10,.28),rgba(20,16,10,.58))}
.hero-photo>*{position:relative}
.hero-photo .eyebrow{font-size:11px;letter-spacing:.3em;text-transform:uppercase;color:#f3e7c8;margin-bottom:14px}
.hero-photo h2{font-family:'Cormorant Garamond',serif;font-weight:400;letter-spacing:.22em;font-size:clamp(30px,9vw,64px);color:#fff;line-height:1.28}
.hero-photo h2 span{display:block}
.hero-photo .hero-divider{display:flex;align-items:center;justify-content:center;gap:12px;margin:16px 0}
.hero-photo .hero-divider .line{width:90px;height:1px;background:#e8d9b5}
.hero-photo .hero-divider .diamond{width:8px;height:8px;background:#e8d9b5;transform:rotate(45deg);flex-shrink:0}
.hero-accroche{font-family:'Cormorant Garamond',serif;font-style:italic;font-size:clamp(17px,4.5vw,23px);color:#fdf6e8;margin:0 0 24px}
.hero-cta{text-decoration:none}
main#boutique{scroll-margin-top:80px}

/* ===== Bandeau réassurance ===== */
.trust-strip{display:grid;grid-template-columns:1fr;gap:10px;padding:6px 16px 26px;max-width:1180px;margin:0 auto}
@media(min-width:768px){.trust-strip{grid-template-columns:repeat(3,1fr);gap:16px;padding:8px 28px 34px}}
.trust-item{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #ece5d6;border-radius:12px;padding:14px 16px;text-align:left}
.trust-item svg{width:30px;height:30px;stroke:var(--gold);flex-shrink:0}
.trust-item strong{display:block;font-size:13px;letter-spacing:.06em}
.trust-item span{font-size:12px;color:var(--brown-light)}

/* ===== Bulle WhatsApp flottante ===== */
.wa-float{position:fixed;right:16px;bottom:calc(20px + env(safe-area-inset-bottom));z-index:140;width:56px;height:56px;border-radius:50%;background:#22c55e;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 28px rgba(34,197,94,.45);transition:transform .2s}
.wa-float:active{transform:scale(.92)}
/* Quand la barre d'achat sticky est visible, les bulles montent au-dessus */
.wa-float,.ig-float{transition:bottom .35s cubic-bezier(.2,.7,.2,1),transform .2s}
body.bubbles-up .wa-float{bottom:calc(100px + env(safe-area-inset-bottom))}
body.bubbles-up .ig-float{bottom:calc(168px + env(safe-area-inset-bottom))}
/* Quand la buy-bar est visible, on lui réserve sa place en bas de page */
body.bubbles-up main.product-page{padding-bottom:120px}
.ig-float{position:fixed;right:16px;bottom:calc(88px + env(safe-area-inset-bottom));z-index:140;width:56px;height:56px;border-radius:50%;background:linear-gradient(45deg,#f9ce34,#ee2a7b,#6228d7);display:flex;align-items:center;justify-content:center;box-shadow:0 10px 28px rgba(238,42,123,.45);transition:transform .2s}
.ig-float:active{transform:scale(.92)}
.ig-float svg{width:30px;height:30px}
.wa-float svg{width:30px;height:30px}
.hero .sous-titre,.hero .annee{padding-left:16px;padding-right:16px}
.hero p.sous-titre{font-family:'Cormorant Garamond',serif;font-style:italic;font-size:clamp(17px,4.5vw,22px);color:var(--gold-fonce)}
.hero p.annee{margin-top:12px;letter-spacing:.4em;font-size:12px;color:var(--brown-light);padding-left:.4em}
.hero p.desc{max-width:520px;margin:14px auto 0;font-size:13px;line-height:1.7;letter-spacing:.03em;color:#7a7266;font-weight:300;padding:0 24px 34px}

/* ===== Grille produit mobile-first : 2 colonnes claires ===== */
main{max-width:1180px;margin:0 auto;padding:24px 12px 64px}
.grid-meta{display:flex;justify-content:flex-end;align-items:end;gap:10px;margin-bottom:16px;padding:0 4px}
.grid-meta h3{font-family:'Cormorant Garamond',serif;font-weight:400;font-size:clamp(18px,5vw,24px);letter-spacing:.03em}
.grid-meta span{font-size:10px;letter-spacing:.1em;color:var(--brown-light);text-transform:uppercase;text-align:right}
.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
@media(min-width:768px){.grid{grid-template-columns:repeat(3,1fr);gap:36px 32px}main{padding:48px 28px 80px}}
@media(max-width:359px){.grid{grid-template-columns:1fr}}
.card{background:#fff;border:1px solid var(--gold-clair);padding:6px 6px 0 6px;transition:transform .35s ease,box-shadow .35s ease;display:flex;flex-direction:column;justify-content:space-between;height:100%}
.card:hover{transform:translateY(-4px);box-shadow:0 18px 40px rgba(154,130,80,.14)}
.card-img-wrap{position:relative;overflow:hidden;background:#f3eee3;aspect-ratio:3/4}
/* Slider carte : flèches + compteur + points (si plusieurs photos) */
.card-img-wrap img{transition:opacity .25s ease}
.sld-prev,.sld-next{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border-radius:50%;border:none;background:rgba(253,251,247,.88);color:var(--gold-fonce);font-size:22px;line-height:1;cursor:pointer;z-index:3;backdrop-filter:blur(4px)}
.sld-prev{left:8px}
.sld-next{right:8px}
.sld-count{position:absolute;right:8px;bottom:8px;z-index:3;background:rgba(28,27,26,.72);color:#fff;font-size:11px;letter-spacing:.08em;border-radius:20px;padding:3px 10px}
.sld-dots{position:absolute;left:0;right:0;bottom:8px;z-index:3;display:flex;justify-content:center;gap:6px;pointer-events:none}
.sld-dots i{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.65);cursor:pointer;pointer-events:auto}
.sld-dots i.on{background:#fff;transform:scale(1.25)}
/* Galerie fiche produit : miniatures sous la photo */
.gal-thumbs{display:flex;gap:8px;margin-top:10px;overflow-x:auto;padding-bottom:4px;-webkit-overflow-scrolling:touch}
.gal-thumbs img{width:64px;height:80px;object-fit:cover;border-radius:8px;border:2px solid transparent;cursor:pointer;flex-shrink:0;background:#f3eee3}
.gal-thumbs img.on{border-color:var(--gold)}
/* Ancien prix barré + sticker solde */
.prix-old{font-size:.8em;color:#7a7266;font-weight:500;margin-right:.4em}
/* Devise réduite + anti-coupure nombre/devise (le DH ne dépasse plus le nombre) */
.devise{font-size:.55em;letter-spacing:.14em;font-weight:500}
.prix-nowrap{white-space:nowrap}
.promo-tag{position:absolute;top:10px;right:10px;z-index:2;background:#b91c1c;color:#fff;font-size:12px;font-weight:600;letter-spacing:.08em;border-radius:20px;padding:5px 12px;box-shadow:0 4px 12px rgba(0,0,0,.2)}
.card-img-wrap img{width:100%;height:100%;object-fit:cover;display:block}
.badge{position:absolute;top:8px;left:8px;font-size:9px;letter-spacing:.12em;text-transform:uppercase;background:rgba(253,251,247,.93);color:var(--gold-fonce);border:1px solid var(--gold-clair);padding:4px 8px}
.card-text{text-align:center;padding:14px 8px 16px;background:var(--beige-clair);display:flex;flex-direction:column;flex:1}
.card-text h4{font-family:'Cormorant Garamond',serif;font-weight:400;font-size:clamp(15px,4vw,20px);color:var(--charcoal);line-height:1.25}
.card-text .prix{font-family:'Cormorant Garamond',serif;font-size:clamp(24px,6.5vw,32px);letter-spacing:.1em;color:var(--gold);margin:8px 0 4px}
.card-text .meta{font-family:'Cormorant Garamond',serif;font-style:italic;font-size:13px;letter-spacing:.06em;color:var(--brown-light)}
.card-text .saison-tag{font-size:9px;letter-spacing:.14em;text-transform:uppercase;color:var(--gold-fonce);margin-top:6px;margin-bottom:12px}
.card-text button{margin:auto 0 0;background:transparent;border:1px solid var(--gold-clair);font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--gold-fonce);padding:12px 10px;min-height:48px;width:100%;border-radius:8px;cursor:pointer;transition:.25s}
.card-text button:hover,.card-text button:active{background:var(--gold);border-color:var(--gold);color:#fff}

.empty{text-align:center;padding:48px 20px;color:var(--brown-light);font-family:'Cormorant Garamond',serif;font-style:italic;font-size:19px}

/* ===== Checkout / Compte tactiles : champs 16px anti-zoom iOS ===== */
.panel{background:#fff;border:1px solid #ece5d6;border-radius:12px;padding:20px 16px;max-width:860px;margin:0 auto}
@media(min-width:768px){.panel{padding:28px}}
.panel h3{font-family:'Cormorant Garamond',serif;font-size:clamp(20px,5.5vw,24px);font-weight:500;margin-bottom:6px}
.panel p.sub{font-size:14px;color:var(--brown-light);margin-bottom:16px;line-height:1.6}
.form-row{display:grid;grid-template-columns:1fr;gap:0}
@media(min-width:768px){.form-row{grid-template-columns:1fr 1fr;gap:14px}}
label{display:block;font-size:12px;font-weight:500;letter-spacing:.06em;text-transform:uppercase;color:#7a7266;margin:16px 0 8px}
input,select,textarea{width:100%;border:1px solid #e5e2db;border-radius:10px;padding:14px;font-size:16px;font-family:inherit;outline:none;background:#fff;min-height:52px}
textarea{min-height:110px}
input:focus,select:focus,textarea:focus{border-color:var(--gold);box-shadow:0 0 0 3px rgba(154,130,80,.15)}
.order-line{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #f0eadd;font-size:15px}
.order-line button{min-height:44px;min-width:44px;padding:8px 12px;font-size:14px}
/* Ligne article du panier : 2 colonnes, nom long sans écrasement */
.cart-item{display:flex;justify-content:space-between;align-items:center;gap:10px}
.cart-item-info{flex:1;min-width:0;padding-right:12px;display:flex;flex-direction:column}
.cart-item-name{overflow-wrap:break-word;line-height:1.35}
.cart-item-qty{font-size:12px;color:#666;margin-top:4px}
.cart-item-actions{flex-shrink:0;display:flex;align-items:center;gap:10px}
.cart-item-price{font-weight:600;font-size:16px;white-space:nowrap}
#total{font-size:18px}
.cart-item-actions button{border:1px solid #c9b895;background:#fff;border-radius:6px;padding:2px 8px;cursor:pointer;white-space:nowrap}

/* ===== Profils enregistrés (panier + compte) ===== */
#profilsBox{display:flex;flex-direction:column;gap:10px;margin-bottom:6px}
.profil-row{display:flex;align-items:center;gap:12px;border:1px solid #e5e2db;border-radius:10px;padding:10px 12px;min-height:56px;background:#fff;cursor:pointer}
.profil-row[aria-checked="true"]{border-color:var(--gold);background:#fffdf4}
.profil-row:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.profil-dot{width:22px;height:22px;border-radius:50%;border:2px solid var(--gold-clair);flex-shrink:0;position:relative;background:#fff}
.profil-row[aria-checked="true"] .profil-dot{border-color:var(--gold)}
.profil-row[aria-checked="true"] .profil-dot::after{content:'';position:absolute;inset:4px;border-radius:50%;background:var(--gold)}
.profil-row strong{font-size:15px;font-weight:500}
.profil-row small{font-size:12px;color:var(--brown-light);font-weight:400}
.btn-gold{background:var(--gold);color:#fff;border:none;border-radius:10px;padding:14px 24px;min-height:52px;width:100%;font-size:14px;letter-spacing:.12em;text-transform:uppercase;cursor:pointer;margin-top:14px}
@media(min-width:768px){.btn-gold{width:auto}}
.btn-gold:hover{background:var(--gold-fonce)}
.btn-ghost-light{background:#fff;color:#7a6740;border:1px solid #c9b895;border-radius:10px;padding:14px 24px;min-height:52px;width:100%;font-size:14px;letter-spacing:.12em;text-transform:uppercase;cursor:pointer;margin-top:14px}
@media(min-width:768px){.btn-ghost-light{width:auto}}

/* ===== Bouton retour boutique : visible en haut + collant au scroll ===== */
.back-bar{position:sticky;top:76px;z-index:5;margin-bottom:12px}
.back-link{display:inline-flex;align-items:center;gap:6px;background:#fff;border:1px solid var(--gold-clair);color:var(--gold-fonce);border-radius:30px;padding:12px 20px;min-height:48px;font-size:13px;letter-spacing:.1em;text-transform:uppercase;box-shadow:0 4px 14px rgba(154,130,80,.18)}
.back-link:active{background:var(--gold);color:#fff}

footer{background:var(--beige);border-top:1px solid #ece5d6;padding:36px 16px calc(36px + env(safe-area-inset-bottom));text-align:center}
footer nav{display:flex;justify-content:center;gap:16px 22px;margin:18px 0;font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:#7a7266;flex-wrap:wrap}
footer nav a{padding:8px 4px;min-height:44px;display:inline-flex;align-items:center}
footer p{font-size:12px;color:var(--brown-light);letter-spacing:.05em;line-height:1.8}

/* ===== Mobile < 768px : cartes égales + typo compacte ===== */
@media(max-width:768px){
  .card-text{padding:12px 8px 14px}
  .card-text h4{font-size:15px;line-height:1.2;min-height:2.4em;display:flex;align-items:flex-start;justify-content:center}
  .card-text .prix{font-size:23px}
  .card-text .meta{font-size:11px}
  .card-text .saison-tag{font-size:10px}
  .card-text button{padding:8px 12px;font-size:10px;min-height:44px}
}

/* ===== Liens carte → vue détaillée ===== */
.card-link{display:block;color:inherit}
.card-text h4 a{color:inherit}

/* ===== Page détaillée produit (mobile-first, 2 colonnes sur PC) ===== */
.product-page{max-width:1020px}
.product-detail{display:grid;grid-template-columns:1fr;gap:20px;background:#fff;border:1px solid #ece5d6;border-radius:12px;padding:16px}
@media(min-width:768px){.product-detail{grid-template-columns:1fr 1fr;gap:36px;padding:28px}}
.product-photo{position:relative;border:1px solid var(--gold-clair);padding:8px;background:var(--beige-clair);align-self:start}
.product-photo img{width:100%;display:block;aspect-ratio:3/4;object-fit:cover}
.product-photo .badge{top:16px;left:16px}
.product-info .saison-tag{font-size:10px;letter-spacing:.18em;text-transform:uppercase;color:var(--gold-fonce)}
.product-info h1{font-family:'Cormorant Garamond',serif;font-weight:500;font-size:clamp(24px,6.5vw,36px);line-height:1.2;margin:8px 0 4px}
.product-info .prix{font-family:'Cormorant Garamond',serif;font-size:clamp(30px,7.5vw,40px);letter-spacing:.1em;color:var(--gold);margin:6px 0}
.product-info .meta{font-family:'Cormorant Garamond',serif;font-style:italic;font-size:16px;color:var(--brown-light)}
.product-info .desc{margin-top:16px;font-size:14px;line-height:1.8;color:#5c554b}
.product-info .care{list-style:none;margin-top:14px;font-size:13px;line-height:2;color:#7a7266}
.product-info .care li::before{content:'◆ ';color:var(--gold-clair);font-size:10px}
.qty-row{display:flex;align-items:stretch;gap:0;max-width:220px;margin-top:4px}
.qty-row button{width:52px;min-height:52px;font-size:22px;background:#fff;border:1px solid var(--gold-clair);color:var(--gold-fonce);cursor:pointer}
.qty-row button:first-child{border-radius:10px 0 0 10px}
.qty-row button:last-child{border-radius:0 10px 10px 0}
.qty-row input{border-left:none;border-right:none;border-radius:0;text-align:center;min-height:52px}
.btn-add{margin-top:20px}
.go-cart{display:inline-block;margin-top:14px;font-size:13px;letter-spacing:.1em;text-transform:uppercase;color:var(--gold-fonce);text-decoration:underline;min-height:44px}

/* ===== Panier coulissant (drawer AJAX) ===== */
.drawer-overlay{position:fixed;inset:0;background:rgba(20,18,15,.45);z-index:150;opacity:1;transition:opacity .3s}
.drawer-overlay[hidden]{display:none}
.cart-drawer{position:fixed;top:0;right:0;bottom:0;width:min(420px,94vw);background:var(--beige-clair);z-index:151;transform:translateX(105%);transition:transform .38s cubic-bezier(.2,.7,.2,1);display:flex;flex-direction:column;box-shadow:-20px 0 60px rgba(0,0,0,.22);padding-bottom:env(safe-area-inset-bottom)}
.cart-drawer.open{transform:none}
.drawer-head{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid #ece5d6}
.drawer-head h3{font-family:'Cormorant Garamond',serif;font-size:22px;font-weight:500}
.drawer-head h3 span{color:var(--gold);font-size:18px}
.drawer-head button{border:1px solid var(--gold-clair);background:#fff;border-radius:50%;width:44px;height:44px;font-size:16px;cursor:pointer;color:var(--gold-fonce)}
.drawer-lines{flex:1;overflow-y:auto;padding:14px 18px;display:flex;flex-direction:column;gap:14px;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
.drawer-empty{text-align:center;color:var(--brown-light);font-family:'Cormorant Garamond',serif;font-style:italic;font-size:18px;padding:40px 10px;line-height:1.8}
.drawer-empty small{font-family:'Jost';font-style:normal;font-size:12px}
.dline{display:grid;grid-template-columns:64px 1fr auto;gap:10px;align-items:start;background:#fff;border:1px solid #ece5d6;border-radius:10px;padding:10px}
.dline img{width:64px;height:76px;object-fit:cover;border-radius:6px}
.dline-info{min-width:0;display:flex;flex-direction:column;gap:2px}
.dline-info strong{font-family:'Cormorant Garamond',serif;font-size:16px;font-weight:500;line-height:1.25}
.dline-info>span{font-size:12px;color:var(--brown-light)}
.dline-total{font-family:'Cormorant Garamond',serif;font-size:19px;color:var(--gold);white-space:nowrap}
.qty-stepper{display:flex;align-items:center;gap:8px;margin-top:6px}
.qty-stepper button{min-width:36px;min-height:36px;border-radius:8px;border:1px solid var(--gold-clair);background:var(--beige-clair);font-size:16px;cursor:pointer;color:var(--gold-fonce)}
.qty-stepper span{min-width:20px;text-align:center;font-size:14px}
.qty-stepper .link{border:none;background:none;color:var(--brown-light);font-size:12px;text-decoration:underline;min-height:36px}
.drawer-foot{padding:14px 18px;border-top:1px solid #ece5d6;display:flex;flex-direction:column;gap:10px;background:var(--beige)}
.drawer-total{display:flex;justify-content:space-between;align-items:baseline;font-size:14px}
.drawer-total strong{font-family:'Cormorant Garamond',serif;font-size:28px;color:var(--gold);letter-spacing:.06em}
.drawer-cta{text-align:center;text-decoration:none}
.drawer-clear{margin-top:0}

/* ===== Toasts ===== */
.toast-wrap{position:fixed;bottom:calc(22px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);z-index:200;display:flex;flex-direction:column;gap:8px;align-items:center;pointer-events:none;width:max-content;max-width:92vw}
.toast{background:#1c1b1a;color:#fff;border-left:3px solid var(--gold-clair);padding:12px 22px;border-radius:30px;font-size:14px;letter-spacing:.02em;opacity:0;transform:translateY(12px);transition:opacity .3s,transform .3s;box-shadow:0 10px 30px rgba(0,0,0,.25);max-width:92vw;text-align:center}
.toast.show{opacity:1;transform:none}

/* ===== Skeletons (grille en chargement) ===== */
.skel-card{background:#fff;border:1px solid #ece5d6;padding:8px}
.skel{position:relative;overflow:hidden;background:#ece4d2;border-radius:4px}
.skel::after{content:'';position:absolute;inset:0;background:linear-gradient(100deg,transparent 20%,rgba(255,255,255,.65) 50%,transparent 80%);animation:shimmer 1.3s infinite;transform:translateX(-100%)}
@keyframes shimmer{to{transform:translateX(100%)}}
.skel-img{aspect-ratio:3/3.4}
.skel-line{height:14px;margin:12px 8px}
.skel-line.short{margin:10px 40px 16px}

/* ===== Révélations au scroll (stagger via --d) ===== */
.reveal{opacity:0;transform:translateY(18px);transition:opacity .55s ease,transform .55s cubic-bezier(.2,.7,.2,1);transition-delay:var(--d,0s)}
.reveal.in{opacity:1;transform:none}

/* ===== Navbar qui se tasse au scroll ===== */
header .header-inner{transition:padding .3s ease}
header.scrolled .header-inner{padding:6px 14px}
header.scrolled .logo h1{font-size:clamp(11px,3.4vw,17px)}
header.scrolled .logo-divider{margin-top:3px}

/* ===== Micro-interactions tactiles + hover desktop ===== */
.btn-gold,.card-text button,.btn-ghost-light{transition:transform .15s ease,background .25s,color .25s,border-color .25s}
.btn-gold:active,.card-text button:active,.btn-ghost-light:active{transform:scale(.97)}
@media(hover:hover){
  .card{transition:transform .35s ease,box-shadow .35s ease}
  .card:hover{transform:translateY(-6px);box-shadow:0 22px 48px rgba(154,130,80,.18)}
  .card-img-wrap img{transition:transform .8s ease}
  .card:hover .card-img-wrap img{transform:scale(1.08)}
}
/* Loupe douce photo produit (pointeurs fins) */
.product-photo{overflow:hidden}
@media(hover:hover) and (pointer:fine){
  .product-photo img{transition:transform .5s ease}
  .product-photo:hover img{transform:scale(1.8);cursor:zoom-in}
}

/* ===== Barre d'achat sticky (fiche produit) ===== */
.buy-bar{position:fixed;left:0;right:0;bottom:0;z-index:120;display:flex;align-items:center;gap:12px;background:rgba(253,251,247,.97);backdrop-filter:blur(8px);border-top:1px solid #ece5d6;padding:10px 16px calc(10px + env(safe-area-inset-bottom));transform:translateY(110%);transition:transform .35s cubic-bezier(.2,.7,.2,1)}
.buy-bar[hidden]{display:none}
.buy-bar.show{transform:none}
.buy-bar img{width:48px;height:56px;object-fit:cover;border-radius:8px;border:1px solid var(--gold-clair)}
.buy-bar-info{flex:1;min-width:0}
.buy-bar-info strong{display:block;font-family:'Cormorant Garamond',serif;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.buy-bar-info span{font-family:'Cormorant Garamond',serif;color:var(--gold);font-size:21px}
.buy-bar button{border:none;background:var(--gold);color:#fff;border-radius:10px;padding:14px 26px;min-height:52px;font-size:13px;letter-spacing:.12em;text-transform:uppercase;cursor:pointer;white-space:nowrap}
.buy-bar button:active{transform:scale(.97)}

/* ===== Pièce du moment ===== */
.spotlight{padding:22px 12px 34px}
.spotlight .spot-inner{max-width:1180px;margin:0 auto}
.spotlight[hidden]{display:none}
.spot-inner{display:grid;grid-template-columns:1fr;gap:0;background:#fff;border:1px solid var(--gold-clair);border-radius:14px;overflow:hidden}
@media(min-width:768px){.spot-inner{grid-template-columns:1fr 1fr}.spotlight{padding:34px 28px 56px}}
.spot-inner img{width:100%;height:100%;min-height:220px;max-height:340px;object-fit:cover;display:block}
@media(min-width:768px){.spot-inner img{min-height:320px;max-height:460px}}
.spot-info{padding:28px 24px;display:flex;flex-direction:column;justify-content:center;background:var(--beige-clair)}
.spot-info .eyebrow{font-size:11px;letter-spacing:.28em;text-transform:uppercase;color:var(--gold)}
.spot-info h3{font-family:'Cormorant Garamond',serif;font-weight:500;font-size:clamp(24px,6vw,36px);margin:8px 0 4px}
.spot-info .prix{font-family:'Cormorant Garamond',serif;font-size:32px;letter-spacing:.1em;color:var(--gold);margin:6px 0}
.spot-info .meta{font-family:'Cormorant Garamond',serif;font-style:italic;color:var(--brown-light)}
.spot-cta{align-self:flex-start;margin-top:18px;text-decoration:none}

/* ===== Étapes de commande ===== */
.steps{list-style:none;display:flex;gap:6px;max-width:860px;margin:0 auto 14px;padding:0 4px}
.steps li{flex:1;text-align:center;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--brown-light);padding:10px 4px;border-bottom:2px solid #e5e2db}
.steps li.done{color:var(--gold-fonce);border-color:var(--gold)}
.steps li.current{color:var(--charcoal);border-color:var(--charcoal);font-weight:500}

/* ===== Récapitulatif repliable ===== */
.recap{border:1px solid #ece5d6;border-radius:10px;margin-bottom:6px;background:#fff}
.recap summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;min-height:52px;padding:12px 16px;font-family:'Cormorant Garamond',serif;font-size:19px}
.recap summary::-webkit-details-marker{display:none}
.recap summary::after{content:'▾';color:var(--gold);font-size:16px;transition:transform .25s}
.recap:not([open]) summary::after{transform:rotate(-90deg)}
.recap #recapCount{color:var(--brown-light);font-size:15px;font-style:italic}
.recap .order-line{margin:0 16px}
.recap .order-line:last-child{margin-bottom:12px}

/* ===== Mini-badges confiance ===== */
.trust-mini{display:flex;flex-wrap:wrap;gap:8px 16px;justify-content:center;margin-top:16px;font-size:12px;letter-spacing:.06em;color:var(--gold-fonce)}

/* ===== Tri catalogue ===== */
.grid-meta .tri{display:flex;align-items:center;gap:8px;font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--brown-light)}
.grid-meta .tri select{width:auto;min-height:44px;font-size:16px;padding:8px 12px}

/* ===== Succès animé (page confirmation CMI) ===== */
/* ===== Succès animé (page confirmation CMI) ===== */
.success-check{display:flex;justify-content:center;margin:6px 0 4px}
/* ===== Confirmation style Uber (décompte) ===== */
.confirm-overlay{position:fixed;inset:0;z-index:170;background:rgba(20,18,15,.55);display:flex;justify-content:center;align-items:flex-start;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
.confirm-overlay[hidden]{display:none}
.confirm-sheet{background:var(--beige-clair);border-radius:16px 16px 0 0;width:100%;max-width:560px;margin-top:auto;max-height:92vh;max-height:92dvh;overflow-y:auto;overscroll-behavior:contain;padding:22px 18px calc(20px + env(safe-area-inset-bottom));-webkit-overflow-scrolling:touch}
@media(min-width:769px){.confirm-overlay{padding:20px}.confirm-sheet{border-radius:16px;margin:auto}}
.confirm-sheet h3{font-family:'Cormorant Garamond',serif;font-size:24px;font-weight:500;margin-bottom:6px}
.countdown{text-align:center;margin:16px 0 4px}
.countdown strong{font-family:'Cormorant Garamond',serif;font-size:56px;color:var(--gold);line-height:1;display:block}
.count-bar{height:6px;background:#ece5d6;border-radius:4px;overflow:hidden;margin:10px 0 6px}
.count-bar i{display:block;height:100%;background:var(--gold);width:100%;transition:width 1s linear}
.countdown small{font-size:12px;color:var(--brown-light)}
.confirm-actions{display:grid;grid-template-columns:1fr 1.4fr;gap:10px;margin-top:14px}

/* ===== Page confirmation ===== */
.order-num{font-size:44px;color:var(--gold);letter-spacing:.04em}
.pill{display:inline-block;font-size:11px;letter-spacing:.08em;text-transform:uppercase;border-radius:20px;padding:4px 10px;white-space:nowrap}
.pill.ok{background:#dcfce7;color:#166534}
.pill.attente{background:#fef3c7;color:#92400e}
.pill.info{background:#dbeafe;color:#1d4ed8}
.pill.ko{background:#fee2e2;color:#b91c1c}
.success-check svg{width:84px;height:84px}
.success-check circle{fill:none;stroke:#22c55e;stroke-width:3;stroke-dasharray:166;stroke-dashoffset:166;animation:draw .6s ease forwards}
.success-check path{fill:none;stroke:#22c55e;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:48;stroke-dashoffset:48;animation:draw .4s .5s ease forwards}
@keyframes draw{to{stroke-dashoffset:0}}

@media(prefers-reduced-motion:reduce){
  .reveal{opacity:1;transform:none;transition:none}
  .skel::after{animation:none}
  .cart-drawer{transition:none}
  *,*::before,*::after{animation-duration:.01ms !important}
}
