/* Public menu themes (fresco, carta, mercado). Ported from the approved
   prototype. The --m-* values come from menu_appearance.css_variables and are
   set on every .m-theme element; .m-page is the "menu" query container. */

.m-theme {
  --bg: var(--m-bg); --surface: var(--m-card); --surface-elev: var(--m-soft);
  --text: var(--m-text); --text-2: var(--m-text2); --text-3: var(--m-text2);
  --border: var(--m-line); --divider: var(--m-line);
  --primary: var(--m-accent); --primary-dark: var(--m-accent); --primary-light: var(--m-soft);
  --serif: var(--m-display); --sans: var(--m-body);
  --radius-card: var(--m-radius); --radius-pill: var(--m-pill);
}
.m-page{position:relative;container-type:inline-size;container-name:menu;background:var(--m-bg);color:var(--m-text);font-family:var(--m-body);font-size:15px;line-height:1.45;flex:1 0 auto}
.m-theme :where(button,select,input){font-family:inherit;color:inherit}
.m-theme .m-item h3{letter-spacing:normal}
.m-theme .m-item[hidden],.m-theme .m-sec[hidden],.m-theme .m-tabs a[hidden],.m-theme .m-tabs[hidden]{display:none}

.m-wrap{padding:0 18px 110px}
@container menu (min-width:880px){.m-wrap{padding:0 40px 110px;max-width:1240px;margin:0 auto}}
.m-hero{position:relative}

/* Sticky menu bar: Food / Drinks switch (when shown), the section bar and the
   search, sections and filter icons. Phone: switch and icons on top, sections
   below. Wide: one row, with arrows when the sections overflow. */
.m-bar{position:sticky;top:0;z-index:6;background:var(--m-bg);margin:14px -18px 0;padding:8px 18px 6px;border-bottom:1px solid var(--m-line);display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"nav acts" "search search";align-items:center;column-gap:8px}
.m-bar.has-view{grid-template-areas:"view acts" "nav nav" "search search"}
@container menu (min-width:880px){.m-bar{margin-inline:0;padding-inline:0;grid-template-columns:minmax(0,1fr) auto}.m-bar.has-view{grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"view nav acts" "search search search";column-gap:16px}}
.m-bar .m-view{grid-area:view}
.m-navw{grid-area:nav;position:relative;display:flex;align-items:center;min-width:0}
.m-acts{grid-area:acts;display:flex;gap:4px;justify-self:end}
.m-ic{position:relative;flex:none;width:40px;height:40px;border-radius:50%;border:0;background:transparent;color:var(--m-text);display:grid;place-items:center;cursor:pointer;padding:0}
.m-ic svg{width:19px;height:19px}
.m-ic:hover,.m-ic[aria-expanded="true"]{background:var(--m-soft)}
.m-ic:focus-visible,.m-arr:focus-visible{outline:2px solid var(--m-accent);outline-offset:1px}
.m-fbtn .n{position:absolute;top:3px;right:1px;min-width:17px;height:17px;border-radius:9px;background:var(--m-accent);color:var(--m-on);font-size:10.5px;font-weight:700;display:grid;place-items:center;padding:0 4px;line-height:1}
.m-fbtn .n[hidden]{display:none}
.m-tabs{--fl:0px;--fr:0px;position:relative;flex:1;min-width:0;display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;padding:2px 0;-webkit-mask-image:linear-gradient(to right,transparent,#000 var(--fl),#000 calc(100% - var(--fr)),transparent);mask-image:linear-gradient(to right,transparent,#000 var(--fl),#000 calc(100% - var(--fr)),transparent)}
.m-tabs::-webkit-scrollbar{display:none}
.m-tabs.fade-l{--fl:28px}
.m-tabs.fade-r{--fr:28px}
.m-tabs a{flex:none;display:inline-flex;align-items:center;min-height:36px;box-sizing:border-box;border-radius:var(--m-pill);padding:0 12px;font-size:13.5px;color:var(--m-text2);text-decoration:none;white-space:nowrap}
.m-tabs a:hover{color:var(--m-text)}
.m-tabs a.on{color:var(--m-text);background:var(--m-soft)}
.m-tabs a:focus-visible{outline:2px solid var(--m-accent);outline-offset:-2px}
.m-arr{display:none}
@container menu (min-width:880px){
  .m-arr{flex:none;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;border:1px solid var(--m-line);background:var(--m-card);color:var(--m-text);cursor:pointer;padding:0;position:absolute;top:50%;transform:translateY(-50%);z-index:1;left:0}
  .m-arr.r{left:auto;right:0}
  .m-arr[hidden]{display:none}
  .m-arr svg{width:16px;height:16px}
}
.m-search{grid-area:search;position:relative;display:flex;align-items:center;gap:6px;margin-top:6px}
.m-search[hidden]{display:none}
.m-search>svg{position:absolute;left:12px;width:16px;height:16px;color:var(--m-text2);pointer-events:none}
.m-search input{flex:1;min-width:0;box-sizing:border-box;height:40px;font:inherit;font-size:15px;color:var(--m-text);background:var(--m-card);border:1px solid var(--m-line);border-radius:var(--m-pill);padding:0 12px 0 36px}
.m-search input::placeholder{color:var(--m-text2)}
.m-search input:focus{outline:none;border-color:var(--m-accent)}
.m-srow{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:2px 14px;padding:10px 0 2px}
.m-leg{font-size:11.5px;color:var(--m-text2)}
.m-status{display:flex;flex-wrap:wrap;gap:4px 12px;align-items:baseline;font-size:12.5px;color:var(--m-text2)}
.m-status button{background:none;border:0;padding:0;color:var(--m-accent);font-size:12.5px;cursor:pointer;text-decoration:underline;text-underline-offset:2px}
.m-empty{padding:40px 0;text-align:center;color:var(--m-text2)}
.m-empty .chip{margin-top:10px}
.m-sec,.m-sub,.m-brow{scroll-margin-top:calc(var(--m-bar-h,96px) + 8px)}
.m-sec h2:focus,.m-sub h3:focus,.m-brow h2:focus{outline:none}
/* Sections far below the fold skip rendering until they come near. */
.m-sec:nth-of-type(n+3){content-visibility:auto;contain-intrinsic-size:auto 900px}
.m-sort-wrap{position:relative;display:inline-flex}
.m-sort{appearance:none;-webkit-appearance:none;font:inherit;font-size:14px;height:40px;box-sizing:border-box;background:var(--m-card);border:1px solid var(--m-line);border-radius:var(--m-pill);padding:0 34px 0 14px;color:var(--m-text);cursor:pointer}
.m-sort:focus{outline:none;border-color:var(--m-accent)}
.m-sort option{background:var(--m-card);color:var(--m-text)}
.m-sort-wrap svg{position:absolute;right:12px;top:50%;transform:translateY(-50%);width:15px;height:15px;color:var(--m-text2);pointer-events:none}
.m-theme .fp .chips{display:flex;flex-wrap:wrap;gap:6px}
.m-theme :is(.fp,.m-empty) .chip{flex:none;font-size:13px;line-height:1;letter-spacing:0;font-weight:400;border:1px solid var(--m-line);background:transparent;color:var(--m-text);border-radius:var(--m-pill);padding:0 14px;min-height:36px;cursor:pointer;white-space:nowrap;display:inline-flex;align-items:center;gap:6px;transition:background .15s,border-color .15s,color .15s}
.m-theme :is(.fp,.m-empty) .chip:hover{border-color:var(--m-text2)}
.m-theme :is(.fp,.m-empty) .chip[aria-pressed="true"]{background:var(--m-accent);border-color:var(--m-accent);color:var(--m-on)}
.m-theme .fp .lnk{background:none;border:0;padding:0;font:inherit;color:var(--m-accent);text-decoration:underline;text-underline-offset:2px;cursor:pointer}

/* filters panel (aside on web, sheet on phone) */
.m-theme .fp{display:grid;gap:22px}
.m-theme .fp h5{margin:0 0 10px;font-family:var(--m-body);font-size:11.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--m-text2)}
.m-theme .algrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(98px,1fr));gap:6px}
.m-theme .alb{display:flex;align-items:center;gap:7px;font-size:12.5px;text-align:left;background:transparent;border:1px solid var(--m-line);border-radius:calc(var(--m-radius) * .6);padding:7px 8px;cursor:pointer;color:var(--m-text)}
.m-theme .alb svg{width:17px;height:17px;flex:none}
.m-theme .alb[aria-pressed="true"]{border-color:var(--m-accent);background:var(--m-soft)}
.m-theme .alb[aria-pressed="true"] span{text-decoration:line-through;text-decoration-color:var(--m-accent)}
.m-theme .tg{display:flex;gap:10px;align-items:flex-start;font-size:13px;margin-top:10px;cursor:pointer;color:var(--m-text)}
.m-theme .tg input{accent-color:var(--m-accent);margin:2px 0 0;width:16px;height:16px;flex:none}
.m-theme .rg{display:grid;gap:4px}
.m-theme .rg+.rg{margin-top:14px}
.m-theme .rg div{display:flex;justify-content:space-between;font-size:13px}
.m-theme .rg b{font-weight:600;font-variant-numeric:tabular-nums}
.m-theme .rg input{width:100%;height:22px;margin:0;background:transparent;cursor:pointer;appearance:none;-webkit-appearance:none}
.m-theme .rg input::-webkit-slider-runnable-track{height:4px;border-radius:2px;background:var(--m-line);background:color-mix(in srgb,var(--m-text2) 35%,transparent)}
.m-theme .rg input::-moz-range-track{height:4px;border-radius:2px;background:var(--m-line);background:color-mix(in srgb,var(--m-text2) 35%,transparent)}
.m-theme .rg input::-webkit-slider-thumb{-webkit-appearance:none;width:18px;height:18px;margin-top:-7px;border:0;border-radius:50%;background:var(--m-accent)}
.m-theme .rg input::-moz-range-thumb{width:18px;height:18px;border:0;border-radius:50%;background:var(--m-accent)}
.m-theme .rg input:focus-visible{outline:2px solid var(--m-accent);outline-offset:2px;border-radius:4px}
.m-theme .fp .why{font-size:12px;color:var(--m-text2);margin:8px 0 0;line-height:1.4}

