@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Source+Sans+3:wght@400;500;600;700&display=swap');
:root{--primary:#ff4b00;--primary2:#ffb703;--ink:#101014;--bg:#fff8ef;--soft:#fff1dc;--muted:#716b78;--accent:#17c964;--line:#ece6dd;--shadow:0 22px 60px rgba(28,22,15,.13);--radius:34px}*{box-sizing:border-box}body{margin:0;font-family:Inter,Segoe UI,Tahoma,Arial,sans-serif;background:var(--bg);color:var(--ink)}body.rtl{font-family:Tahoma,Arial,sans-serif}.container{width:min(1220px,92%);margin:auto}.top-strip{background:#0d0d12;color:#fff;font-size:13px}.top-strip-in{display:flex;gap:24px;justify-content:space-between;padding:9px 0}.header{position:sticky;top:0;z-index:50;background:rgba(255,248,239,.86);backdrop-filter:blur(18px);border-bottom:1px solid rgba(0,0,0,.06)}.nav{height:82px;display:flex;align-items:center;justify-content:space-between;gap:22px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink)}.brand img{height:62px;object-fit:contain}.brand b{display:block;font-size:20px}.brand small{color:var(--muted);font-weight:700}.nav nav{display:flex;align-items:center;gap:8px}.nav nav a{padding:11px 14px;border-radius:999px;color:#17171b;text-decoration:none;font-weight:850}.nav nav a:hover{background:#fff;box-shadow:0 8px 22px rgba(0,0,0,.08)}.nav-actions{display:flex;align-items:center;gap:10px}.lang,.cart-btn,.hamb{border:0;border-radius:999px;background:#fff;padding:12px 15px;color:#111;text-decoration:none;font-weight:950;box-shadow:0 8px 22px rgba(0,0,0,.08);cursor:pointer}.cart-btn{background:var(--ink);color:#fff}.hamb{display:none}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:0;border-radius:999px;padding:13px 20px;font-weight:1000;text-decoration:none;cursor:pointer}.btn-primary{background:linear-gradient(135deg,var(--primary),var(--primary2));color:#fff;box-shadow:0 18px 35px rgba(255,75,0,.28)}.btn-dark{background:#111;color:#fff}.btn-outline{background:#fff;color:#111;border:1px solid var(--line)}.btn-xl{padding:17px 26px;font-size:17px}.btn-full{width:100%}.hero-v3{position:relative;overflow:hidden;padding:62px 0 34px;background:radial-gradient(circle at 12% 8%,rgba(255,183,3,.34),transparent 32%),radial-gradient(circle at 84% 14%,rgba(255,75,0,.22),transparent 30%),linear-gradient(180deg,#fff8ef 0%,#fff2de 100%);border-radius:0 0 54px 54px}.hero-grid{display:grid;grid-template-columns:1.02fr .98fr;gap:36px;align-items:center}.eyebrow,.section-label{display:inline-flex;background:#111;color:#fff;border-radius:999px;padding:9px 14px;font-weight:1000;font-size:13px}.section-label.light{background:#fff;color:#111}.hero-copy h1{font-size:clamp(48px,7vw,90px);line-height:.92;letter-spacing:-4px;margin:18px 0}.hero-copy p{font-size:19px;line-height:1.65;color:#514b56;max-width:650px}.hero-actions,.trust-row{display:flex;gap:13px;flex-wrap:wrap;margin-top:24px}.trust-row span{background:#fff;border:1px solid var(--line);padding:12px 15px;border-radius:999px;font-weight:900;box-shadow:0 10px 24px rgba(0,0,0,.06)}.hero-showcase{position:relative;min-height:560px;display:grid;place-items:center}.glow{position:absolute;width:470px;height:470px;border-radius:50%;background:linear-gradient(135deg,var(--primary),var(--primary2));filter:blur(10px);opacity:.25}.main-food{position:relative;z-index:2;width:min(590px,100%);animation:float 4.6s ease-in-out infinite;filter:drop-shadow(0 35px 28px rgba(0,0,0,.18))}.deal-card{position:absolute;z-index:3;background:#fff;border-radius:26px;padding:17px 20px;box-shadow:var(--shadow);min-width:145px}.deal-card b{font-size:30px;display:block}.deal-card small{color:var(--muted);font-weight:850}.deal-1{left:18px;top:98px}.deal-2{right:14px;bottom:110px}.brand-medal{position:absolute;left:44px;bottom:70px;z-index:4;width:110px;height:110px;border-radius:50%;background:#fff;display:grid;place-items:center;box-shadow:var(--shadow)}.brand-medal img{width:86px;height:86px;object-fit:contain}.category-ribbon{display:grid;grid-template-columns:repeat(7,1fr);gap:12px;margin-top:24px}.category-ribbon a{background:#fff;border:1px solid var(--line);border-radius:28px;padding:17px 10px;text-align:center;color:#111;text-decoration:none;box-shadow:0 16px 36px rgba(0,0,0,.08);transition:.22s}.category-ribbon a:hover{transform:translateY(-7px);background:#111;color:#fff}.category-ribbon span{display:block;font-size:34px}.category-ribbon b{font-size:14px}.section{padding:80px 0}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:28px}.section-head h2,.promo-wall h2,.big-panel h2{font-size:clamp(36px,5vw,64px);line-height:.98;letter-spacing:-2.5px;margin:12px 0}.section-head p,.big-panel p,.promo-wall p{color:var(--muted);font-size:18px;line-height:1.6;max-width:680px}.menu-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(285px,1fr));gap:26px;align-items:stretch}.food-card{position:relative;background:#fff;border-radius:32px;overflow:hidden;border:1px solid rgba(0,0,0,.05);box-shadow:var(--shadow);display:flex;flex-direction:column;transition:.25s}.food-card:hover{transform:translateY(-8px)}.food-img{height:202px;background:linear-gradient(135deg,#fff3dc,#fff);display:grid;place-items:center}.food-img img{width:100%;height:100%;object-fit:cover;transition:.3s}.food-card:hover .food-img img{transform:scale(1.05) rotate(-1deg)}.badge{position:absolute;top:16px;left:16px;z-index:2;padding:8px 12px;border-radius:999px;background:linear-gradient(135deg,#ff0054,#ffb703);color:#fff;font-size:12px;font-weight:1000}.fav{position:absolute;right:16px;top:16px;z-index:2;border:0;border-radius:50%;width:42px;height:42px;background:rgba(255,255,255,.92);font-size:22px;box-shadow:0 8px 22px rgba(0,0,0,.08);cursor:pointer}.food-body{padding:20px;display:flex;flex:1;flex-direction:column}.rating{color:#ffb000;font-weight:1000;font-size:13px;margin-bottom:8px}.rating small{color:#81798a}.food-card h3{font-size:22px;margin:0 0 8px;letter-spacing:-.5px}.desc{color:var(--muted);line-height:1.45;min-height:62px}.custom-row{background:#fff6e7;border:1px solid #ffe5bd;border-radius:17px;padding:10px 12px;font-size:13px;color:#7b7484;margin:auto 0 14px}.custom-row b{color:#111}.price-row{display:flex;align-items:center;justify-content:space-between}.price{font-size:24px;font-weight:1000;color:var(--primary)}.old{text-decoration:line-through;color:#aaa;font-weight:800;margin-left:6px}.add-cart{border:0;border-radius:50%;background:#111;color:#fff;width:50px;height:50px;font-size:26px;font-weight:1000;cursor:pointer}.pro-panels{display:grid;grid-template-columns:1.5fr .8fr;gap:22px}.panel{background:#fff;border-radius:38px;padding:34px;box-shadow:var(--shadow);border:1px solid var(--line)}.big-panel{background:radial-gradient(circle at 90% 0,rgba(255,183,3,.35),transparent 36%),linear-gradient(135deg,#111118,#242432);color:#fff}.big-panel p{color:#e5e0ea}.pay-badges{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.pay-badges span{background:#fff;color:#111;border-radius:999px;padding:10px 14px;font-weight:1000}.pay-badges.dark span{background:#111;color:#fff}.zone-line{display:flex;justify-content:space-between;border-bottom:1px solid #eee;padding:14px 0;font-weight:900}.promo-wall{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:16px}.promo-wall article{min-height:230px;border-radius:34px;padding:24px;background:linear-gradient(135deg,#ff4b00,#ffb703);color:#fff;box-shadow:var(--shadow);display:flex;flex-direction:column;justify-content:end}.promo-wall article:nth-child(3){background:linear-gradient(135deg,#111,#3a3a4c)}.promo-wall article:nth-child(4){background:linear-gradient(135deg,#17c964,#b7ff61);color:#111}.promo-wall b{font-size:30px}.promo-wall span{font-size:24px;font-weight:1000}.page-hero{background:radial-gradient(circle at 85% 0,rgba(255,183,3,.25),transparent 32%),linear-gradient(135deg,#111118,#2a2a3b);color:#fff;padding:72px 0;border-radius:0 0 52px 52px}.page-hero h1{font-size:clamp(42px,6vw,72px);letter-spacing:-3px;line-height:.98;margin:12px 0}.page-hero p{color:#dfdbe8;line-height:1.65;max-width:760px;font-size:18px}.menu-layout{display:grid;grid-template-columns:285px 1fr;gap:26px;align-items:start}.menu-sidebar{position:sticky;top:98px;background:#fff;border-radius:34px;padding:20px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:10px}.menu-sidebar h3{margin:0 0 10px;font-size:24px}.tab{border:0;background:#fff;border-radius:18px;padding:15px;font-weight:1000;text-align:left;box-shadow:0 9px 22px rgba(0,0,0,.06);cursor:pointer}.rtl .tab{text-align:right}.tab.active{background:linear-gradient(135deg,var(--primary),var(--primary2));color:#fff}.side-card{background:#111;color:#fff;border-radius:24px;padding:18px}.side-card p{color:#ddd;font-size:13px}.menu-toolbar{display:grid;grid-template-columns:1fr 220px;gap:13px;margin-bottom:20px}.menu-toolbar input,.menu-toolbar select,.field input,.field textarea,.field select,.coupon-row input{width:100%;border:1px solid var(--line);border-radius:20px;padding:16px 18px;background:#fff;font:inherit;font-weight:800;box-shadow:0 10px 24px rgba(0,0,0,.05)}.checkout-grid{display:grid;grid-template-columns:1fr .88fr;gap:24px;align-items:start}.cart-box,.form-card,.track-card{background:#fff;border-radius:34px;padding:28px;box-shadow:var(--shadow);border:1px solid var(--line)}.cart-line{display:grid;grid-template-columns:52px 1fr auto auto;gap:13px;align-items:center;border-bottom:1px solid #eee;padding:13px 0}.cart-line img{width:52px;height:52px;border-radius:15px;object-fit:cover}.cart-line small{display:block;color:var(--muted);font-weight:750}.qty{display:flex;gap:8px;align-items:center}.qty button,.coupon-row button{border:0;border-radius:50%;background:#111;color:#fff;width:34px;height:34px;font-weight:1000;cursor:pointer}.coupon-row{display:flex;gap:10px;margin:14px 0}.coupon-row button{border-radius:18px;width:auto;padding:0 16px}.delivery-line,.mini-total{display:flex;justify-content:space-between;background:#fff6e7;border-radius:18px;padding:14px;margin:14px 0;font-weight:1000}.field{margin-bottom:16px}.field label{display:block;margin-bottom:8px;font-weight:1000}.field small{display:block;margin-top:8px;color:var(--muted);font-weight:750}.secure-box{background:#eaffe8;color:#087a3b;padding:15px;border-radius:18px;font-weight:1000}.status-timeline{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:22px 0}.status{background:#f1f1f1;border-radius:24px;padding:18px;text-align:center;font-weight:1000}.status.done{background:linear-gradient(135deg,#17c964,#b7ff61);color:#072e18}.footer{margin-top:80px;background:#101014;color:#fff;padding:54px 0 24px}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:28px}.footer img{height:86px;object-fit:contain}.footer a{display:block;color:#fff;text-decoration:none;margin:10px 0}.copy{border-top:1px solid rgba(255,255,255,.12);margin-top:30px;padding-top:20px;color:#aaa}.cart-drawer{position:fixed;right:18px;top:96px;width:min(405px,92vw);background:#fff;border-radius:30px;box-shadow:0 30px 90px rgba(0,0,0,.26);z-index:100;transform:translateX(120%);transition:.25s;padding:20px}.rtl .cart-drawer{right:auto;left:18px;transform:translateX(-120%)}.cart-drawer.show{transform:translateX(0)}.cart-drawer-head{display:flex;align-items:center;justify-content:space-between}.cart-drawer-head button,.modal-close{width:36px;height:36px;border:0;border-radius:50%;background:#111;color:#fff;font-size:20px}.modal{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:200;display:none;align-items:center;justify-content:center;padding:20px}.modal.show{display:flex}.modal-box{position:relative;background:#fff;border-radius:34px;box-shadow:0 30px 90px rgba(0,0,0,.35);width:min(920px,96vw);max-height:90vh;overflow:auto}.modal-close{position:absolute;right:18px;top:18px;z-index:2}.modal-content{display:grid;grid-template-columns:.9fr 1.1fr;gap:20px;padding:28px}.modal-content img{width:100%;border-radius:28px;background:#fff6e7}.option-group{margin:18px 0}.option-group label{display:flex;justify-content:space-between;gap:10px;background:#fff6e7;border:1px solid #ffe6bf;border-radius:16px;padding:13px;margin:8px 0;font-weight:850}.admin-layout{display:grid;grid-template-columns:270px 1fr;min-height:100vh;background:#f6f1e8}.sidebar{background:#111;color:#fff;padding:24px;position:sticky;top:0;height:100vh}.sidebar img{width:160px}.sidebar a{display:block;color:#fff;text-decoration:none;padding:13px 14px;border-radius:15px;margin:6px 0;font-weight:900}.sidebar a:hover,.sidebar a.active{background:linear-gradient(135deg,var(--primary),var(--primary2))}.admin-main{padding:28px}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.stat{background:#fff;border-radius:24px;padding:22px;box-shadow:0 8px 22px rgba(0,0,0,.07)}.stat strong{display:block;font-size:34px;color:var(--primary)}table{width:100%;border-collapse:collapse;background:#fff;border-radius:22px;overflow:hidden;box-shadow:0 8px 22px rgba(0,0,0,.07)}th,td{padding:14px;border-bottom:1px solid #eee;text-align:left}.rtl th,.rtl td{text-align:right}.admin-form{background:#fff;border-radius:24px;padding:22px;box-shadow:0 8px 22px rgba(0,0,0,.07);margin-bottom:20px}.admin-form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-14px)}}@media(max-width:1100px){.menu-grid{grid-template-columns:repeat(3,1fr)}.category-ribbon{grid-template-columns:repeat(4,1fr)}.promo-wall{grid-template-columns:1fr 1fr}}@media(max-width:860px){.hamb{display:inline-flex}.nav nav{display:none;position:absolute;left:4%;right:4%;top:82px;background:#fff;border-radius:24px;padding:12px;box-shadow:var(--shadow);flex-direction:column}.nav nav.show{display:flex}.brand span{display:none}.hero-grid,.pro-panels,.checkout-grid,.footer-grid,.menu-layout,.modal-content{grid-template-columns:1fr}.hero-showcase{min-height:420px}.menu-sidebar{position:relative;top:auto;display:grid;grid-template-columns:1fr 1fr}.menu-sidebar h3,.side-card{grid-column:1/-1}.menu-grid{grid-template-columns:1fr 1fr}.menu-toolbar{grid-template-columns:1fr}.stat-grid,.admin-form-grid{grid-template-columns:1fr 1fr}.admin-layout{grid-template-columns:1fr}.sidebar{position:relative;height:auto}.top-strip-in{display:block;text-align:center}.top-strip-in span{display:inline-block;margin:3px 8px}}@media(max-width:560px){.hero-copy h1{letter-spacing:-2px}.hero-actions .btn{width:100%}.category-ribbon,.menu-grid,.promo-wall,.status-timeline,.stat-grid,.admin-form-grid,.menu-sidebar{grid-template-columns:1fr}.cart-line{grid-template-columns:52px 1fr}.cart-line .qty,.cart-line .line-price{grid-column:2}.section{padding:56px 0}.main-food{width:115%}.deal-card,.brand-medal{display:none}}

/* V4 Visual Menu Pro */
.main-food{border-radius:42px;object-fit:cover;aspect-ratio:1.25/1;background:#fff}.food-img{position:relative}.food-img:after{content:'Photo menu';position:absolute;right:12px;bottom:12px;background:rgba(0,0,0,.68);color:#fff;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:1000;backdrop-filter:blur(8px)}.visual-note{background:#fff;border:1px dashed #ffc069;border-radius:22px;padding:14px 16px;color:#6e5960;font-weight:850;margin-top:14px}.admin-main img.menu-thumb{width:74px;height:54px;border-radius:14px;object-fit:cover}.menu-source-card{background:linear-gradient(135deg,#fff,#fff3df);border:1px solid #ffdfad;border-radius:30px;padding:24px;box-shadow:var(--shadow)}

.empty-state{grid-column:1/-1;background:#fff3d8;border:1px solid #ffd36b;border-radius:22px;padding:28px;color:#2b1600}.admin-alert{background:#fff3d8;border:1px solid #ffd36b;border-radius:14px;padding:14px;margin:12px 0}.admin-alert.error{background:#ffe8e8;border-color:#ff9b9b;color:#7a0000}

/* V5 Admin Theme Pro - palettes dynamiques */
body.theme-sunset{--primary:#ff4b00;--primary2:#ffb703;--ink:#101014;--bg:#fff8ef;--soft:#fff1dc;--accent:#17c964;--line:#ece6dd;}
body.theme-glovo{--primary:#f8c400;--primary2:#00a082;--ink:#101820;--bg:#fffbe6;--soft:#fff2a8;--accent:#00a082;--line:#eee39a;}
body.theme-dominos{--primary:#006491;--primary2:#e31837;--ink:#0b1f33;--bg:#eef8ff;--soft:#d7eeff;--accent:#e31837;--line:#bddbef;}
body.theme-fresh{--primary:#16a34a;--primary2:#facc15;--ink:#092015;--bg:#f3fff6;--soft:#dcfce7;--accent:#fb923c;--line:#c8f2d3;}
body.theme-royal{--primary:#7c3aed;--primary2:#f97316;--ink:#160b2f;--bg:#faf5ff;--soft:#f3e8ff;--accent:#22c55e;--line:#e9d5ff;}
body.theme-ocean{--primary:#0284c7;--primary2:#06b6d4;--ink:#071722;--bg:#f0faff;--soft:#dff7ff;--accent:#f97316;--line:#cdebf7;}
body.theme-choco{--primary:#7c2d12;--primary2:#f59e0b;--ink:#1c120b;--bg:#fff7ed;--soft:#ffedd5;--accent:#65a30d;--line:#fed7aa;}
body.theme-mono{--primary:#111827;--primary2:#6b7280;--ink:#0b0b0d;--bg:#f8fafc;--soft:#e5e7eb;--accent:#ef4444;--line:#d1d5db;}
.admin-toolbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:space-between;margin:12px 0 18px}.admin-tabs{display:flex;gap:8px;flex-wrap:wrap}.admin-tabs a{background:#fff;border:1px solid var(--line);border-radius:999px;padding:10px 14px;text-decoration:none;color:var(--ink);font-weight:900}.admin-tabs a.active{background:linear-gradient(135deg,var(--primary),var(--primary2));color:#fff}.admin-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:22px;box-shadow:0 8px 22px rgba(0,0,0,.07);margin-bottom:20px}.admin-card h2{margin-top:0}.actions{display:flex;gap:7px;flex-wrap:wrap}.btn-sm{padding:9px 12px;font-size:13px}.btn-danger{background:#fee2e2;color:#991b1b}.btn-success{background:#dcfce7;color:#166534}.btn-warning{background:#fef3c7;color:#92400e}.admin-table-wrap{overflow:auto;border-radius:22px}.theme-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.theme-card{border:2px solid transparent;background:#fff;border-radius:22px;padding:15px;box-shadow:0 8px 22px rgba(0,0,0,.07);cursor:pointer}.theme-card.active{border-color:var(--primary)}.theme-swatches{display:flex;height:52px;border-radius:16px;overflow:hidden;margin-bottom:10px}.theme-swatches span{flex:1}.theme-card b{display:block}.theme-card small{color:var(--muted);font-weight:800}.preview-panel{border-radius:28px;padding:24px;background:linear-gradient(135deg,var(--primary),var(--primary2));color:#fff;box-shadow:var(--shadow);margin-top:16px}.preview-panel b{font-size:28px;display:block}.mini-form{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;align-items:end}.mini-form .field{margin-bottom:0}.admin-badge{display:inline-flex;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:1000}.admin-badge.on{background:#dcfce7;color:#166534}.admin-badge.off{background:#fee2e2;color:#991b1b}.admin-badge.info{background:#dbeafe;color:#1e40af}.image-preview{width:92px;height:66px;border-radius:16px;object-fit:cover;border:1px solid var(--line);background:#fff}.admin-login-bg{background:linear-gradient(135deg,var(--primary),var(--primary2));min-height:100vh}.field.inline-check label{display:flex;gap:8px;align-items:center;margin:0}.crud-header{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}.muted{color:var(--muted)}
@media(max-width:980px){.theme-grid{grid-template-columns:repeat(2,1fr)}.mini-form{grid-template-columns:1fr 1fr}}@media(max-width:560px){.theme-grid,.mini-form{grid-template-columns:1fr}.actions{display:grid}.actions .btn{width:100%}}

/* V7 Ultra Pro */
.v6-hero .eyebrow{background:linear-gradient(135deg,var(--primary),var(--primary2));color:#fff}.v6-promos article{background-size:cover!important;background-position:center!important;position:relative;overflow:hidden}.v6-promos article p{color:#fff;line-height:1.35;font-weight:800}.v6-promos .promo-dark{background-color:#111!important}.v6-promos .promo-green{background-color:#16a34a!important}.v6-features{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.v6-features span{background:var(--soft);border:1px solid var(--line);border-radius:18px;padding:16px;font-weight:1000}.ticket{background:#fffdf7;border:1px dashed #111;padding:24px;max-width:720px;border-radius:10px}.ticket h3{text-align:center;text-transform:uppercase;letter-spacing:2px}.ticket table{box-shadow:none;border-radius:0}.ticket-view{background:#fff}.sidebar p{font-weight:900;color:#ddd}.admin-main input[type=file]{display:block;margin-top:8px;width:100%;font-weight:800}.admin-main textarea{min-height:82px}.admin-main select{border:1px solid var(--line);border-radius:12px;padding:10px;background:#fff;font-weight:900}.admin-main table input[type=time]{border:1px solid var(--line);border-radius:12px;padding:10px;font-weight:900}.admin-main h1{letter-spacing:-1px}.promo-orange{background:linear-gradient(135deg,var(--primary),var(--primary2))!important}.promo-gradient{background:linear-gradient(135deg,var(--primary),var(--primary2))!important}.promo-dark{background:linear-gradient(135deg,#111,#3a3a4c)!important}.promo-green{background:linear-gradient(135deg,#17c964,#b7ff61)!important;color:#111!important}.promo-green p{color:#111!important}@media print{.sidebar,.admin-toolbar,.actions,.btn,.admin-alert{display:none!important}.admin-layout{display:block}.admin-main{padding:0}.admin-card{box-shadow:none;border:0}.ticket{border:0;max-width:100%;font-size:14px}body{background:#fff;color:#000}}@media(max-width:900px){.v6-features{grid-template-columns:1fr 1fr}}@media(max-width:560px){.v6-features{grid-template-columns:1fr}}

/* V7 Ultra Pro */
.kitchen-screen,.driver-screen{background:#120d0a;color:#fff;min-height:100vh}.kitchen-top{position:sticky;top:0;z-index:5;display:flex;justify-content:space-between;align-items:center;padding:18px 24px;background:rgba(0,0,0,.76);backdrop-filter:blur(18px);border-bottom:1px solid rgba(255,255,255,.12)}.kitchen-top strong{font-size:28px}.kitchen-top span{margin-left:12px;background:linear-gradient(135deg,var(--primary),var(--primary2));padding:8px 12px;border-radius:999px;font-weight:1000}.kitchen-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding:24px}.kitchen-card{background:#fff;color:#141414;border-radius:28px;padding:22px;box-shadow:0 18px 40px rgba(0,0,0,.35);border:4px solid transparent}.kitchen-card.status-received{border-color:var(--primary2)}.kitchen-card.status-preparing{border-color:var(--primary)}.kitchen-card-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.kitchen-card-head b{font-size:26px}.kitchen-card-head span{text-transform:uppercase;background:#111;color:#fff;border-radius:999px;padding:8px 12px;font-weight:1000}.kitchen-card ul{font-size:18px;line-height:1.65;padding-left:20px}.kitchen-card small{display:block;color:#777}.new-order-flash{animation:newFlash .9s linear infinite}.driver-list{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding:24px}.driver-card{background:#fff;color:#111;border-radius:28px;padding:22px;box-shadow:0 18px 40px rgba(0,0,0,.35)}.driver-card h2{margin-top:0}.driver-card small{float:right;color:var(--primary)}.otp-row{display:grid;grid-template-columns:1fr auto;gap:10px}.otp-row input{font-size:22px;text-align:center;letter-spacing:8px;border:2px solid var(--line);border-radius:16px;padding:12px}.bar-row{display:grid;grid-template-columns:120px 1fr 120px;gap:12px;align-items:center;margin:12px 0;font-weight:900}.bar-row div{height:18px;background:var(--soft);border-radius:999px;overflow:hidden}.bar-row i{display:block;height:100%;background:linear-gradient(135deg,var(--primary),var(--primary2));border-radius:999px}.install-screen{min-height:100vh;background:linear-gradient(135deg,var(--primary),var(--primary2));display:grid;place-items:center;padding:24px}.install-card{background:#fff;border-radius:34px;box-shadow:0 30px 90px rgba(0,0,0,.28);padding:34px;width:min(860px,96vw)}.install-card img{width:180px}.check-line{display:flex;justify-content:space-between;gap:18px;padding:14px 0;border-bottom:1px solid var(--line)}.check-line.ok b{color:#15803d}.check-line.bad b{color:#b91c1c}.admin-main .stat span{color:var(--muted);font-weight:900}@keyframes newFlash{0%,100%{filter:none}50%{filter:brightness(1.35)}}@media(max-width:1100px){.kitchen-grid,.driver-list{grid-template-columns:1fr 1fr}}@media(max-width:680px){.kitchen-grid,.driver-list{grid-template-columns:1fr;padding:12px}.kitchen-top strong{font-size:20px}.bar-row{grid-template-columns:1fr}.otp-row{grid-template-columns:1fr}}

/* V8.3 Product addons picker */
.addon-picker{grid-column:1/-1}.addon-check-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;margin-top:8px}.addon-check-grid label{display:flex;align-items:center;gap:8px;justify-content:space-between;border:1px solid rgba(15,23,42,.12);border-radius:14px;padding:10px 12px;background:#fff}.addon-check-grid input{width:auto}.addon-check-grid b{font-size:.85rem;color:var(--primary)}

/* V8.4 customer account + social login */
.account-chip{display:inline-flex;align-items:center;gap:6px;padding:10px 14px;border-radius:999px;background:rgba(255,255,255,.9);border:1px solid rgba(0,0,0,.08);font-weight:800;color:var(--dark);text-decoration:none;box-shadow:0 8px 20px rgba(0,0,0,.06)}
.account-chip:hover{transform:translateY(-1px)}
.auth-grid .form-card{min-height:420px}.social-login{display:grid;gap:10px;margin-top:18px}.social-btn{display:flex;justify-content:center;align-items:center;padding:13px;border-radius:16px;font-weight:900;text-decoration:none;border:1px solid rgba(0,0,0,.08);box-shadow:0 10px 22px rgba(0,0,0,.08)}.social-btn.google{background:#fff;color:#222}.social-btn.apple{background:#111;color:#fff}.social-btn.facebook{background:#1877f2;color:#fff}.alert{border-radius:16px;padding:12px 14px;margin:12px 0;font-weight:800}.alert.error{background:#ffe6e6;color:#9b1111}.alert.info{background:#eaf3ff;color:#15518c}
.alert.warning{background:#fff7d6;border:1px solid #ffd56a;color:#6f4300}.capacity-alert p{margin:8px 0 12px}.inline-check{display:flex;gap:8px;align-items:center;font-weight:900}
@media(max-width:700px){.account-chip{padding:8px 10px;font-size:13px}.nav-actions{gap:6px}}

/* V8.6 optimisation affichage produits */
.food-card{min-width:0}.food-body{min-height:365px}.menu-layout .menu-grid{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.food-card h3{line-height:1.35}.rating:empty,.custom-row:empty{display:none}@media(max-width:1050px){.menu-layout{grid-template-columns:1fr}.menu-sidebar{position:relative;top:auto}.menu-layout .menu-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}}@media(max-width:640px){.menu-grid,.menu-layout .menu-grid{grid-template-columns:1fr}.food-body{min-height:auto}.food-img{height:230px}}

/* V8.7 Checkout & Production Polish */
.checkout-pro-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.75fr);gap:28px;align-items:start}.checkout-pro-card{position:relative;overflow:hidden}.checkout-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0 22px}.checkout-steps span{background:var(--soft);border:1px solid var(--line);border-radius:16px;padding:12px;text-align:center;font-weight:1000;color:var(--muted)}.checkout-steps span.active{background:linear-gradient(135deg,var(--primary),var(--primary2));color:#fff;border-color:transparent}.checkout-summary-sticky{position:sticky;top:104px}.summary-row,.summary-total{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:13px 0;font-weight:950}.summary-total{border-bottom:0;background:linear-gradient(135deg,var(--primary),var(--primary2));color:#fff;border-radius:22px;padding:18px;margin-top:12px;font-size:22px}.checkout-hero{background:radial-gradient(circle at 15% 0,rgba(255,255,255,.12),transparent 28%),linear-gradient(135deg,var(--ink),#2a2032)}.invoice-page{background:#f6f6f6;min-height:100vh;padding:30px}.invoice-card{background:#fff;max-width:820px;margin:0 auto;border-radius:26px;padding:34px;box-shadow:0 18px 50px rgba(0,0,0,.12);color:#111}.invoice-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;border-bottom:2px solid #111;padding-bottom:18px;margin-bottom:20px}.invoice-head img{max-width:170px}.invoice-meta{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:18px 0}.invoice-meta div{background:#f7f7f7;border-radius:14px;padding:12px;font-weight:800}.invoice-total{display:flex;justify-content:space-between;font-size:26px;font-weight:1000;border-top:2px solid #111;margin-top:18px;padding-top:16px}.print-actions{max-width:820px;margin:0 auto 14px;display:flex;gap:10px;justify-content:flex-end}.print-actions .btn{border-radius:14px}@media(max-width:900px){.checkout-pro-grid{grid-template-columns:1fr}.checkout-summary-sticky{position:relative;top:auto}.checkout-steps{grid-template-columns:1fr}.invoice-meta{grid-template-columns:1fr}}@media print{.print-actions,.header,.top-strip,.footer{display:none!important}.invoice-page{padding:0;background:#fff}.invoice-card{box-shadow:none;border-radius:0;max-width:100%;padding:0}}

/* V8.8 - correction présentation menu */
.menu-layout .menu-grid{grid-template-columns:repeat(auto-fit,minmax(330px,1fr));align-items:stretch}
.food-card{height:auto;min-height:0;display:flex;flex-direction:column;overflow:hidden;border-radius:30px}
.food-img{height:260px;flex:0 0 260px}
.food-img img{max-width:84%;max-height:230px;object-fit:contain}
.food-body{padding:18px 20px 20px;min-height:0;gap:10px}
.food-card h3{display:block;margin:0;font-size:22px;line-height:1.22;min-height:auto;color:var(--ink)}
.food-card .desc{display:block;min-height:48px;margin:0;color:var(--muted);line-height:1.5;font-weight:650}
.ingredients-text{max-height:74px;overflow:hidden}
.food-card .custom-row{margin:4px 0 8px;align-self:flex-start;max-width:100%}
.food-card .price-row{margin-top:auto;padding-top:6px}
.food-card .price{font-size:25px;line-height:1.1}
@media(max-width:1220px){.menu-layout .menu-grid{grid-template-columns:repeat(auto-fit,minmax(290px,1fr))}.food-img{height:235px;flex-basis:235px}.food-img img{max-height:210px}}
@media(max-width:700px){.menu-layout .menu-grid{grid-template-columns:1fr}.food-img{height:220px;flex-basis:220px}.food-body{padding:16px}.food-card .desc{min-height:auto}}


/* V8.9 - corrections présentation menu, résumé et localisation */
.menu-layout .menu-grid{grid-template-columns:repeat(auto-fill,minmax(255px,1fr));gap:22px;align-items:stretch}
.featured-grid.menu-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}
.food-card{min-height:0;border-radius:28px;display:flex;flex-direction:column;background:#fff}
.food-img{height:190px;flex:0 0 190px;background:linear-gradient(135deg,#fff0dc,#fff7ec)}
.food-img img{width:100%;height:100%;max-width:88%;max-height:170px;object-fit:contain;margin:auto;display:block}
.food-body{padding:17px 18px 18px;min-height:210px;display:flex;flex-direction:column;gap:8px}
.food-card h3{display:block!important;color:var(--ink)!important;font-size:20px;line-height:1.25;margin:0 0 2px!important;min-height:50px;overflow:hidden}
.food-card .desc{display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:44px!important;max-height:44px;margin:0!important;color:var(--muted)!important;font-size:14.5px;line-height:1.5;font-weight:650}
.food-card .custom-row{font-size:12.5px;padding:8px 10px;margin:2px 0 8px;display:inline-flex;align-self:flex-start}
.food-card .price-row{margin-top:auto}.food-card .price{font-size:23px}.food-card .rating{min-height:16px;margin:0;font-size:12px}
.cart-drawer .cart-line{grid-template-columns:52px minmax(0,1fr) auto auto}.cart-drawer .cart-line b,.checkout-summary-sticky .cart-line b{word-break:normal}.cart-drawer .cart-line small,.checkout-summary-sticky .cart-line small{line-height:1.35}.checkout-summary-sticky .cart-line{grid-template-columns:48px minmax(0,1fr) auto}.checkout-summary-sticky .line-price{grid-column:2/-1;text-align:right}.checkout-summary-sticky .qty{grid-column:3;grid-row:1/3}.geo-box{background:#fff8ea;border:1px solid #ffe0aa;border-radius:18px;padding:14px;margin:12px 0}.geo-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}.geo-status{font-size:13px;color:var(--muted);font-weight:800;margin-top:8px}.map-link{display:none}
.footer .map-link-footer{display:inline-flex;margin-top:8px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:999px;padding:9px 12px;color:#fff;text-decoration:none;font-weight:900}
@media(max-width:1220px){.menu-layout .menu-grid{grid-template-columns:repeat(auto-fill,minmax(245px,1fr))}.food-img{height:180px;flex-basis:180px}.food-img img{max-height:160px}.food-body{min-height:205px}}
@media(max-width:700px){.menu-layout .menu-grid,.featured-grid.menu-grid{grid-template-columns:1fr}.food-img{height:210px;flex-basis:210px}.food-img img{max-height:190px}.food-body{min-height:auto}.food-card h3{min-height:auto}.food-card .desc{min-height:auto!important;max-height:none}.checkout-summary-sticky .cart-line{grid-template-columns:48px 1fr}.checkout-summary-sticky .qty,.checkout-summary-sticky .line-price{grid-column:2;grid-row:auto}}


/* V9 - admin sidebar polish + interactive homepage */
.admin-layout{align-items:start;grid-template-columns:280px minmax(0,1fr)}
.sidebar{height:100vh;max-height:100vh;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;padding:18px 16px;box-sizing:border-box}
.sidebar img{max-width:150px;margin-bottom:8px}.sidebar p{margin:4px 8px 14px}.sidebar a{font-size:14px;line-height:1.2;padding:11px 12px;margin:4px 0;white-space:normal;display:flex;align-items:center;gap:8px}.admin-main{min-width:0}.admin-card,.admin-table-wrap{max-width:100%;overflow-x:auto}.sidebar::-webkit-scrollbar{width:7px}.sidebar::-webkit-scrollbar-thumb{background:rgba(255,255,255,.25);border-radius:20px}
.home-slider{position:relative;overflow:hidden}.home-slider-track{position:relative}.home-slide{display:none;animation:slideFade .45s ease;position:relative}.home-slide.active{display:block}.slider-nav{position:absolute;top:45%;z-index:5;width:46px;height:46px;border:0;border-radius:50%;background:#111;color:#fff;font-size:34px;line-height:1;cursor:pointer;box-shadow:0 12px 30px rgba(0,0,0,.2)}.slider-nav.prev{left:22px}.slider-nav.next{right:22px}.slider-dots{position:absolute;left:0;right:0;bottom:88px;display:flex;gap:8px;justify-content:center;z-index:6}.slider-dots button{width:12px;height:12px;border-radius:20px;border:0;background:rgba(0,0,0,.24);cursor:pointer}.slider-dots button.active{width:34px;background:linear-gradient(135deg,var(--primary),var(--primary2))}.promo-wall a.promo-card{display:flex;color:inherit;text-decoration:none;min-height:210px;transition:.22s transform,.22s box-shadow}.promo-wall a.promo-card:hover{transform:translateY(-6px);box-shadow:0 24px 50px rgba(0,0,0,.18)}.promo-wall a.promo-card:after{content:'→';position:absolute;right:18px;top:18px;background:#fff;color:#111;border-radius:50%;width:34px;height:34px;display:grid;place-items:center;font-weight:1000}@keyframes slideFade{from{opacity:.25;transform:translateX(24px)}to{opacity:1;transform:translateX(0)}}
@media(max-width:860px){.admin-layout{grid-template-columns:1fr}.sidebar{position:relative;height:auto;max-height:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.sidebar img,.sidebar p{grid-column:1/-1}.sidebar a{margin:0}.slider-nav{top:38%;width:40px;height:40px;font-size:28px}.slider-dots{bottom:70px}}
@media(max-width:520px){.sidebar{grid-template-columns:1fr}.slider-nav{display:none}.slider-dots{bottom:55px}.promo-wall a.promo-card{min-height:180px}}

/* V9.1 - correction slider cliquable et présentation offres */
.home-slide{position:relative;}
.home-slide .hero-grid{position:relative;z-index:2;}
.slide-click-zone{position:absolute;inset:0;z-index:2;text-decoration:none;cursor:pointer;}
.home-slide .btn,.home-slide button,.home-slide a:not(.slide-click-zone){position:relative;z-index:5;} .hero-copy,.hero-showcase{position:relative;z-index:4;}
.promo-wall-modern{grid-template-columns:1.25fr repeat(3,minmax(220px,1fr));align-items:stretch;}
.promo-wall-modern .promo-intro{display:flex;flex-direction:column;justify-content:center;padding-right:18px;}
.promo-wall-modern a.promo-card{position:relative;display:flex;flex-direction:column;overflow:hidden;min-height:320px;border-radius:34px;background:#fff;color:var(--ink);box-shadow:var(--shadow);border:1px solid rgba(0,0,0,.06);text-decoration:none;padding:0;isolation:isolate;}
.promo-wall-modern a.promo-card:hover{transform:translateY(-7px);box-shadow:0 28px 60px rgba(0,0,0,.20);}
.promo-wall-modern a.promo-card:after{content:'→';position:absolute;right:18px;top:18px;background:#fff;color:#111;border-radius:50%;width:38px;height:38px;display:grid;place-items:center;font-weight:1000;box-shadow:0 8px 22px rgba(0,0,0,.12);z-index:3;}
.promo-card .promo-img{height:185px;background:linear-gradient(135deg,var(--primary2),var(--primary));display:grid;place-items:center;overflow:hidden;}
.promo-card .promo-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .28s ease;}
.promo-card:hover .promo-img img{transform:scale(1.06);}
.promo-card .promo-info{padding:20px 22px 22px;display:flex;flex-direction:column;gap:8px;min-height:135px;background:linear-gradient(180deg,#fff,#fff8ef);}
.promo-card .promo-info b{font-size:clamp(22px,2.1vw,30px);line-height:1.04;letter-spacing:-.8px;color:var(--ink);}
.promo-card .promo-info p{font-size:15px;line-height:1.45;margin:0;color:var(--muted);max-width:100%;}
.promo-card .promo-info span{font-size:24px;line-height:1.05;color:var(--primary);font-weight:1000;margin-top:auto;}
.promo-card.promo-dark .promo-info,.promo-card.promo-gradient .promo-info{background:linear-gradient(135deg,#111,#2d2d3a);}
.promo-card.promo-dark .promo-info b,.promo-card.promo-gradient .promo-info b,
.promo-card.promo-dark .promo-info p,.promo-card.promo-gradient .promo-info p{color:#fff;}
.promo-card.promo-green .promo-img{background:linear-gradient(135deg,#17c964,#b7ff61);}
.promo-card.promo-orange .promo-img{background:linear-gradient(135deg,#ffb703,#ff4b00);}
@media(max-width:1100px){.promo-wall-modern{grid-template-columns:1fr 1fr}.promo-wall-modern .promo-intro{grid-column:1/-1}}
@media(max-width:620px){.promo-wall-modern{grid-template-columns:1fr}.promo-wall-modern a.promo-card{min-height:280px}.promo-card .promo-img{height:170px}}

/* V9.4 - slider cliquable proprement */
.home-slide{cursor:pointer;}
.slide-click-zone{pointer-events:none!important;}
.home-slide .btn,.home-slide button,.home-slide a:not(.slide-click-zone){pointer-events:auto;}

/* V9.4 - statistiques par période */
.period-filter .admin-form-grid{align-items:end}.bar-row{display:grid;grid-template-columns:150px 1fr 130px 70px;gap:12px;align-items:center;margin:10px 0}.bar-row div{height:16px;background:#f1eadb;border-radius:99px;overflow:hidden}.bar-row i{display:block;height:100%;border-radius:99px;background:linear-gradient(135deg,var(--primary),var(--primary2))}.admin-two-cols{display:grid;grid-template-columns:1fr 1fr;gap:18px}@media(max-width:900px){.bar-row{grid-template-columns:1fr}.admin-two-cols{grid-template-columns:1fr}}

/* V9.5 Mobile & Performance Pro */
:root{scroll-behavior:smooth}
img{max-width:100%}.brand img,.sidebar img,.footer img{object-fit:contain}.logo-preview{max-height:120px;max-width:220px;background:#fff;border-radius:16px;padding:10px}
.food-card,.panel,.cart-box,.form-card,.track-card,.promo-card{content-visibility:auto;contain-intrinsic-size:320px 420px}
.menu-layout .menu-grid{grid-template-columns:repeat(auto-fill,minmax(285px,1fr))}.food-card{height:auto}.food-body{min-height:225px}.food-card h3{min-height:0}.food-card .desc{min-height:48px!important}
@media(max-width:980px){
 .top-strip{display:none}.nav{height:auto;min-height:70px;padding:10px 0;flex-wrap:wrap}.brand{min-width:0;flex:1}.brand img{height:52px}.brand b{font-size:17px}.brand small{font-size:12px}.hamb{display:inline-flex}.nav nav{display:none;order:5;width:100%;flex-direction:column;align-items:stretch;background:#fff;border-radius:24px;padding:10px;box-shadow:var(--shadow)}.nav nav.show{display:flex}.nav nav a{text-align:center}.nav-actions{gap:7px}.account-chip{max-width:120px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .hero-v3{padding:32px 0 24px;border-radius:0 0 34px 34px}.hero-grid{grid-template-columns:1fr;gap:16px}.hero-copy h1{font-size:clamp(38px,12vw,64px);letter-spacing:-2px}.hero-copy p{font-size:16px}.hero-showcase{min-height:340px}.main-food{width:min(460px,92vw)}.glow{width:300px;height:300px}.deal-card{padding:12px 15px;min-width:112px}.deal-card b{font-size:23px}.deal-1{left:8px;top:20px}.deal-2{right:8px;bottom:52px}.brand-medal{width:78px;height:78px;left:18px;bottom:34px}.brand-medal img{width:62px;height:62px}.category-ribbon{grid-template-columns:repeat(3,1fr);gap:10px}.category-ribbon a{border-radius:22px;padding:12px 6px}.category-ribbon span{font-size:26px}
 .section{padding:48px 0}.section-head{display:block}.section-head h2,.promo-wall h2,.big-panel h2{font-size:38px;letter-spacing:-1px}.pro-panels,.checkout-grid{grid-template-columns:1fr}.promo-wall-modern{grid-template-columns:1fr 1fr}.menu-layout{grid-template-columns:1fr}.menu-sidebar{position:relative;top:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-radius:26px;padding:14px}.menu-sidebar h3{grid-column:1/-1}.menu-sidebar .side-card{display:none}.tab{padding:12px 10px;text-align:center}.menu-toolbar{grid-template-columns:1fr}.cart-drawer{width:min(94vw,420px)}
 .admin-layout{grid-template-columns:1fr}.admin-main{padding:18px}.sidebar{position:relative;height:auto;max-height:none;border-radius:0 0 24px 24px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.sidebar img,.sidebar p{grid-column:1/-1}.sidebar a{margin:0;justify-content:flex-start}.admin-form-grid,.mini-form{grid-template-columns:1fr!important}.admin-card{padding:18px}.admin-card table{min-width:760px}
}
@media(max-width:620px){
 .container{width:min(100% - 24px,1220px)}.nav-actions{width:100%;justify-content:space-between}.brand span{display:none}.cart-btn,.lang,.hamb,.account-chip{padding:10px 12px}.hero-actions{flex-direction:column}.hero-actions .btn{width:100%}.trust-row{display:grid;grid-template-columns:1fr 1fr}.category-ribbon{grid-template-columns:repeat(2,1fr)}.menu-sidebar{grid-template-columns:1fr 1fr}.menu-layout .menu-grid,.featured-grid.menu-grid{grid-template-columns:1fr;gap:18px}.food-img{height:205px;flex-basis:205px}.food-body{min-height:auto;padding:16px}.food-card .desc{min-height:auto!important;max-height:none}.price-row{gap:10px}.add-cart{width:46px;height:46px}.promo-wall-modern{grid-template-columns:1fr}.promo-card .promo-img{height:160px}.footer-grid{grid-template-columns:1fr}.cart-line{grid-template-columns:48px 1fr auto}.cart-line .qty{grid-column:2 / -1}.modal-box{width:94vw;max-height:90vh;overflow:auto;border-radius:24px}.modal-content{grid-template-columns:1fr!important}.slider-nav{display:none}.sidebar{grid-template-columns:1fr}.logo-settings-box .admin-form-grid{grid-template-columns:1fr!important}
}


/* V9.9 - footer paramétrable */
.footer-grid-pro{align-items:flex-start}.footer-brand-block h3{margin:12px 0 8px;font-size:24px}.footer-socials{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.footer-socials a{display:inline-flex!important;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:999px;padding:9px 13px;font-weight:900}.footer-copy-param{white-space:normal}.field-wide{grid-column:1/-1}.switch-line{display:flex;align-items:center;gap:10px;background:#fff7eb;border:1px solid var(--line);border-radius:18px;padding:14px;font-weight:900}.switch-line input[type=checkbox]{width:20px;height:20px}.footer-switch-card{box-shadow:none;border:1px solid var(--line);margin:18px 0 22px}

/* V10 - Quick management buttons */
.quick-actions-card{padding:30px!important;overflow:hidden}.quick-actions-card h2{display:flex;align-items:center;gap:10px;margin-bottom:22px}.quick-actions-grid{display:grid;grid-template-columns:repeat(6,minmax(155px,1fr));gap:16px}.quick-action{min-height:82px;border-radius:18px;padding:16px 18px;color:#fff!important;text-decoration:none!important;display:flex;align-items:center;gap:15px;box-shadow:0 18px 35px rgba(0,0,0,.14);transition:.22s ease;position:relative;overflow:hidden}.quick-action:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(255,255,255,.18),transparent 55%);pointer-events:none}.quick-action:hover{transform:translateY(-5px);filter:saturate(1.08)}.quick-action .qa-icon{width:44px;height:44px;border-radius:14px;background:rgba(255,255,255,.22);display:grid;place-items:center;font-size:23px;font-weight:1000;flex:0 0 44px}.quick-action b{display:block;font-size:16px;line-height:1.1}.quick-action small{display:block;color:rgba(255,255,255,.9);font-size:13px;margin-top:4px}.quick-action.purple{background:linear-gradient(135deg,#6d39e9,#8b42df)}.quick-action.pink{background:linear-gradient(135deg,#ef3f74,#d92f69)}.quick-action.green{background:linear-gradient(135deg,#16a34a,#0f8a3d)}.quick-action.blue{background:linear-gradient(135deg,#356fd5,#1d56ad)}.quick-action.amber{background:linear-gradient(135deg,#f5b400,#ed8a00)}.quick-action.violet{background:linear-gradient(135deg,#7c3aed,#6d28d9)}@media(max-width:1200px){.quick-actions-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:760px){.quick-actions-grid{grid-template-columns:1fr}.quick-action{min-height:74px}.quick-action b{font-size:15px}}

/* V10.1 - espace client */
.auth-help{margin-top:12px;text-align:center;font-weight:800}.auth-help a{color:var(--primary);text-decoration:none}.narrow{max-width:680px}.customer-dashboard{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.customer-stat-card{background:linear-gradient(135deg,rgba(255,255,255,.98),rgba(255,246,233,.95));border:1px solid rgba(0,0,0,.06);border-radius:24px;padding:22px;box-shadow:0 18px 45px rgba(0,0,0,.08)}.customer-stat-card span{display:block;color:#7a4a20;font-weight:900;margin-bottom:8px}.customer-stat-card b{font-size:32px;color:#151515}.customer-stat-card small{display:block;color:#777;margin-top:6px}.account-grid{display:grid;grid-template-columns:360px 1fr;gap:22px}.customer-order-card{border:1px solid rgba(0,0,0,.08);border-radius:20px;padding:16px;margin:12px 0;background:#fff}.customer-order-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.customer-order-head a{color:#111;text-decoration:none}.customer-order-head small{display:block;color:#777;margin-top:5px}.customer-order-items{list-style:none;padding:0;margin:12px 0 0}.customer-order-items li{display:flex;justify-content:space-between;border-top:1px dashed rgba(0,0,0,.08);padding:8px 0;color:#444}.pt-0{padding-top:0!important}.alert.info{background:#e8fff2;border:1px solid #b4f0cf;color:#105c33;padding:12px;border-radius:14px;margin-bottom:14px}.alert.error{background:#fff1f1;border:1px solid #ffc7c7;color:#9a1c1c;padding:12px;border-radius:14px;margin-bottom:14px}
.cart-drawer{max-height:calc(100vh - 118px);overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.cart-drawer .btn-full{position:sticky;bottom:0;z-index:2}
@media(max-width:560px){.cart-drawer{left:10px;right:10px;top:74px;width:auto;max-height:calc(100vh - 88px);padding:16px;border-radius:22px}.rtl .cart-drawer{left:10px;right:10px}.cart-drawer.show{transform:translateX(0)}}
@media(max-width:850px){.customer-dashboard,.account-grid{grid-template-columns:1fr}.customer-stat-card b{font-size:26px}.customer-order-head{flex-direction:column}.checkout-grid.auth-grid{grid-template-columns:1fr}}
.fav.active{background:#fff0f3;color:#e11d48}
.food-card .badge{box-shadow:0 8px 22px rgba(0,0,0,.16)}
.summary-row{display:flex;justify-content:space-between;border-bottom:1px solid #eee;padding:10px 0;font-weight:900}
.summary-total{display:flex;justify-content:space-between;align-items:center;margin-top:12px;padding:16px;border-radius:18px;background:#111;color:#fff;font-size:20px;font-weight:1000}
@media(max-width:560px){}
body.theme-rubanrouge{--primary:#d71920;--primary2:#111;--ink:#0b0b0f;--bg:#ffffff;--soft:#f7f7f8;--muted:#5f5f66;--accent:#d71920;--line:#e7e7eb;--shadow:0 22px 60px rgba(10,10,15,.13)}
.sidebar-group-title{margin:18px 0 8px;padding:0 14px;color:#bbb;font-size:12px;text-transform:uppercase;font-weight:1000;letter-spacing:.08em}
.required-star{color:#d71920;margin-left:4px;font-weight:1000}
.payment-choice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.payment-choice label{display:flex;align-items:center;justify-content:center;gap:8px;border:2px solid var(--line);background:#fff;border-radius:18px;padding:14px;font-weight:1000;cursor:pointer;min-height:68px}
.payment-choice label:has(input:checked){border-color:var(--primary);background:var(--soft);color:var(--primary)}
.payment-icon{display:inline-grid;place-items:center;min-width:54px;height:34px;border-radius:10px;color:#fff;font-weight:1000;font-size:13px;letter-spacing:.04em;box-shadow:0 8px 18px rgba(0,0,0,.12)}
.visa-icon{background:linear-gradient(135deg,#1434cb,#0b1f7a)}
.cash-icon{background:linear-gradient(135deg,#11823b,#17b65a)}
.modal-base-price{margin-bottom:8px}
.modal-qty{display:flex;align-items:center;gap:12px;margin:8px 0 12px}.modal-qty button{width:42px;height:42px;border:0;border-radius:50%;background:#111;color:#fff;font-size:22px;font-weight:1000}.modal-qty b{font-size:22px;min-width:34px;text-align:center}
.modal-total-row{display:flex;align-items:center;justify-content:space-between;background:var(--soft);border:1px solid var(--line);border-radius:18px;padding:13px 15px;margin:0 0 16px;font-weight:1000}.modal-total-row b{font-size:24px;color:var(--primary)}
.password-row{display:grid;grid-template-columns:1fr auto;gap:8px}.password-row .btn{border-radius:16px;padding:0 14px}
.driver-avatar,.driver-avatar-preview{width:44px;height:44px;border-radius:50%;object-fit:cover;background:#fff;border:2px solid var(--line);display:inline-grid;place-items:center;font-weight:1000;color:#111;vertical-align:middle}
.driver-avatar-preview{width:78px;height:78px;margin:6px 0;display:block}
.driver-choice-preview{display:inline-flex;align-items:center;gap:8px;min-width:58px}
.driver-choice-preview .driver-avatar{width:38px;height:38px}
.kitchen-top-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.sound-toggle-form{display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap}
.sound-toggle-form label{display:inline-flex;align-items:center;gap:8px;background:#fff;color:#111;border:1px solid var(--line);border-radius:999px;padding:10px 14px;font-weight:1000}
.btn-ghost{background:#fff;color:#111;border:1px solid rgba(255,255,255,.28)}
.store-closed-banner{background:#111;color:#fff;border-bottom:3px solid var(--primary);padding:12px 0;font-weight:1000}.store-closed-banner .container{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.store-closed-banner span{color:#ffd7d7}.store-closed-panel{border:2px solid var(--primary);background:#fff7f7}.store-closed .add-cart:disabled,.food-card.out-of-stock{filter:grayscale(.9);opacity:.58}.stock-alert-badge{position:absolute;right:16px;bottom:16px;z-index:2;background:#111;color:#fff;border-radius:999px;padding:8px 12px;font-weight:1000;font-size:12px}
.food-card.out-of-stock{filter:grayscale(1);opacity:.62}
.food-card.out-of-stock .add-cart{background:#999;cursor:not-allowed}
.stock-alert-badge{position:absolute;right:16px;bottom:16px;z-index:3;background:#111;color:#fff;border-radius:999px;padding:8px 12px;font-size:12px;font-weight:1000}
.field .field-error{display:none;color:#b91c1c;font-size:13px;font-weight:900;margin-top:7px}
.field .field-error:not(:empty){display:block}
.field.invalid input,.field.invalid textarea{border-color:#ef4444;background:#fff5f5}
.field.invalid .field-error{display:block}
button:disabled,.btn:disabled{opacity:.5;cursor:not-allowed;filter:grayscale(.4)}

/* V10.15 - système de thèmes global */
body{
 --surface:#ffffff;
 --surface2:var(--soft);
 --text:var(--ink);
 --text-soft:var(--muted);
 --brand-gradient:linear-gradient(135deg,var(--primary),var(--primary2));
 --danger:#dc2626;
 --success:#16a34a;
 --warning:#f59e0b;
 --info:#2563eb;
 background:
  radial-gradient(circle at 12% 0,color-mix(in srgb,var(--primary) 12%,transparent),transparent 28%),
  linear-gradient(180deg,var(--bg),color-mix(in srgb,var(--bg) 82%,#fff));
 color:var(--text);
}
body.theme-noirrouge{--primary:#e11d2e;--primary2:#111111;--ink:#141417;--bg:#f6f7f9;--soft:#fff1f2;--muted:#6b6266;--accent:#f59e0b;--line:#e5e7eb;--shadow:0 22px 60px rgba(20,20,24,.14)}
body.theme-emerald{--primary:#059669;--primary2:#064e3b;--ink:#08231c;--bg:#f2fbf7;--soft:#dcfce7;--muted:#527067;--accent:#f97316;--line:#c8eadb;--shadow:0 22px 60px rgba(6,78,59,.12)}
body.theme-midnight{--primary:#d4af37;--primary2:#111827;--ink:#111827;--bg:#f8f4e8;--soft:#fff7d6;--muted:#675f4a;--accent:#b91c1c;--line:#eadfbe;--shadow:0 22px 60px rgba(17,24,39,.16)}
body.theme-mediterranean{--primary:#0f4c81;--primary2:#ff6b4a;--ink:#102a43;--bg:#eef7fb;--soft:#e0f2fe;--muted:#526d7a;--accent:#10b981;--line:#cbe3ee;--shadow:0 22px 60px rgba(15,76,129,.13)}
.header,.cart-drawer,.modal-box,.food-card,.panel,.cart-box,.form-card,.track-card,.admin-card,.theme-card,.customer-stat-card,.customer-order-card,.menu-sidebar,.tab,.deal-card,.category-ribbon a,.promo-wall-modern a.promo-card,table,.field input,.field textarea,.field select,.menu-toolbar input,.menu-toolbar select,.coupon-row input{background:var(--surface)!important;color:var(--text);border-color:var(--line)!important}
.top-strip,.footer,.sidebar,.page-hero,.big-panel,.side-card,.cart-btn,.add-cart,.modal-close,.cart-drawer-head button,.slider-nav{background:linear-gradient(135deg,var(--ink),color-mix(in srgb,var(--primary) 34%,var(--ink)))!important;color:#fff!important}
.hero-v3{background:radial-gradient(circle at 12% 8%,color-mix(in srgb,var(--primary2) 30%,transparent),transparent 32%),radial-gradient(circle at 84% 14%,color-mix(in srgb,var(--primary) 22%,transparent),transparent 30%),linear-gradient(180deg,var(--bg),var(--soft))!important}
.btn-primary,.tab.active,.sidebar a:hover,.sidebar a.active,.admin-tabs a.active,.preview-panel,.summary-total,.status.done,.slider-dots button.active,.quick-action,.v6-hero .eyebrow{background:var(--brand-gradient)!important;color:#fff!important}
.btn-outline,.lang,.hamb,.account-chip,.payment-choice label,.switch-line{background:var(--surface)!important;color:var(--text)!important;border-color:var(--line)!important}
.btn-dark{background:var(--ink)!important;color:#fff!important}.btn-danger{background:color-mix(in srgb,var(--danger) 14%,#fff)!important;color:#991b1b!important}.btn-success{background:color-mix(in srgb,var(--success) 16%,#fff)!important;color:#166534!important}.btn-warning{background:color-mix(in srgb,var(--warning) 20%,#fff)!important;color:#92400e!important}
.brand,.nav nav a,.footer a,.auth-help a,.customer-order-head a{color:var(--text)}.footer a,.footer .copy{color:rgba(255,255,255,.86)!important}.brand small,.muted,.desc,.section-head p,.big-panel p,.promo-wall p,.field small,.customer-order-head small{color:var(--text-soft)!important}
.price,.promo-card .promo-info span,.stat strong,.modal-total-row b,.auth-help a{color:var(--primary)!important}.badge,.stock-alert-badge,.eyebrow,.section-label{background:var(--brand-gradient)!important;color:#fff!important}
.food-img,.custom-row,.delivery-line,.mini-total,.secure-box,.modal-total-row,.option-group label,.status,.empty-state,.admin-alert,.promo-card .promo-info{background:var(--surface2)!important;border-color:var(--line)!important;color:var(--text)!important}
.alert.info,.admin-badge.info{background:color-mix(in srgb,var(--info) 12%,#fff)!important;color:#1e40af!important;border-color:color-mix(in srgb,var(--info) 30%,#fff)!important}.alert.error,.admin-alert.error,.admin-badge.off{background:color-mix(in srgb,var(--danger) 12%,#fff)!important;color:#991b1b!important;border-color:color-mix(in srgb,var(--danger) 28%,#fff)!important}.admin-badge.on{background:color-mix(in srgb,var(--success) 14%,#fff)!important;color:#166534!important}
.promo-card .promo-img,.glow{background:var(--brand-gradient)!important}.modal{background:color-mix(in srgb,var(--ink) 68%,transparent)!important}.sidebar-group-title{color:color-mix(in srgb,#fff 72%,var(--primary))!important}
.admin-main,.admin-layout{background:linear-gradient(180deg,var(--bg),color-mix(in srgb,var(--bg) 70%,var(--soft)))!important}
.theme-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}.theme-card{transition:.18s transform,.18s border-color}.theme-card:hover{transform:translateY(-4px);border-color:var(--primary)}

/* V10.16 - palettes restaurant, typographies et admin pro */
body.theme-bistro{--primary:#b91c1c;--primary2:#f59e0b;--ink:#17120f;--bg:#fff7ed;--soft:#ffedd5;--muted:#725f54;--accent:#15803d;--line:#fed7aa;--shadow:0 22px 60px rgba(185,28,28,.12)}
body.theme-saffron{--primary:#d97706;--primary2:#15803d;--ink:#1f2937;--bg:#fff8e1;--soft:#fef3c7;--muted:#6b6048;--accent:#dc2626;--line:#fde68a;--shadow:0 22px 60px rgba(217,119,6,.13)}
body.theme-olive{--primary:#4d7c0f;--primary2:#eab308;--ink:#1a2e05;--bg:#f7fee7;--soft:#ecfccb;--muted:#596b3b;--accent:#b91c1c;--line:#d9f99d;--shadow:0 22px 60px rgba(77,124,15,.13)}
body.theme-smoke{--primary:#b45309;--primary2:#7f1d1d;--ink:#18181b;--bg:#fff7ed;--soft:#ffedd5;--muted:#6f625c;--accent:#16a34a;--line:#fed7aa;--shadow:0 22px 60px rgba(24,24,27,.16)}
body.theme-marina{--primary:#0369a1;--primary2:#14b8a6;--ink:#0f2537;--bg:#f0f9ff;--soft:#ccfbf1;--muted:#516b78;--accent:#fb7185;--line:#bae6fd;--shadow:0 22px 60px rgba(3,105,161,.13)}
body.theme-berry{--primary:#be123c;--primary2:#7c2d12;--ink:#3f1d1d;--bg:#fff1f2;--soft:#ffe4e6;--muted:#75545d;--accent:#f59e0b;--line:#fecdd3;--shadow:0 22px 60px rgba(190,18,60,.12)}
body.theme-copper{--primary:#b45309;--primary2:#292524;--ink:#1c1917;--bg:#fffbeb;--soft:#fef3c7;--muted:#6b5f4c;--accent:#dc2626;--line:#fde68a;--shadow:0 22px 60px rgba(180,83,9,.14)}
body.theme-mint{--primary:#0f766e;--primary2:#84cc16;--ink:#164e63;--bg:#ecfeff;--soft:#d9f99d;--muted:#4f6e70;--accent:#f97316;--line:#a5f3fc;--shadow:0 22px 60px rgba(15,118,110,.13)}
body.theme-charcoal{--primary:#ef4444;--primary2:#111827;--ink:#111827;--bg:#f9fafb;--soft:#fee2e2;--muted:#6b7280;--accent:#f59e0b;--line:#e5e7eb;--shadow:0 22px 60px rgba(17,24,39,.15)}
body.theme-rosewood{--primary:#9f1239;--primary2:#581c87;--ink:#2a1523;--bg:#fff1f2;--soft:#fde2e7;--muted:#715263;--accent:#fbbf24;--line:#fecdd3;--shadow:0 22px 60px rgba(159,18,57,.13)}
body.theme-chefwhite{--primary:#c1121f;--primary2:#111111;--ink:#111111;--bg:#ffffff;--soft:#f5f1ea;--muted:#5f5a55;--accent:#7c2d12;--line:#e8e0d6;--shadow:0 22px 60px rgba(17,17,17,.11)}
body.theme-carbone{--primary:#b91c1c;--primary2:#0f0f0f;--ink:#111111;--bg:#fffaf0;--soft:#f3eadb;--muted:#625852;--accent:#7c2d12;--line:#e8dccb;--shadow:0 22px 60px rgba(15,15,15,.16)}
body.theme-rougebrun{--primary:#991b1b;--primary2:#4a2511;--ink:#23130d;--bg:#fff7ed;--soft:#f3e2cf;--muted:#6d594c;--accent:#d97706;--line:#ead6c2;--shadow:0 22px 60px rgba(74,37,17,.14)}
body.theme-espresso{--primary:#3b2416;--primary2:#c47f2c;--ink:#20140e;--bg:#f8f4ef;--soft:#efe2d2;--muted:#6b5a4c;--accent:#b91c1c;--line:#e5d6c3;--shadow:0 22px 60px rgba(59,36,22,.14)}
body.theme-grillnoir{--primary:#dc2626;--primary2:#111827;--ink:#111827;--bg:#f8fafc;--soft:#eef2f7;--muted:#64748b;--accent:#b45309;--line:#d9e0ea;--shadow:0 22px 60px rgba(17,24,39,.15)}
body.theme-tomate{--primary:#d62828;--primary2:#2f855a;--ink:#182018;--bg:#ffffff;--soft:#f7f2e8;--muted:#5f655b;--accent:#7c2d12;--line:#e8ded0;--shadow:0 22px 60px rgba(214,40,40,.11)}
body.theme-cacao{--primary:#8b1e1e;--primary2:#4b2e1f;--ink:#241711;--bg:#fffaf0;--soft:#f1e4d7;--muted:#6d5a4c;--accent:#c08457;--line:#e8d8c8;--shadow:0 22px 60px rgba(75,46,31,.14)}
body.theme-urbanred{--primary:#c1121f;--primary2:#2b2d42;--ink:#171923;--bg:#ffffff;--soft:#f3f4f6;--muted:#5f6572;--accent:#7c2d12;--line:#e5e7eb;--shadow:0 22px 60px rgba(43,45,66,.13)}
body.theme-noisette{--primary:#7c4a21;--primary2:#171717;--ink:#171717;--bg:#fff8ef;--soft:#efe0cd;--muted:#66584b;--accent:#d6a25e;--line:#e6d6c3;--shadow:0 22px 60px rgba(124,74,33,.13)}
body.theme-blancbordeaux{--primary:#7f1d1d;--primary2:#3f2a1d;--ink:#211812;--bg:#ffffff;--soft:#f2e8dc;--muted:#66584d;--accent:#b45309;--line:#e3d5c7;--shadow:0 22px 60px rgba(127,29,29,.12)}
body{font-family:"Inter","Segoe UI",Roboto,Arial,sans-serif;letter-spacing:0}
body.rtl,html[dir="rtl"] body{font-family:"Noto Kufi Arabic","Noto Sans Arabic",Tahoma,Arial,sans-serif;letter-spacing:0}
h1,h2,h3,h4,.hero-copy h1,.page-hero h1,.section-head h2,.promo-wall h2,.big-panel h2,.food-card h3{letter-spacing:0!important;line-height:1.08}
.admin-layout{grid-template-columns:260px minmax(0,1fr)}
.admin-main{width:100%;max-width:1640px;margin:0 auto;padding:24px 28px}
.sidebar{padding:18px 14px;overflow:auto}.sidebar img{width:150px;max-height:78px;margin-bottom:8px}.sidebar p{margin:4px 10px 14px;color:rgba(255,255,255,.78);font-weight:800}.sidebar a{display:flex;align-items:center;min-height:40px;padding:10px 12px;border-radius:12px;font-size:14px;line-height:1.15}
.admin-card{border-radius:16px;padding:18px;margin-bottom:16px;box-shadow:0 12px 32px rgba(0,0,0,.07)}
.admin-card h2{font-size:22px;line-height:1.15;margin:0 0 12px}.admin-card h3{font-size:18px;margin:14px 0 10px}
.admin-form-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px 16px;align-items:start}
.field{margin-bottom:10px}.field label{font-size:13px;margin-bottom:7px;color:var(--text);font-weight:950}.field input,.field textarea,.field select,.menu-toolbar input,.menu-toolbar select,.coupon-row input{border-radius:12px;padding:12px 14px;font-size:14px;box-shadow:none}
.field textarea{min-height:68px;resize:vertical}.field-wide textarea{min-height:92px}
.settings-choice{grid-template-columns:repeat(2,minmax(120px,1fr));gap:10px}.settings-choice label{min-height:48px;border-radius:12px;padding:10px 12px;justify-content:flex-start}
.admin-table-wrap,table{border-radius:14px;box-shadow:0 10px 28px rgba(0,0,0,.06)}table{font-size:14px}th{position:sticky;top:0;background:color-mix(in srgb,var(--surface) 92%,var(--soft))!important;z-index:1;color:var(--text);font-size:12px;text-transform:uppercase;letter-spacing:.04em}th,td{padding:10px 12px;vertical-align:middle}tr:nth-child(even) td{background:color-mix(in srgb,var(--surface) 88%,var(--soft))}
.actions{gap:6px;align-items:center}.actions .btn,.btn-sm{border-radius:10px;padding:8px 10px;font-size:12px;min-height:34px}.btn{border-radius:12px}.btn-primary,.btn-outline,.btn-dark,.btn-warning,.btn-danger,.btn-success{min-height:40px}
.stat-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px}.stat{border-radius:16px;padding:18px}.stat strong{font-size:28px}
.theme-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}.theme-card{border-radius:16px;padding:14px}.theme-swatches{height:44px;border-radius:12px}
.top-strip-in,.nav{direction:ltr}.rtl .top-strip-in,.rtl .nav{direction:rtl}.rtl .nav nav a,.rtl .field label,.rtl th,.rtl td{text-align:right}
@media(max-width:980px){.admin-main{padding:16px}.sidebar{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.admin-card{padding:16px}th,td{padding:9px 10px}}

/* V10.17 - fonds plus sobres, moins roses, plus restaurant */
body{
 background:
  radial-gradient(circle at 10% 0,color-mix(in srgb,var(--primary2) 8%,transparent),transparent 24%),
  radial-gradient(circle at 92% 10%,color-mix(in srgb,var(--primary) 6%,transparent),transparent 28%),
  linear-gradient(180deg,var(--bg),color-mix(in srgb,var(--bg) 92%,#fff))!important;
}
.hero-v3{
 background:
  radial-gradient(circle at 12% 8%,color-mix(in srgb,var(--primary2) 10%,transparent),transparent 28%),
  radial-gradient(circle at 84% 14%,color-mix(in srgb,var(--primary) 8%,transparent),transparent 30%),
  linear-gradient(180deg,color-mix(in srgb,var(--bg) 96%,#fff),color-mix(in srgb,var(--soft) 52%,#fff))!important;
}
.glow{opacity:.14!important;filter:blur(18px)!important}
.top-strip-in span,.hero-actions .btn,.trust-row span,.cart-btn,.lang,.account-chip{white-space:nowrap}
.cart-btn{min-width:54px}.hamb{font-size:20px;line-height:1}

/* V10.18 - suppression totale des halos roses */
body,
body.theme-chefwhite,
body.theme-carbone,
body.theme-rougebrun,
body.theme-espresso,
body.theme-grillnoir,
body.theme-tomate,
body.theme-cacao,
body.theme-urbanred,
body.theme-noisette,
body.theme-blancbordeaux{
 background:var(--bg)!important;
}
.hero-v3,
.page-hero,
.admin-main,
.admin-layout{
 background:var(--bg)!important;
}
.glow{display:none!important}
.header{background:rgba(255,255,255,.94)!important}
.slider-nav{font-family:Arial,sans-serif!important}
.quick-action-form{margin:0}.quick-action-form .quick-action{width:100%;height:100%;border:0;text-align:left;font:inherit;cursor:pointer}

/* V10.19 - garde-fou couleurs/contraste sans dégradés parasites */
body{
 --surface:#ffffff;
 --surface2:#f7f3ee;
 --text:#141414;
 --text-soft:#5f5a55;
 --danger:#b91c1c;
 --success:#166534;
 --warning:#92400e;
 --info:#1d4ed8;
 background:var(--bg)!important;
 color:var(--text)!important;
}
.hero-v3,.admin-main,.admin-layout,.section{background:var(--bg)!important;color:var(--text)!important}
.page-hero,.checkout-hero,.big-panel,.footer,.sidebar,.top-strip{
 background:var(--ink)!important;
 color:#fff!important;
}
.page-hero h1,.page-hero h2,.page-hero p,.page-hero span:not(.section-label),
.checkout-hero h1,.checkout-hero p,.big-panel h2,.big-panel p,
.footer,.footer a,.sidebar,.sidebar a,.top-strip,.top-strip *{
 color:#fff!important;
}
.section-label.light,.page-hero .section-label{
 background:#fff!important;
 color:var(--ink)!important;
 border:1px solid var(--line)!important;
}
.header,.cart-drawer,.modal-box,.food-card,.panel,.cart-box,.form-card,.track-card,.admin-card,.theme-card,.customer-stat-card,.customer-order-card,.menu-sidebar,.tab,.deal-card,.category-ribbon a,.promo-wall-modern a.promo-card,table,.field input,.field textarea,.field select,.menu-toolbar input,.menu-toolbar select,.coupon-row input{
 background:var(--surface)!important;
 color:var(--text)!important;
 border-color:var(--line)!important;
}
.btn-primary,.tab.active,.admin-tabs a.active,.preview-panel,.summary-total,.status.done,.slider-dots button.active,.v6-hero .eyebrow,.badge,.stock-alert-badge{
 background:var(--primary)!important;
 color:#fff!important;
 box-shadow:none!important;
}
.quick-action{background:var(--ink)!important;color:#fff!important}
.quick-action.green{background:#166534!important}.quick-action.blue{background:#1d4ed8!important}.quick-action.amber{background:#92400e!important}.quick-action.pink{background:#991b1b!important}.quick-action.violet,.quick-action.purple{background:#4c1d95!important}
.btn-dark,.cart-btn,.add-cart,.modal-close,.cart-drawer-head button,.slider-nav{
 background:var(--ink)!important;
 color:#fff!important;
}
.btn-outline,.lang,.hamb,.account-chip,.payment-choice label,.switch-line,.trust-row span{
 background:#fff!important;
 color:var(--text)!important;
 border:1px solid var(--line)!important;
}
.btn-warning{background:#fef3c7!important;color:#78350f!important}.btn-danger{background:#fee2e2!important;color:#7f1d1d!important}.btn-success{background:#dcfce7!important;color:#14532d!important}
.muted,.desc,.field small,.customer-order-head small{color:var(--text-soft)!important}
.food-img,.custom-row,.delivery-line,.mini-total,.secure-box,.modal-total-row,.option-group label,.status,.empty-state,.admin-alert,.promo-card .promo-info,.geo-box{
 background:var(--surface2)!important;
 color:var(--text)!important;
 border-color:var(--line)!important;
}
.promo-card .promo-img,.glow,.quick-action:before{background:none!important}
.promo-card .promo-info{background:var(--surface)!important}
.promo-card.promo-dark .promo-info,.promo-card.promo-gradient .promo-info{background:var(--ink)!important;color:#fff!important}
.promo-card.promo-dark .promo-info *,.promo-card.promo-gradient .promo-info *{color:#fff!important}


/* V10.20 - contraste cuisine et panier visible */
.cart-btn{
 display:inline-flex!important;
 align-items:center;
 justify-content:center;
 gap:8px;
 min-width:62px;
}
.cart-icon{
 font-size:18px;
 line-height:1;
 font-family:"Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",Arial,sans-serif;
}
.kitchen-screen,.driver-screen{
 background:#f7f3ee!important;
 color:#141414!important;
 min-height:100vh;
}
.kitchen-top{
 background:#ffffff!important;
 color:#141414!important;
 border-bottom:1px solid var(--line)!important;
 box-shadow:0 10px 28px rgba(17,17,17,.08)!important;
}
.kitchen-top strong{color:#141414!important;}
.kitchen-top span#liveBadge{
 background:#b91c1c!important;
 color:#ffffff!important;
 box-shadow:none!important;
}
.kitchen-top .sound-toggle-form label,
.kitchen-top .btn-ghost{
 background:#ffffff!important;
 color:#141414!important;
 border:1px solid var(--line)!important;
 box-shadow:none!important;
}
.kitchen-card,.driver-card{
 background:#ffffff!important;
 color:#141414!important;
 box-shadow:0 16px 36px rgba(17,17,17,.10)!important;
}
.kitchen-card p,.kitchen-card li,.kitchen-card b,.kitchen-card small{color:#141414!important;}
.kitchen-card small{color:#5f5a55!important;}
.kitchen-card-head span{
 background:#111111!important;
 color:#ffffff!important;
}

/* V10.21 - catégories plus visibles, boutons impression verticaux */
.category-ribbon a{
 min-height:100px;
 display:flex!important;
 flex-direction:column;
 align-items:center;
 justify-content:center;
 gap:8px;
}
.category-ribbon span{
 font-size:40px!important;
 line-height:1;
 filter:drop-shadow(0 8px 12px rgba(17,17,17,.12));
}
.category-ribbon b{
 font-size:15px!important;
}
.print-actions-vertical{
 flex-direction:column!important;
 align-items:stretch!important;
 min-width:86px;
}
.print-actions-vertical .btn{
 width:100%;
 justify-content:center;
}
.driver-screen .kitchen-top span{
 background:#b91c1c!important;
 color:#fff!important;
}

/* V10.22 - recherche admin, clients et tickets statistiques */
.orders-search-form,
.customer-search-card .admin-form-grid{
 align-items:end;
 margin:14px 0 18px;
}
.customer-list-card table th,
.customer-list-card table td{
 vertical-align:top;
}
.customer-admin-table td:last-child{
 min-width:250px;
}
.customer-admin-table td:last-child .actions{
 display:grid!important;
 grid-template-columns:repeat(2,minmax(112px,1fr));
 gap:8px;
}
.customer-admin-table .btn-sm{
 width:100%;
 min-height:38px;
 padding:9px 10px;
 border-radius:12px;
}
.stats-print-intro .crud-header{
 align-items:center;
}
.stats-print-grid{
 display:grid;
 grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
 gap:16px;
 align-items:start;
}
.stats-print-grid .admin-card{
 height:100%;
}
@media print{
 .sidebar,.admin-toolbar,.period-filter,.sound-toggle-form,.quick-actions-card,.btn,.actions,.admin-tabs{
  display:none!important;
 }
 .admin-layout{
  display:block!important;
  background:#fff!important;
 }
 .admin-main{
  padding:0!important;
 }
 .admin-card{
  box-shadow:none!important;
  border:1px solid #cfcfcf!important;
  break-inside:avoid;
  page-break-inside:avoid;
 }
 .stats-print-grid{
  grid-template-columns:1fr 1fr!important;
 }
}

/* V10.23 - navigation admin plus lisible */
.sidebar a{
 display:flex!important;
 align-items:center;
 gap:10px;
}
.sidebar a span{
 width:24px;
 height:24px;
 border-radius:8px;
 display:inline-flex;
 align-items:center;
 justify-content:center;
 background:rgba(255,255,255,.10);
 color:#fff;
 font-size:13px;
 flex:0 0 24px;
}
.sidebar a.active span,
.sidebar a:hover span{
 background:rgba(255,255,255,.22);
}
.sidebar-group-title{
 margin-top:18px;
 margin-bottom:8px;
 padding-left:6px;
 color:rgba(255,255,255,.58);
 font-size:11px;
 font-weight:1000;
 text-transform:uppercase;
 letter-spacing:.04em;
}
.admin-mini-list{
 margin:0;
 padding-left:18px;
 line-height:1.7;
}
.customer-history-card table td{
 vertical-align:top;
}

/* Ruban Rouge - boulangerie/patisserie luxe */
body.theme-rubanrouge{
 --primary:#d71920;
 --primary2:#0b0b0f;
 --ink:#0b0b0f;
 --bg:#ffffff;
 --soft:#f6f6f7;
 --surface:#ffffff;
 --surface2:#f7f7f8;
 --text:#101014;
 --text-soft:#5f5f66;
 --line:#e7e7eb;
 --brand-gradient:linear-gradient(135deg,#d71920,#8f0f18);
 --shadow:0 18px 44px rgba(10,10,15,.12);
}
body.theme-rubanrouge .top-strip,
body.theme-rubanrouge .page-hero,
body.theme-rubanrouge .footer,
body.theme-rubanrouge .sidebar,
body.theme-rubanrouge .big-panel{
 background:#0b0b0f!important;
 color:#fff!important;
}
body.theme-rubanrouge .header{
 background:rgba(255,255,255,.96)!important;
 border-bottom:1px solid rgba(10,10,15,.08)!important;
}
body.theme-rubanrouge .hero-v3{
 background:#0b0b0f!important;
 color:#fff!important;
 border-radius:0!important;
 padding:54px 0 26px!important;
}
body.theme-rubanrouge .hero-copy h1{
 color:#fff!important;
 max-width:720px;
}
body.theme-rubanrouge .hero-copy p{
 color:rgba(255,255,255,.78)!important;
}
body.theme-rubanrouge .hero-showcase{
 min-height:500px;
}
body.theme-rubanrouge .main-food{
 width:min(650px,100%);
 aspect-ratio:1.45/1;
 border-radius:8px!important;
 object-fit:cover;
 filter:drop-shadow(0 30px 42px rgba(0,0,0,.42));
 animation:none;
}
body.theme-rubanrouge .eyebrow{
 border-radius:4px!important;
 background:#d71920!important;
 letter-spacing:0;
}
body.theme-rubanrouge .deal-card,
body.theme-rubanrouge .brand-medal,
body.theme-rubanrouge .category-ribbon a,
body.theme-rubanrouge .food-card,
body.theme-rubanrouge .panel,
body.theme-rubanrouge .promo-card,
body.theme-rubanrouge .cart-box,
body.theme-rubanrouge .form-card,
body.theme-rubanrouge .track-card,
body.theme-rubanrouge .menu-sidebar,
body.theme-rubanrouge .modal-box{
 border-radius:8px!important;
}
body.theme-rubanrouge .category-ribbon{
 grid-template-columns:repeat(auto-fit,minmax(145px,1fr));
}
body.theme-rubanrouge .category-ribbon a{
 box-shadow:none!important;
 border-color:#e7e7eb!important;
}
body.theme-rubanrouge .category-ribbon a:hover{
 background:#0b0b0f!important;
 border-color:#0b0b0f!important;
 color:#fff!important;
}
body.theme-rubanrouge .food-img{
 background:#0b0b0f!important;
 height:220px;
 flex-basis:220px;
}
body.theme-rubanrouge .food-img img{
 width:100%!important;
 height:100%!important;
 max-width:none!important;
 max-height:none!important;
 object-fit:cover!important;
}
body.theme-rubanrouge .food-img:after{
 content:'Ruban Rouge';
 border-radius:4px;
 background:rgba(10,10,15,.72);
}
body.theme-rubanrouge .food-card{
 box-shadow:0 18px 44px rgba(10,10,15,.10)!important;
 border:1px solid #e7e7eb!important;
}
body.theme-rubanrouge .food-card:hover{
 transform:translateY(-4px);
}
body.theme-rubanrouge .badge,
body.theme-rubanrouge .btn-primary,
body.theme-rubanrouge .tab.active,
body.theme-rubanrouge .summary-total,
body.theme-rubanrouge .slider-dots button.active{
 background:#d71920!important;
 color:#fff!important;
}
body.theme-rubanrouge .btn,
body.theme-rubanrouge .tab,
body.theme-rubanrouge input,
body.theme-rubanrouge select,
body.theme-rubanrouge textarea{
 border-radius:8px!important;
}
body.theme-rubanrouge .add-cart{
 background:#0b0b0f!important;
 border-radius:8px!important;
}
body.theme-rubanrouge .price{
 color:#d71920!important;
}
body.theme-rubanrouge .promo-wall-modern{
 grid-template-columns:minmax(260px,1.1fr) repeat(3,minmax(180px,1fr));
}
body.theme-rubanrouge .promo-card .promo-img{
 background:#0b0b0f!important;
}
body.theme-rubanrouge .promo-card .promo-img img{
 object-fit:cover!important;
}
body.theme-rubanrouge .section-label{
 border-radius:4px!important;
}
@media(max-width:980px){
 body.theme-rubanrouge .hero-showcase{min-height:320px}
 body.theme-rubanrouge .promo-wall-modern{grid-template-columns:1fr 1fr}
}
@media(max-width:620px){
 body.theme-rubanrouge,
 body.theme-rubanrouge .hero-v3{
  overflow-x:hidden!important;
 }
 body.theme-rubanrouge .container{
  width:min(100% - 28px,1220px)!important;
 }
 body.theme-rubanrouge .hero-grid{
  grid-template-columns:minmax(0,1fr)!important;
  width:100%;
 }
 body.theme-rubanrouge .hero-copy,
 body.theme-rubanrouge .hero-actions,
 body.theme-rubanrouge .hero-showcase{
  min-width:0;
  max-width:100%;
 }
 body.theme-rubanrouge .hero-copy{
  width:100%;
  max-width:330px;
 }
 body.theme-rubanrouge .hero-actions{
  display:grid!important;
  grid-template-columns:1fr!important;
  width:100%;
  max-width:330px;
 }
 body.theme-rubanrouge .hero-copy h1{
  font-size:46px!important;
  line-height:1.03!important;
  max-width:330px;
  overflow-wrap:normal;
 }
 body.theme-rubanrouge .hero-copy p{
  font-size:15px!important;
  max-width:100%;
 }
 body.theme-rubanrouge .hero-actions .btn{
  width:100%;
  max-width:100%;
  min-width:0;
 }
 body.theme-rubanrouge .trust-row{
  grid-template-columns:1fr!important;
  width:100%;
  max-width:330px;
 }
 body.theme-rubanrouge .category-ribbon{
  grid-template-columns:1fr 1fr!important;
 }
 body.theme-rubanrouge .category-ribbon a{
  min-width:0;
 }
 body.theme-rubanrouge .promo-wall-modern{grid-template-columns:1fr}
body.theme-rubanrouge .main-food{width:100%}
}

/* Ruban Rouge V10.26 - typographie boulangerie premium */
body.theme-rubanrouge{
 font-family:"Source Sans 3","Segoe UI",Arial,sans-serif!important;
 font-weight:400;
}
body.theme-rubanrouge h1,
body.theme-rubanrouge h2,
body.theme-rubanrouge h3,
body.theme-rubanrouge .hero-copy h1,
body.theme-rubanrouge .page-hero h1,
body.theme-rubanrouge .section-head h2,
body.theme-rubanrouge .promo-wall h2,
body.theme-rubanrouge .big-panel h2,
body.theme-rubanrouge .food-card h3,
body.theme-rubanrouge .menu-sidebar h3{
 font-family:"Cormorant Garamond",Georgia,"Times New Roman",serif!important;
 font-weight:600!important;
 letter-spacing:0!important;
}
body.theme-rubanrouge .hero-copy h1{
 font-size:clamp(62px,7.2vw,104px)!important;
 line-height:.96!important;
}
body.theme-rubanrouge .page-hero h1{
 font-size:clamp(46px,5vw,76px)!important;
 line-height:1!important;
}
body.theme-rubanrouge .section-head h2,
body.theme-rubanrouge .promo-wall h2,
body.theme-rubanrouge .big-panel h2{
 font-size:clamp(42px,4.6vw,72px)!important;
 line-height:1.02!important;
}
body.theme-rubanrouge .brand b{
 font-family:"Cormorant Garamond",Georgia,serif!important;
 font-size:25px!important;
 font-weight:700!important;
 line-height:1!important;
}
body.theme-rubanrouge .brand small{
 font-size:14px!important;
 font-weight:500!important;
 color:#5d5d63!important;
}
body.theme-rubanrouge .nav nav a,
body.theme-rubanrouge .account-chip,
body.theme-rubanrouge .cart-btn,
body.theme-rubanrouge .lang,
body.theme-rubanrouge .btn,
body.theme-rubanrouge .tab,
body.theme-rubanrouge .field label,
body.theme-rubanrouge .menu-toolbar input,
body.theme-rubanrouge .menu-toolbar select{
 font-family:"Source Sans 3","Segoe UI",Arial,sans-serif!important;
 font-weight:600!important;
 letter-spacing:.01em!important;
}
body.theme-rubanrouge .top-strip,
body.theme-rubanrouge .eyebrow,
body.theme-rubanrouge .section-label,
body.theme-rubanrouge .badge{
 font-family:"Source Sans 3","Segoe UI",Arial,sans-serif!important;
 font-weight:600!important;
 letter-spacing:.03em!important;
 text-transform:none!important;
}
body.theme-rubanrouge .hero-copy p,
body.theme-rubanrouge .section-head p,
body.theme-rubanrouge .page-hero p,
body.theme-rubanrouge .desc,
body.theme-rubanrouge .promo-wall p,
body.theme-rubanrouge .big-panel p{
 font-family:"Source Sans 3","Segoe UI",Arial,sans-serif!important;
 font-weight:400!important;
 letter-spacing:0!important;
 line-height:1.72!important;
}
body.theme-rubanrouge .hero-copy p{
 font-size:20px!important;
 max-width:640px;
}
body.theme-rubanrouge .btn{
 min-height:44px;
 padding:12px 22px!important;
 box-shadow:none!important;
}
body.theme-rubanrouge .btn-xl{
 font-size:16px!important;
 padding:14px 26px!important;
}
body.theme-rubanrouge .food-card h3{
 font-size:28px!important;
 line-height:1.12!important;
 margin:8px 0 8px!important;
 min-height:64px!important;
 overflow:visible!important;
 display:block!important;
}
body.theme-rubanrouge .food-card .desc{
 font-size:15.5px!important;
 color:#5d5d63!important;
 min-height:0!important;
 max-height:none!important;
 -webkit-line-clamp:3!important;
}
body.theme-rubanrouge .food-body{
 padding:24px 22px 20px!important;
 gap:8px!important;
 overflow:visible!important;
 position:relative!important;
 z-index:2!important;
 background:#fff!important;
}
body.theme-rubanrouge .food-card{
 content-visibility:visible!important;
 contain-intrinsic-size:auto!important;
}
body.theme-rubanrouge .food-card h3{
 position:relative!important;
 z-index:3!important;
 opacity:1!important;
 visibility:visible!important;
 color:#151114!important;
 max-height:none!important;
}
body.theme-rubanrouge .fav{
 font-size:0!important;
 color:transparent!important;
 line-height:1!important;
 display:grid!important;
 place-items:center!important;
}
body.theme-rubanrouge .fav::before{
 content:"\2661";
 font-family:"Segoe UI Symbol","Arial Unicode MS",Arial,sans-serif!important;
 font-size:22px!important;
 color:#151114!important;
 line-height:1!important;
}
body.theme-rubanrouge .fav.active::before{
 content:"\2665";
 color:#e11d48!important;
}
body.theme-rubanrouge .price{
 font-family:"Source Sans 3","Segoe UI",Arial,sans-serif!important;
 font-size:22px!important;
 font-weight:600!important;
}
body.theme-rubanrouge .add-cart{
 font-family:"Source Sans 3","Segoe UI",Arial,sans-serif!important;
 font-weight:600!important;
 font-size:24px!important;
}
body.theme-rubanrouge .rating{
 font-weight:500!important;
 color:#8f0f18!important;
}
body.theme-rubanrouge .rating small{
 font-weight:400!important;
}
body.theme-rubanrouge .category-ribbon span{
 font-family:"Cormorant Garamond",Georgia,serif!important;
 font-size:34px!important;
 font-weight:600!important;
}
body.theme-rubanrouge .category-ribbon b{
 font-family:"Source Sans 3","Segoe UI",Arial,sans-serif!important;
 font-size:15px!important;
 font-weight:600!important;
}
body.theme-rubanrouge .menu-sidebar h3{
 font-size:30px!important;
}
body.theme-rubanrouge .custom-row{
 font-weight:500!important;
}
body.theme-rubanrouge .custom-row b{
 font-weight:600!important;
}
@media(max-width:620px){
 body.theme-rubanrouge .hero-copy h1{
  font-size:48px!important;
  line-height:1.02!important;
 }
 body.theme-rubanrouge .brand b{
  font-size:22px!important;
 }
 body.theme-rubanrouge .food-card h3{
  font-size:26px!important;
 }
}
