/* 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}
.m-tools{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding-top:16px}
.m-tools :is(.m-search input,.m-fbtn,.m-sort){box-sizing:border-box;height:40px}
.m-tools .m-sort-wrap{margin-left:auto}
@container menu (min-width:600px){.m-tools .m-sort-wrap{margin-left:0}}
.m-search{flex:1 1 100%;min-width:0;position:relative}
@container menu (min-width:600px){.m-search{flex-basis:0}}
.m-search svg{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:16px;height:16px;color:var(--m-text2)}
.m-search input{width:100%;font:inherit;font-size:14.5px;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-fbtn,.m-sort{flex:none;display:inline-flex;align-items:center;gap:6px;font-size:13.5px;background:var(--m-card);border:1px solid var(--m-line);border-radius:var(--m-pill);padding:0 13px;cursor:pointer;color:var(--m-text)}
.m-sort{appearance:none;-webkit-appearance:none;font:inherit;font-size:13.5px;padding-right:32px}
.m-sort:hover{border-color:var(--m-text2)}
.m-sort:focus{outline:none;border-color:var(--m-accent)}
.m-sort option{background:var(--m-card);color:var(--m-text)}
.m-sort-wrap{position:relative;flex:none;display:inline-flex}
.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-fbtn svg{width:15px;height:15px}
.m-fbtn .n{min-width:18px;height:18px;border-radius:9px;background:var(--m-accent);color:var(--m-on);font-size:11px;font-weight:600;display:inline-grid;place-items:center;padding:0 5px}
.m-fbtn .n[hidden]{display:none}
@container menu (min-width:880px){.m-fbtn{display:none}}
.m-quick{display:flex;flex-wrap:wrap;gap:7px;padding:12px 0 2px}
.m-theme :is(.m-quick,.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:8px 12px;cursor:pointer;white-space:nowrap;display:inline-flex;align-items:center;gap:6px;transition:background .15s,border-color .15s,color .15s}
.m-theme :is(.m-quick,.fp,.m-empty) .chip:hover{border-color:var(--m-text2)}
.m-theme :is(.m-quick,.fp,.m-empty) .chip[aria-pressed="true"]{background:var(--m-accent);border-color:var(--m-accent);color:var(--m-on)}
/* The bar is sticky and opaque; the scroller inside it fades out at an edge
   that has more tabs beyond it (menu_filters.js sets .fade-l and .fade-r). */
.m-tabs-bar{position:sticky;top:0;z-index:6;background:var(--m-bg);margin:10px -18px 0;border-bottom:1px solid var(--m-line)}
.m-tabs-bar:has(>.m-tabs[hidden]){display:none}
.m-tabs{--fl:0px;--fr:0px;position:relative;display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;padding:8px 18px;-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:32px}
.m-tabs.fade-r{--fr:32px}
@container menu (min-width:880px){.m-tabs-bar{margin-inline:0}.m-tabs{padding-inline:0}}
.m-tabs a{flex:none;background:transparent;border:0;border-radius:var(--m-pill);padding:7px 11px;font-size:13.5px;color:var(--m-text2);cursor:pointer;white-space:nowrap}
.m-tabs a.on{color:var(--m-text);background:var(--m-soft)}
.m-layout{display:block}
.m-aside{display:none}
@container menu (min-width:880px){
  .m-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:40px}
  .m-aside{display:block;position:sticky;top:66px;align-self:start;max-height:calc(100vh - 82px);max-height:calc(100dvh - 82px);overflow-y:auto;padding:18px 12px 18px 0;margin-right:-12px;scrollbar-width:thin}
}
.m-status{display:flex;flex-wrap:wrap;gap:4px 12px;align-items:baseline;justify-content:space-between;font-size:12.5px;color:var(--m-text2);padding:14px 0 4px}
.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-sec{scroll-margin-top:60px}

/* 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}

/* allergen marks */
.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-est{font-size:11.5px;color:var(--m-text2);font-style:italic}
.m-theme .al-est[hidden]{display:none}
.m-theme .al-unrev{font-size:11.5px;color:var(--m-text2);border:1px dashed var(--m-line);border-radius:var(--m-pill);padding:2px 8px;white-space:nowrap}
.m-theme .acc{font-size:11px;color:var(--m-text2);white-space:nowrap}
.m-theme .acc.low::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:#C98A2E;margin-right:5px;vertical-align:1px}
.m-theme .acc.est::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--m-text2);opacity:.5;margin-right:5px;vertical-align:1px}

/* add control: the cart JS hooks (.add-btn, .stepper, .step-dec, .step-inc) styled as the prototype's + and stepper */
.m-theme .m-item .item-add{flex:none}
.m-theme .m-item .add-btn{flex:none;width:32px;height:32px;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:18px;line-height:1;padding:0}
.m-theme .m-item .add-btn:hover{border-color:var(--m-accent);color:var(--m-accent)}
.m-theme .m-item .stepper{flex:none;display:inline-flex;align-items:center;gap:2px;height:32px;border-radius:16px;background:var(--m-accent);color:var(--m-on);padding:0 2px}
.m-theme .m-item .stepper button{width:28px;height:28px;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 .m-item .stepper button:hover{background:rgba(255,255,255,.18)}
.m-theme .m-item .step-qty{min-width:16px;text-align:center;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums;color:inherit}
.m-theme .ca .stepper{height:28px}.m-theme .ca .stepper button{width:24px;height:24px;font-size:15px}
.m-theme .m-item .item-add[hidden],.m-theme .m-item .add-btn[hidden],.m-theme .m-item .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 .pr .cur{margin-right:2px}
.m-theme .pr .cur-after{margin-right:0;margin-left:3px}

/* ---------- FRESCO ---------- */
[data-t="fresco"] .m-hero .ban{height:190px}
[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:280px}[data-t="fresco"] .m-hero .id{max-width:1240px;margin:-44px 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:30px;font-weight:700;line-height:1.1;margin:12px 0 6px;color:var(--m-text)}
@container menu (min-width:880px){[data-t="fresco"] .m-hero h1{font-size:44px}}
.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{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{display:flex;gap:10px;font-size:12.5px;color:var(--m-text2);font-variant-numeric:tabular-nums}
.fr .mac b{color:var(--m-text);font-weight:600}
.fr .mac .k{color:var(--m-accent);font-weight:600}
.fr .ft{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:4px}
.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:38px 18px 8px}
[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:40px;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:64px}[data-t="carta"] .m-hero h1{font-size:68px}}
.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{margin:3px 0 0;font-style:italic;font-size:15px;line-height:1.4;color:var(--m-text2)}
.ca .mac{margin-top:6px;display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;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}
.m-theme .ca .add-btn{width:28px;height:28px;font-size:16px;margin-top:2px}

/* ---------- MERCADO ---------- */
[data-t="mercado"] .m-hero{background:var(--m-accent);color:var(--m-on);padding:26px 18px 50px;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:56px max(40px,calc((100cqw - 1160px)/2)) 76px}}
[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:46px;line-height:.95;margin:14px 0 10px;max-width:9ch;letter-spacing:-.02em;color:inherit}
[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:88px;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:50px;width:120px;height:120px;font-size:13px}.m-theme .stk b{font-size:38px}}
[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{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;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top: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}
.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)}

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