/* card footer: allergen icons with the "?" key, the one-word estimate, the add button */
.m-theme .fl{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;min-width:0;flex:1}
.m-theme .al{width:16px;height:16px;color:var(--m-text2);flex:none}
.m-theme .alw{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%}
.m-theme .alw.may{outline:1px dashed var(--m-text2);outline-offset:-2px}
.m-theme .alw.may .al{width:13px;height:13px;opacity:.8}
.m-theme .al-row{display:inline-flex;flex-wrap:wrap;gap:2px;align-items:center}
.m-theme .al-q{flex:none;width:18px;height:18px;border-radius:50%;border:1px solid var(--m-line);background:transparent;color:var(--m-text2);font-size:11px;font-weight:600;line-height:1;padding:0;cursor:help;display:inline-grid;place-items:center;margin-left:-2px}
.m-theme .al-q:hover{border-color:var(--m-text2);color:var(--m-text)}
.m-theme .al-unrev{font-size:11.5px;color:var(--m-text2);white-space:nowrap;opacity:.85}
.m-theme .acc{font-size:11.5px;color:var(--m-text2);white-space:nowrap}
.m-theme .est{font-size:11.5px;color:var(--m-text2);white-space:nowrap;font-style:italic}
.m-theme .m-item .opl{margin:0;font-family:var(--m-body);font-style:normal;font-size:12.5px;line-height:1.4;color:var(--m-text2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;-webkit-line-clamp:unset;letter-spacing:normal;text-transform:none}
.m-theme .m-item .st{margin:0;display:flex;flex-wrap:wrap;gap:4px 8px;font-family:var(--m-body);font-style:normal;font-size:12px;line-height:1.35;letter-spacing:normal;text-transform:none;-webkit-line-clamp:unset;overflow:visible}
.m-theme .deal{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:600;color:var(--m-accent);border-radius:var(--m-pill);padding:2px 9px;background:var(--m-soft)}
.m-theme .win{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:var(--m-text2)}
.m-theme .win::before{content:"";width:6px;height:6px;border-radius:50%;border:1.5px solid currentColor}
.m-theme .m-win{margin:-6px 0 10px;font-size:12.5px;color:var(--m-text2)}
.m-theme .m-deals{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0 0}

/* add control: the cart JS hooks (.add-btn, .stepper, .step-dec, .step-inc).
   The visible circle is 34px; the hit area reaches 44px. */
.m-theme :is(.m-item,.m-diy-items li) .item-add{flex:none;position:relative}
.m-theme :is(.m-item,.m-diy-items li) .add-btn{position:relative;flex:none;width:34px;height:34px;border-radius:50%;border:1px solid var(--m-line);background:var(--m-card);color:var(--m-text);display:inline-grid;place-items:center;cursor:pointer;font-size:19px;line-height:1;padding:0}
.m-theme :is(.m-item,.m-diy-items li) .add-btn::after{content:"";position:absolute;inset:-5px}
.m-theme :is(.m-item,.m-diy-items li) .add-btn:hover{border-color:var(--m-accent);color:var(--m-accent)}
.m-theme :is(.m-item,.m-diy-items li) .stepper{flex:none;display:inline-flex;align-items:center;gap:2px;height:34px;border-radius:17px;background:var(--m-accent);color:var(--m-on);padding:0 3px}
.m-theme :is(.m-item,.m-diy-items li) .stepper button{position:relative;width:30px;height:30px;border-radius:50%;border:0;background:transparent;color:inherit;font-size:17px;line-height:1;cursor:pointer;display:grid;place-items:center;padding:0}
.m-theme :is(.m-item,.m-diy-items li) .stepper button::after{content:"";position:absolute;inset:-7px -2px}
.m-theme :is(.m-item,.m-diy-items li) .stepper button:hover{background:rgba(255,255,255,.18)}
.m-theme :is(.m-item,.m-diy-items li) .step-qty{min-width:16px;text-align:center;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums;color:inherit}
.m-theme :is(.m-item,.m-diy-items li) .item-add[hidden],.m-theme :is(.m-item,.m-diy-items li) .add-btn[hidden],.m-theme :is(.m-item,.m-diy-items li) .stepper[hidden]{display:none}

.m-theme .ph{position:relative;display:grid;place-items:center;overflow:hidden}
.m-theme .ph svg{width:44%;max-width:70px;color:rgba(255,255,255,.75)}
.m-theme .ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.m-theme .ph.none{background:var(--m-soft)}
.m-theme .ph.none svg{color:var(--m-accent);opacity:.45}
.m-theme :is(.pr,.m-diy-items .p) .cur{margin-right:2px}
.m-theme :is(.pr,.m-diy-items .p) .cur-after{margin-right:0;margin-left:3px}

/* ---------- FRESCO ---------- */
[data-t="fresco"] .m-hero .ban{height:112px}
[data-t="fresco"] .m-hero .ban:not(.has-img){background:radial-gradient(circle at 78% 30%, color-mix(in srgb, var(--m-accent) 75%, #fff) 0 9%, transparent 9.5%), radial-gradient(circle at 78% 30%, transparent 0 14%, color-mix(in srgb, var(--m-accent) 65%, #fff) 14.3% 14.8%, transparent 15%), linear-gradient(120deg, color-mix(in srgb, var(--m-accent) 75%, #000), color-mix(in srgb, var(--m-accent) 80%, #fff))}
[data-t="fresco"] .m-hero .id{padding:0 18px;margin-top:-34px;position:relative}
@container menu (min-width:880px){[data-t="fresco"] .m-hero .ban{height:150px}[data-t="fresco"] .m-hero .id{max-width:1240px;margin:-38px auto 0;padding:0 40px}}
[data-t="fresco"] .m-hero .id{display:flex;flex-direction:column;align-items:flex-start}
[data-t="fresco"] .m-hero .id.nolg{margin-top:4px}
[data-t="fresco"] .m-hero h1{font-family:var(--m-display);font-size:28px;font-weight:700;line-height:1.1;margin:10px 0 4px;color:var(--m-text)}
@container menu (min-width:880px){[data-t="fresco"] .m-hero h1{font-size:38px}}
.m-theme .meta{display:flex;flex-wrap:wrap;gap:4px 10px;font-size:13px;color:var(--m-text2)}
.m-theme .meta .open{color:var(--m-accent);font-weight:600}
[data-t="fresco"] .m-sec h2{font-family:var(--m-display);font-size:22px;font-weight:700;margin:26px 0 12px;color:var(--m-text)}
[data-t="fresco"] .m-sec h2 small{font-family:var(--m-body);font-size:12.5px;font-weight:400;color:var(--m-text2);margin-left:8px}
[data-t="fresco"] .grid{display:grid;gap:12px}
@container menu (min-width:600px){[data-t="fresco"] .grid{grid-template-columns:1fr 1fr}}
@container menu (min-width:1180px){[data-t="fresco"] .grid{grid-template-columns:1fr 1fr 1fr}}
.fr{background:var(--m-card);border-radius:var(--m-radius);box-shadow:0 1px 2px rgba(20,24,18,.05),0 8px 22px -8px rgba(20,24,18,.12);overflow:hidden;display:flex;flex-direction:column;text-align:left}
.fr .ph{aspect-ratio:16/10;max-width:100%}
.fr .bd{padding:14px 14px 13px;display:flex;flex-direction:column;gap:7px;flex:1;min-width:0}
.fr .nm{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.fr h3{margin:0;font-family:var(--m-display);font-size:17px;font-weight:700;line-height:1.25;color:var(--m-text)}
.fr .pr{font-size:14px;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--m-text)}
.fr p.ds{margin:0;font-size:13.5px;color:var(--m-text2);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.fr .mac{margin:0;font-size:12.5px;color:var(--m-text2);font-variant-numeric:tabular-nums}
.fr .mac .k{color:var(--m-accent);font-weight:600}
.fr .ft{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:2px}
.fr.thumb{flex-direction:row-reverse}
.fr.thumb .ph{aspect-ratio:auto;width:104px;flex:none}

/* ---------- CARTA ---------- */
[data-t="carta"] .m-hero{text-align:center;padding:24px 18px 4px}
[data-t="carta"] .m-hero .loc{font-size:11.5px;letter-spacing:.24em;text-transform:uppercase;color:var(--m-text2)}
[data-t="carta"] .m-hero h1{font-family:var(--m-display);font-weight:600;font-size:36px;line-height:1.02;margin:12px 0 10px;color:var(--m-text);letter-spacing:-.01em}
@container menu (min-width:880px){[data-t="carta"] .m-hero{padding-top:34px}[data-t="carta"] .m-hero h1{font-size:54px}}
.m-theme .orn{display:flex;align-items:center;justify-content:center;gap:12px;color:var(--m-accent);margin:6px auto 12px;max-width:260px}
.m-theme .orn::before,.m-theme .orn::after{content:"";flex:1;height:1px;background:currentColor;opacity:.6}
.m-theme .orn i{width:7px;height:7px;transform:rotate(45deg);border:1px solid currentColor}
[data-t="carta"] .meta{justify-content:center;font-style:italic;font-size:15px}
[data-t="carta"] .meta .open{font-style:normal;font-size:12px;letter-spacing:.14em;text-transform:uppercase}
[data-t="carta"] .m-tabs a{font-size:14px;letter-spacing:.04em}
[data-t="carta"] .m-sec h2{font-family:var(--m-display);font-weight:600;font-size:15px;letter-spacing:.26em;text-transform:uppercase;text-align:center;color:var(--m-accent);margin:34px 0 8px;display:flex;align-items:center;gap:14px}
[data-t="carta"] .m-sec h2::before,[data-t="carta"] .m-sec h2::after{content:"";flex:1;height:1px;background:var(--m-line)}
[data-t="carta"] .grid{display:block}
@container menu (min-width:880px){[data-t="carta"] .grid{columns:2;column-gap:56px}}
.ca{break-inside:avoid;padding:12px 0;display:flex;gap:14px;align-items:flex-start}
.ca .bd{flex:1;min-width:0}
.ca .ln{display:flex;align-items:baseline;gap:8px}
.ca h3{margin:0;font-family:var(--m-display);font-size:20px;font-weight:600;line-height:1.2;color:var(--m-text)}
.ca .ld{flex:1;min-width:18px;border-bottom:1.5px dotted var(--m-text2);opacity:.55;transform:translateY(-5px)}
.ca .pr{font-family:var(--m-display);font-size:19px;font-weight:600;font-variant-numeric:lining-nums tabular-nums;white-space:nowrap;color:var(--m-text)}
.ca p.ds{margin:3px 0 0;font-style:italic;font-size:15px;line-height:1.4;color:var(--m-text2)}
.ca .mac{margin:6px 0 0;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--m-text2);font-variant-numeric:tabular-nums}
.ca .mac .k{color:var(--m-accent);font-weight:600}
.ca .ph{width:64px;height:64px;border-radius:50%;flex:none;margin-top:4px}
.ca .bd{display:flex;flex-direction:column;gap:4px}
.ca .ft{display:flex;align-items:center;gap:8px}
.ca .item-add{margin-top:-2px}
.ca .ft:not(:has(*:not(.fl))):has(.fl:empty){display:none}

/* ---------- MERCADO ---------- */
[data-t="mercado"] .m-hero{background:var(--m-accent);color:var(--m-on);padding:16px 18px 30px;overflow:hidden}
[data-t="mercado"] .m-hero::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:14px;background:radial-gradient(circle at 50% 100%,var(--m-bg) 9px,transparent 9.5px) 0 0/22px 14px repeat-x}
@container menu (min-width:880px){[data-t="mercado"] .m-hero{padding:34px max(40px,calc((100cqw - 1160px)/2)) 50px}}
[data-t="mercado"] .m-hero .open{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;border:1.5px solid currentColor;border-radius:999px;padding:3px 10px;color:inherit}
[data-t="mercado"] .m-hero h1{font-family:var(--m-display);font-variation-settings:"SOFT" 100;font-weight:850;font-size:36px;line-height:.95;margin:12px 0 8px;max-width:9ch;letter-spacing:-.02em;color:inherit}
@container menu (max-width:879px){[data-t="mercado"] .m-hero .lg-me{width:52px;height:52px;border-width:3px;border-radius:14px;font-size:23px}[data-t="mercado"] .m-hero .lg-me.wide{width:116px;height:48px}}
[data-t="mercado"] .m-hero :is(h1,.meta,.me-top){padding-right:96px}
@container menu (min-width:880px){[data-t="mercado"] .m-hero h1{font-size:64px;max-width:none}[data-t="mercado"] .m-hero :is(h1,.meta,.me-top){padding-right:140px}}
[data-t="mercado"] .m-hero.no-stk :is(h1,.meta,.me-top){padding-right:0}
[data-t="mercado"] .m-hero .meta{color:inherit;opacity:.9;font-size:14px}
.m-theme .stk{position:absolute;right:16px;top:20px;width:84px;height:84px;border-radius:50%;background:var(--m-bg);color:var(--m-text);display:grid;place-items:center;text-align:center;transform:rotate(-10deg);font-size:11px;font-weight:700;line-height:1.15;text-transform:uppercase;letter-spacing:.04em;box-shadow:0 6px 16px rgba(0,0,0,.18)}
.m-theme .stk b{display:block;font-family:var(--m-display);font-variation-settings:"SOFT" 100;font-size:26px;font-weight:850;letter-spacing:0;color:var(--m-accent)}
@container menu (min-width:880px){.m-theme .stk{right:max(40px,calc((100cqw - 1160px)/2));top:30px;width:104px;height:104px;font-size:12px}.m-theme .stk b{font-size:32px}}
[data-t="mercado"] .m-tabs a{font-weight:600}
[data-t="mercado"] .m-tabs a.on{background:var(--m-accent);color:var(--m-on)}
[data-t="mercado"] .m-sec h2{font-family:var(--m-display);font-variation-settings:"SOFT" 100;font-weight:850;font-size:28px;line-height:1.05;margin:30px 0 14px;display:flex;align-items:center;gap:10px;color:var(--m-text);letter-spacing:-.01em}
[data-t="mercado"] .m-sec h2 small{font-family:var(--m-body);font-size:12px;font-weight:700;min-width:26px;height:26px;padding:0 8px;border-radius:13px;display:inline-grid;place-items:center;background:var(--m-soft);color:var(--m-accent)}
[data-t="mercado"] .grid{display:grid;gap:12px}
@container menu (min-width:600px){[data-t="mercado"] .grid{grid-template-columns:1fr 1fr;gap:16px}}
@container menu (min-width:1180px){[data-t="mercado"] .grid{grid-template-columns:1fr 1fr 1fr}}
.me{position:relative;background:var(--m-card);border-radius:var(--m-radius);box-shadow:0 2px 0 var(--m-line);display:flex;flex-direction:column;overflow:hidden;text-align:left}
.me .ph{aspect-ratio:4/3;max-width:100%}
.me.thumb{flex-direction:row}
.me.thumb .ph{aspect-ratio:auto;width:96px;flex:none}
.me .bd{padding:14px 14px 12px;display:flex;flex-direction:column;gap:7px;flex:1;min-width:0}
.me .nm{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.me h3{margin:0;font-family:var(--m-display);font-variation-settings:"SOFT" 100;font-weight:750;font-size:18.5px;line-height:1.15;color:var(--m-text)}
.me .tag{flex:none;background:var(--m-accent);color:var(--m-on);font-weight:700;font-size:13px;border-radius:999px;padding:4px 10px;transform:rotate(-3deg);font-variant-numeric:tabular-nums;white-space:nowrap}
.me.big .tag{position:absolute;top:12px;right:12px;font-size:14px;padding:6px 12px;box-shadow:0 4px 12px rgba(0,0,0,.18)}
.me.big .nm{display:block}
.me p.ds{margin:0;font-size:13.5px;color:var(--m-text2);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.m-theme .mc{display:flex;flex-wrap:wrap;gap:5px}
.m-theme .mc span{font-size:11.5px;font-weight:600;border-radius:999px;padding:3px 8px;background:var(--m-bg);color:var(--m-text2);font-variant-numeric:tabular-nums}
.m-theme .mc .k{background:var(--m-soft);color:var(--m-accent)}
.me .ft{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:2px}
.me .mac,.dk-me .mac{margin:0;font-size:12px;font-weight:600;color:var(--m-text2);font-variant-numeric:tabular-nums}
.me .mac .k,.dk-me .mac .k{display:inline-block;border-radius:999px;padding:2px 8px;background:var(--m-soft);color:var(--m-accent);margin-right:2px}

/* ---------- logos ----------
   A square logo sits on a white plate; the inline onload adds .wide when the
   image is at least 1.6 times wider than tall. .none is the initial. */
.m-theme .lg{flex:none;box-sizing:border-box;display:grid;place-items:center;overflow:hidden;background:#FFFFFF}
.m-theme .lg img{width:100%;height:100%;object-fit:contain;display:block}
.m-theme .lg.none{background:var(--m-soft);color:var(--m-accent);font-family:var(--m-display);font-weight:700;line-height:1}
.m-theme .lg-fr{width:76px;height:76px;border-radius:20px;border:4px solid var(--m-bg);box-shadow:0 6px 18px rgba(0,0,0,.14);font-size:30px}
.m-theme .lg-fr.wide{width:148px;height:64px;border-radius:999px;padding:8px 16px}
.m-theme .lg-fr.none{border-radius:50%}
.m-theme .lg-ca{width:72px;height:72px;margin:0 auto 14px;border-radius:var(--m-radius);padding:5px;border:1px solid var(--m-line);box-shadow:0 0 0 4px var(--m-bg),0 0 0 5px var(--m-line);font-size:30px}
.m-theme .lg-ca.wide{width:fit-content;max-width:100%;height:52px;padding:0;border:0;box-shadow:none;background:transparent}
.m-theme .lg-ca.wide img{width:auto;max-width:min(220px,100%)}
.m-page[data-dark] .lg-ca.wide{height:60px;padding:8px 14px;background:#FFFFFF}
.m-theme .lg-ca.none{border-radius:50%;font-style:italic}
@container menu (min-width:880px){.m-theme .lg-ca{width:92px;height:92px}.m-theme .lg-ca.wide{width:fit-content;height:64px}.m-page[data-dark] .lg-ca.wide{height:72px}}
.m-theme .me-top{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.m-theme .lg-me{width:64px;height:64px;border-radius:16px;border:4px solid #FFFFFF;transform:rotate(-6deg);box-shadow:0 8px 18px rgba(0,0,0,.22);font-size:28px}
.m-theme .lg-me.wide{width:132px;height:54px;padding:6px 12px;border-radius:14px}
.m-theme .lg-me.none{background:#FFFFFF;color:var(--m-accent)}
@container menu (max-width:379px){.m-theme .lg-me.wide{width:116px;height:48px;padding:5px 10px}}
@container menu (min-width:880px){.m-theme .lg-me{width:84px;height:84px}.m-theme .lg-me.wide{width:170px;height:68px}}

/* ---------- about: info bar above the menu + "Hours and info" sheet ---------- */
.m-theme .ab{margin-top:18px;display:grid;gap:14px;font-size:14px;color:var(--m-text)}
@container menu (min-width:880px){.m-theme .ab{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px 32px}}
.m-theme .ab-text{display:grid;gap:8px;min-width:0}
/* Every item carries its separator dot on the left. The line is shifted left
   by one separator and that strip is clipped, so a dot that starts a wrapped
   line never shows. */
.m-theme .ab-line{display:flex;flex-wrap:wrap;align-items:center;row-gap:4px;margin-left:-25px;clip-path:inset(-8px -8px -8px 22px);font-size:14px;color:var(--m-text)}
.m-theme .ab-line>span{display:inline-flex;align-items:center}
.m-theme .ab-line>span::before{content:"";flex:none;width:3px;height:3px;border-radius:50%;background:var(--m-text2);opacity:.6;margin:0 11px}
.m-theme .ab-open{font-weight:600;color:var(--m-text2)}
.m-theme .ab-open i{flex:none;width:7px;height:7px;margin-right:7px;border-radius:50%;background:var(--m-text2)}
.m-theme .ab-open.on{color:var(--m-accent)}
.m-theme .ab-open.on i{background:var(--m-accent);box-shadow:0 0 0 3px var(--m-soft)}
.m-theme .ab-rate{font-weight:600}
.m-theme .ab-rate svg{width:14px;height:14px;margin-right:5px;color:var(--m-accent)}
.m-theme .ab-rate small{margin-left:4px;font-size:12.5px;font-weight:400;color:var(--m-text2)}
.m-theme .ab-price{letter-spacing:.04em;color:var(--m-text2)}
.m-theme .ab-desc{margin:0;max-width:70ch;color:var(--m-text2);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
/* Equal columns that always share one row; labels never wrap. */
.m-theme .ab-acts{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:8px}
@container menu (min-width:880px){.m-theme .ab-acts{grid-auto-columns:auto}}
.m-theme .ab-btn{box-sizing:border-box;min-width:0;height:40px;display:flex;align-items:center;justify-content:center;gap:6px;padding:0 10px;border:1px solid var(--m-line);background:var(--m-card);color:var(--m-text);border-radius:var(--m-pill);font-size:13.5px;font-weight:500;line-height:1;text-decoration:none;white-space:nowrap;transition:border-color .15s,color .15s}
@container menu (min-width:880px){.m-theme .ab-btn{padding:0 16px}}
.m-theme .ab-btn span{min-width:0;overflow:hidden;text-overflow:ellipsis}
.m-theme .ab-btn svg{width:16px;height:16px;flex:none}
.m-theme .ab-btn:hover{border-color:var(--m-accent);color:var(--m-accent)}
.m-theme .ab-btn.solid{background:var(--m-accent);border-color:var(--m-accent);color:var(--m-on)}
.m-theme .ab-btn.solid:hover{color:var(--m-on);filter:brightness(1.06)}
.m-theme .ab-btn:focus-visible{outline:2px solid var(--m-accent);outline-offset:2px}
@container menu (max-width:399px){.m-theme .ab-btn{padding:0 6px;gap:5px;font-size:13px}.m-theme .ab-btn svg{width:15px;height:15px}}
.m-theme .ab-btn .l-short{display:none}
@container menu (max-width:479px){.m-theme .ab-acts:has(>:nth-child(3)) :is(.l-long){display:none}.m-theme .ab-acts:has(>:nth-child(3)) .l-short{display:inline}}

/* The sheet is part of the page so it reads without JS; restaurant_detail.js
   moves it into a dialog overlay once the button is wired. */
.m-theme .ab-sheet{margin-top:18px;background:var(--m-card);border-radius:var(--m-radius);padding:16px 18px;font-size:14px;color:var(--m-text)}
.m-theme .ab-sheet:not(.ov .ab-sheet) :is(.grab,.x){display:none}
.m-theme.ov .ab-sheet{margin:0;padding:0;background:none;border-radius:0}
.m-theme .ab-sheet:focus{outline:none}
.m-theme .shh h2{margin:0;font-family:var(--m-display);font-size:22px;font-weight:700;color:var(--m-text);line-height:1.15;letter-spacing:normal}
.m-theme .ab-sheet h3{margin:20px 0 8px;font-family:var(--m-body);font-size:11.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--m-text2)}
.m-theme :is(.ab-sheet,.ab-b,.ab-cfr,.ab-cme) .hrs{display:grid;gap:2px}
.m-theme :is(.ab-sheet,.ab-b,.ab-cfr,.ab-cme) .hr{display:flex;justify-content:space-between;gap:12px;padding:7px 10px;border-radius:calc(var(--m-radius) * .6);font-variant-numeric:tabular-nums}
.m-theme :is(.ab-sheet,.ab-b,.ab-cfr,.ab-cme) .hr.today{background:var(--m-soft);font-weight:600}
.m-theme :is(.ab-sheet,.ab-b,.ab-cfr,.ab-cme) .hr .closed{color:var(--m-text2);font-style:italic}
.m-theme :is(.ab-sheet,.ab-b,.ab-cfr,.ab-cme) :is(.hrs-c,.ab-p){margin:0}
.m-theme .ab-sheet .ci{display:grid;gap:12px}
.m-theme .ab-sheet .ci>*{display:flex;gap:10px;align-items:flex-start;color:var(--m-text);text-decoration:none;overflow-wrap:anywhere}
.m-theme .ab-sheet .ci svg{width:16px;height:16px;flex:none;margin-top:2px;color:var(--m-text2)}
.m-theme .ab-sheet .ci a span{color:var(--m-accent);font-weight:600}

/* ---------- Info panel styles other than the bar (about_style tabs / theme) ---------- */
.m-theme .ab:where(.ab-b,.ab-cfr,.ab-cca,.ab-cme){grid-template-columns:none}
.m-theme :is(.ab-b,.ab-cfr,.ab-cme) .ab-chips{display:flex;flex-wrap:wrap;gap:6px}
.m-theme :is(.ab-b,.ab-cfr,.ab-cme) .ab-chips span{font-size:12.5px;border-radius:var(--m-pill);padding:5px 10px;background:var(--m-soft);color:var(--m-text)}
.m-theme :is(.ab-b,.ab-cfr,.ab-cca,.ab-cme) .ab-attr{margin:0;font-size:11.5px;color:var(--m-text2)}
.m-theme :is(.ab-b,.ab-cfr,.ab-cme) .ci{display:grid;gap:12px}
.m-theme :is(.ab-b,.ab-cfr,.ab-cme) .ci>div{display:flex;gap:10px;align-items:flex-start;overflow-wrap:anywhere}
.m-theme :is(.ab-b,.ab-cfr,.ab-cme) .ci svg{width:16px;height:16px;flex:none;margin-top:2px;color:var(--m-text2)}
.m-theme :is(.ab-b,.ab-cfr,.ab-cme) .ci .lk{color:var(--m-accent);font-weight:600;text-decoration:none}
.m-theme .ab-more summary{cursor:pointer;color:var(--m-accent);font-weight:600;font-size:13px;list-style:none}
.m-theme .ab-more summary::-webkit-details-marker{display:none}
.m-theme .ab-more summary::after{content:" +"}
.m-theme .ab-more[open] summary::after{content:" -"}
.m-theme .ab-more[open] summary{margin-bottom:8px}

/* Tabs: a card with Overview, Hours and Contact. Without JS the tablist stays
   hidden and the panes read stacked, each with its own small heading. */
.m-theme .ab-b{display:block;background:var(--m-card);border-radius:var(--m-radius);box-shadow:0 1px 2px rgba(0,0,0,.05),0 8px 22px -10px rgba(0,0,0,.14);overflow:hidden}
[data-t="carta"] .ab-b{box-shadow:none;border:1px solid var(--m-line)}
.m-theme .ab-tabs{display:flex;border-bottom:1px solid var(--m-line)}
.m-theme .ab-tabs[hidden]{display:none}
.m-theme .ab-tabs button{flex:1;background:none;border:0;padding:12px 8px;font:inherit;font-size:13.5px;color:var(--m-text2);cursor:pointer;position:relative}
.m-theme .ab-tabs button[aria-selected="true"]{color:var(--m-text);font-weight:600}
.m-theme .ab-tabs button[aria-selected="true"]::after{content:"";position:absolute;left:22%;right:22%;bottom:-1px;height:2px;border-radius:2px;background:var(--m-accent)}
.m-theme .ab-tabs button:focus-visible{outline:2px solid var(--m-accent);outline-offset:-2px}
.m-theme .ab-pane{padding:16px;display:grid;gap:14px}
.m-theme .ab-pane[hidden]{display:none}
.m-theme .ab-b:not(.js) .ab-pane+.ab-pane{border-top:1px solid var(--m-line)}
.m-theme .ab-ph{margin:0;font-family:var(--m-body);font-size:11.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--m-text2)}
.m-theme .ab-b.js .ab-ph{display:none}
@container menu (min-width:880px){.m-theme .ab-pane.ov{grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:32px}}

/* Theme style, Fresco: a soft card with contact rows and a visual week. */
.m-theme .ab-cfr{background:var(--m-card);border-radius:var(--m-radius);padding:16px;box-shadow:0 1px 2px rgba(0,0,0,.05),0 8px 22px -10px rgba(0,0,0,.14);display:grid;gap:16px}
@container menu (min-width:880px){.m-theme .ab-cfr{grid-template-columns:1.3fr 1fr;column-gap:32px}.m-theme .ab-cfr .wk-box{grid-row:span 2}}
.m-theme .ab-cfr .ab-main,.m-theme .ab-cfr .ab-foot,.m-theme .ab-cfr .wk-box{display:grid;gap:12px;align-content:start;min-width:0}
.m-theme .wk{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;align-items:end}
.m-theme .wk>div{display:grid;gap:5px;justify-items:center;font-size:11px;color:var(--m-text2)}
.m-theme .wk s{display:block;position:relative;width:100%;max-width:26px;height:58px;border-radius:6px;background:var(--m-bg);text-decoration:none;overflow:hidden}
.m-theme .wk s i{position:absolute;left:0;right:0;border-radius:6px;background:var(--m-soft)}
.m-theme .wk .today{color:var(--m-text);font-weight:600}
.m-theme .wk .today s i{background:var(--m-accent)}
.m-theme .wk-cap{margin:0;font-size:12px;color:var(--m-text2);text-align:center}

/* Theme style, Carta: centred like the foot of a printed menu. */
.m-theme .ab-cca{display:block;text-align:center;padding:6px 0 4px}
.m-theme .ab-cca .desc{margin:0 auto 10px;max-width:520px;color:var(--m-text2);font-style:italic}
.m-theme .ab-cca h3{margin:4px 0 10px;font-family:var(--m-display);font-weight:600;font-size:13px;letter-spacing:.26em;text-transform:uppercase;color:var(--m-accent)}
.m-theme .ab-cca .ldr{display:flex;align-items:baseline;gap:8px;max-width:400px;margin:0 auto;font-size:16px;text-align:left}
.m-theme .ab-cca .ldr>span:last-child{text-align:right}
.m-theme .ab-cca .ldr.today{font-weight:600}
.m-theme .ab-cca .ldr .closed{font-style:italic;color:var(--m-text2)}
.m-theme .ab-cca .ldr i{flex:1;min-width:12px;border-bottom:1.5px dotted var(--m-text2);opacity:.55;transform:translateY(-4px)}
.m-theme .ab-cca .addr{font-style:italic;color:var(--m-text2);margin:12px auto 4px;max-width:420px;font-size:15px}
.m-theme .ab-cca .tel{font-variant-numeric:lining-nums;letter-spacing:.04em}
.m-theme .ab-cca .lnk{display:flex;justify-content:center;flex-wrap:wrap;gap:18px;margin-top:10px;font-size:12px;letter-spacing:.14em;text-transform:uppercase}
.m-theme .ab-cca .lnk a{border-bottom:1px solid var(--m-accent);padding-bottom:2px;color:var(--m-accent);text-decoration:none}
.m-theme .ab-cca .stars,.m-theme .ab-cca .svc{color:var(--m-text2);font-size:13px;margin:8px 0 0;font-style:italic}
.m-theme .ab-cca .ab-attr{margin-top:8px}
.m-theme .ab-cca .orn{margin:6px auto 12px}
.m-theme .ab-cca .orn:last-child{margin:14px auto 0}

/* Theme style, Mercado: colour tiles, 2 columns on phones and 5 when wide. */
.m-theme .ab-cme{display:grid;gap:12px}
.m-theme .ab-cme .tiles{display:grid;grid-template-columns:1fr 1fr;gap:10px}
@container menu (min-width:880px){.m-theme .ab-cme .tiles{grid-template-columns:repeat(5,minmax(0,1fr))}}
.m-theme .tile{background:var(--m-card);border-radius:var(--m-radius);padding:14px;display:flex;flex-direction:column;justify-content:space-between;gap:6px;min-height:92px;box-shadow:0 2px 0 var(--m-line);color:var(--m-text);text-decoration:none;min-width:0}
.m-theme .tile small{color:var(--m-text2);font-size:12px}
.m-theme .tile b{font-family:var(--m-display);font-variation-settings:"SOFT" 100;font-weight:800;font-size:22px;line-height:1.05}
.m-theme .tile.t-open{background:var(--m-accent);color:var(--m-on);box-shadow:none}
.m-theme .tile.t-open.off{background:var(--m-card);color:var(--m-text);box-shadow:0 2px 0 var(--m-line)}
.m-theme .tile.t-open small{color:inherit;opacity:.85;text-transform:uppercase;letter-spacing:.06em;font-weight:700}
.m-theme .tile.t-act:hover{box-shadow:0 2px 0 var(--m-accent)}
.m-theme .tile.t-act svg{width:22px;height:22px;color:var(--m-accent)}
.m-theme .tile.t-act small{overflow-wrap:anywhere}
.m-theme .tile.t-hours{grid-column:1/-1}
.m-theme .tile.t-hours b{font-size:18px}
@container menu (min-width:880px){.m-theme .tile.t-hours{grid-column:auto}}
.m-theme .ab-cme .ab-contact{background:var(--m-card);border-radius:var(--m-radius);padding:12px 14px;box-shadow:0 2px 0 var(--m-line)}
.m-theme .ab-cme .ab-contact[open]{display:grid;gap:12px}
.m-theme .ab-sheet .ab-chips{display:flex;flex-wrap:wrap;gap:6px}
.m-theme .ab-sheet .ab-chips span{font-size:12.5px;border-radius:var(--m-pill);padding:5px 10px;background:var(--m-soft);color:var(--m-text)}
.m-theme .ab-sheet .ab-attr{margin:20px 0 0;font-size:11.5px;color:var(--m-text2)}

/* filters sheet (phone). Outside the container so position:fixed is relative to the viewport. */
.m-theme.ov{position:fixed;inset:0;z-index:70;display:flex;align-items:flex-end;justify-content:center;font-family:var(--m-body);color:var(--m-text)}
.m-theme.ov[hidden]{display:none}
.m-theme.ov .bk{position:absolute;inset:0;background:rgba(15,17,14,.42);opacity:0;transition:opacity .22s}
.m-theme.ov.on .bk{opacity:1}
.m-theme.ov .sh{position:relative;width:100%;max-height:86%;overflow-y:auto;background:var(--m-bg);border-radius:22px 22px 0 0;padding:10px 20px 26px;transform:translateY(100%);transition:transform .32s cubic-bezier(.32,.72,.33,1);box-shadow:0 -10px 40px rgba(0,0,0,.2)}
.m-theme.ov.on .sh{transform:none;opacity:1}
.m-theme.ov.wide{align-items:center;padding:24px}
.m-theme.ov.wide .sh{max-width:560px;max-height:min(86vh,760px);border-radius:18px;transform:translateY(20px);opacity:0;transition:transform .25s,opacity .2s}
.m-theme.ov.wide.on .sh{transform:none;opacity:1}
.m-theme.ov.wide .grab{display:none}
.m-theme.ov .sh:focus{outline:none}

/* dish detail sheet */
.m-theme .m-item[data-open]{cursor:pointer}
.m-theme .m-item[data-open]:focus-visible{outline:2px solid var(--m-accent);outline-offset:2px}
.m-theme .dt p{margin:0}
.m-theme .dt p.d{margin:0 0 14px;color:var(--m-text2);font-size:14.5px}
.m-theme .dt .top{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:6px}
.m-theme .dt .kc{font-family:var(--m-display);font-size:34px;font-weight:700;line-height:1;color:var(--m-text)}
.m-theme .dt .kc small{font-family:var(--m-body);font-size:13px;font-weight:400;color:var(--m-text2);margin-left:4px}
.m-theme .dt .top .pr{font-size:17px;font-weight:600}
.m-theme .dt p.sv{font-size:13px;color:var(--m-text2)}
.m-theme .dt .mb{display:grid;gap:10px;margin:14px 0 16px}
.m-theme .dt .mb div{display:grid;grid-template-columns:76px 1fr 64px;align-items:center;gap:10px;font-size:13px}
.m-theme .dt .mb s{display:block;height:6px;border-radius:3px;background:var(--m-line);text-decoration:none;overflow:hidden}
.m-theme .dt .mb s i{display:block;height:100%;border-radius:3px}
.m-theme .dt .mb b{text-align:right;font-variant-numeric:tabular-nums;font-weight:600}
.m-theme .dt .box{background:var(--m-card);border-radius:var(--m-radius);padding:12px 14px;margin-bottom:10px;font-size:13.5px}
.m-theme .dt .box h6{margin:0 0 8px;font-family:var(--m-body);font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--m-text2)}
.m-theme .dt .box .acc{white-space:normal;font-size:13px;color:var(--m-text)}
.m-theme .dt .alist,.m-theme .dt .flags{display:flex;flex-wrap:wrap;gap:6px}
.m-theme .dt .box p+.alist{margin-top:8px}
.m-theme .dt .alist span,.m-theme .dt .flags span{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--m-line);border-radius:var(--m-pill);padding:4px 10px 4px 6px;font-size:12.5px}
.m-theme .dt .flags span{padding-left:10px}
.m-theme .dt .alist span.may{border-style:dashed}
/* build-your-own sheet */
.m-theme .bd-body{display:grid;gap:18px;padding-bottom:8px}
.m-theme .bd-sh{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.m-theme .bd-sh h4{margin:0;font-family:var(--m-display);font-size:17px;font-weight:700;color:var(--m-text)}
.m-theme .bd-n{font-size:12.5px;color:var(--m-text2);font-variant-numeric:tabular-nums}
.m-theme .bd-rule{margin:2px 0 8px;font-size:12.5px;color:var(--m-text2)}
.m-theme .bd-items{display:grid;gap:2px}
.m-theme .bd-row{display:flex;align-items:center;gap:6px}
.m-theme .bd-q{flex:none;display:inline-flex;align-items:center;gap:2px;height:36px;border-radius:18px;background:var(--m-accent);color:var(--m-on);padding:0 3px}
.m-theme .bd-q button{width:30px;height:30px;border-radius:50%;border:0;background:transparent;color:inherit;font-size:17px;line-height:1;cursor:pointer;display:grid;place-items:center;padding:0}
.m-theme .bd-q button[aria-disabled="true"]{opacity:.4;cursor:not-allowed}
.m-theme .bd-q b{min-width:16px;text-align:center;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}
.m-theme .bd-it{display:flex;align-items:center;gap:12px;width:100%;min-height:48px;padding:8px 10px;border:0;border-radius:12px;background:transparent;color:var(--m-text);font:inherit;text-align:left;cursor:pointer}
.m-theme .bd-it:hover{background:var(--m-soft)}
.m-theme .bd-it:focus-visible{outline:2px solid var(--m-accent);outline-offset:1px}
.m-theme .bd-it[aria-pressed="true"]{background:var(--m-soft)}
.m-theme .bd-ck{flex:none;width:22px;height:22px;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--m-line);display:grid;place-items:center}
.m-theme .bd-it[aria-pressed="true"] .bd-ck{background:var(--m-accent);box-shadow:none}
.m-theme .bd-it[aria-pressed="true"] .bd-ck::after{content:"";width:9px;height:5px;border-left:2px solid var(--m-on);border-bottom:2px solid var(--m-on);transform:translateY(-1px) rotate(-45deg)}
.m-theme .bd-nm{flex:1;min-width:0;font-size:14.5px;line-height:1.3}
.m-theme .bd-nm small{display:block;font-size:12px;color:var(--m-text2)}
.m-theme .bd-pr{flex:none;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}
.m-theme .bd-foot.dt-act{position:sticky;bottom:-26px;display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:8px;margin:0 -20px -26px;padding:12px 20px max(20px,env(safe-area-inset-bottom));background:var(--m-bg);box-shadow:0 -8px 18px -12px rgba(0,0,0,.25)}
.m-theme .bd-prog{height:4px;border-radius:2px;background:var(--m-line);overflow:hidden}
.m-theme .bd-prog i{display:block;height:100%;background:var(--m-accent);transition:width .2s}
.m-theme .bd-sum{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:13px;color:var(--m-text2)}
.m-theme .bd-facts{min-width:0}
.m-theme .bd-sum b{font-size:15px;color:var(--m-text)}
.m-theme .bd-price{font-size:16px;font-weight:600;color:var(--m-text);font-variant-numeric:tabular-nums}
.m-theme .bd-note{margin:0;min-height:1.3em;font-size:12.5px;color:var(--m-text2)}
.m-theme .bd-foot .cta{width:100%;min-height:48px}
.m-theme .bd-foot .cta[aria-disabled="true"]{opacity:.45;cursor:not-allowed}
.m-theme .m-diy-build{display:inline-flex;align-items:center;margin:0 0 12px;border:0;border-radius:var(--m-pill);background:var(--m-accent);color:var(--m-on);padding:11px 18px;font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.m-theme .m-diy-build[hidden]{display:none}
@media (prefers-reduced-motion:reduce){.m-theme .bd-prog i{transition:none}}
.m-theme .dt-act{display:flex;gap:10px;align-items:center;margin-top:6px}
.m-theme .dt-act .cta{flex:1;border:0;border-radius:var(--m-pill);background:var(--m-accent);color:var(--m-on);padding:13px;font-size:15px;font-weight:600;cursor:pointer}
.m-theme .dt-act .stp{flex:none;display:inline-flex;align-items:center;gap:2px;height:46px;border-radius:23px;background:var(--m-accent);color:var(--m-on);padding:0 6px}
.m-theme .dt-act .stp button{width:36px;height:36px;border-radius:50%;border:0;background:transparent;color:inherit;font-size:19px;line-height:1;cursor:pointer;display:grid;place-items:center;padding:0}
.m-theme .dt-act .stp button:hover{background:rgba(255,255,255,.18)}
.m-theme .dt-act .stp b{min-width:22px;text-align:center;font-size:15px;font-weight:600;font-variant-numeric:tabular-nums}
.m-theme .m-empty .m-unrev[hidden]{display:none}

.m-theme .grab{width:36px;height:4px;border-radius:2px;background:var(--m-line);margin:2px auto 12px}
.m-theme .shh{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
.m-theme .shh h3{margin:0;font-family:var(--m-display);font-size:22px;font-weight:700;color:var(--m-text);line-height:1.15}
.m-theme .x{flex:none;width:32px;height:32px;border-radius:50%;border:0;background:var(--m-soft);color:var(--m-text);cursor:pointer;display:grid;place-items:center}
.m-theme .x svg{width:14px;height:14px}
.m-theme .fsheet-foot{position:sticky;bottom:-26px;background:var(--m-bg);padding:12px 0 0;margin-top:18px;display:flex;gap:10px}
.m-theme .fsheet-foot button{flex:1;border-radius:var(--m-pill);padding:12px;font-size:14px;cursor:pointer;border:1px solid var(--m-line);background:transparent;color:var(--m-text)}
.m-theme .fsheet-foot button.go{background:var(--m-accent);border-color:var(--m-accent);color:var(--m-on);font-weight:600}

/* order bar: the prototype's dark pill in the theme's own colours */
.m-theme.cart-bar{background:var(--m-text);color:var(--m-bg);font-family:var(--m-body);box-shadow:0 10px 30px rgba(0,0,0,.25)}
.m-theme.cart-bar .cart-bar-meta,.m-theme.cart-bar .cart-bar-meta b{color:inherit}
.m-theme.cart-bar .cart-bar-meta .dot{background:currentColor;opacity:.5}
.m-theme.cart-bar:focus-visible{outline-color:var(--m-accent)}

/* subsections: real menu sections (Smoothies, Coffee), so they read as
   section headings in every theme; their parent is a plain heading above */
.m-theme .m-sub[hidden]{display:none}
.m-theme .m-subh{margin:22px 0 10px;font-family:var(--m-display);font-size:18px;font-weight:700;line-height:1.2;color:var(--m-text)}
.m-theme .m-subh small{font-family:var(--m-body);font-size:12px;font-weight:400;color:var(--m-text2);margin-left:8px}
[data-t="carta"] .m-subh{text-align:center;font-style:italic;font-weight:500;font-size:20px;letter-spacing:.02em}
[data-t="carta"] .m-subh small{display:none}
[data-t="mercado"] .m-subh{font-variation-settings:"SOFT" 100;font-weight:800;font-size:21px}

/* drinks: compact rows, one look per theme */
.m-page .grid.dk-grid{display:grid;grid-template-columns:1fr;gap:8px;columns:auto}
@container menu (min-width:600px){.m-page .grid.dk-grid{grid-template-columns:1fr 1fr;column-gap:16px}}
.dk{text-align:left;min-width:0;display:flex;gap:10px;align-items:flex-start}
.dk .bd{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.dk .ln{display:flex;align-items:baseline;gap:8px}
.dk h3{margin:0;font-size:15px;font-weight:600;line-height:1.3;color:var(--m-text);min-width:0;flex:1}
.dk .ds{margin:0;font-size:13px;line-height:1.4;color:var(--m-text2);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.dk .mac{margin:0;font-size:12px;color:var(--m-text2);font-variant-numeric:tabular-nums}
.dk .mac .k{color:var(--m-accent);font-weight:600}
.dk .ft{display:flex;align-items:center;justify-content:space-between;gap:8px}
.dk .pr{flex:none;font-size:14px;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--m-text)}
.dk-fr{background:var(--m-card);border-radius:calc(var(--m-radius) * .8);padding:11px 12px;box-shadow:0 1px 2px rgba(20,24,18,.05),0 4px 14px -8px rgba(20,24,18,.14)}
.dk-fr h3{font-family:var(--m-display);font-weight:700;font-size:15.5px}
[data-t="carta"] .grid.dk-grid{gap:0;column-gap:56px}
.dk-ca{padding:10px 0;border-bottom:1px dotted color-mix(in srgb,var(--m-text2) 40%,transparent)}
.dk-ca h3{flex:none;max-width:70%;font-family:var(--m-display);font-size:18px;font-weight:600}
.dk-ca .ld{flex:1;min-width:12px;border-bottom:1.5px dotted var(--m-text2);opacity:.55;transform:translateY(-4px)}
.dk-ca .pr{font-family:var(--m-display);font-size:17px}
.dk-ca .ds{font-style:italic;font-size:14px}
.dk-ca .mac{font-size:10.5px;letter-spacing:.1em;text-transform:uppercase}
.dk-ca .ft:not(:has(.fl>*)){display:none}
.dk-me{position:relative;background:var(--m-card);border-radius:var(--m-radius);padding:11px 12px;box-shadow:0 2px 0 var(--m-line)}
.dk-me h3{font-family:var(--m-display);font-variation-settings:"SOFT" 100;font-weight:750;font-size:16px}
.dk-me .tag{flex:none;background:var(--m-accent);color:var(--m-on);font-weight:700;font-size:12.5px;border-radius:999px;padding:3px 9px;transform:rotate(-3deg);font-variant-numeric:tabular-nums;white-space:nowrap}

/* "Build your own" row: one card per builder at the top of its area */
.m-brow{margin-top:8px}
.m-theme .m-brow h2{font-family:var(--m-display);font-size:20px;font-weight:700;margin:20px 0 10px;color:var(--m-text)}
[data-t="carta"] .m-brow h2{font-weight:600;font-size:15px;letter-spacing:.26em;text-transform:uppercase;text-align:center;color:var(--m-accent)}
[data-t="mercado"] .m-brow h2{font-variation-settings:"SOFT" 100;font-weight:850;font-size:24px}
.m-bgrid{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(240px,82%);gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:2px 2px 6px}
.m-bgrid::-webkit-scrollbar{display:none}
@container menu (min-width:600px){.m-bgrid{grid-auto-flow:row;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));overflow:visible}}
.m-bcard{scroll-snap-align:start;display:flex;flex-direction:column;gap:6px;padding:14px;border-radius:var(--m-radius);background:var(--m-soft);color:var(--m-text);text-decoration:none;transition:opacity .15s,transform .15s}
.m-bcard:hover{transform:translateY(-1px)}
.m-bcard:focus-visible{outline:2px solid var(--m-accent);outline-offset:2px}
.m-bcard .bn{font-family:var(--m-display);font-size:17px;font-weight:700;line-height:1.2}
.m-bcard .bdesc{font-size:13px;line-height:1.4;color:var(--m-text2);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.m-bcard .bf{display:flex;flex-wrap:wrap;gap:2px 10px;margin-top:auto;font-size:12.5px;color:var(--m-text2);font-variant-numeric:tabular-nums}
.m-bcard .bf b{color:var(--m-accent);font-weight:600}
.m-bcard .bx{font-size:12px;font-style:italic;color:var(--m-text2)}
.m-bcard .bx[hidden]{display:none}
.m-bcard.off{opacity:.55}
[data-t="carta"] .m-bcard{background:transparent;border:1px solid var(--m-line);text-align:center;align-items:center}
[data-t="carta"] .m-bcard .bn{font-weight:600;font-size:20px}
[data-t="carta"] .m-bcard .bdesc{font-style:italic}
[data-t="carta"] .m-bcard .bf{justify-content:center}
[data-t="mercado"] .m-bcard{background:var(--m-accent);color:var(--m-on)}
[data-t="mercado"] .m-bcard :is(.bdesc,.bf,.bx){color:inherit;opacity:.9}
[data-t="mercado"] .m-bcard .bf b{color:inherit;background:var(--m-bg);color:var(--m-accent);border-radius:999px;padding:1px 8px;transform:rotate(-3deg)}
[data-t="mercado"] .m-bcard .bn{font-variation-settings:"SOFT" 100;font-weight:850;font-size:19px}

/* builder blocks: read-only, at the end of their area, ingredients folded */
.m-theme .m-diy-desc{margin:-4px 0 10px;font-size:14px;line-height:1.45;color:var(--m-text2)}
[data-t="carta"] .m-diy-desc{text-align:center;font-style:italic;font-size:15px}
.m-diy-box{background:var(--m-card);border-radius:var(--m-radius);box-shadow:0 1px 2px rgba(20,24,18,.05),0 8px 22px -8px rgba(20,24,18,.12);padding:4px 16px}
.m-diy-box[open]{padding-bottom:14px}
[data-t="carta"] .m-diy-box{background:transparent;box-shadow:none;border-top:1px solid var(--m-line);border-bottom:1px solid var(--m-line);border-radius:0;padding-inline:0}
[data-t="mercado"] .m-diy-box{box-shadow:0 2px 0 var(--m-line)}
.m-diy-box summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;font-size:14px;font-weight:600;color:var(--m-accent)}
.m-diy-box summary::-webkit-details-marker{display:none}
.m-diy-box summary::after{content:"+";font-size:20px;font-weight:400;line-height:1}
.m-diy-box[open] summary::after{content:"\2212"}
.m-diy-box summary:focus-visible{outline:2px solid var(--m-accent);outline-offset:2px;border-radius:6px}
.m-diy-slot{margin-top:12px}
.m-diy-sh{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding-bottom:6px;border-bottom:1px solid var(--m-line)}
.m-theme .m-diy-sh h3{margin:0;font-family:var(--m-display);font-size:16px;font-weight:700;line-height:1.25;color:var(--m-text)}
.m-diy-rule{flex:none;font-size:12px;font-weight:600;color:var(--m-accent);white-space:nowrap}
.m-diy-items{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr;column-gap:28px}
@container menu (min-width:600px){.m-diy-items{grid-template-columns:1fr 1fr}}
.m-diy-items li{display:flex;flex-wrap:wrap;align-items:center;gap:0 10px;padding:7px 0;border-bottom:1px solid color-mix(in srgb,var(--m-line) 60%,transparent);font-size:14px;color:var(--m-text);min-width:0}
.m-diy-items .n{flex:1 1 auto;min-width:0}
.m-diy-items .p{order:1;flex:none;font-size:13px;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}
.m-diy-items .item-add{order:2}
.m-diy-items .mc{order:3;flex-basis:100%;font-size:12px;color:var(--m-text2);font-variant-numeric:tabular-nums}
.m-theme .m-diy-note{margin:14px 0 0;font-size:12.5px;color:var(--m-text2)}
.m-theme .m-diy[hidden],.m-theme .m-brow[hidden]{display:none}

/* "All sections" sheet */
.m-theme .all-h{margin:16px 0 4px;font-family:var(--m-body);font-size:11.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--m-text2)}
.m-theme .all-l{list-style:none;margin:0;padding:0}
.m-theme .all-l a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;padding:6px 4px;border-bottom:1px solid var(--m-line);color:var(--m-text);text-decoration:none;font-size:15px}
.m-theme .all-l a:hover{color:var(--m-accent)}
.m-theme .all-l .nm small{display:block;font-size:12px;color:var(--m-text2)}
.m-theme .all-l b{flex:none;font-size:12.5px;font-weight:500;color:var(--m-text2);font-variant-numeric:tabular-nums}

/* detail sheet: photo, options with live totals */
.m-theme .dt .dph{margin:-2px 0 14px;border-radius:var(--m-radius);overflow:hidden;aspect-ratio:16/10;background:var(--m-soft)}
.m-theme .dt .dph img{width:100%;height:100%;object-fit:cover;display:block}
.m-theme .dt fieldset{border:0;margin:0 0 12px;padding:0}
.m-theme .dt legend{padding:0;margin:0 0 6px;font-size:13px;font-weight:600;color:var(--m-text)}
.m-theme .dt .opt{display:flex;align-items:center;gap:10px;min-height:40px;padding:4px 0;border-bottom:1px solid var(--m-line);font-size:14px;cursor:pointer}
.m-theme .dt .opt input{accent-color:var(--m-accent);width:18px;height:18px;margin:0;flex:none}
.m-theme .dt .opt span{flex:1;min-width:0}
.m-theme .dt .opt small{display:block;font-size:12px;color:var(--m-text2)}
.m-theme .dt .opt b{flex:none;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}
.m-theme .dt .onote{font-size:12.5px;color:var(--m-text2);margin:4px 0 0}
.m-theme .dt .live{font-size:12.5px;color:var(--m-text2);margin:2px 0 0}
.m-theme .dt .ing{margin:0;font-size:13.5px;line-height:1.5;color:var(--m-text)}

@media (prefers-reduced-motion:reduce){.m-theme *{transition:none!important;scroll-behavior:auto!important}}

/* Food / Drinks switch: a two-tab segmented control in the sticky bar, shown
   only when the layout splits the menu. Each area is then a pane. */
.m-view{display:grid;grid-template-columns:1fr 1fr;gap:2px;width:max-content;min-width:176px;padding:3px;border-radius:var(--m-pill);background:var(--m-soft)}
.m-view a{display:flex;align-items:center;justify-content:center;min-height:34px;padding:0 16px;border-radius:var(--m-pill);font-size:14px;font-weight:600;color:var(--m-text2);text-decoration:none;transition:background .15s,color .15s,box-shadow .15s}
.m-view a:hover{color:var(--m-text)}
.m-view a[aria-selected="true"]{background:var(--m-card);color:var(--m-text);box-shadow:0 1px 2px rgba(20,24,18,.08),0 4px 12px -6px rgba(20,24,18,.18)}
.m-view a:focus-visible{outline:2px solid var(--m-accent);outline-offset:2px}
.m-theme .m-pane[hidden]{display:none}
[data-t="carta"] .m-view{padding:0;gap:0;background:transparent;border-radius:0;border-bottom:1px solid var(--m-line)}
[data-t="carta"] .m-view a{min-height:38px;border-radius:0;margin-bottom:-1px;border-bottom:1.5px solid transparent;font-family:var(--m-display);font-size:13px;font-weight:600;letter-spacing:.22em;text-transform:uppercase}
[data-t="carta"] .m-view a[aria-selected="true"]{background:transparent;box-shadow:none;color:var(--m-accent);border-bottom-color:var(--m-accent)}
[data-t="mercado"] .m-view{background:var(--m-card);box-shadow:0 2px 0 var(--m-line)}
[data-t="mercado"] .m-view a{font-size:15px;font-weight:700}
[data-t="mercado"] .m-view a[aria-selected="true"]{background:var(--m-accent);color:var(--m-on);box-shadow:none}

/* ---------- page chrome: gallery, order bar and sheet, join banner, CTA ---------- */
.m-theme .gallery{margin-top:36px}
.m-theme .allergen-guide{margin:0;font-size:13.5px;color:var(--m-text2)}
.m-theme .allergen-guide ul{margin-top:0}
.m-lang-note { margin: 14px 0 0; padding: 9px 14px; font-size: 13px; line-height: 1.45; color: var(--m-text2); background: var(--m-card); border-radius: 12px; }
.allergen-guide { margin: 0 0 16px; font-size: 13px; color: var(--text-2); }
.allergen-guide ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.allergen-guide li { display: flex; gap: 10px; align-items: flex-start; }
.allergen-guide li b { display: block; color: var(--text); font-weight: 500; }
.allergen-guide .note { font-size: 12px; color: var(--text-3); font-style: italic; margin: 12px 0 0; }
.allergen-guide .alw { flex: none; }
/* Explicit display rules would defeat the hidden attribute otherwise. */
.item-add[hidden], .stepper[hidden], .cart-bar[hidden], .cart-overlay[hidden] { display: none; }
/* Order sheet line stepper (the dish card steppers are in menu_themes.css). */
.stepper { display: inline-flex; align-items: center; background: var(--primary); border-radius: var(--radius-pill); }
.stepper button { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: none; color: #fff; cursor: pointer; border-radius: var(--radius-pill); transition: background .15s ease; padding: 0; }
.stepper button:hover { background: rgba(255,255,255,0.16); }
.stepper button svg { width: 13px; height: 13px; }
.step-qty { min-width: 16px; text-align: center; font-size: 13px; font-weight: 600; color: #fff; }
.gallery-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.gallery-strip figure { margin: 0; scroll-snap-align: start; }
.gallery-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow-card); background: linear-gradient(135deg, var(--primary-light), var(--accent-light)); }

/* Floating order bar, hidden until the cart has items. */
.cart-bar { position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60; display: flex; align-items: center; gap: 14px; max-width: min(440px, calc(100vw - 32px)); width: max-content; font-family: var(--sans); background: var(--primary-dark); color: #fff; border: none; border-radius: var(--radius-pill); padding: 11px 18px 11px 22px; cursor: pointer; box-shadow: 0 12px 32px rgba(60,66,52,0.32); opacity: 0; pointer-events: none; transform: translate(-50%, 72px); transition: transform .32s cubic-bezier(.32,.72,.33,1), opacity .25s ease; }
.cart-bar.on { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.cart-bar:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.cart-bar-meta { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; color: rgba(255,255,255,0.85); white-space: nowrap; }
.cart-bar-meta b { font-weight: 600; color: #fff; }
.cart-bar-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,0.45); }
.cart-bar-cta { font-size: 13.5px; font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.cart-bar-cta svg { width: 14px; height: 14px; }

/* Order sheet: bottom sheet on mobile, centered panel on desktop. */
.cart-overlay { position: fixed; inset: 0; z-index: 70; display: flex; align-items: flex-end; justify-content: center; }
.cart-backdrop { position: absolute; inset: 0; background: rgba(40,44,36,0.38); backdrop-filter: blur(2px); opacity: 0; transition: opacity .25s ease; }
.cart-overlay.on .cart-backdrop { opacity: 1; }
.cart-sheet { position: relative; width: 100%; max-width: 560px; max-height: min(78vh, 640px); display: flex; flex-direction: column; background: var(--bg); border-radius: 22px 22px 0 0; box-shadow: 0 -12px 48px rgba(60,66,52,0.22); padding: 10px 22px calc(20px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform .34s cubic-bezier(.32,.72,.33,1); outline: none; }
.cart-overlay.on .cart-sheet { transform: translateY(0); }
.cart-grab { width: 36px; height: 4px; border-radius: 2px; background: var(--border); margin: 4px auto 12px; flex: none; }
.cart-head { display: flex; align-items: baseline; gap: 10px; flex: none; }
.cart-head h3 { font-size: 21px; flex: none; }
.cart-rest { font-size: 12.5px; color: var(--text-3); flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-close { flex: none; align-self: center; width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; background: var(--surface-elev); border: none; border-radius: 50%; color: var(--text-2); cursor: pointer; transition: background .15s ease, color .15s ease; }
.cart-close:hover { background: var(--primary-light); color: var(--primary-dark); }
.cart-close svg { width: 14px; height: 14px; }
.cart-lines { flex: 1; overflow-y: auto; margin-top: 14px; min-height: 0; }
.cart-line { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--divider); }
.cart-line:last-child { border-bottom: none; }
.cart-line .stepper { background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); }
.cart-line .stepper button { color: var(--text-2); }
.cart-line .stepper button:hover { background: var(--primary-light); color: var(--primary-dark); }
.cart-line .step-qty { color: var(--text); }
.cart-line-name { flex: 1; min-width: 0; font-size: 14px; font-weight: 500; color: var(--text); line-height: 1.35; }
.cart-line-name small { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: var(--text-2); }
.cart-plate-rm { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); color: var(--text-2); display: grid; place-items: center; cursor: pointer; padding: 0; }
.cart-plate-rm svg { width: 15px; height: 15px; }
.cart-plate-rm:hover { background: var(--primary-light); color: var(--primary-dark); }
.cart-line-price { flex: none; font-size: 13.5px; font-weight: 600; color: var(--text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.macros { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.macro { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--text-2); }
.macro svg { width: 13px; height: 13px; flex: none; opacity: .75; }
.macro b { font-weight: 500; color: var(--text-2); }
.m-protein svg { color: var(--protein); }
.m-carbs svg { color: var(--carbs); }
.m-fat svg { color: var(--fat); }
.m-kcal svg { color: var(--kcal); }
.cart-summary { flex: none; margin-top: 6px; padding: 14px 16px; background: var(--surface); border-radius: 14px; box-shadow: var(--shadow-card); }
.cart-summary .macros { justify-content: space-between; gap: 4px 8px; }
.cart-total-row { display: flex; align-items: baseline; justify-content: space-between; margin-top: 11px; padding-top: 11px; border-top: 1px solid var(--divider); }
.cart-total-row span { font-size: 13px; color: var(--text-2); }
.cart-total-row b { font-family: var(--serif); font-size: 21px; font-weight: 700; color: var(--primary-dark); }
.cart-foot { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.cart-hint { font-size: 12px; color: var(--text-3); margin: 0; flex: 1; }
.cart-clear { flex: none; font-family: var(--sans); font-size: 12.5px; font-weight: 500; color: var(--text-2); background: transparent; border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 7px 14px; cursor: pointer; transition: all .15s ease; }
.cart-clear:hover, .cart-clear.confirm { color: #8A4040; border-color: #E0C8C8; background: #FAF2F2; }
@media (min-width: 641px) {
  .cart-overlay { align-items: center; padding: 24px; }
  .cart-sheet { border-radius: 22px; padding-bottom: 22px; max-height: min(80vh, 680px); }
  .cart-grab { display: none; }
  .cart-head { margin-top: 8px; }
}

.cta-band { margin-top: 40px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border-radius: var(--radius-card); padding: 32px; color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 28px; }
.cta-band .cta-text { flex: 1 1 260px; }
.cta-band h3 { color: #fff; font-size: 24px; line-height: 1.15; max-width: 16ch; }
.cta-band p { color: rgba(255,255,255,0.88); font-size: 14.5px; line-height: 1.5; margin: 8px 0 0; max-width: 44ch; }
.cta-band .btn { flex: none; background: #fff; color: var(--primary-dark); font-weight: 600; }
.cta-band .btn:hover { transform: translateY(-1px); }
.cta-badge { flex: none; line-height: 0; border-radius: 10px; }
.cta-badge img { width: 150px; height: auto; }
.cta-badge:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.m-join { --lx: var(--m-accent); --lx-tint: color-mix(in srgb, var(--lx) 9%, var(--m-card)); --lx-ink: color-mix(in srgb, var(--lx) 78%, #000); margin: 20px 0 4px; padding: 14px 14px 14px 14px; background: var(--lx-tint); border-radius: var(--m-radius); color: var(--m-text); display: flex; align-items: center; gap: 14px; }
.m-page[data-dark] .m-join { --lx-tint: color-mix(in srgb, var(--lx) 18%, var(--m-card)); --lx-ink: color-mix(in srgb, var(--lx) 55%, #fff); }
.m-join-logo { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px color-mix(in srgb, var(--lx, #000) 14%, transparent); }
.m-join-logo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.m-join-logo-lg { width: 56px; height: 56px; border-radius: 14px; }
.m-join-text { flex: 1; min-width: 0; }
.m-join-pct { margin: 0; font-family: var(--m-display); font-size: 19px; font-weight: 700; line-height: 1.2; color: var(--lx-ink); }
.m-join-line { margin: 2px 0 0; font-size: 13.5px; line-height: 1.4; color: var(--m-text2); }
.m-join .m-join-open { flex: none; font: inherit; font-size: 13.5px; font-weight: 600; padding: 10px 16px; border: none; border-radius: var(--m-pill); background: var(--lx); color: #fff; cursor: pointer; transition: filter .15s; }
.m-join .m-join-open:hover { filter: brightness(1.08); }
@media (max-width: 520px) { .m-join { padding: 10px 12px; gap: 10px; margin-top: 14px; } .m-join-logo { width: 36px; height: 36px; border-radius: 10px; } .m-join-pct { font-size: 16px; } .m-join-line { font-size: 12.5px; } .m-join .m-join-open { padding: 9px 13px; font-size: 13px; } .m-join-open .lj { display: none; } }
.m-join-brand { display: flex; gap: 14px; align-items: center; margin: 4px 0 14px; }
.m-join-brand img { flex: none; width: 48px; height: 48px; border-radius: 12px; object-fit: contain; background: var(--m-soft); }
.m-join-brand p, .m-join-desc { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--m-text2); }
.m-join-brand b { color: var(--m-text); }
.m-join-desc { margin-bottom: 14px; }
.m-join-sh h4 { margin: 18px 0 6px; font-size: 13px; font-weight: 600; color: var(--m-text); }
.m-join-prices { margin: 0; display: grid; gap: 2px; font-size: 14px; }
.m-join-prices dt { font-size: 12.5px; color: var(--m-text2); margin-top: 6px; }
.m-join-prices dd { margin: 0; color: var(--m-text); line-height: 1.45; }
.m-join-benefits { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 14px; line-height: 1.45; color: var(--m-text2); }
.m-join-benefits b { font-weight: 500; color: var(--m-text); }
.m-join-code { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 16px; background: var(--m-soft); border-radius: var(--m-pill); }
.m-join-code small { display: block; font-size: 11.5px; color: var(--m-text2); }
.m-join-code b { font-family: var(--m-body); font-size: 18px; font-weight: 700; font-variant-numeric: lining-nums; letter-spacing: .08em; color: var(--m-text); user-select: all; }
.m-join-code button { font: inherit; font-size: 13px; font-weight: 500; padding: 8px 14px; border: none; border-radius: var(--m-pill); background: var(--m-card); color: var(--m-text); cursor: pointer; }
[data-join-sheet][style] .m-join-go { color: #fff; }
[data-join-sheet][style] .m-join-code { background: color-mix(in srgb, var(--lx) 9%, var(--m-card)); }
.m-join-go { display: flex; align-items: center; justify-content: center; margin-top: 20px; padding: 13px 18px; border-radius: var(--m-pill); background: var(--lx, var(--m-accent)); color: var(--m-on); font-weight: 600; font-size: 14.5px; text-decoration: none; }
.m-join-go:focus-visible, .m-join-code button:focus-visible, .m-join-open:focus-visible { outline: 2px solid var(--m-accent); outline-offset: 2px; }
.m-join-note { margin: 12px 0 0; font-size: 12px; color: var(--m-text2); text-align: center; }
.cta-wrap { padding-bottom: 40px; }
@media (max-width: 640px) {
  .cta-band { padding: 26px 22px; margin-top: 32px; gap: 18px; }
  .cta-band h3 { font-size: 21px; max-width: none; }
  .cta-band .btn { width: 100%; justify-content: center; }
}

/* The dish name is the card's keyboard control for the detail sheet. */
.m-theme .m-open{font:inherit;color:inherit;letter-spacing:inherit;text-align:left;background:none;border:0;padding:0;margin:0;cursor:pointer}
.m-theme .m-open:focus-visible{outline:2px solid var(--m-accent);outline-offset:3px;border-radius:4px}

/* Fresco identity: logo beside the name, so the menu starts sooner. */
[data-t="fresco"] .m-hero .id:not(.nolg){display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto;column-gap:14px;align-items:start;margin-top:-30px}
[data-t="fresco"] .m-hero .id:not(.nolg) .lg-fr{grid-row:1/3;width:64px;height:64px;border-radius:18px}
[data-t="fresco"] .m-hero .id:not(.nolg) .lg-fr.wide{width:128px;height:56px}
[data-t="fresco"] .m-hero .id:not(.nolg) h1{margin:36px 0 2px}
@container menu (min-width:880px){[data-t="fresco"] .m-hero .id:not(.nolg){margin-top:-42px}[data-t="fresco"] .m-hero .id:not(.nolg) .lg-fr{width:84px;height:84px}[data-t="fresco"] .m-hero .id:not(.nolg) h1{margin-top:48px}}
/* Phones: the about text and the join banner take one line each. */
@container menu (max-width:599px){
  .m-theme .ab{margin-top:12px;gap:10px}
  .m-theme .ab-desc{-webkit-line-clamp:1}
  .m-join{margin-top:12px}
  .m-join .m-join-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}
.m-bcard{gap:4px;padding:12px 14px}
.m-bcard .bdesc{-webkit-line-clamp:1}
.m-theme .m-brow h2{margin:14px 0 8px}
.dk-fr,.dk-me{align-items:center}
.dk .ft:not(:has(.fl>*)){display:none}
