@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');
:root{--ink:#253c31;--green:#23473b;--pist:#c5d9ab;--cream:#f8f5ed;--line:#e7e6dc;--gold:#d5ac64;--muted:#768378;--pink:#f9d9d5}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fffdf8;font-family:'DM Sans',Arial,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}h1,h2,h3,p{margin-top:0}h1,h2,h3,.brand{font-family:Outfit,Arial,sans-serif}h1{font-size:clamp(42px,6vw,78px);line-height:1.06;letter-spacing:-.05em}h2{font-size:clamp(28px,3.2vw,42px);line-height:1.12;letter-spacing:-.035em}h3{font-size:23px}em{font-style:normal;color:#8da97f}.notice{text-align:center;background:var(--green);color:#f0f4e6;padding:9px;font-size:11px;letter-spacing:.16em;font-weight:700}.top{height:80px;display:flex;align-items:center;justify-content:space-between;padding:0 max(5vw,22px);border-bottom:1px solid var(--line);background:#fffdf8;position:sticky;top:0;z-index:10}.brand{text-decoration:none;color:var(--green);font-size:27px;font-weight:900;letter-spacing:-.07em}.brand-mark{color:#b1c994;font-size:32px;margin-right:5px}.brand-dot{color:var(--gold)}.top-right{display:flex;align-items:center;gap:17px}.pill{background:#eef3e6;color:var(--green);padding:9px 13px;border-radius:999px;font-weight:700}.tiny{font-size:12px}.iconbtn{border:1px solid var(--line);border-radius:14px;background:white;padding:12px}.view{display:none;max-width:1320px;margin:0 auto;padding:0 max(5vw,22px) 65px;min-height:60vh}.view.active{display:block}.hero{display:grid;grid-template-columns:1.04fr 1fr;gap:25px;min-height:590px;align-items:center}.eyebrow{color:#8eab7d;font-size:11px;letter-spacing:.19em;font-weight:800}.hero h1{margin:19px 0 22px}.hero-text p{font-size:17px;line-height:1.75;color:#657369;max-width:490px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin:30px 0}.btn{border:0;border-radius:14px;padding:15px 22px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:10px;text-decoration:none}.btn.primary{background:var(--green);color:white}.btn.ghost{background:#f0f1e9;color:var(--green)}.btn.cream{background:#f6e8ca;color:var(--green)}.btn.full{width:100%}.btn:disabled{opacity:.45;cursor:default}.smallmeta{font-size:12px;color:#8c998c}.hero-art{height:510px;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:35px;background:radial-gradient(circle at 40% 40%,#e8f1d5,#c4dbb3 65%,#adc69e)}.halo{border:2px dashed #f4f3d0;width:380px;height:380px;border-radius:50%;position:absolute;transform:rotate(12deg)}.cup{position:relative;z-index:2;filter:drop-shadow(0 28px 24px #546b4a3f);transform:rotate(-9deg)}.noodles{font-size:90px;line-height:.43;color:#e6b56a;font-family:serif;font-weight:900;letter-spacing:-.14em;text-shadow:3px 4px #bc8446}.cup-body{background:#f6ead2;border:7px solid white;border-radius:12px 12px 60px 60px;padding:24px 40px;text-align:center;font:900 39px Outfit;letter-spacing:-.08em;color:var(--green)}.cup-body span{font:600 11px 'DM Sans';display:block;letter-spacing:0}.topping{position:absolute;font-size:68px;z-index:4}.top-a{top:35px;left:-25px}.top-b{top:5px;right:-15px}.floating{position:absolute;right:25px;bottom:30px;padding:15px 17px;background:#fffdf8;border-radius:19px;font-size:13px;font-weight:700;box-shadow:0 10px 28px #2140201f;transform:rotate(4deg)}.floating b{color:#c89a4a}.section-head{display:flex;justify-content:space-between;align-items:end;gap:15px;margin:44px 0 22px}.section-head h2{margin:10px 0 0}.textlink{border:0;background:none;color:var(--green);font-weight:800}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.product{background:white;border:1px solid var(--line);border-radius:25px;overflow:hidden;box-shadow:0 4px 14px #1d342508}.product-art{height:210px;display:flex;align-items:center;justify-content:center;font-size:75px;position:relative;overflow:hidden}.product-art:after{content:'〰 〰 〰';position:absolute;bottom:22px;left:30px;color:#c69248;opacity:.7;font-size:33px;transform:rotate(-9deg)}.product-art span{z-index:1;filter:drop-shadow(0 8px 5px #754a251a)}.product-info{padding:18px 20px 20px}.product-info h3{margin:0 0 7px}.product-info p{font-size:12px;color:var(--muted);min-height:32px;line-height:1.45}.product-bottom{display:flex;justify-content:space-between;align-items:center}.price{font-weight:900;font-size:19px}.add{width:38px;height:38px;border:0;background:var(--green);color:white;font-size:23px;border-radius:12px}.feature-band{background:var(--green);color:white;border-radius:30px;margin:65px 0 15px;display:flex;align-items:center;justify-content:space-between;padding:45px 60px;gap:20px;overflow:hidden}.feature-band p{color:#d8e2d4;line-height:1.7;max-width:480px}.band-figure{font-size:125px;display:flex;flex-direction:column;align-items:center}.band-figure span{font-size:13px;white-space:nowrap}.pagehead{padding:64px 0 30px}.pagehead h1{margin:12px 0 14px}.pagehead p{color:var(--muted);max-width:670px;line-height:1.7}.chips{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:24px}.chip{border:1px solid var(--line);background:white;border-radius:30px;padding:11px 18px;font-size:13px;font-weight:800;color:var(--green)}.chip.active{background:var(--green);color:white}.checkout-layout{display:grid;grid-template-columns:1.1fr .9fr;gap:28px;align-items:start}.empty,.reviews-empty{border:1px dashed #cbd6c3;border-radius:22px;padding:60px 25px;text-align:center;color:var(--muted)}.empty h3,.reviews-empty h2{color:var(--green)}.basket-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px;border:1px solid var(--line);border-radius:17px;margin-bottom:12px;background:white}.basket-row small{display:block;color:var(--muted);padding-top:4px}.stepper{display:flex;align-items:center;gap:15px}.stepper button{width:30px;height:30px;border:1px solid var(--line);border-radius:8px;background:#faf8f2}.summary{padding:20px 0;font-weight:800;display:flex;justify-content:space-between}.checkout{background:#f5f6ee;border:1px solid var(--line);padding:25px;border-radius:23px;display:flex;flex-direction:column;gap:15px}.checkout label{font-size:12px;font-weight:700;display:flex;flex-direction:column;gap:7px}.checkout input,.checkout textarea,.checkout select{border:1px solid #dce1d4;padding:13px;border-radius:10px;background:white;color:var(--ink);width:100%;outline-color:#a4b994}.checkout textarea{resize:vertical;min-height:56px}.checkout small{color:var(--muted);line-height:1.5}.payment{background:white;padding:13px;border-radius:10px;font-weight:700;font-size:13px}.reviews-empty{max-width:700px;margin:30px auto 100px}.reviews-empty .big{font-size:28px;color:#e0b761;margin-bottom:16px}.review-rule{background:#eff4e8;padding:18px;border-radius:12px;margin-top:20px;font-size:13px;color:var(--green)}.club-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.club-card{background:white;border:1px solid var(--line);border-radius:26px;padding:34px}.club-card.dark{background:var(--green);color:white}.club-card.dark h2{margin:16px 0 28px}.club-card.dark p{color:#d4e0d4;line-height:1.6;font-size:13px}.card-topline{letter-spacing:.13em;font-size:11px;color:#b9cca6;font-weight:800}.points-sample{display:flex;align-items:center;gap:14px}.points-sample strong{font:900 65px Outfit}.points-sample span{line-height:1.25;font-size:13px}.progress{height:9px;border-radius:20px;background:#d7dfd0;overflow:hidden;margin:9px 0 13px}.progress i{display:block;background:#dcb96d;height:100%;border-radius:20px}.reward{display:flex;align-items:center;gap:17px;border-bottom:1px solid var(--line);padding:18px 0}.reward span{background:#f4f5e9;padding:11px;border-radius:14px;font-size:26px}.reward small{display:block;color:var(--muted);margin-top:4px}.club-card .btn{margin-top:25px}.referral{display:grid;grid-template-columns:1.3fr .7fr;gap:20px;background:#eef3e8;padding:36px;border-radius:25px;align-items:center}.referral p{max-width:590px;line-height:1.65;color:#637468}.mini-info{font-size:12px;color:#81917f}.referral-meter{background:white;border-radius:18px;padding:22px}.referral-meter>span{font-size:10px;font-weight:800;letter-spacing:.15em;color:var(--muted)}.referral-meter strong{font:800 44px Outfit;display:block;margin-top:10px}.referral-meter strong small{color:#97a595;font-size:24px}.referral-meter>small{color:var(--muted)}.challenge-hero{background:linear-gradient(115deg,#1e4439,#4c6952);border-radius:29px;padding:46px;color:white;display:flex;justify-content:space-between;align-items:center}.challenge-hero h2{margin:14px 0}.challenge-hero p{max-width:530px;color:#dce8d7;line-height:1.6}.challenge-hero small{color:#c4d4c1}.prize-tags{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0}.prize-tags span{border:1px solid #a0b8a3;border-radius:20px;padding:9px;font-size:12px}.trophy{font-size:140px}.leaderboard{background:white;border:1px solid var(--line);border-radius:20px;overflow:hidden}.lbhead{display:grid;grid-template-columns:1fr 2fr 1fr;background:#eff2e9;padding:18px 23px;font-size:10px;font-weight:900;letter-spacing:.12em}.lbempty{text-align:center;padding:55px 20px;font-size:15px}.lbempty small{color:var(--muted)}.rules{margin-top:20px;padding:23px;background:#f0f4e9;border-radius:18px}.rules p{color:var(--muted);line-height:1.6}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.stats>div{background:#f2f5eb;border-radius:18px;padding:23px}.stats small{display:block;color:var(--muted)}.stats strong{font:800 34px Outfit;display:block;margin-top:10px}.orders-list{margin:25px 0}.order{padding:19px;border:1px solid var(--line);border-radius:15px;margin-bottom:10px;display:flex;justify-content:space-between;gap:20px}.order small{color:var(--muted)}.order select{border:1px solid var(--line);border-radius:10px;padding:9px}footer{background:#e9f0e2;padding:40px max(5vw,22px);display:flex;align-items:center;justify-content:space-between;gap:25px}footer strong{font:900 28px Outfit}footer p,footer small{color:#728575;font-size:12px}footer button{display:block;border:0;background:none;color:var(--green);font-weight:800;margin-bottom:10px}.bottom{display:none}#toast{position:fixed;bottom:95px;left:50%;transform:translateX(-50%) translateY(25px);background:#243e34;color:white;padding:13px 22px;border-radius:13px;opacity:0;pointer-events:none;transition:.25s;z-index:99;max-width:90vw;text-align:center}#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}@media(max-width:820px){.hero{grid-template-columns:1fr;gap:15px;padding-top:38px}.hero-art{height:380px}.cards{grid-template-columns:repeat(2,1fr)}.checkout-layout,.club-grid,.referral{grid-template-columns:1fr}.feature-band{padding:35px}.band-figure{font-size:90px}.trophy{font-size:80px}}@media(max-width:560px){.top{height:65px}.brand{font-size:24px}.top-right .pill{display:none}.view{padding:0 17px 55px}.hero{min-height:0}.hero h1{font-size:46px}.hero-art{height:320px;border-radius:23px}.noodles{font-size:68px}.cup-body{font-size:30px;padding:18px 28px}.topping{font-size:49px}.halo{width:280px;height:280px}.floating{font-size:11px;right:12px;bottom:14px}.section-head{align-items:start}.section-head h2{font-size:28px}.cards{gap:10px}.product-art{height:145px;font-size:55px}.product-art:after{font-size:24px;left:10px}.product-info{padding:12px}.product-info h3{font-size:17px}.product-info p{font-size:11px}.price{font-size:15px}.add{width:34px;height:34px}.feature-band{padding:27px;margin-top:38px}.band-figure{display:none}.pagehead{padding:42px 0 22px}.pagehead h1{font-size:44px}.challenge-hero{padding:28px}.trophy{display:none}.club-card{padding:25px}.bottom{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fffef9;border-top:1px solid var(--line);z-index:20;justify-content:space-around;padding:8px 4px max(9px,env(safe-area-inset-bottom))}.bottom button{border:0;background:none;color:#8c998d;display:flex;flex-direction:column;align-items:center;font-size:10px;font-weight:800;gap:2px;position:relative}.bottom button span{font-size:23px}.bottom button.active{color:var(--green)}.bottom i{position:absolute;top:-4px;right:-7px;background:#df9e80;border-radius:20px;color:white;padding:0px 5px;font-style:normal}footer{padding-bottom:95px;display:block}footer>div{margin-bottom:22px}footer button{padding-left:0}.order{display:block}.order select{margin-top:14px}}
/* FICELLIO · Exotique Premium — palette v2 */
:root{--ink:#4A2D21;--green:#A74623;--pist:#A7D66D;--cream:#FFF7EF;--line:#F3DAC6;--gold:#FFC84A;--muted:#856A58;--pink:#FF6FA3}
body{background:#FFF9F0;background-image:radial-gradient(ellipse at 97% 2%,#FFE9BD 0,transparent 33%),radial-gradient(ellipse at 1% 60%,#FFECE8 0,transparent 29%)}
.notice{background:#FF914D;color:#4A2D21}
.top{background:#FFF8EFEE;backdrop-filter:blur(16px)}
.brand{color:#65361F}.brand-mark{color:#FF914D}.brand-dot{color:#FF6FA3}
.pill{background:#FFF0BE;color:#75461A}
em{color:#E97141}.eyebrow{color:#C46339}
.hero-text p{color:#805E4B}.btn.primary,.add{background:#FF914D;color:#3F2519;box-shadow:0 7px 20px #F59B5260}
.btn.primary:hover,.add:hover{background:#FFAA56}.btn.ghost{background:#FFE8CC;color:#66381D}.btn.cream{background:#FFF2B2;color:#5A3422}
.hero-art{background:radial-gradient(circle at 38% 25%,#FFF1B3,#FFC95B 52%,#FF9D66 100%)}
.hero-art:before{content:'✿';position:absolute;left:24px;top:18px;color:#FFED9C;font-size:90px;transform:rotate(19deg);opacity:.7}
.hero-art:after{content:'✳';position:absolute;right:18px;top:30px;color:#FFF1BE;font-size:76px;opacity:.8}
.halo{border-color:#FFF6C8}.cup{filter:drop-shadow(0 28px 24px #A75A2955)}
.cup-body{background:#FFF4DE;color:#683A24;border-color:#FFFDF5}.noodles{color:#F2B44D;text-shadow:3px 4px #C88545}
.floating{background:#FFF8E8;box-shadow:0 10px 28px #BF6A2925}.floating b{color:#E96A47}
.product{box-shadow:0 7px 23px #C06B2613}.product-art:after{color:#E3A34D}
.feature-band{background:linear-gradient(115deg,#FF934A,#FFB85C 60%,#FFD679);color:#542B1B}
.feature-band p{color:#724531}.feature-band .eyebrow{color:#773922}
.checkout{background:#FFF1E1}.checkout input,.checkout textarea,.checkout select{border-color:#F0D3B9;outline-color:#FF914D}
.review-rule{background:#FFF0CE;color:#6B3A24}.reviews-empty,.empty{border-color:#EFCDA7}.empty h3,.reviews-empty h2{color:#743C25}
.club-card.dark{background:linear-gradient(140deg,#A7D66D,#D5ED9E);color:#443821}.club-card.dark p{color:#4D6037}.card-topline{color:#557331}
.progress{background:#E8E6C7}.progress i{background:#FF914D}.reward span{background:#FFF0DB}
.referral{background:#F2F8DA}.referral p{color:#637048}.mini-info{color:#738359}
.challenge-hero{background:linear-gradient(110deg,#FF854C,#FFAF62 65%,#FFD37B);color:#4A2D21}
.challenge-hero p,.challenge-hero small{color:#684431}.prize-tags span{border-color:#D78A56;background:#FFF4DC77}
.lbhead{background:#FFF0D9}.rules,.stats>div{background:#FFF0DC}
footer{background:#FFF0D6}footer p,footer small{color:#80624A}
#toast{background:#5A3422;color:white}
@media(max-width:560px){.bottom{background:#FFF9F0F7;backdrop-filter:blur(12px)}.bottom button{color:#8F7461}.bottom i{background:#FF6FA3}}

/* V3 — Logistique mobile et photos */
[hidden]{display:none!important}.admin-toolbar{margin-top:24px}.admin-tabs,.driver-filters,.admin-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.admin-tabs{margin-bottom:12px}.demo-help{font-size:12px;color:var(--muted)}.admin-actions{justify-content:space-between;margin-top:20px}.search-label{font-size:12px;color:var(--muted);display:flex;flex-direction:column;gap:6px}.search-label input{border:1px solid var(--line);border-radius:12px;padding:12px;min-width:230px}.order-detailed{background:#fff}.order-main{flex:1;min-width:0}.order-main>strong{display:block;margin:8px 0}.order-title{display:flex;gap:8px;align-items:center}.order-pill{display:inline-block;background:#fff0d6;border-radius:100px;padding:6px 9px;color:#75411f;font-size:11px;font-weight:800}.delivery-address{font-size:15px;font-weight:750;margin:12px 0;line-height:1.45;overflow-wrap:anywhere}.order-notes{background:#fff6d6;padding:10px;border-radius:10px;margin:12px 0;font-size:13px}.order-controls{display:flex;flex-direction:column;gap:12px;min-width:190px;font-size:12px;font-weight:700}.order-controls label{display:flex;flex-direction:column;gap:8px}.order-controls .cash-checked{flex-direction:row;align-items:center}.driver-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.action-link{border:0;display:inline-flex;text-decoration:none;padding:12px 13px;border-radius:11px;font-size:13px;font-weight:800;align-items:center;justify-content:center;color:#4a2d21;background:#f4eadc}.action-link.waze{background:#c7f5e8}.action-link.maps{background:#e5edff}.action-link.call{background:#def2cf}.action-link.copy{background:#ffe5c6}.missing-data{color:var(--muted);font-size:12px}.courier-intro{margin-top:28px}.courier-intro h2{margin-bottom:8px}.courier-intro p{color:var(--muted)}.courier-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:20px 0}.delivery-card{border:1px solid #f1d6bd;background:white;border-radius:21px;padding:20px;box-shadow:0 12px 30px #9e632012}.delivery-head{display:flex;align-items:center;gap:9px}.delivery-head>div{flex:1}.delivery-head small{display:block;color:var(--muted);margin-top:3px;font-size:11px}.stop-number{background:#ff914d;border-radius:10px;color:#4a2d21;width:34px;height:34px;display:grid;place-items:center;font-weight:900}.delivery-items{font-size:13px;color:var(--muted);margin:10px 0}.delivery-money{border-block:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:8px;padding:12px 0;flex-wrap:wrap}.delivery-money label{font-size:12px;font-weight:700}.delivery-card .driver-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.delivery-bottom{display:flex;gap:12px;margin-top:13px}.delivery-bottom select{flex:1;min-width:0;border:1px solid var(--line);border-radius:10px;background:white;padding:10px}.delivery-bottom .btn{padding:12px}.photo-editor{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:22px 0}.photo-line{display:flex;align-items:center;gap:15px;background:white;border:1px solid var(--line);border-radius:17px;padding:15px}.photo-line>div:nth-child(2){flex:1}.photo-line small{display:block;color:var(--muted);font-size:11px;margin:4px 0 9px}.photo-preview{width:100px;height:100px;flex-shrink:0;border-radius:13px;background:#fff1d2;display:flex;align-items:center;justify-content:center;font-size:32px;overflow:hidden}.photo-preview img,.recipe-photo{width:100%;height:100%;object-fit:cover}.recipe-photo{position:relative;z-index:1}.upload-button{display:inline-block;background:#ffefdc;padding:9px 12px;border-radius:9px;font-size:12px;font-weight:800;cursor:pointer}.upload-button input{display:none}.remove-photo{border:0;background:transparent;color:#b45c38;font-size:12px;margin-left:7px;text-decoration:underline}.product-art:has(.recipe-photo):after{display:none}@media(max-width:850px){.courier-list,.photo-editor{grid-template-columns:1fr}}@media(max-width:560px){.admin-actions{align-items:stretch;flex-direction:column}.search-label input{min-width:0;width:100%}.order-controls{margin-top:14px}.delivery-card{padding:15px}.delivery-card .driver-links{grid-template-columns:1fr 1fr}.action-link{min-height:47px}.delivery-head .order-pill{font-size:10px}.photo-preview{width:86px;height:86px}}

/* V4 — Photos officielles de démonstration et logo FICELLIO */
.brand{display:flex;align-items:center;gap:9px;text-decoration:none}.brand-logo{width:52px;height:52px;object-fit:contain;filter:drop-shadow(0 2px 3px #5a342225)}
.hero-art-photo{overflow:hidden;isolation:isolate;display:grid;place-items:center}.hero-product-photo{position:relative;z-index:2;width:79%;max-width:490px;aspect-ratio:1/1;object-fit:cover;border-radius:50%;box-shadow:0 24px 55px #6e421d42;transform:translateY(22px)}
.hero-brand-logo{position:absolute;z-index:3;top:14px;right:16px;width:108px;height:108px;object-fit:contain;filter:drop-shadow(0 8px 12px #5a342242)}
.hero-art-photo .floating{z-index:4}.soon-photo{display:block;font-size:11px;color:#6d503d;font-weight:700;text-align:center;max-width:100px;line-height:1.2}.product-art{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px}.product-art .recipe-photo{object-fit:cover;display:block;width:100%;height:100%;aspect-ratio:1/1}.visual-notice{font-size:12px;color:#856a56;margin:15px 0 0;line-height:1.5}.footer-brand{display:flex;align-items:center;gap:12px}.footer-brand img{width:56px;height:56px;object-fit:contain}
@media(max-width:560px){.brand{gap:6px}.brand-logo{width:39px;height:39px}.brand-name{font-size:20px}.hero-product-photo{width:76%;transform:translateY(20px)}.hero-brand-logo{width:76px;height:76px;top:12px;right:12px}.visual-notice{font-size:11px}}

/* V5 — Logo simplifié, hero nettoyé, statuts séparés */
.top-v5{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px}
.top-spacer{min-width:1px}
.brand-only{justify-self:center}
.brand-logo-large{width:82px;height:82px}
.footer-brand strong{display:none}
.hero-art-photo-v5{background:linear-gradient(180deg,#F7D466 0%,#F5A760 100%);padding:26px;overflow:hidden}
.hero-art-photo-v5:before,.hero-art-photo-v5:after,.hero-art-photo-v5 .halo{display:none!important}
.hero-product-photo-v5{width:100%;max-width:520px;height:auto;aspect-ratio:auto;object-fit:contain;border-radius:0;box-shadow:none;transform:none;clip-path:inset(0 round 28px)}
.product-art-v5{padding:0;background:#fff;border-bottom:1px solid var(--line);height:330px}
.recipe-photo-v5{object-fit:contain!important;object-position:center center;background:#fff}
.mode-note{background:#FFF7E7;border:1px solid #F0DDC0;border-radius:16px;padding:14px 16px;margin:16px 0;color:#6f513c;line-height:1.55}
.order-pill{border:1px solid transparent}
.status-confirm{background:#fff4d8;color:#87570f;border-color:#f0d08e}
.status-prep{background:#ffe4d0;color:#a15019;border-color:#f3b88f}
.status-ready{background:#fff2ca;color:#8d6511;border-color:#eac86d}
.status-route{background:#dcecff;color:#214f99;border-color:#b5cff5}
.status-done{background:#dff5df;color:#2e7a35;border-color:#b6dfb8}
.status-cancel{background:#fbe0e0;color:#9b2d2d;border-color:#efb6b6}
.eta-note{font-size:12px;color:#6d503d;background:#fff6e8;border-radius:10px;padding:10px 12px;margin-top:12px}
.delivery-bottom{flex-wrap:wrap}
.delivery-bottom select{min-width:200px}
#ordersList select,#courierList select{border:1px solid var(--line);border-radius:12px;padding:10px 12px;background:#fff;font-weight:700;color:#5c3925}
@media(max-width:850px){.product-art-v5{height:280px}}
@media(max-width:560px){
  .top-v5{grid-template-columns:1fr auto 1fr}
  .brand-logo-large{width:62px;height:62px}
  .top-right{justify-self:end;display:flex;gap:8px;align-items:center}
  .top-right .pill{display:none}
  .hero-art-photo-v5{padding:18px}
  .hero-product-photo-v5{max-width:100%}
  .product-art-v5{height:255px}
}

/* V5.1 — En-tête et validation cuisine */
.top.top-v5{display:flex;justify-content:space-between;height:116px;padding:0 clamp(15px,3.5vw,54px);gap:12px}
.top-v5 .top-spacer{display:none}
.top-v5 .brand-only{margin-right:auto;flex:0 0 auto}
.top-v5 .brand-logo.brand-logo-large{width:105px;height:105px}
.top-v5 .top-right{margin-left:auto;display:flex;align-items:center;gap:14px;flex-shrink:0}
.top-v5 .top-right .pill{display:inline-flex;align-items:center;white-space:nowrap}
.status-ready{background:#d9f5df!important;color:#206a38!important;border-color:#9fdeb1!important}
#ordersList select.status-ready{background:#d9f5df!important;color:#206a38!important;border:1px solid #9fdeb1!important}
#ordersList select.status-confirm{background:#fff4d8!important;color:#87570f!important}
#ordersList select.status-prep{background:#ffe4d0!important;color:#a15019!important}
@media(max-width:560px){
 .top.top-v5{height:94px;padding:0 12px;gap:6px}
 .top-v5 .brand-logo.brand-logo-large{width:79px;height:79px}
 .top-v5 .top-right{gap:7px}
 .top-v5 .top-right .pill{display:inline-flex;font-size:10px;padding:7px 9px;letter-spacing:-.02em}
 .top-v5 .iconbtn{padding:9px 8px;font-size:12px;border-radius:10px}
}
@media(max-width:350px){
 .top-v5 .brand-logo.brand-logo-large{width:70px;height:70px}
 .top-v5 .top-right .pill{font-size:9px;padding:6px}
}

/* V6 — Parcours cuisine → livreur → historique et formats sans ambiguïté */
.format-dialog{border:0;padding:0;border-radius:24px;max-width:480px;width:calc(100vw - 32px);color:var(--ink);box-shadow:0 24px 85px #2d1f2255}
.format-dialog::backdrop{background:#20140c99;backdrop-filter:blur(5px)}
.format-dialog form{position:relative;padding:28px;display:flex;flex-direction:column;gap:14px}
.format-dialog h2{font-size:27px;margin:0}.format-dialog p{margin:0;color:var(--muted)}
.format-dialog .format-close{position:absolute;right:15px;top:11px;width:36px;height:36px;border:0;background:#fff0db;border-radius:50%;font-size:25px;cursor:pointer}
.format-options{display:grid;gap:12px}.format-choice{display:block;cursor:pointer}.format-choice input{position:absolute;opacity:0;width:1px;height:1px}
.format-option{display:flex;justify-content:space-between;align-items:center;gap:12px;border:2px solid #edd8c3;background:#fffaf1;border-radius:16px;padding:16px;transition:.15s}
.format-option span{display:flex;flex-direction:column;gap:4px}.format-option b{font-size:17px}.format-option small{color:#8d6b55}.format-option strong{font-size:17px;white-space:nowrap}
.format-choice input:checked+.format-option{border-color:#ed8b43;background:#fff1d7;box-shadow:0 0 0 3px #ffb66b44}
.format-choice input:focus-visible+.format-option{outline:2px solid #965022;outline-offset:2px}
.history-totals{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0 25px}.history-totals span{border-radius:12px;padding:12px 15px;background:#fff0d9;color:#5f3f23}.history-totals b{font-size:18px}
.history-day{margin:20px 0 30px}.history-day h3{text-transform:capitalize;margin:0 0 12px;font-size:18px}
.history-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.history-card{display:flex;flex-direction:column;gap:10px;background:#fff;border:1px solid #efd6bc;border-radius:16px;padding:17px;min-width:0}
.history-card small{color:var(--muted);overflow-wrap:anywhere}.history-card p{color:#604d3e;margin:0}.history-card-foot{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;border-top:1px solid #f3dfcc;padding-top:10px;font-size:13px}
.history-card .order-title{justify-content:space-between;flex-wrap:wrap}
@media(max-width:650px){.history-grid{grid-template-columns:1fr}.format-dialog form{padding:22px}}

/* V8 — Messages WhatsApp manuels */
.whatsapp-link{background:#dcfce7!important;color:#166534!important;border:1px solid #86efac!important;font-weight:800;cursor:pointer;min-height:43px;text-align:center}
.whatsapp-link:hover{background:#bbf7d0!important}
.wa-row{margin-top:12px;display:flex}
.order-controls .whatsapp-link{line-height:1.35;padding:11px 12px}

/* V8 — suivi de commande client */
.tracking-lookup{display:flex;align-items:end;gap:12px;flex-wrap:wrap;background:#fff7e9;border:1px solid var(--line);padding:18px;border-radius:18px;margin:12px 0 22px}
.tracking-lookup label{display:flex;flex:1;min-width:200px;flex-direction:column;font-weight:700;gap:8px}
.tracking-lookup input{width:100%;border:1px solid #ead0bb;background:white;border-radius:11px;padding:13px;font:inherit}
.tracking-empty{border:1px dashed #e7c8a7;border-radius:17px;padding:25px;color:var(--muted)}
.tracking-card{background:white;border:1px solid var(--line);border-radius:23px;padding:26px;max-width:750px;margin:0 auto;box-shadow:0 12px 35px #a2691710}
.tracking-head{display:flex;justify-content:space-between;align-items:start;gap:14px;flex-wrap:wrap}
.tracking-head h2{margin:10px 0 6px}
.tracking-steps{padding:20px 4px 12px}
.tracking-step{display:flex;gap:15px;position:relative;min-height:77px;color:#a39788}
.tracking-step:not(:last-child):before{content:'';position:absolute;left:17px;top:37px;bottom:0;width:2px;background:#e8dac6}
.tracking-step.is-done:not(:last-child):before{background:#a7d66d}
.tracking-step-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#f7eddf;flex-shrink:0;font-weight:900;color:#a18b70;z-index:1}
.tracking-step.is-done .tracking-step-icon{background:#bde88d;color:#315624}
.tracking-step.is-current .tracking-step-icon{background:#ff914d;color:#4a2d21}
.tracking-step.is-done{color:#4a2d21}
.tracking-step p{margin:4px 0 0;font-size:13px;line-height:1.4;color:#8a7564}
.tracking-details{border-top:1px solid var(--line);padding-top:17px}
.tracking-details>p{color:var(--muted);line-height:1.6}
.tracking-line{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid #f7ecdf;flex-wrap:wrap;font-size:14px}
.tracking-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:19px}
.tracking-disclaimer{display:block;color:var(--muted);margin-top:14px;line-height:1.5}
.tracking-canceled{background:#ffe4e4;color:#8e3030;border-radius:12px;padding:13px;margin-top:15px}
@media(max-width:560px){.tracking-card{padding:17px}.tracking-actions .btn{width:100%}}

/* V8.1 — accès équipe toujours visible (démo seulement) */
.team-shortcuts{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;padding:10px 16px;background:#fff0dd;border-bottom:1px solid #f1d9bc;position:relative;z-index:5}
.team-shortcuts .team-label{font-size:10px;font-weight:850;letter-spacing:.10em;color:#8c613e;margin-right:7px}
.team-shortcuts button{border:1px solid #e5bb96;border-radius:999px;padding:9px 14px;background:#fffaf2;color:#663c22;font-size:12px;font-weight:850;cursor:pointer}
.team-shortcuts button:hover,.team-shortcuts button:focus-visible{background:#ffcf91;outline-offset:2px}
@media(max-width:560px){.team-shortcuts{gap:6px;padding:8px 5px}.team-shortcuts .team-label{width:100%;text-align:center;margin:0;font-size:9px}.team-shortcuts button{padding:9px 8px;font-size:11px}}

/* V8.2 : passerelle visible entre gestion et livreur */
.team-crossnav{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;background:#fff3e3;border:1px solid #efcfa7;border-radius:18px;padding:14px 18px;margin:18px 0 12px}
.team-crossnav strong{font-size:15px;color:#603b26}
.team-crossnav .btn{white-space:normal;text-align:center;max-width:100%;padding:13px 17px}
@media(max-width:560px){.team-crossnav{flex-direction:column;align-items:stretch}.team-crossnav .btn{width:100%}}


/* V9 : zones Client / Équipe séparées dans une même application */
.team-shortcuts[hidden] { display:none!important; }
.staff-mode .bottom { display:none!important; }
.staff-mode .top-right { visibility:hidden; }
.staff-mode .top { box-shadow:0 2px 14px #5a34220e; }
.staff-mode main { min-height:70vh; }
.team-shortcuts { display:flex; flex-wrap:wrap; gap:10px; align-items:center; justify-content:center; padding:14px max(18px,calc((100% - 1180px)/2)); background:#fff0d9; border-bottom:1px solid #f0d4b1;}
.team-shortcuts button {background:#fffaf3; border:1px solid #ead1b5; padding:10px 14px; border-radius:12px; color:#633d2b; font-weight:800; cursor:pointer;}
.team-shortcuts button.active {background:#ff914d; color:#42291d; border-color:#ff914d;}
.team-shortcuts #returnClient {margin-left:auto;}
.staff-mode .pagehead { padding-top:24px; }
.staff-mode .admin-toolbar { margin-top:14px; }
@media(max-width:560px) {
  .team-shortcuts {padding:12px; gap:7px;}
  .team-shortcuts button {font-size:12px;padding:10px;}
  .team-shortcuts #returnClient {margin-left:0;}
  .staff-mode main {padding-bottom:45px;}
}

/* Présentation FICELLIO · expérience proche du produit final */
.presentation-strip{display:flex;justify-content:space-between;align-items:center;gap:22px;background:#fff5df;border:1px solid #eddbc0;border-radius:18px;padding:17px 22px;margin:18px 0 28px;box-shadow:0 8px 24px #9e63200e}
.presentation-strip strong{font-size:15px;color:#704026}
.presentation-strip p{font-size:13px;color:#876c59;margin:6px 0 0;line-height:1.5}
.presentation-strip-actions{display:flex;gap:8px;flex-wrap:wrap;flex-shrink:0}
.presentation-strip .btn{font-size:12px;padding:12px 16px}
.account-layout{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(320px,1.15fr);gap:24px;margin:10px 0 50px}
.account-form{align-self:start}
.account-form-title{display:flex;align-items:center;gap:13px;margin-bottom:15px}
.account-form-title h3{margin:0}
.account-form-title p{font-size:12px;margin:5px 0 0;color:#987c66}
.account-avatar{background:#ffdb9a;width:58px;height:58px;border-radius:18px;display:grid;place-items:center;font-size:28px}
.account-disclaimer{font-size:11px;color:#a06f57;margin:12px 0 0}
.account-side{display:flex;flex-direction:column;gap:16px}
.account-rewards,.account-referral,.account-last{background:#fff;border:1px solid #f0dfc9;border-radius:20px;padding:23px}
.account-rewards{background:linear-gradient(135deg,#edf5d6,#fbffe9)}
.account-rewards h2{margin:8px 0 18px}
.account-metrics{display:flex;justify-content:space-between;gap:20px;margin-bottom:12px}
.account-metrics div{display:flex;flex-direction:column;gap:5px}
.account-metrics strong{font-size:32px;color:#5b502d}
.account-metrics small{font-size:16px}
.account-metrics span{font-size:12px;color:#63704c}
.account-rewards>small{display:block;margin-top:12px;color:#647049}
.account-referral h3,.account-last h3{margin:7px 0 14px}
.referral-code{background:#ffefe0;border-radius:12px;padding:14px 10px 14px 16px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:16px;letter-spacing:1px;font-weight:900;color:#734328}
.referral-code button{border:0;background:#ff914d;border-radius:10px;padding:9px 13px;font-weight:800;color:#4c2c19;cursor:pointer;letter-spacing:0}
.account-referral p{font-size:13px;color:#806c5d;line-height:1.6}
.referral-progress{font-size:12px;color:#806e58;margin-top:10px}
.referral-progress .progress{margin-top:8px}
.account-order{width:100%;border:1px solid #f0ddc2;border-radius:12px;background:#fff9f1;padding:14px;display:flex;align-items:center;justify-content:space-between;margin:8px 0;cursor:pointer;text-align:left}
.account-order span{display:flex;flex-direction:column;gap:4px}
.account-order small{color:#917963}
.account-empty{font-size:13px;color:#806c59;line-height:1.5}
.checkout-member{font-size:12px;line-height:1.5;color:#607043;background:#f0f8d9;padding:9px 12px;border-radius:9px;margin-bottom:13px}
@media(max-width:820px){.presentation-strip{flex-direction:column;align-items:flex-start}.account-layout{grid-template-columns:1fr}}
@media(max-width:560px){.presentation-strip{padding:14px;margin:8px 0 20px}.presentation-strip-actions{width:100%}.presentation-strip-actions .btn{flex:1}.account-layout{gap:14px}.account-rewards,.account-referral,.account-last{padding:17px}}
