/* /menu page fed by Fidyo — all rules scoped to .wcm. Layout: brand band, sticky category chips, photo cards. */
body { overflow-x: clip !important; overflow-y: visible !important; } /* "hidden" on body breaks position:sticky */

.wcm {
  --o: #e55a29; --o-d: #c2461b; --o-soft: #fdeee7;
  --ink: #1d1a19; --muted: #6b625e; --line: #ece4df; --paper: #fffaf6; --card: #fff;
  --wcm-head: 96px;   /* height of the site header, set by menu-fidyo.js */
  --wcm-stick: 0px;   /* where the chip bar sticks, set by menu-fidyo.js */
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink); background: var(--paper); display: block;
}
.wcm *, .wcm *::before, .wcm *::after { box-sizing: border-box; }
.wcm-wrap { max-width: 1180px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

/* band */
.wcm-top { background: var(--o); color: #fff; position: relative; overflow: hidden; }
.wcm-top::after { content: ""; position: absolute; right: -60px; top: -80px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.16), rgba(255,255,255,0) 70%); pointer-events: none; }
.wcm-top .wcm-wrap { padding-block: calc(var(--wcm-head) + 36px) 32px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 24px; align-items: end; position: relative; z-index: 1; }
.wcm-eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; opacity: .9; margin: 0 0 10px; color: #fff; }
.wcm-h1 { font-size: clamp(34px, 5.4vw, 60px); line-height: 1; font-weight: 800; letter-spacing: -.02em; margin: 0; color: #fff; text-wrap: balance; }
.wcm-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 16px; font-size: 14px; }
.wcm-meta a, .wcm-meta a:hover { color: #fff; text-decoration: none; }
.wcm-hours { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; font-size: 13px; opacity: .95; }
.wcm-hours b { font-weight: 700; }
.wcm-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.wcm-btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 12px 20px; font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; border: 2px solid #fff; transition: transform .15s, background .15s; white-space: nowrap; }
.wcm-btn:hover { transform: translateY(-1px); text-decoration: none; }
.wcm-btn--solid, .wcm-btn--solid:hover { background: #fff; color: var(--o); }
.wcm-btn--ghost, .wcm-btn--ghost:hover { color: #fff; }
.wcm-btn--ghost:hover { background: rgba(255,255,255,.12); }

/* chip bar */
.wcm-nav { position: sticky; top: var(--wcm-stick); z-index: 50; background: rgba(255,250,246,.96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.wcm-nav .wcm-wrap { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-block: 12px; }
.wcm-nav .wcm-wrap::-webkit-scrollbar { display: none; }
.wcm-chip { flex: 0 0 auto; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 600; white-space: nowrap; text-decoration: none; }
.wcm-chip:hover { border-color: var(--o); color: var(--o); text-decoration: none; }
.wcm-chip.is-on, .wcm-chip.is-on:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* sections */
.wcm-body { padding-block: 28px 64px; display: grid; gap: 48px; }
.wcm-sec { scroll-margin-top: calc(var(--wcm-stick) + 70px); min-width: 0; }
.wcm-sec-h { display: flex; align-items: baseline; gap: 12px; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.wcm-sec-h h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; margin: 0; letter-spacing: -.01em; color: var(--ink); line-height: 1.2; }
.wcm-sec-h span { font-size: 13px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.wcm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }

/* cards */
.wcm-card { display: flex; flex-direction: column; background: var(--card); border-radius: 14px; overflow: hidden; border: 1px solid var(--line); cursor: pointer; text-align: left; padding: 0; font: inherit; color: inherit; transition: box-shadow .2s, transform .2s; min-width: 0; }
.wcm-card:hover { box-shadow: 0 10px 28px rgba(60,30,15,.12); transform: translateY(-2px); }
.wcm-card:focus-visible { outline: 3px solid var(--o); outline-offset: 2px; }
.wcm-ph { aspect-ratio: 4/3; background: var(--o-soft); overflow: hidden; max-width: 100%; width: 100%; }
.wcm-ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.wcm-card:hover .wcm-ph img { transform: scale(1.04); }
.wcm-in { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; width: 100%; }
.wcm-name { font-weight: 700; font-size: 16px; line-height: 1.3; margin: 0; color: inherit; }
.wcm-desc { font-size: 13.5px; line-height: 1.5; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wcm-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
.wcm-price { font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.wcm-tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.wcm-tag { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; border-radius: 6px; padding: 3px 7px; background: #f3eeeb; color: var(--muted); }
.wcm-tag--spicy { background: #fde3dc; color: #b3261e; }
.wcm-tag--veg { background: #e3f3e6; color: #2b7a3d; }
.wcm-tag--alc { background: #ece6f6; color: #5b3f99; }

/* featured (Nouveautés) */
.wcm-feat .wcm-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.wcm-feat .wcm-card { background: var(--ink); color: #fff; border-color: var(--ink); }
.wcm-feat .wcm-desc { color: #cfc6c1; }
.wcm-feat .wcm-price { color: #fff; }
.wcm-feat .wcm-tag { background: rgba(255,255,255,.12); color: #fff; }
.wcm-feat .wcm-sec-h { border-color: var(--o); }
.wcm-feat .wcm-sec-h h2 { color: var(--o); }

.wcm-note { background: #fff; border: 1px dashed #d9cdc6; border-radius: 14px; padding: 18px 20px; font-size: 13.5px; line-height: 1.7; color: var(--muted); }
.wcm-note h3 { font-size: 15px; color: var(--ink); margin: 0 0 6px; font-weight: 800; }
.wcm-note p { margin: 0; }
.wcm-small { font-size: 12.5px; color: var(--muted); margin: -24px 0 0; }

/* detail sheet */
.wcm-sheet { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 24px; }
.wcm-sheet[hidden] { display: none !important; }
.wcm-dim { position: absolute; inset: 0; background: rgba(20,12,8,.55); }
.wcm-panel { position: relative; background: #fff; border-radius: 18px; max-width: 560px; width: 100%; max-height: 88vh; overflow: auto; box-shadow: 0 30px 80px rgba(0,0,0,.35); color: var(--ink); }
.wcm-panel .wcm-ph { aspect-ratio: 16/10; }
.wcm-x { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #fff; font-size: 22px; line-height: 1; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.2); color: var(--ink); z-index: 2; }
.wcm-pb { padding: 20px 22px 22px; display: grid; gap: 14px; }
.wcm-pb h3 { font-size: 22px; font-weight: 800; margin: 0; line-height: 1.25; color: var(--ink); }
.wcm-pb .wcm-desc { -webkit-line-clamp: unset; display: block; white-space: pre-line; font-size: 14.5px; }
.wcm-opt h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 6px; color: var(--ink); font-weight: 800; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; }
.wcm-opt h4 small { font-size: 11px; font-weight: 700; color: var(--o); letter-spacing: .04em; }
.wcm-opt ul { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 10px; }
.wcm-opt li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; font-size: 14px; border-top: 1px solid var(--line); }
.wcm-opt li:first-child { border-top: 0; }
.wcm-opt li span:last-child { font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap; }
.wcm-order { display: flex; justify-content: space-between; align-items: center; gap: 12px; position: sticky; bottom: 0; background: #fff; padding: 14px 22px; border-top: 1px solid var(--line); }
.wcm-order .wcm-btn, .wcm-order .wcm-btn:hover { background: var(--o); border-color: var(--o); color: #fff; }

/* phone */
@media (max-width: 640px) {
  .wcm-top .wcm-wrap { grid-template-columns: 1fr; padding-block: calc(var(--wcm-head) + 22px) 24px; }
  .wcm-btn { padding: 11px 18px; font-size: 14px; }
  .wcm-body { gap: 36px; padding-bottom: 110px; } /* clears the site's fixed bottom menu */
  .wcm-grid, .wcm-feat .wcm-grid { grid-template-columns: 1fr; gap: 0; }
  .wcm-card { flex-direction: row-reverse; align-items: flex-start; border-radius: 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding-block: 14px; gap: 12px; }
  .wcm-card:hover { box-shadow: none; transform: none; }
  .wcm-card .wcm-ph { width: 104px; height: 104px; flex: 0 0 104px; aspect-ratio: 1; border-radius: 12px; }
  .wcm-in { padding: 0; }
  .wcm-feat .wcm-grid { display: flex; overflow-x: auto; gap: 12px; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .wcm-feat .wcm-card { flex: 0 0 78%; flex-direction: column; border-radius: 14px; padding: 0; scroll-snap-align: start; }
  .wcm-feat .wcm-card .wcm-ph { width: 100%; height: auto; flex: none; aspect-ratio: 4/3; border-radius: 0; }
  .wcm-feat .wcm-in { padding: 12px 14px 14px; }
  .wcm-sheet { padding: 0; align-items: flex-end; }
  .wcm-panel { border-radius: 18px 18px 0 0; max-height: 92vh; }
  .wcm-order { padding-bottom: max(14px, env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .wcm * { transition: none !important; } }
