:root{
  --bg:#f3f5f9; --card:#fff; --muted:#6b7280; --text:#0f172a; --line:#e5e7eb; --soft:#f8fafc;
  --brand:#55a870; --brand2:#3f8f5c; --shadow:0 10px 30px rgba(15,23,42,.08); --r:16px;
  --warn:#b45309; --warnbg:#fff7ed; --warnbd:#fed7aa;
}
*{box-sizing:border-box}
body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial;background:var(--bg);color:var(--text);}
.container{max-width:1240px;margin:0 auto;padding:18px 14px 44px;}
.panel{background:var(--card);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow)}
.pad{padding:16px}

.topbar{
  background:var(--card);border:1px solid var(--line);border-radius:14px;padding:14px 16px;
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  box-shadow:0 6px 18px rgba(15,23,42,.05);
}
.brandName{font-weight:950;font-size:20px;line-height:1}
.topRight{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.cta{
  background:var(--brand);color:#fff;border:0;border-radius:999px;padding:10px 14px;font-weight:950;
  cursor:pointer;box-shadow:0 10px 20px rgba(85,168,112,.25);white-space:nowrap;
}
.btnAuth{
  border:1px solid var(--line);background:#fff;border-radius:999px;padding:10px 14px;font-weight:950;
  cursor:pointer;white-space:nowrap;text-decoration:none;color:var(--text);
}
.avatar{
  width:34px;height:34px;border-radius:999px;border:2px solid #fff;
  box-shadow:0 4px 12px rgba(15,23,42,.12);
  object-fit:cover;background:#ddd;
}

.hero{margin-top:14px;background:var(--card);border:1px solid var(--line);border-radius:var(--r);overflow:hidden;box-shadow:var(--shadow);}
.heroImg{
  height:300px;
  background:
    linear-gradient(0deg, rgba(0,0,0,.35), rgba(0,0,0,.05)),
    url("https://images.unsplash.com/photo-1528605248644-14dd04022da1?auto=format&fit=crop&w=1600&q=60");
  background-size:cover;background-position:center;position:relative;
}
.heroTitle{
  position:absolute;left:18px;bottom:16px;right:18px;
  font-weight:950;font-size:40px;letter-spacing:.04em;color:#fff;text-transform:uppercase;
  text-shadow:0 12px 30px rgba(0,0,0,.35);line-height:1.05;
}

.layout{display:grid;grid-template-columns:minmax(0, 1fr) 360px;gap:16px;margin-top:16px;align-items:start}
.sticky{position:sticky;top:14px}

.grid2{display:grid;grid-template-columns:repeat(3, 1fr);gap:12px}
@media (max-width: 768px) {.grid2{grid-template-columns:1fr}}

.modeCard{
  border:1px solid var(--line);border-radius:14px;padding:12px;display:flex;gap:12px;align-items:center;
  background:var(--soft);cursor:pointer;user-select:none;min-height:72px;
}
.modeCard.active{border-color:rgba(85,168,112,.55);background:rgba(85,168,112,.08)}
.mIcon{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#fff;border:1px solid var(--line);color:var(--brand2);font-size:18px;z-index: 999}
.mTitle{font-weight:950}
.mSub{font-size:13px;color:var(--muted);margin-top:2px}
.line{height:1px;background:var(--line);margin:14px 0}

.calHead{display:flex;justify-content:space-between;align-items:center;gap:12px}
.pill{display:inline-block;border-radius:999px;padding:6px 10px;background:#e8f5ee;border:1px solid rgba(85,168,112,.25);color:#2f7a4a;font-weight:950;font-size:12px}
.calWrap{display:flex;align-items:center;gap:10px;margin-top:10px}
.calBtn{width:38px;height:38px;border-radius:12px;border:1px solid var(--line);background:#fff;font-weight:950;cursor:pointer;flex:0 0 auto;}
.calStrip{flex:1;overflow:auto;-webkit-overflow-scrolling:touch;display:flex;gap:10px;padding:2px 2px 10px;scroll-snap-type:x mandatory;}
.calStrip::-webkit-scrollbar{height:10px}
.calStrip::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:999px}
.calDay{
  scroll-snap-align:start;min-width:100px;border:1px solid var(--line);border-radius:14px;background:#fff;    text-align: center;
  padding:10px 12px;cursor:pointer;user-select:none;transition:transform .12s ease, box-shadow .12s ease;
}
.calDay:hover{transform:translateY(-1px);box-shadow:0 10px 18px rgba(15,23,42,.06)}
.calDay.active{border-color:rgba(85,168,112,.55);background:rgba(85,168,112,.10)}
.calTop{font-weight:950}
.calSub{margin-top:2px;color:var(--muted);font-size:13px}
.calInfo{color:var(--muted);font-size:12px;margin-top:10px}
.calActions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:10px}
.calToday{
  border:1px solid var(--line);background:#fff;border-radius:999px;padding:8px 12px;font-weight:950;
  cursor:pointer;
}

.chips{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.chip{border:1px solid var(--line);border-radius:999px;padding:9px 12px;background:#fff;font-weight:900;font-size:14px;cursor:pointer;transition:background .12s ease, border-color .12s ease;}
.chip.active{border-color:rgba(85,168,112,.55);background:rgba(85,168,112,.10);color:var(--brand2)}

.itemsGrid{display:grid;gap:14px;margin-top:14px}
@media(min-width:1100px){ .itemsGrid{grid-template-columns:repeat(3, minmax(0, 1fr));} }
@media(min-width:820px) and (max-width:1099px){ .itemsGrid{grid-template-columns:repeat(2, minmax(0, 1fr));} }
@media(max-width:819px){ .itemsGrid{grid-template-columns:1fr;} }

.cardItem{border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden;box-shadow:0 10px 18px rgba(15,23,42,.06);display:flex;flex-direction:column;min-width:0;}
.imgBox{height:160px;background:linear-gradient(135deg,#eef2ff,#f8fafc);position:relative}
.imgBox img{width:100%;height:100%;object-fit:cover;display:block}
.badge{
  position:absolute;right:12px;bottom:12px;font-weight:950;font-size:12px;padding:6px 10px;border-radius:999px;
  background:#ffffff;color:000;border:1px solid rgba(0,0,0,.25)
}
.content{padding:12px 12px 14px}
.titleRow{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.titleRow h3{margin:0;font-size:14px;letter-spacing:.02em;line-height:1.2}
.price{color:#000000;font-weight:950;white-space:nowrap}
.desc{margin-top:8px;color:var(--muted);font-size:13px;line-height:1.35}
.addBtn{
  margin-top:12px;width:100%;border:0;border-radius:12px;padding:10px 12px;background:var(--brand);color:#fff;
  font-weight:950;cursor:pointer;display:flex;gap:10px;justify-content:center;align-items:center
}

.subTitle{font-weight:950;font-size:18px;margin:0}
.miniRow{display:flex;gap:10px;align-items:center;color:var(--muted);font-size:13px;margin-top:10px}
.cartBox{border:1px dashed var(--line);border-radius:14px;padding:14px;background:var(--soft);text-align:center;color:var(--muted)}
.cartItems{display:grid;gap:10px;margin-top:10px}
.cartItemRow{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;border:1px solid var(--line);border-radius:12px;padding:10px;background:#fff}
.cartTitle{font-weight:950;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:210px}
.cartQty{color:var(--muted);font-size:12px;margin-top:2px}
.cartPrice{font-weight:950}
.qtyBtns{display:flex;gap:8px;justify-content:flex-end;margin-top:6px}
.qbtn{border:1px solid var(--line);background:#fff;border-radius:10px;padding:6px 10px;font-weight:950;cursor:pointer}

.payBtn{width:100%;border:0;border-radius:14px;padding:12px 14px;background:rgba(85,168,112,.35);color:#fff;font-weight:950;cursor:not-allowed}
.payBtn.enabled{background:var(--brand);cursor:pointer;box-shadow:0 14px 24px rgba(85,168,112,.25)}
.ghostBtn{width:100%;border:1px solid rgba(85,168,112,.35);border-radius:14px;padding:12px 14px;background:#fff;color:var(--brand2);font-weight:950;cursor:pointer;margin-top:10px}
.dangerBtn{width:100%;border:1px solid rgba(239,68,68,.35);border-radius:14px;padding:12px 14px;background:#fff;color:#ef4444;font-weight:950;cursor:pointer;margin-top:10px}

.platformBtns{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}
.platformBtn{
  display:inline-flex;align-items:center;gap:8px;
  border:1px solid var(--line);border-radius:999px;padding:10px 12px;background:#fff;
  font-weight:950;color:var(--text);text-decoration:none;
  box-shadow:0 8px 16px rgba(15,23,42,.06);
}
.platformBtn:hover{transform:translateY(-1px)}
.platformBtn .dot{width:10px;height:10px;border-radius:999px;background:rgba(85,168,112,.55);display:inline-block}

.boxSoft{background:var(--soft);border:1px solid var(--line);border-radius:14px;padding:12px;}
.inputRow{display:flex;gap:10px;align-items:center;margin-top:10px}
.inPromo{flex:1;width:100%;padding:10px 12px;border-radius:12px;border:1px solid var(--line);background:#fff;font-weight:900;text-transform:uppercase;}
.btnMini{padding:10px 12px;border-radius:12px;border:0;background:rgba(85,168,112,.35);color:#fff;font-weight:950;cursor:not-allowed;white-space:nowrap;}
.btnMini.enabled{background:var(--brand);cursor:pointer;box-shadow:0 10px 16px rgba(85,168,112,.18);}
.msgSmall{margin-top:10px;font-size:12px;color:var(--muted);line-height:1.4;}
.msgOk{color:#2f7a4a;font-weight:950}
.msgErr{color:#b91c1c;font-weight:950}
.warnBox{margin-top:10px;background:var(--warnbg);border:1px solid var(--warnbd);border-radius:12px;padding:10px;color:var(--warn);font-weight:900;font-size:12px}

@media(max-width:1050px){
  .layout{grid-template-columns:1fr}
  .sticky{position:relative;top:auto}
  .heroTitle{font-size:30px}
}

/* ==========================
   RESA WIDGET (Zenchef-like)
========================== */
.zcFab{
  position:fixed;
  right:18px;
  bottom:18px;
  left:auto;
  transform:none;

  z-index:9999;

  width:auto;
  max-width:calc(100% - 28px);

  border-radius:999px;
  background:#cfe0f6;
  border:1px solid rgba(15,23,42,.12);
  box-shadow:0 18px 40px rgba(15,23,42,.18);

  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
}

.zcFabBtn{
  border:0;
  cursor:pointer;
  background:transparent;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-weight:950;
  font-size:15px;
  color:#0f172a;
  padding:10px 12px;
  white-space:nowrap;
}

@media (max-width:520px){
  .zcFab{
    left:14px;
    right:14px;
    width:auto;
    justify-content:space-between;
  }
  .zcFabBtn{ flex:1; }
}

.zcFabIcon{
  width:38px;height:38px;border-radius:12px;
  display:grid;place-items:center;
  background:rgba(255,255,255,.65);
  border:1px solid rgba(15,23,42,.10);
}
.zcFabGift{
  width:44px;height:44px;border-radius:14px;
  display:grid;place-items:center;
  background:rgba(255,255,255,.75);
  border:1px solid rgba(15,23,42,.10);
  cursor:pointer;
  flex:0 0 auto;
}
.zcOverlay{
  position:fixed;inset:0;
  background:rgba(2,6,23,.45);
  z-index:9998;
  opacity:0;
  pointer-events:none;
  transition:opacity .18s ease;
}
.zcOverlay.open{opacity:1;pointer-events:auto;}

.zcDrawer{
  position:fixed;
  left:50%;
  transform:translateX(-50%) translateY(14px);
  bottom:10px;
  z-index:9999;
  width:min(520px, calc(100% - 28px));
  max-height:86vh;
  background:#cfe0f6;
  border:1px solid rgba(15,23,42,.12);
  border-radius:22px;
  box-shadow:0 26px 60px rgba(15,23,42,.22);
  opacity:0;
  pointer-events:none;
  transition:opacity .18s ease, transform .18s ease;
  overflow:hidden;
}
.zcDrawer.open{
  opacity:1;
  pointer-events:auto;
  transform:translateX(-50%) translateY(0);
}

.zcHead{
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 14px 10px;
}
.zcLogo{
  font-weight:950;
  font-size:22px;
  letter-spacing:.02em;
}
.zcTopActions{display:flex;align-items:center;gap:10px;}
.zcLang{
  font-weight:950;
  border:1px solid rgba(15,23,42,.18);
  background:rgba(255,255,255,.55);
  padding:8px 10px;border-radius:12px;
}
.zcClose{
  width:38px;height:38px;border-radius:12px;
  border:1px solid rgba(15,23,42,.18);
  background:rgba(255,255,255,.55);
  cursor:pointer;
  font-weight:950;
}
.zcIntro{
  padding:0 14px 12px;
  color:rgba(15,23,42,.75);
  text-align:center;
  font-weight:700;
}

.zcStep{
  background:rgba(255,255,255,.35);
  border-top:1px solid rgba(15,23,42,.10);
  padding:12px 14px;
}
.zcRowBtn{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border:0;
  cursor:pointer;
  background:transparent;
  padding:10px 6px;
  font-weight:950;
  color:#0f172a;
}
.zcRowLeft{display:flex;align-items:center;gap:10px;}
.zcRowIcon{
  width:34px;height:34px;border-radius:12px;
  display:grid;place-items:center;
  background:rgba(255,255,255,.65);
  border:1px solid rgba(15,23,42,.10);
}
.zcRowSub{font-size:12px;font-weight:800;color:rgba(15,23,42,.70);margin-top:2px}
.zcChevron{opacity:.75;font-size:18px}

.zcExpand{
  margin-top:10px;
  display:none;
}
.zcExpand.open{display:block;}

.zcGrid{
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  gap:10px;
}
@media (max-width:420px){ .zcGrid{grid-template-columns:repeat(4,1fr)} }

.zcTile{
  border:1px solid rgba(15,23,42,.18);
  background:rgba(255,255,255,.55);
  border-radius:14px;
  padding:12px 0;
  text-align:center;
  font-weight:950;
  cursor:pointer;
}
.zcTile.active{
  background:#111827;
  color:#fff;
  border-color:#111827;
}
.zcTimes{
  display:grid;
  gap:10px;
}
.zcTime{
  border:1px solid rgba(15,23,42,.18);
  background:rgba(255,255,255,.55);
  border-radius:16px;
  padding:14px 12px;
  font-weight:950;
  display:flex;
  align-items:center;
  gap:10px;
  cursor:pointer;
}
.zcDot{width:10px;height:10px;border-radius:999px;background:#16a34a;flex:0 0 auto}
.zcTime.active{
  background:#111827;color:#fff;border-color:#111827;
}
.zcSelect{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(15,23,42,.18);
  background:rgba(255,255,255,.55);
  font-weight:900;
}

.zcFooter{
  padding:12px 14px 14px;
  border-top:1px solid rgba(15,23,42,.10);
  background:rgba(255,255,255,.25);
}
.zcReserve{
  width:100%;
  border:0;
  border-radius:16px;
  padding:16px 14px;
  font-weight:950;
  font-size:18px;
  cursor:not-allowed;
  background:rgba(17,24,39,.25);
  color:rgba(255,255,255,.9);
}
.zcReserve.enabled{
  cursor:pointer;
  background:#111827;
  box-shadow:0 18px 30px rgba(17,24,39,.25);
}

.zcPowered{
  margin-top:10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:rgba(15,23,42,.65);
  font-weight:800;
}
.zcMiniIcon{
  width:34px;height:34px;border-radius:12px;
  display:grid;place-items:center;
  border:1px solid rgba(15,23,42,.18);
  background:rgba(255,255,255,.55);
}


:root{
  --zc-bg:#cfe0f6;
  --zc-ink:#111827;
  --zc-muted:#6b7280;
  --zc-line:rgba(17,24,39,.18);
  --zc-card:#ffffff66;
  --zc-border:rgba(17,24,39,.22);
  --zc-dark:#2f3137;
  --zc-radius:18px;
}

/* Overlay */
.zcOverlay{
  position:fixed; inset:0;
  background:rgba(15,23,42,.35);
  opacity:0; pointer-events:none;
  transition:.18s ease;
  z-index:9998;
}
.zcOverlay.open{opacity:1; pointer-events:auto;}

/* Drawer */
.zcDrawer{
  position:fixed;
  left:50%; transform:translateX(-50%);
  bottom:-120%;
  width:min(420px, 100%);
  background:var(--zc-bg);
  border-radius:var(--zc-radius);
  border:1px solid var(--zc-border);
  box-shadow:0 18px 50px rgba(15,23,42,.22);
  overflow:hidden;
  z-index:9999;
  transition:.22s ease;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}
.zcDrawer.open{bottom:14px;}

/* Header */
.zcHead{position:relative; padding:14px 16px 6px;}
.zcLogo{
  text-align:center;
  font-weight:900;
  letter-spacing:.5px;
  font-size:26px;
  color:var(--zc-ink);
}
.zcTopActions{
  position:absolute;
  right:12px; top:10px;
  display:flex; gap:10px; align-items:center;
}
.zcLang{font-weight:800; color:var(--zc-muted); font-size:12px;}
.zcClose{
  width:34px;height:34px;
  border:0;background:transparent;
  font-size:28px; line-height:1;
  cursor:pointer; color:var(--zc-muted);
}

.zcIntro{
  padding:6px 16px 14px;
  text-align:center;
  color:var(--zc-muted);
  font-weight:700;
  font-size:14px;
}

/* Steps */
.zcStep{border-top:1px solid var(--zc-line);}
.zcRowBtn{
  width:100%;
  background:transparent;
  border:0;
  padding:14px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  cursor:pointer;
}
.zcRowLeft{display:flex; align-items:center; gap:12px;}
.zcRowIcon{width:26px; text-align:center; font-size:18px;}
.zcRowSub{font-size:12px; color:var(--zc-muted); margin-top:2px; font-weight:700;}
.zcChevron{font-size:18px; opacity:.7; transition:.15s ease;}
.zcRowBtn.open .zcChevron{transform:rotate(180deg);}

.zcExpand{display:none; padding:0 16px 14px;}
.zcExpand.open{display:block;}

/* Covers grid */
.zcGrid{
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  gap:10px;
}
.zcChip{
  text-align:center;
  padding:12px 0;
  border-radius:14px;
  border:1px solid var(--zc-border);
  background:var(--zc-card);
  font-weight:900;
  cursor:pointer;
  user-select:none;
  color:var(--zc-ink);
}
.zcChip.active{
  background:var(--zc-dark);
  border-color:var(--zc-dark);
  color:#fff;
}

/* Select */
.zcSelect{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--zc-border);
  background:var(--zc-card);
  outline:none;
  font-weight:800;
  color:var(--zc-ink);
}

/* Times */
.zcTimes{display:flex; flex-direction:column; gap:10px;}
.zcTimeBtn{
  display:flex; align-items:center; gap:10px;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--zc-border);
  background:var(--zc-card);
  cursor:pointer;
  font-weight:900;
  color:var(--zc-ink);
}
.zcDot{
  width:10px;height:10px;border-radius:999px;
  background:#22c55e;
}
.zcTimeBtn.active{
  background:var(--zc-dark);
  border-color:var(--zc-dark);
  color:#fff;
}

/* Footer */
.zcFooter{border-top:1px solid var(--zc-line); padding:14px 16px 16px;}
.zcReserve{
  width:100%;
  padding:13px 14px;
  border-radius:14px;
  border:0;
  background:var(--zc-dark);
  color:#fff;
  font-weight:950;
  font-size:16px;
  cursor:pointer;
  opacity:.45;
}
.zcReserve.enabled{opacity:1;}
.zcPowered{
  display:flex; align-items:center; justify-content:space-between;
  padding-top:12px;
  color:var(--zc-muted);
  font-weight:700;
  font-size:12px;
}

/* Floating button */
.zcFab{
  position:fixed;
  right:18px; bottom:18px;
  display:flex; gap:10px; align-items:center;
  z-index:9997;
}
.zcFabBtn,.zcFabGift{
  border:0;
  border-radius:999px;
  background:var(--zc-dark);
  color:#fff;
  cursor:pointer;
  font-weight:900;
  box-shadow:0 10px 22px rgba(15,23,42,.22);
}
.zcFabBtn{padding:12px 14px;}
.zcFabGift{width:44px;height:44px;}

/* Pills */
.zcCalPills{display:flex; gap:10px; margin:10px 0 10px;}
.zcPillBtn{
  flex:1;
  border-radius:14px;
  border:1px solid var(--zc-border);
  background:var(--zc-card);
  padding:10px;
  font-weight:900;
  cursor:pointer;
}
.zcPillBtn.active{
  background:var(--zc-dark);
  border-color:var(--zc-dark);
  color:#fff;
}

/* Calendar */
.zcMonthRow{
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom:10px;
}
.zcNavBtn{
  width:40px;height:40px;
  border-radius:12px;
  border:1px solid var(--zc-border);
  background:var(--zc-card);
  cursor:pointer;
  font-weight:900;
}
.zcMonthLabel{font-weight:950; color:var(--zc-ink);}

.zcWeek{
  display:grid;
  grid-template-columns:repeat(7,1fr);
  gap:8px;
  text-align:center;
  color:var(--zc-muted);
  font-weight:900;
  font-size:12px;
}
.zcDays{
  display:grid;
  grid-template-columns:repeat(7,1fr);
  gap:10px;
  margin-top:10px;
}
.zcDay{
  height:42px;
  border-radius:999px;
  border:1px solid var(--zc-border);
  background:transparent;
  cursor:pointer;
  font-weight:950;
  color:var(--zc-ink);
}
.zcDay.muted{opacity:.3; cursor:not-allowed;}
.zcDay.closed{opacity:.25; cursor:not-allowed; filter:grayscale(1);}
.zcDay.active{
  background:var(--zc-dark);
  border-color:var(--zc-dark);
  color:#fff;
}

  /* ✅ Affichage des créneaux en grille (3 colonnes) */
  #zcTimes{
    display:grid !important;
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    gap:12px !important;
  }

  /* Les boutons prennent toute la largeur de la cellule */
  #zcTimes .zcTimeBtn{
    width:100% !important;
    justify-content:flex-start;
  }

  /* Responsive */
  @media (max-width: 520px){
    #zcTimes{ grid-template-columns:repeat(2, minmax(0, 1fr)) !important; }
  }
  @media (max-width: 360px){
    #zcTimes{ grid-template-columns:1fr !important; }
  }

  /* Le drawer devient une colonne */
  #zcDrawer{
    display:flex;
    flex-direction:column;
    height:100vh;
  }

  /* Zone centrale scrollable (le contenu) */
  #zcDrawer .zcHead,
  #zcDrawer .zcFooter{
    flex:0 0 auto;
  }

  #zcDrawer .zcIntro{
    flex:0 0 auto;
  }

  /* On force le contenu entre intro et footer à pouvoir scroller */
  #zcDrawer > .zcStep{
    flex:0 0 auto;
  }

  /* ✅ La liste des horaires scroll dans sa zone */
  #zcExpTime{
    max-height:38vh;          /* ajuste si tu veux */
    overflow:auto;
    padding-right:6px;         /* pour éviter que la scrollbar colle */
  }

  /* ✅ Grille 3 colonnes dans la zone scroll */
  #zcTimes{
    display:grid !important;
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    gap:12px !important;
  }
  #zcTimes .zcTimeBtn{
    width:100% !important;
  }

  /* Responsive */
  @media (max-width: 520px){
    #zcTimes{ grid-template-columns:repeat(2, minmax(0, 1fr)) !important; }
    #zcExpTime{ max-height:42vh; }
  }


  .zcDay.closed{
    opacity:.25;
    cursor:not-allowed;
    filter:grayscale(1);
  }

  /* ✅ Times: grille 3 colonnes */
  #zcTimes{
    display:grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap:12px;
  }

  /* ✅ zone horaires scrollable (bouton Réserver toujours visible) */
  #zcExpTime{
    max-height: 320px;          /* adapte si besoin */
    overflow:auto;
    padding-right:6px;
  }

  /* ✅ footer sticky en bas du drawer */
  .zcFooter{
    position: sticky;
    bottom: 0;
    background: inherit;
    padding-bottom: 12px;
    z-index: 5;
  }

  /* ✅ Etape 2: formulaire */
  .zcStep2{
    display:none;
    padding: 14px 0 0;
  }
  .zcStep2.open{ display:block; }

  .zcFormGrid{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:12px;
  }
  @media (max-width:520px){
    .zcFormGrid{ grid-template-columns: 1fr; }
  }

  .zcInput{
    width:100%;
    padding:12px 12px;
    border-radius:12px;
    border:1px solid rgba(43,47,54,.18);
    outline:none;
    font-weight:800;
    background:#fff;
  }

  .zcTextarea{
    width:100%;
    min-height: 90px;
    padding:12px 12px;
    border-radius:12px;
    border:1px solid rgba(43,47,54,.18);
    outline:none;
    font-weight:800;
    background:#fff;
    resize: vertical;
  }

  .zcActionsRow{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-top: 12px;
  }

  .zcBtnGhost{
    background: transparent;
    border: 1px solid rgba(43,47,54,.2);
    border-radius: 14px;
    padding: 12px 14px;
    font-weight: 950;
    cursor: pointer;
    flex:1;
  }

  .zcOkBox{
    display:none;
    margin-top:12px;
    padding:14px;
    border-radius:14px;
    border:1px solid rgba(22,163,74,.25);
    background: rgba(220,252,231,.55);
    font-weight: 900;
    color:#166534;
  }
  .zcOkBox.open{ display:block; }


.chip.active{
  border-radius: 12px;
  padding: 6px 12px;
  font-weight: 600;
  cursor: pointer;

  /* Si ton --brand est une couleur CSS (ex: #55a870) */
  background:
    linear-gradient(rgba(255,255,255,.80), rgba(255,255,255,.80)),
    var(--brand);

  border: 1px solid rgba(0,0,0,.08); /* ou adapte */
  color: var(--brand2); /* texte bien visible */
}


/* chips */
#chips .chip{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  padding:.45rem .75rem;
  border-radius:999px;
  border:1px solid rgba(67,89,113,.2);
  background:#fff;
  font-weight:700;
  cursor:pointer;
}
#chips .chip.active{
  background:#696cff;
  color:#fff;
  border-color:#696cff;
}

/* calendar items rendered in #calStrip */
#calStrip .day{
  min-width:72px;
  border:1px solid rgba(67,89,113,.2);
  border-radius:12px;
  padding:.5rem .6rem;
  background:#fff;
  cursor:pointer;
  text-align:center;
  font-weight:700;
}
#calStrip .day.active{
  background:#696cff;
  color:#fff;
  border-color:#696cff;
}

/* clickable cards */
.modeCard{cursor:pointer;}
.modeCard.active{border-color:#696cff!important; box-shadow:0 10px 22px rgba(105,108,255,.18);}


.modeCard{
  width:100%;
  border:1px solid rgba(67,89,113,.18);
  background:#fff;
  border-radius:16px;
  padding:14px 16px;          /* ↓ moins de padding */
  display:flex;
  gap:14px;
  align-items:center;
  text-align:left;
  transition:.15s ease;
  min-height:72px;            /* ↓ plus compact */
}

.modeCard:hover{
  border-color:rgba(105,108,255,.45);
  box-shadow:0 4px 12px rgba(67,89,113,.08);
}

.modeIcon{
  width:44px;                 /* ↓ plus petit */
  height:44px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:#f5f6f8;
  border:1px solid rgba(67,89,113,.12);
}

.modeIcon i{
  font-size:18px;             /* ↓ icône plus fine */
  color:#696cff;
}

.mode-title{
  font-weight:700;            /* ↓ moins heavy */
  font-size:18px;             /* ↓ plus petit */
  color:#233446;
  line-height:1.2;
}

.mode-sub{
  font-size:14px;             /* ↓ plus fin */
  color:#8592a3;
  margin-top:4px;
}

/* --- Selected (comme image 1, fin et propre) --- */
.modeCard.is-active{
  background:rgba(225,29,72,.12);
  border:1.5px solid #dc2626;
  box-shadow:none;
}



























.menu-card {
  background: #f4f6f5;
  border-radius: 14px;
  padding: 24px 28px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  gap: 20px;
}

/* Title */
.menu-card__title {
  font-weight: 700;
  font-size: 1.6rem;
  color: #1d1f1f;
}

/* Description */
.menu-card__desc {
  color: #5f6b66;
  font-size: 1.1rem;
  line-height: 1.5;
  max-width: 600px;
}

/* Price */
.menu-card__price--new {
  font-size: 1.8rem;
  font-weight: 700;
  color: #e30613;
  margin-right: 12px;
}

.menu-card__price--old {
  font-size: 1.4rem;
  color: #7a7a7a;
  text-decoration: line-through;
}

/* Image */
.menu-card__media {
  min-width: 220px;
}

.menu-card__img {
  width: 220px;
  border-radius: 10px;
}

/* Add button */
.menu-card__add-btn {
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  font-size: 32px;
  font-weight: 600;
  background: #22a699;
  color: white;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.menu-card__add-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 22px rgba(0,0,0,0.2);
}