:root{--sage:#8fa48f;--sage-dark:#64775f;--pink:#e8c3c8;--cream:#fbf7ef;--sand:#eadccb;--gold:#d4a45a;--ink:#403a35;--muted:#756d67;--white:#fff;--shadow:0 20px 60px rgba(71,62,50,.12);--radius:24px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:'DM Sans',sans-serif;color:var(--ink);background:var(--cream)}button,input,select,textarea{font:inherit}button,a{transition:.2s ease}a{color:inherit;text-decoration:none}.announcement{background:var(--sage-dark);color:#fff;text-align:center;padding:9px;font-size:13px}.site-header{height:84px;padding:0 4vw;background:rgba(255,255,255,.92);backdrop-filter:blur(14px);display:flex;align-items:center;gap:34px;position:sticky;top:0;z-index:20;border-bottom:1px solid #ece5dc}.brand{display:flex;align-items:center;gap:12px;margin-right:auto}.brand-mark{width:52px;height:52px}.brand span{display:grid}.brand strong{font:600 18px 'Playfair Display',serif;letter-spacing:.05em}.brand small{font-size:8px;letter-spacing:.25em}.main-nav{display:flex;gap:25px;font-size:14px}.main-nav a:hover{color:var(--sage-dark)}.header-actions{display:flex;align-items:center;gap:8px}.icon-btn,.cart-button,.menu-toggle{border:0;background:transparent;cursor:pointer}.icon-btn{font-size:25px}.cart-button{background:var(--ink);color:#fff;border-radius:99px;padding:11px 15px}.cart-button span{background:var(--pink);color:var(--ink);border-radius:50%;padding:2px 7px;margin-left:5px}.menu-toggle{display:none;font-size:24px}.hero{min-height:650px;padding:60px 7vw;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;overflow:hidden;background:radial-gradient(circle at 82% 20%,#fff 0 16%,transparent 17%),linear-gradient(120deg,#fffaf3 0,#f5e8dc 100%)}.eyebrow{text-transform:uppercase;letter-spacing:.19em;font-size:12px;color:var(--sage-dark);font-weight:700}.hero h1,.section-heading h2,.story h2,.newsletter h2,.contact h2,dialog h2{font:500 clamp(42px,5.5vw,78px)/1.03 'Playfair Display',serif;margin:18px 0}.hero h1 em{font-weight:500;color:var(--sage-dark)}.hero-copy>p:not(.eyebrow){max-width:600px;font-size:18px;line-height:1.7}.hero-actions{display:flex;gap:12px;margin:28px 0}.btn{border:1px solid transparent;padding:14px 23px;border-radius:99px;font-weight:700;display:inline-flex;justify-content:center;cursor:pointer}.btn.primary{background:var(--sage-dark);color:#fff}.btn.primary:hover{background:#52644e;transform:translateY(-2px)}.btn.ghost{border-color:#baa995;background:#fff8}.trust-list{list-style:none;padding:0;display:flex;gap:26px;font-size:13px}.trust-list li:before{content:'✓';color:var(--sage-dark);margin-right:7px}.hero-art{height:530px;position:relative}.moon{width:420px;height:420px;border-radius:50%;background:#fff9;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);box-shadow:var(--shadow)}.crochet-house{position:absolute;width:250px;height:275px;border-radius:46% 46% 22px 22px;background:repeating-linear-gradient(90deg,#e7d3b9 0 4px,#f3e7d7 4px 9px);left:34%;top:36%;box-shadow:var(--shadow)}.roof{position:absolute;width:280px;height:170px;border-radius:50% 50% 18% 18%;background:repeating-linear-gradient(0deg,#718269 0 6px,#8fa48f 6px 12px);left:-15px;top:-110px;clip-path:polygon(50% 0,100% 100%,0 100%)}.door{position:absolute;width:75px;height:120px;background:#8b694b;bottom:0;left:88px;border-radius:50px 50px 0 0;border:8px solid #6e543e}.window{width:42px;height:50px;background:#f7ca77;border:7px solid #76583e;border-radius:50% 50% 6px 6px;position:absolute;top:95px}.w1{left:38px}.w2{right:38px}.bunny{position:absolute;right:12%;bottom:37px;width:160px;height:255px}.ear{position:absolute;width:44px;height:110px;background:#f3ddd1;border-radius:50%;top:0}.e1{left:31px;transform:rotate(-9deg)}.e2{right:31px;transform:rotate(9deg)}.head{position:absolute;width:130px;height:120px;background:#f8efe5;border-radius:50%;left:15px;top:70px;box-shadow:inset 0 -8px #ead7c9}.head:before,.head:after{content:'';position:absolute;width:8px;height:10px;background:#403a35;border-radius:50%;top:48px}.head:before{left:39px}.head:after{right:39px}.head i{position:absolute;width:12px;height:8px;background:#dfaaa9;border-radius:50%;left:59px;top:66px}.head b:before,.head b:after{content:'';position:absolute;width:28px;height:2px;background:#b89d8b;top:69px}.head b:before{left:18px}.head b:after{right:18px}.body{position:absolute;width:115px;height:120px;background:repeating-linear-gradient(90deg,#779071 0 4px,#8fa48f 4px 8px);bottom:0;left:23px;border-radius:45% 45% 22px 22px}.spark{position:absolute;color:var(--gold);font-size:24px}.s1{top:10%;left:15%}.s2{top:22%;right:3%}.s3{bottom:10%;left:10%}.benefits{display:grid;grid-template-columns:repeat(4,1fr);padding:22px 5vw;background:#fff;border-block:1px solid #ece5dc}.benefits article{display:flex;justify-content:center;gap:12px;padding:15px;border-right:1px solid #eee}.benefits article:last-child{border:0}.benefits span{font-size:25px;color:var(--gold)}.benefits strong,.benefits small{display:block}.benefits small{color:var(--muted);margin-top:4px}.shop-section,.story,.contact{padding:90px 6vw}.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:35px}.section-heading h2,.story h2,.newsletter h2,.contact h2,dialog h2{font-size:clamp(35px,4vw,54px)}.shop-tools{display:flex;gap:15px}.shop-tools label{font-size:12px;color:var(--muted)}select,input,textarea{border:1px solid #dcd1c5;background:#fff;border-radius:12px;padding:12px;color:var(--ink)}.shop-tools select{display:block;margin-top:5px}.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.product-card{background:#fff;border-radius:20px;overflow:hidden;box-shadow:0 10px 30px rgba(70,60,50,.07);position:relative}.product-image{aspect-ratio:1/1;background:linear-gradient(145deg,#fffaf5,#eadbcb);display:grid;place-items:center;position:relative;overflow:hidden}.product-emoji{font-size:92px;filter:drop-shadow(0 10px 10px #0002);transform:rotate(-2deg)}.product-image:after{content:'✦';position:absolute;top:18px;right:22px;color:var(--gold)}.badge{position:absolute;top:15px;left:15px;background:#fff;border-radius:99px;padding:7px 10px;font-size:11px;font-weight:700}.favorite{position:absolute;right:14px;bottom:14px;width:39px;height:39px;border:0;border-radius:50%;background:#fff;cursor:pointer;font-size:18px}.favorite.active{background:var(--pink)}.product-info{padding:18px}.product-info h3{font:600 21px 'Playfair Display',serif;margin:0 0 7px}.product-info p{font-size:13px;color:var(--muted);min-height:38px}.price-row{display:flex;justify-content:space-between;align-items:center}.price{font-weight:800}.add-btn{border:0;border-radius:99px;background:var(--sage);color:#fff;padding:10px 13px;cursor:pointer}.story{display:grid;grid-template-columns:.85fr 1.15fr;gap:7vw;align-items:center;background:#fff}.story-visual{aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,#e9c8c8 0 18%,#f1e3d4 19% 40%,#8fa48f 41% 42%,#f8f0e5 43%);display:grid;place-items:center}.yarn-ball{font-size:120px;color:var(--sage-dark);transform:rotate(20deg)}.story p{font-size:17px;line-height:1.8;color:var(--muted)}.text-link{font-weight:700;color:var(--sage-dark)}.newsletter{margin:70px 6vw;padding:50px;border-radius:var(--radius);background:var(--sage);color:#fff;display:flex;justify-content:space-between;align-items:center;gap:30px}.newsletter .eyebrow{color:#fff}.newsletter h2{margin:10px 0}.newsletter form{display:flex;min-width:44%;gap:10px}.newsletter input{flex:1}.newsletter .btn{background:var(--ink)}.contact{text-align:center}.contact-form{max-width:760px;margin:30px auto;text-align:left;display:grid;gap:14px}.contact-form>div{display:grid;grid-template-columns:1fr 1fr;gap:14px}.contact-form label{display:grid;gap:7px;font-size:13px;font-weight:700}.contact-form textarea{resize:vertical}footer{background:#3f4b3d;color:#fff;padding:60px 6vw 20px}.footer-grid{display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:40px}.footer-grid h3{font-family:'Playfair Display',serif}.footer-grid a,.footer-grid button{display:block;margin:10px 0;color:#e7e8e3;background:none;border:0;padding:0;cursor:pointer;text-align:left}.footer-bottom{border-top:1px solid #ffffff35;margin-top:35px;padding-top:18px;font-size:13px}.footer-brand small{color:#fff}.socials{display:flex;flex-wrap:wrap;gap:10px}.cart-drawer{position:fixed;right:-480px;top:0;width:min(460px,100vw);height:100dvh;background:#fff;z-index:50;display:flex;flex-direction:column;transition:.3s ease;box-shadow:var(--shadow)}.cart-drawer.open{right:0}.drawer-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid #eee}.drawer-header h2{font-family:'Playfair Display',serif}.drawer-header button,.dialog-close{font-size:30px;border:0;background:none;cursor:pointer}.cart-items{padding:15px 24px;overflow:auto;flex:1}.cart-item{display:grid;grid-template-columns:65px 1fr auto;gap:12px;padding:14px 0;border-bottom:1px solid #eee}.cart-thumb{display:grid;place-items:center;background:var(--cream);border-radius:12px;font-size:35px}.qty{display:flex;align-items:center;gap:8px}.qty button{border:1px solid #ddd;background:#fff;border-radius:6px}.remove{border:0;background:none;color:#a25454;cursor:pointer}.cart-footer{padding:20px 24px;border-top:1px solid #eee}.coupon{display:flex;margin-bottom:15px}.coupon input{flex:1;border-radius:12px 0 0 12px}.coupon button{border:0;background:var(--ink);color:#fff;border-radius:0 12px 12px 0}.totals{display:grid;grid-template-columns:1fr auto;gap:9px;font-size:14px}.totals .grand{font-size:18px;margin-top:7px}.terms-check{display:block;margin:16px 0;font-size:12px}.checkout{width:100%}.cart-footer small{display:block;margin-top:10px;color:var(--muted);text-align:center}.overlay{position:fixed;inset:0;background:#0006;z-index:40;opacity:0;pointer-events:none;transition:.25s}.overlay.show{opacity:1;pointer-events:auto}dialog{border:0;border-radius:24px;max-width:860px;width:min(92vw,860px);padding:34px;box-shadow:var(--shadow)}dialog::backdrop{background:#0008}.dialog-close{position:absolute;right:17px;top:12px}.product-modal{display:grid;grid-template-columns:1fr 1fr;gap:35px}.product-modal .product-image{border-radius:18px}.product-modal h2{margin-top:10px}.product-modal ul{padding-left:18px;color:var(--muted)}.account-form{display:grid;gap:12px}.account-form label{display:grid;gap:5px}.toast{position:fixed;left:50%;bottom:25px;transform:translate(-50%,100px);background:var(--ink);color:#fff;border-radius:99px;padding:12px 20px;z-index:80;opacity:0;transition:.25s}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:980px){.main-nav{display:none;position:absolute;top:84px;left:0;right:0;background:#fff;padding:20px;flex-direction:column}.main-nav.open{display:flex}.menu-toggle{display:block}.hero{grid-template-columns:1fr}.hero-art{height:480px}.product-grid{grid-template-columns:repeat(2,1fr)}.benefits{grid-template-columns:repeat(2,1fr)}.story{grid-template-columns:1fr}.footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.site-header{padding:0 16px}.brand strong{font-size:14px}.brand-mark{width:42px}.icon-btn{display:none}.hero{padding:50px 22px}.hero-art{height:380px;transform:scale(.84);margin-inline:-45px}.hero-actions,.trust-list{flex-direction:column}.benefits{grid-template-columns:1fr}.benefits article{border-right:0;border-bottom:1px solid #eee;justify-content:flex-start}.shop-section,.story,.contact{padding:65px 20px}.section-heading{align-items:start;flex-direction:column}.shop-tools{width:100%}.shop-tools label{flex:1}.shop-tools select{width:100%}.product-grid{grid-template-columns:1fr}.newsletter{margin:45px 20px;padding:30px 22px;flex-direction:column;align-items:start}.newsletter form{min-width:100%;flex-direction:column}.contact-form>div,.product-modal{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}.header-actions{margin-left:auto}}
.product-image img{width:100%;height:100%;object-fit:cover;display:block}.cart-thumb img{width:100%;height:100%;object-fit:cover;border-radius:10px}.product-info small{color:#746b61}.add-btn:disabled,.btn:disabled{opacity:.5;cursor:not-allowed}
/* Nouvelle identité visuelle — logo pelotes et crochet */
.brand-mark{width:62px;height:62px;object-fit:contain;border-radius:50%;flex:0 0 auto}
.footer-logo{width:min(310px,100%);height:auto;object-fit:contain;filter:none;background:#fff;border-radius:16px;padding:6px}
.admin-login-logo{display:block;width:150px;height:150px;object-fit:contain;border-radius:50%;margin:0 auto 12px}
.admin-brand{display:flex;align-items:center;gap:12px}.admin-brand img{width:52px;height:52px;object-fit:contain;border-radius:50%}.admin-brand span{display:grid}
@media(max-width:620px){.brand-mark{width:48px;height:48px}.brand span small{display:none}.footer-logo{width:240px}}

/* Logo principal dans la zone visuelle de la page d’accueil */
.hero-logo-stage{height:530px;position:relative;display:grid;place-items:center;isolation:isolate}
.hero-logo-halo{position:absolute;width:min(470px,92%);aspect-ratio:1;border-radius:50%;background:rgba(255,255,255,.72);box-shadow:var(--shadow);border:1px solid rgba(212,164,90,.25);z-index:-1}
.hero-main-logo{display:block;width:min(510px,96%);max-height:500px;object-fit:contain;filter:drop-shadow(0 22px 28px rgba(71,62,50,.16));animation:heroLogoFloat 6s ease-in-out infinite}
.hero-spark{position:absolute;color:var(--gold);line-height:1;filter:drop-shadow(0 3px 8px rgba(212,164,90,.3))}
.hero-spark-1{font-size:28px;left:7%;top:18%}.hero-spark-2{font-size:25px;right:5%;top:27%}.hero-spark-3{font-size:31px;right:10%;bottom:14%;color:var(--pink)}
@keyframes heroLogoFloat{0%,100%{transform:translateY(0) rotate(-.4deg)}50%{transform:translateY(-10px) rotate(.4deg)}}
@media (prefers-reduced-motion:reduce){.hero-main-logo{animation:none}}
@media(max-width:980px){.hero-logo-stage{height:480px}.hero-main-logo{width:min(480px,92%)}}
@media(max-width:620px){.hero-logo-stage{height:365px;transform:none;margin-inline:0}.hero-main-logo{width:min(390px,100%)}.hero-logo-halo{width:340px}.hero-spark-1{left:2%}.hero-spark-2{right:1%}}

.favorites-section,.reviews-section,.tracking-section{padding:90px 6vw}.favorites-section{background:#fffaf4}.soft-pill{background:#efe5d8;border-radius:999px;padding:9px 14px}.empty-state{color:var(--muted);grid-column:1/-1}.reviews-section{background:#fff}.reviews-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.review-card{background:var(--cream);padding:24px;border-radius:20px;box-shadow:0 10px 30px rgba(70,60,50,.06)}.review-card img{width:100%;height:190px;object-fit:cover;border-radius:14px;margin-bottom:15px}.review-card p{line-height:1.7}.stars{color:var(--gold);letter-spacing:.1em}.tracking-section{display:grid;grid-template-columns:1fr 1fr;gap:30px;background:linear-gradient(135deg,#e8eee5,#f8eee8);align-items:start}.tracking-form{display:grid;gap:12px;background:#fff;padding:25px;border-radius:20px}.tracking-form label,.review-form label{display:grid;gap:7px;font-weight:600}.tracking-result{grid-column:1/-1;background:#fff;padding:24px;border-radius:20px}.tracking-head{display:flex;justify-content:space-between;gap:20px}.review-form{display:grid;gap:14px}.form-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.cookie-banner{position:fixed;z-index:100;left:20px;right:20px;bottom:20px;background:#fff;border:1px solid #ddd2c5;border-radius:18px;padding:18px 22px;box-shadow:var(--shadow);display:flex;align-items:center;justify-content:space-between;gap:20px}.cookie-banner p{margin:.3rem 0;color:var(--muted)}.cookie-banner>div:last-child{display:flex;gap:10px}.status-pill{display:inline-block;background:#e2eadf;border-radius:99px;padding:7px 12px}.product-title{border:0;background:none;padding:0;text-align:left;cursor:pointer;font:inherit;color:inherit}.hero,.product-card,.review-card{animation:fadeUp .55s ease both}@keyframes fadeUp{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}@media(max-width:800px){.reviews-grid{grid-template-columns:1fr}.tracking-section{grid-template-columns:1fr}.form-two{grid-template-columns:1fr}.cookie-banner{align-items:flex-start;flex-direction:column}.favorites-section,.reviews-section,.tracking-section{padding:65px 20px}}

/* Version 4.0 — univers naturel, bohème et cocooning */
:root{--terracotta:#b8795f;--linen:#e7dac8;--hazel:#70594b}
.hero{background:linear-gradient(135deg,#f8f2e8 0%,#edf1e8 55%,#e5d4c4 100%)}
.hero-copy h1 em{color:var(--terracotta)}
.collections,.custom-section{padding:90px 5vw}.section-intro{max-width:520px;color:var(--muted)}
.collection-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.collection-grid a{background:rgba(255,255,255,.78);border:1px solid #e4d9cc;border-radius:24px;padding:28px;box-shadow:0 12px 36px rgba(74,62,49,.08)}.collection-grid a:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.collection-grid span{font-size:34px}.collection-grid h3{font:600 24px 'Playfair Display',serif;margin:14px 0 6px}.collection-grid p{margin:0;color:var(--muted)}
.custom-section{display:grid;grid-template-columns:.85fr 1.15fr;gap:60px;background:#e9eee5;align-items:start}.custom-copy h2{font:600 clamp(34px,4vw,54px) 'Playfair Display',serif;margin:8px 0 18px}.custom-copy li{margin:10px 0}.custom-form{background:#fff;padding:34px;border-radius:26px;box-shadow:var(--shadow);display:grid;gap:16px}.custom-form label{display:grid;gap:7px;font-weight:600}.custom-form input,.custom-form select,.custom-form textarea{width:100%;padding:13px 14px;border:1px solid #d8cec1;border-radius:12px;background:#fff}.form-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.hero-spark{opacity:.72}.story-visual{background:linear-gradient(145deg,#d8e1d2,#caa98f)}
@media(max-width:900px){.collection-grid{grid-template-columns:repeat(2,1fr)}.custom-section{grid-template-columns:1fr}}
@media(max-width:620px){.collection-grid,.form-two{grid-template-columns:1fr}.collections,.custom-section{padding:64px 5vw}}
[hidden]{display:none!important}.cookie-title{border:0;background:none;padding:0;color:inherit;font:inherit;cursor:pointer;text-align:left;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}.cookie-title:hover{color:var(--sage)}.cookie-dialog{width:min(620px,92vw);border:0;border-radius:24px;padding:0;box-shadow:var(--shadow)}.cookie-dialog::backdrop{background:rgba(50,43,36,.55)}.cookie-dialog .dialog-content{padding:34px}.cookie-option{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;border-bottom:1px solid #eee5da}.cookie-option p{margin:.35rem 0 0;color:var(--muted)}.cookie-option input{width:22px;height:22px;accent-color:var(--sage)}.cookie-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:24px}@media(max-width:600px){.cookie-banner>div:last-child,.cookie-actions{width:100%;flex-direction:column}.cookie-banner .btn,.cookie-actions .btn{width:100%}}

.product-gallery{min-width:0}.product-thumbs{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:.75rem}.product-thumbs button{border:2px solid transparent;background:none;padding:0;border-radius:10px;overflow:hidden;cursor:pointer}.product-thumbs button.active{border-color:currentColor}.product-thumbs img{display:block;width:64px;height:64px;object-fit:cover}.qty button[aria-disabled="true"]{opacity:.45}

/* Galerie produit V8.1.1 */
.product-photo-button,.product-main-photo{display:block;width:100%;height:100%;padding:0;border:0;background:transparent;cursor:zoom-in;color:inherit}
.product-photo-button img{width:100%;height:100%;object-fit:cover}
.product-main-photo{position:relative;border-radius:18px;overflow:hidden}
.product-main-photo .product-image{width:100%;height:100%}
.zoom-hint{position:absolute;right:12px;bottom:12px;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.92);box-shadow:0 6px 20px rgba(0,0,0,.14);font-size:12px;font-weight:700}
.gallery-lightbox{width:min(98vw,1480px);height:min(96vh,980px);max-width:none;max-height:none;padding:0;border:0;border-radius:22px;background:rgba(24,22,20,.98);color:#fff;overflow:hidden}
.gallery-lightbox::backdrop{background:rgba(20,18,16,.88);backdrop-filter:blur(5px)}
.gallery-lightbox figure{margin:0;width:100%;height:100%;display:grid;grid-template-rows:minmax(0,1fr) auto 92px;gap:8px;padding:34px 76px 14px}
.lightbox-main{min-height:0;display:grid;place-items:center;overflow:hidden}
.gallery-lightbox #lightboxImage{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border-radius:12px;box-shadow:0 20px 70px #0008}
.gallery-lightbox figcaption{text-align:center;padding:2px 0 5px;font-size:14px;color:#eee}
.lightbox-thumbs{display:flex;align-items:center;gap:10px;overflow-x:auto;overflow-y:hidden;padding:7px 4px 10px;scrollbar-width:thin;scrollbar-color:#ffffff66 transparent}
.lightbox-thumbs button{flex:0 0 auto;width:72px;height:72px;padding:0;border:2px solid transparent;border-radius:10px;overflow:hidden;background:#ffffff16;cursor:pointer;opacity:.7}
.lightbox-thumbs button.active{border-color:#fff;opacity:1;box-shadow:0 0 0 2px #ffffff30}
.lightbox-thumbs img{width:100%;height:100%;object-fit:cover;display:block}
.lightbox-close,.lightbox-nav{position:absolute;z-index:2;border:0;color:#fff;background:rgba(255,255,255,.14);cursor:pointer;display:grid;place-items:center}
.lightbox-close{right:16px;top:16px;width:44px;height:44px;border-radius:50%;font-size:28px}
.lightbox-nav{top:44%;transform:translateY(-50%);width:52px;height:82px;border-radius:15px;font-size:48px;line-height:1}
.lightbox-prev{left:14px}.lightbox-next{right:14px}
.lightbox-close:hover,.lightbox-nav:hover{background:rgba(255,255,255,.28)}
@media(max-width:640px){.gallery-lightbox{width:100vw;height:100dvh;border-radius:0}.gallery-lightbox figure{grid-template-rows:minmax(0,1fr) auto 78px;padding:56px 42px 8px}.lightbox-thumbs button{width:60px;height:60px}.lightbox-nav{width:38px;height:58px;font-size:38px;top:43%}.lightbox-prev{left:4px}.lightbox-next{right:4px}}

/* V9.2 — affichage complet des galeries */
#productDialog{
  width:min(96vw,1240px);
  max-width:none;
  max-height:94vh;
  padding:28px;
  overflow:auto;
}
#productDialog .product-modal{
  grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);
  align-items:start;
  gap:42px;
}
#productDialog .product-gallery{min-width:0}
#productDialog .product-main-photo{height:auto}
#productDialog .product-main-photo .product-image{
  width:100%;
  height:auto;
  aspect-ratio:4/5;
  max-height:68vh;
  background:#f3f0eb;
}
#productDialog .product-main-photo .product-image img{
  width:100%;
  height:100%;
  object-fit:contain;
}
#productDialog .product-thumbs{
  flex-wrap:nowrap;
  overflow-x:auto;
  overflow-y:hidden;
  padding:10px 2px 8px;
  margin-top:10px;
  scrollbar-width:thin;
}
#productDialog .product-thumbs button{
  flex:0 0 78px;
  width:78px;
  height:78px;
  background:#f3f0eb;
}
#productDialog .product-thumbs img{
  width:100%;
  height:100%;
  object-fit:contain;
}

.gallery-lightbox{
  width:100vw;
  height:100dvh;
  max-width:none;
  max-height:none;
  border-radius:0;
}
.gallery-lightbox figure{
  grid-template-rows:minmax(0,1fr) auto 96px;
  padding:18px 76px 12px;
  min-height:0;
}
.lightbox-main{
  width:100%;
  height:100%;
  min-width:0;
  min-height:0;
  overflow:hidden;
}
.gallery-lightbox #lightboxImage{
  width:100%;
  height:100%;
  max-width:none;
  max-height:none;
  object-fit:contain;
  object-position:center;
  border-radius:8px;
}
.lightbox-thumbs{
  min-height:84px;
  justify-content:flex-start;
}
.lightbox-thumbs button{
  width:72px;
  height:72px;
}

@media(max-width:900px){
  #productDialog{padding:22px;max-height:96vh}
  #productDialog .product-modal{grid-template-columns:1fr;gap:24px}
  #productDialog .product-main-photo .product-image{max-height:62vh;aspect-ratio:1/1}
  .gallery-lightbox figure{padding:52px 46px 8px;grid-template-rows:minmax(0,1fr) auto 82px}
}
@media(max-width:640px){
  #productDialog{width:100vw;height:100dvh;max-height:none;border-radius:0;padding:18px}
  #productDialog .product-main-photo .product-image{max-height:55vh}
  #productDialog .product-thumbs button{flex-basis:66px;width:66px;height:66px}
  .gallery-lightbox figure{padding:54px 42px 8px;grid-template-rows:minmax(0,1fr) auto 76px}
  .lightbox-thumbs button{width:60px;height:60px}
}

/* V10 — galerie e-commerce : image entière, miniatures visibles, zoom maîtrisé */
.gallery-lightbox{inset:0;width:100vw;height:100dvh;margin:0;background:#171513;overflow:hidden}
.gallery-lightbox figure{box-sizing:border-box;width:100%;height:100%;display:flex;flex-direction:column;gap:8px;padding:18px 72px 12px}
.lightbox-main{flex:1 1 auto;min-height:0;width:100%;display:flex;align-items:center;justify-content:center;overflow:auto;background:#211f1d;border-radius:12px;cursor:grab}
.lightbox-main:active{cursor:grabbing}
.gallery-lightbox #lightboxImage{display:block;width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;transform:scale(var(--gallery-zoom,1));transform-origin:center center;transition:transform .15s ease;box-shadow:none}
.lightbox-tools{display:flex;justify-content:center;gap:8px;flex:0 0 auto}.lightbox-tools button{border:1px solid #ffffff55;background:#ffffff18;color:#fff;border-radius:99px;padding:7px 15px;cursor:pointer;font-weight:700}.lightbox-tools button:hover{background:#ffffff2b}
.gallery-lightbox figcaption{flex:0 0 auto;margin:0}
.lightbox-thumbs{flex:0 0 88px;min-height:88px;width:100%;display:flex;overflow-x:auto;overflow-y:hidden;align-items:center;gap:10px;padding:6px 2px}.lightbox-thumbs button{width:76px;height:76px;flex:0 0 76px}.lightbox-thumbs img{object-fit:contain;background:#eee}
@media(max-width:640px){.gallery-lightbox figure{padding:58px 42px 8px}.lightbox-thumbs{flex-basis:70px;min-height:70px}.lightbox-thumbs button{width:60px;height:60px;flex-basis:60px}.lightbox-tools button{padding:6px 11px}}

/* V10.1 — première image recalculée après ouverture réelle du dialogue */
.gallery-lightbox #lightboxImage{max-width:none!important;max-height:none!important;opacity:0;transition:opacity .14s ease,transform .15s ease}
.gallery-lightbox #lightboxImage.is-ready{opacity:1}


/* V10.2 — ajustement natif fiable pour portraits, paysages et orientation EXIF */
.lightbox-main{
  overflow:hidden!important;
  padding:0!important;
}
.gallery-lightbox #lightboxImage{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  transform:scale(var(--gallery-zoom,1));
  transform-origin:center center;
}
.gallery-lightbox #lightboxImage.is-ready{opacity:1}


/* V10.3 — image principale de la fiche produit, indépendante des cartes catalogue */
#productDialog .product-gallery {
  display:flex;
  flex-direction:column;
  min-width:0;
}
#productDialog .product-main-photo {
  display:block;
  width:100%;
  height:auto!important;
  min-height:0;
  overflow:hidden;
  background:#f3f0eb;
}
#productDialog .product-main-photo .product-image {
  position:relative;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:min(68vh,680px)!important;
  min-height:420px;
  max-height:680px!important;
  aspect-ratio:auto!important;
  overflow:hidden!important;
  background:#f3f0eb;
}
#productDialog .product-main-photo .product-detail-main-image,
#productDialog #productMainImage {
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  flex:none!important;
}
@media(max-width:900px){
  #productDialog .product-main-photo .product-image{
    height:min(58vh,600px)!important;
    min-height:340px;
    max-height:600px!important;
  }
}
@media(max-width:640px){
  #productDialog .product-main-photo .product-image{
    height:52vh!important;
    min-height:280px;
    max-height:52vh!important;
  }
}

/* V10.5.2 — cohérence rupture de stock */
.badge.badge-out{background:#9f2f2f;color:#fff;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.product-card.is-out-of-stock .product-photo-button img{filter:saturate(.7);opacity:.82}
.product-card.is-out-of-stock .add-btn:disabled{background:#8a8a8a;color:#fff;cursor:not-allowed}

.shipping-choice{display:grid;gap:.35rem;margin:1rem 0;padding:1rem;border:1px solid rgba(87,103,78,.2);border-radius:14px;background:#faf8f2}.shipping-choice label{font-weight:700}.shipping-choice select{width:100%;padding:.75rem;border:1px solid #cfc8ba;border-radius:10px;background:white}.shipping-choice small{color:#64705f}

.account-entry{display:flex;align-items:center;gap:9px;color:inherit;text-decoration:none;padding:8px 11px;border-radius:999px;transition:.2s;background:rgba(255,255,255,.46)}.account-entry:hover{background:#fff}.account-picto{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#76866d;color:#fff;font-size:20px}.account-copy{display:grid;line-height:1.05;min-width:0}.account-copy small{font-size:11px;color:#6e7469}.account-copy strong{font-size:12px;color:#4e6048;white-space:nowrap;max-width:210px;overflow:hidden;text-overflow:ellipsis}.account-copy strong:empty{display:none}@media(max-width:760px){.account-entry{padding:5px;background:transparent}.account-copy small{display:none}.account-copy strong{max-width:120px;font-size:10px}.account-picto{width:32px;height:32px}}