@font-face { font-family: 'Bebas Neue'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/bebas-neue-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bebas Neue'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/bebas-neue-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bungee'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/bungee-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bungee'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/bungee-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 600 800; font-display: swap; src: url(/fonts/fraunces-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 600 800; font-display: swap; src: url(/fonts/fraunces-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/fonts/manrope-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/fonts/manrope-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Young Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/young-serif-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Young Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/young-serif-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Display font: chosen by the owner or inherited from the theme (data-font is always resolved server-side). */
body[data-theme] { font-synthesis: none; }
body[data-font='anybody'] { --display: 'Anybody Condensed', 'Karla', sans-serif; }
body[data-font='bricolage'] { --display: 'Bricolage Grotesque', 'Karla', sans-serif; }
body[data-font='fraunces'] { --display: 'Fraunces', Georgia, serif; }
body[data-font='young-serif'] { --display: 'Young Serif', Georgia, serif; }
body[data-font='manrope'] { --display: 'Manrope', 'Karla', sans-serif; }
body[data-font='bebas'] { --display: 'Bebas Neue', 'Karla', sans-serif; }
body[data-font='bungee'] { --display: 'Bungee', 'Karla', sans-serif; }
body[data-font='karla'] { --display: 'Karla', sans-serif; }
body[data-font='fraunces'] :is(.h-hero h1, .m-head h1) { letter-spacing: 0; }
body[data-font='young-serif'] :is(.h-hero h1, .m-head h1) { letter-spacing: 0; font-weight: 400; }
body[data-font='bebas'] :is(.h-hero h1, .m-head h1, .h-menu b, .h-sec h2, .h-card h2, .m-sec h2, .h-stub b, .h-score > b, .h-card dt) { font-weight: 400; letter-spacing: 0.02em; line-height: 0.95; }
body[data-font='bebas'] :is(.h-hero h1, .m-head h1) { font-size: clamp(64px, 20vw, 112px); }
body[data-font='bebas'] :is(.h-sec h2, .h-card h2, .m-sec h2) { font-size: 32px; }
body[data-font='bungee'] :is(.h-hero h1, .m-head h1) { font-size: clamp(34px, 10.5vw, 64px); letter-spacing: 0; line-height: 1.05; font-weight: 400; }
body[data-font='bungee'] :is(.h-menu b, .h-sec h2, .h-card h2, .m-sec h2) { font-size: 22px; letter-spacing: 0; font-weight: 400; }
body[data-font='bungee'] :is(.h-deal b, .h-stub b, .h-score > b, .h-card dt) { font-weight: 400; }
body[data-font='bungee'] .h-deal b { font-size: 16px; line-height: 1.25; }
body[data-font='bungee'] .s-list-title { font-size: 20px; font-weight: 400; }
body[data-font='manrope'] :is(.h-hero h1, .m-head h1) { letter-spacing: 0; }
body[data-font='bungee'] :is(.h-hero h1, .m-head h1, .u-main h1, .s-empty h1, .h-menu b, .h-sec h2, .h-card h2, .m-sec h2, .p-sec h2, .p-list b, .h-deal b, .h-branches b, .h-branch-mark, .s-list-title, .s-total, .s-foot b, .b-share b, .b-card header b, .b-total, .m-mark.mono, .h-seal text),
body[data-font='bungee']:is([data-theme='sofra'], [data-theme='galeri']) .s-name { text-transform: uppercase; }

/* Brand mark in the menu: logo when uploaded, otherwise an initial monogram. */
.m-mark { display: grid; place-items: center; flex: none; overflow: hidden; background: #fbf8f2; box-shadow: 0 0 0 1px var(--line); }
.m-mark img { width: 100%; height: 100%; object-fit: contain; }
.m-mark.small { width: 32px; height: 32px; padding: 3px; border-radius: 9px; }
.m-mark.large { width: 72px; height: 72px; padding: 8px; margin-bottom: 16px; border-radius: 20px; }
.m-mark.mono { background: var(--accent); color: var(--on-accent); box-shadow: none; font: 800 18px/1 var(--display); }
.m-mark.mono.large { font-size: 40px; }
.m-back svg { width: 20px; height: 20px; }
body[data-theme='bistro'] .m-mark { border-radius: 50%; box-shadow: 0 0 0 1px var(--line), 0 0 0 4px var(--bg), 0 0 0 5px var(--line); }
body[data-theme='bistro'] .m-mark.large { margin: 0 auto 16px; }
body[data-theme='bistro'] .m-mark.mono { background: none; color: var(--accent); }
body[data-theme='gece'] .m-mark { border-radius: var(--r); box-shadow: var(--glow); }
body[data-theme='nordik'] .m-mark { border-radius: var(--r); }
body[data-theme='esnaf'] .m-mark { border: 2.5px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }

/* Tabela (default) lives in site.css; each block below re-skins the same markup. */

/* ===================== Bistro: printed menu card ===================== */
body[data-theme='bistro'] { --bg: #f4ecdc; --card: #fbf6ea; --sunk: #ece1c9; --text: #2a2118; --dim: #6e5f4b; --line: #c9b99c; --r: 2px; --shadow: none; }
@media (prefers-color-scheme: dark) {
  body[data-theme='bistro'] { --bg: #1b1712; --card: #221d16; --sunk: #2a241b; --text: #efe4cf; --dim: #a8987c; --line: #4a3f30; }
}
body[data-theme='bistro'] .h-hero { min-height: 0; padding: 48px 16px 32px; flex-direction: column; align-items: center; text-align: center; background: var(--bg); color: var(--text); border-bottom: 4px double var(--line); }
body[data-theme='bistro'] .h-hero::before { display: none; }
body[data-theme='bistro'] .h-hero.has-cover { color: #fff; background: #1a1612; border: 0; padding-top: 160px; }
body[data-theme='bistro'] .h-hero.has-cover::before { display: block; }
body[data-theme='bistro'] .h-seal-clip { position: static; overflow: visible; }
body[data-theme='bistro'] .h-seal { position: static; width: 88px; height: 88px; margin: 0 auto 16px; transform: none; opacity: 1; color: var(--accent); }
body[data-theme='bistro'] .h-kicker { display: flex; align-items: center; justify-content: center; gap: 12px; letter-spacing: 0.3em; font-weight: 700; opacity: 1; color: var(--dim); }
body[data-theme='bistro'] .h-kicker::before, body[data-theme='bistro'] .h-kicker::after { content: ''; width: 28px; border-top: 1px solid currentColor; }
body[data-theme='bistro'] .h-hero h1 { font-size: clamp(40px, 12vw, 64px); line-height: 1; }
body:is([data-theme='bistro'], [data-theme='nordik']) .h-hero.has-cover .h-kicker { color: inherit; opacity: 0.9; }
body[data-theme='bistro'] .h-badge { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px var(--line); border-radius: 0; }
body[data-theme='bistro'] .h-hero.has-logo { padding-bottom: 32px; }
body[data-theme='bistro'] .h-logo { position: static; margin: 20px auto 0; border-radius: 50%; box-shadow: 0 0 0 1px var(--line), 0 0 0 5px var(--bg), 0 0 0 6px var(--line); }
body[data-theme='bistro'] .h-hero.has-logo + .h-main { padding-top: 24px; }
body[data-theme='bistro'] .h-about, body[data-theme='bistro'] .h-where { text-align: center; }
body[data-theme='bistro'] .h-menu { background: transparent; color: var(--text); border: 4px double var(--text); border-radius: 0; box-shadow: none; }
body[data-theme='bistro'] .h-menu b { font-size: 30px; }
body[data-theme='bistro'] .h-tiles { gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
body[data-theme='bistro'] .h-tiles a { max-width: none; background: none; box-shadow: none; border-radius: 0; }
body[data-theme='bistro'] .h-tiles a + a { border-left: 1px solid var(--line); }
body[data-theme='bistro'] .h-tiles a:hover { box-shadow: none; color: var(--accent); }
body[data-theme='bistro'] :is(.h-sec, .p-sec, .h-card) h2 { display: flex; align-items: center; gap: 12px; font: 700 15px/1.2 var(--body); text-transform: uppercase; letter-spacing: 0.24em; }
body[data-theme='bistro'] :is(.h-sec, .p-sec) h2::before, body[data-theme='bistro'] :is(.h-sec, .p-sec) h2::after { content: ''; flex: 1; border-top: 1px solid var(--line); }
body[data-theme='bistro'] .h-coupons li { border-radius: 0; box-shadow: inset 0 0 0 1px var(--line); background: var(--card); }
body[data-theme='bistro'] .h-coupons li::before, body[data-theme='bistro'] .h-coupons li::after { display: none; }
body[data-theme='bistro'] .h-stub { background: none; color: var(--accent); border-radius: 0; border-right: 1px solid var(--line); }
body[data-theme='bistro'] .h-deal { border-left: 0; }
body[data-theme='bistro'] .h-quotes li { background: none; box-shadow: none; border-top: 1px solid var(--accent); border-radius: 0; padding: 16px 4px 4px 0; }
body[data-theme='bistro'] .h-card { background: none; border: 4px double var(--line); border-radius: 0; text-align: center; }
body[data-theme='bistro'] .h-card h2 { justify-content: center; }
body[data-theme='bistro'] .h-btn, body[data-theme='bistro'] .s-btn { border-radius: 0; text-transform: uppercase; letter-spacing: 0.12em; font-size: 14px; }
body[data-theme='bistro'] .m-bar { text-align: center; }
body[data-theme='bistro'] .m-chips a { background: none; box-shadow: none; border-radius: 0; padding: 8px 4px; margin-right: 12px; text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px; border-bottom: 2px solid transparent; }
body[data-theme='bistro'] .m-chips a[aria-current] { background: none; color: var(--text); border-bottom-color: var(--accent); }
body[data-theme='bistro'] .m-head { text-align: center; border-bottom: 4px double var(--line); padding-bottom: 20px; }
body[data-theme='bistro'] .m-head h1 { font-size: clamp(48px, 14vw, 72px); line-height: 1; }
body[data-theme='bistro'] .m-sec { background: none; box-shadow: none; border-radius: 0; padding: 8px 0; }
body[data-theme='bistro'] .m-sec h2 { flex-direction: column; align-items: center; gap: 6px; text-align: center; margin: 24px 0 8px; font: 700 18px/1.2 var(--body); text-transform: uppercase; letter-spacing: 0.24em; }
body[data-theme='bistro'] .m-sec h2 span::before { content: 'N° '; }
body[data-theme='bistro'] .m-sec li + li .s-item { border-top: 0; }
body[data-theme='bistro'] .s-name { font-weight: 700; font-size: 17px; }
body[data-theme='bistro'] .m-dots { border-bottom: 1px dotted var(--text); opacity: 0.5; }
body[data-theme='bistro'] .s-price { font-weight: 700; }
body[data-theme='bistro'] .m-check { border-radius: 2px; width: 18px; height: 18px; }
body[data-theme='bistro'] .s-item[aria-pressed='true'] { border-radius: 0; }
body[data-theme='bistro'] .m-photo { border-radius: 50%; filter: sepia(0.25); }
body[data-theme='bistro'] .s-list { border-radius: 0; }

/* ===================== Gece: night bar, always dark ===================== */
:root:has(body[data-theme='gece']) { color-scheme: dark; }
body[data-theme='gece'] { --accent: var(--accent-d); --bg: #0b0b10; --card: #14141c; --sunk: #1b1b26; --text: #f2f0ff; --dim: #9a96b5; --line: #2a2838; --on-accent: #0b0b10; --r: 6px; --shadow: 0 8px 32px rgb(0 0 0 / 0.5); --glow: 0 0 12px color-mix(in srgb, var(--accent) 70%, transparent), 0 0 36px color-mix(in srgb, var(--accent) 40%, transparent); background: radial-gradient(120% 60% at 50% 0, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%) no-repeat, var(--bg); }
body[data-theme='gece'] .h-hero { background: transparent; color: var(--text); min-height: 400px; }
body[data-theme='gece'] .h-hero::before { background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 32px 32px; opacity: 0.5; mask: linear-gradient(transparent, #000 40%, transparent); -webkit-mask: linear-gradient(transparent, #000 40%, transparent); }
body[data-theme='gece'] .h-hero.has-cover::before { background: linear-gradient(180deg, rgb(11 11 16 / 0.1) 20%, var(--bg) 100%); opacity: 1; mask: none; -webkit-mask: none; }
body[data-theme='gece'] .h-seal { color: var(--accent); opacity: 0.55; filter: drop-shadow(0 0 8px var(--accent)); }
body[data-theme='gece'] .h-kicker { color: var(--accent); opacity: 1; }
body[data-theme='gece'] .h-hero h1 { text-transform: uppercase; letter-spacing: 0.01em; text-shadow: var(--glow); }
body[data-theme='gece'] .h-badge { background: rgb(255 255 255 / 0.08); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
body[data-theme='gece'] .h-logo { background: #fbf8f2; box-shadow: 0 0 0 4px var(--bg), var(--glow); border-radius: 12px; }
body[data-theme='gece'] .h-menu { background: transparent; color: var(--text); border: 1.5px solid var(--accent); border-radius: var(--r); box-shadow: var(--glow), inset 0 0 24px color-mix(in srgb, var(--accent) 20%, transparent); }
body[data-theme='gece'] .h-menu b { text-transform: uppercase; }
body[data-theme='gece'] .h-tiles a { border-radius: var(--r); }
body[data-theme='gece'] .h-tiles svg { filter: drop-shadow(0 0 6px var(--accent)); }
body[data-theme='gece'] :is(.h-sec, .p-sec, .h-card, .m-sec) h2 { text-transform: uppercase; letter-spacing: 0.04em; }
body[data-theme='gece'] .h-coupons li, body[data-theme='gece'] .h-quotes li, body[data-theme='gece'] .m-sec { border-radius: var(--r); }
body[data-theme='gece'] .h-stub { border-radius: var(--r) 0 0 var(--r); box-shadow: var(--glow); }
body[data-theme='gece'] .h-score > b, body[data-theme='gece'] .h-card dt { text-shadow: var(--glow); }
body[data-theme='gece'] .h-card { background: var(--card); box-shadow: inset 0 0 0 1px var(--line); border-radius: var(--r); }
body[data-theme='gece'] .h-btn, body[data-theme='gece'] .s-btn { border-radius: var(--r); box-shadow: var(--glow); text-transform: uppercase; letter-spacing: 0.06em; }
body[data-theme='gece'] .m-chips { background: color-mix(in srgb, var(--bg) 85%, transparent); }
body[data-theme='gece'] .m-chips a { border-radius: var(--r); background: transparent; }
body[data-theme='gece'] .m-chips a[aria-current] { background: var(--accent); color: var(--on-accent); box-shadow: var(--glow); }
body[data-theme='gece'] .m-head h1 { text-transform: uppercase; text-shadow: var(--glow); }
body[data-theme='gece'] .s-price { color: var(--accent); text-shadow: 0 0 10px color-mix(in srgb, var(--accent) 60%, transparent); }
body[data-theme='gece'] .s-item[aria-pressed='true'] { background: color-mix(in srgb, var(--accent) 16%, transparent); border-radius: var(--r); }
body[data-theme='gece'] .s-item[aria-pressed='true'] .m-check { box-shadow: var(--glow); }
body[data-theme='gece'] .m-check { border-radius: 4px; }
body[data-theme='gece'] .m-photo { border-radius: var(--r); }
body[data-theme='gece'] .s-list { border-radius: var(--r); }

/* ===================== Nordik: minimal Scandinavian café ===================== */
body[data-theme='nordik'] { --bg: #fafaf8; --card: #ffffff; --sunk: #f1f1ee; --text: #1c1c1a; --dim: #6a6a64; --line: #e4e4df; --r: 4px; --shadow: none; }
@media (prefers-color-scheme: dark) {
  body[data-theme='nordik'] { --bg: #161616; --card: #1d1d1c; --sunk: #242423; --text: #ecece8; --dim: #9a9a94; --line: #30302e; }
}
body[data-theme='nordik'] .h-hero { min-height: 0; padding: 72px 16px 32px; background: var(--bg); color: var(--text); }
body[data-theme='nordik'] .h-hero::before, body[data-theme='nordik'] .h-seal-clip { display: none; }
body[data-theme='nordik'] .h-hero.has-cover { min-height: 56vh; color: #fff; background: #111; }
body[data-theme='nordik'] .h-hero.has-cover::before { display: block; }
body[data-theme='nordik'] .h-title::before { content: ''; display: block; width: 40px; height: 4px; margin-bottom: 24px; background: var(--accent); }
body[data-theme='nordik'] .h-kicker { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 15px; color: var(--dim); opacity: 1; }
body[data-theme='nordik'] .h-hero h1 { font-size: clamp(40px, 12vw, 64px); line-height: 1; }
body[data-theme='nordik'] .h-badge { background: var(--sunk); color: var(--text); box-shadow: none; border-radius: var(--r); }
body[data-theme='nordik'] .h-hero.has-logo { padding-bottom: 32px; }
body[data-theme='nordik'] .h-logo { position: static; order: -1; width: 64px; height: 64px; margin: 0 auto 24px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); }
body[data-theme='nordik'] .h-hero.has-logo { flex-direction: column; align-items: stretch; }
body[data-theme='nordik'] .h-hero.has-logo .h-logo { margin: 0 auto 24px max(0px, calc(50% - 304px)); }
body[data-theme='nordik'] .h-hero.has-logo + .h-main { padding-top: 24px; }
body[data-theme='nordik'] .h-menu { background: none; color: var(--text); border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; padding: 24px 0; }
body[data-theme='nordik'] .h-menu b { font-size: 26px; }
body[data-theme='nordik'] .h-menu svg { background: none; color: var(--accent); padding: 0; }
body[data-theme='nordik'] .h-tiles a { background: none; box-shadow: inset 0 0 0 1px var(--line); border-radius: var(--r); font-weight: 400; }
body[data-theme='nordik'] .h-tiles svg { color: var(--text); width: 20px; height: 20px; }
body[data-theme='nordik'] :is(.h-sec, .p-sec, .h-card) h2 { font: 700 13px/1 var(--body); text-transform: uppercase; letter-spacing: 0.16em; color: var(--dim); }
body[data-theme='nordik'] .h-coupons li { border-radius: var(--r); }
body[data-theme='nordik'] .h-coupons li::before, body[data-theme='nordik'] .h-coupons li::after { display: none; }
body[data-theme='nordik'] .h-stub { background: var(--sunk); color: var(--accent); border-radius: var(--r) 0 0 var(--r); }
body[data-theme='nordik'] .h-deal { border-left: 1px solid var(--line); }
body[data-theme='nordik'] .h-deal b { font-size: 18px; }
body[data-theme='nordik'] .h-score > b { color: var(--text); font-weight: 700; }
body[data-theme='nordik'] .h-quotes li { background: var(--sunk); box-shadow: none; border-radius: var(--r); }
body[data-theme='nordik'] .h-quotes p::before { display: none; }
body[data-theme='nordik'] .h-card { background: none; box-shadow: inset 0 0 0 1px var(--line); border-radius: var(--r); }
body[data-theme='nordik'] .h-card dt { color: var(--text); font-weight: 700; }
body[data-theme='nordik'] .h-btn, body[data-theme='nordik'] .s-btn { border-radius: var(--r); }
body[data-theme='nordik'] .m-bar { border-bottom-color: transparent; }
body[data-theme='nordik'] .m-chips a { background: none; box-shadow: none; border-radius: 0; padding: 8px 2px; margin-right: 16px; font-weight: 400; color: var(--dim); border-bottom: 2px solid transparent; }
body[data-theme='nordik'] .m-chips a[aria-current] { background: none; color: var(--text); font-weight: 700; border-bottom-color: var(--text); }
body[data-theme='nordik'] .m-head h1 { font-size: clamp(44px, 13vw, 64px); line-height: 1; }
body[data-theme='nordik'] .m-sec { background: none; box-shadow: none; border-radius: 0; padding: 0; margin-top: 40px; }
body[data-theme='nordik'] .m-sec h2 { font: 700 13px/1 var(--body); text-transform: uppercase; letter-spacing: 0.16em; color: var(--dim); padding-bottom: 12px; border-bottom: 1px solid var(--text); }
body[data-theme='nordik'] .m-sec li + li .s-item { border-top: 1px solid var(--line); }
body[data-theme='nordik'] .s-name { font-weight: 700; font-size: 17px; }
body[data-theme='nordik'] .m-line { justify-content: space-between; }
body[data-theme='nordik'] .m-dots { visibility: hidden; }
body[data-theme='nordik'] .s-price { font-weight: 400; }
body[data-theme='nordik'] .m-check { width: 18px; height: 18px; border-radius: var(--r); }
body[data-theme='nordik'] .s-item[aria-pressed='true'] { background: var(--sunk); border-radius: var(--r); }
body[data-theme='nordik'] .s-item[aria-pressed='true'] .s-price { color: var(--text); font-weight: 700; }
body[data-theme='nordik'] .m-photo { border-radius: var(--r); }
body[data-theme='nordik'] .s-list { border-radius: var(--r); }

/* ===================== Esnaf: retro neighbourhood shop ===================== */
body[data-theme='esnaf'] { --bg: #fdf3dc; --card: #fffaf0; --sunk: #f6e6bf; --text: #1d1a16; --dim: #5b5243; --line: #1d1a16; --ink: #1d1a16; --r: 14px; --shadow: 4px 4px 0 var(--ink); }
@media (prefers-color-scheme: dark) {
  body[data-theme='esnaf'] { --bg: #1c1913; --card: #26221a; --sunk: #2f2a20; --text: #f6ecd6; --dim: #b9ab8d; --line: #6b6150; --ink: #e8dcc0; }
}
body[data-theme='esnaf'] .h-hero { border-bottom: 3px solid var(--ink); }
body[data-theme='esnaf'] .h-hero::before { background-image: repeating-linear-gradient(-45deg, currentColor 0 3px, transparent 3px 16px); background-size: auto; opacity: 0.14; }
body[data-theme='esnaf'] .h-hero.has-cover::before { background: linear-gradient(180deg, rgb(0 0 0 / 0) 30%, rgb(0 0 0 / 0.72) 100%); opacity: 1; }
body[data-theme='esnaf'] .h-seal { opacity: 0.45; transform: rotate(-16deg); }
body[data-theme='esnaf'] .h-kicker { display: inline-block; padding: 4px 10px; background: var(--ink); color: var(--bg); border-radius: 6px; opacity: 1; transform: rotate(-2deg); }
body[data-theme='esnaf'] .h-hero h1 { text-transform: uppercase; letter-spacing: 0; text-shadow: 3px 3px 0 rgb(0 0 0 / 0.28); }
body[data-theme='esnaf'] .h-badge { background: var(--card); color: var(--text); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); border-radius: 10px; transform: rotate(1.5deg); }
body[data-theme='esnaf'] .h-logo { border: 3px solid var(--ink); box-shadow: 0 0 0 4px var(--bg), 6px 6px 0 4px var(--ink); border-radius: 18px; }
body[data-theme='esnaf'] .h-menu { background: var(--accent); color: var(--on-accent); border: 3px solid var(--ink); box-shadow: var(--shadow); }
body[data-theme='esnaf'] .h-menu b { text-transform: uppercase; }
body[data-theme='esnaf'] .h-menu svg { background: var(--ink); color: var(--bg); }
body[data-theme='esnaf'] .h-menu:active, body[data-theme='esnaf'] .h-tiles a:active, body[data-theme='esnaf'] .h-btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
body[data-theme='esnaf'] .h-tiles a { border: 2.5px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); border-radius: 12px; }
body[data-theme='esnaf'] .h-tiles a:hover { box-shadow: 3px 3px 0 var(--accent); }
body[data-theme='esnaf'] .h-tiles svg { color: var(--text); }
body[data-theme='esnaf'] :is(.h-sec, .p-sec, .h-card, .m-sec) h2 { text-transform: uppercase; }
body[data-theme='esnaf'] :is(.h-sec, .p-sec) h2 { display: inline; background: linear-gradient(transparent 58%, color-mix(in srgb, var(--accent) 40%, transparent) 58%); }
body[data-theme='esnaf'] :is(.h-sec, .p-sec) h2 + * { margin-top: 20px; }
body[data-theme='esnaf'] :is(.p-list li, .h-branches a, .m-branches) { border: 2.5px solid var(--ink); box-shadow: var(--shadow); }
body[data-theme='esnaf'] .h-branches a:hover { box-shadow: 4px 4px 0 var(--accent); }
body[data-theme='esnaf'] .h-coupons li { border: 2.5px solid var(--ink); box-shadow: var(--shadow); }
body[data-theme='esnaf'] .h-coupons li::before, body[data-theme='esnaf'] .h-coupons li::after { box-shadow: inset 0 0 0 2.5px var(--ink); left: 76px; }
body[data-theme='esnaf'] .h-stub { border-radius: 11px 0 0 11px; }
body[data-theme='esnaf'] .h-deal { border-left: 2.5px dashed var(--ink); }
body[data-theme='esnaf'] .h-quotes li { border: 2.5px solid var(--ink); box-shadow: var(--shadow); margin-bottom: 4px; }
body[data-theme='esnaf'] .h-card { border: 2.5px solid var(--ink); box-shadow: var(--shadow); }
body[data-theme='esnaf'] .h-btn, body[data-theme='esnaf'] .s-btn { border: 2.5px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); text-transform: uppercase; }
body[data-theme='esnaf'] .m-bar { border-bottom: 3px solid var(--ink); background: var(--accent); color: var(--on-accent); }
body[data-theme='esnaf'] .m-chips { border-bottom: 3px solid var(--ink); }
body[data-theme='esnaf'] .m-chips a { border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); }
body[data-theme='esnaf'] .m-chips a[aria-current] { background: var(--accent); color: var(--on-accent); box-shadow: 2px 2px 0 var(--ink); }
body[data-theme='esnaf'] .m-head h1 { text-transform: uppercase; text-shadow: 4px 4px 0 color-mix(in srgb, var(--accent) 45%, transparent); }
body[data-theme='esnaf'] .m-sec { border: 2.5px solid var(--ink); box-shadow: var(--shadow); }
body[data-theme='esnaf'] .m-sec h2 span { padding: 4px 8px; border-radius: 6px; background: var(--ink); color: var(--bg); }
body[data-theme='esnaf'] .m-sec li + li .s-item { border-top: 1.5px dashed var(--line); }
body[data-theme='esnaf'] .s-price { padding: 0 6px; font-size: 15px; border: 2px solid var(--ink); border-radius: 8px; background: var(--sunk); }
body[data-theme='esnaf'] .s-item[aria-pressed='true'] .s-price { background: var(--accent); color: var(--on-accent); }
body[data-theme='esnaf'] .m-dots { min-width: 8px; border-bottom: 2px dashed var(--line); opacity: 0.5; }
body[data-theme='esnaf'] .m-check { box-shadow: inset 0 0 0 2.5px var(--ink); }
body[data-theme='esnaf'] .m-photo { border: 2.5px solid var(--ink); }
body[data-theme='esnaf'] .s-list { border: 2.5px solid var(--ink); box-shadow: var(--shadow); }

/* Photo-first themes: only items with a photo change shape; items without one stay a plain row. */

/* ===================== Sofra: one big photo card per dish ===================== */
body[data-theme='sofra'] { --bg: #f4efe7; --card: #fff; --sunk: #e9e2d6; --text: #1f1a14; --dim: #625849; --line: #e0d6c6; --r: 20px; --shadow: 0 1px 2px rgb(31 26 20 / 0.06), 0 12px 32px rgb(31 26 20 / 0.1); }
@media (prefers-color-scheme: dark) {
  body[data-theme='sofra'] { --bg: #13110e; --card: #1e1b16; --sunk: #28241d; --text: #f3ede0; --dim: #aba08c; --line: #38322a; --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 12px 32px rgb(0 0 0 / 0.4); }
}
body[data-theme='sofra'] .m-chips a[aria-current] { background: var(--accent); color: var(--on-accent); }
body[data-theme='sofra'] .m-sec { background: none; box-shadow: none; border-radius: 0; padding: 0; margin-top: 32px; }
body[data-theme='sofra'] .m-sec h2 { margin: 0 0 16px; }
body[data-theme='sofra'] .m-sec ul { display: grid; gap: 16px; }
body[data-theme='sofra'] .m-sec li { border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); overflow: hidden; }
body[data-theme='sofra'] .m-sec li:has([aria-pressed='true']) { box-shadow: 0 0 0 3px var(--accent), var(--shadow); }
body[data-theme='sofra'] .m-sec li + li .s-item { border-top: 0; }
body[data-theme='sofra'] .s-item { width: 100%; margin: 0; padding: 16px; }
body[data-theme='sofra'] .s-item[aria-pressed='true'] { background: none; border-radius: 0; }
body[data-theme='sofra'] .s-name { font: 800 20px/1.2 var(--display); letter-spacing: 0; }
body[data-theme='sofra'] .m-line { justify-content: space-between; }
body[data-theme='sofra'] .m-dots { visibility: hidden; }
body[data-theme='sofra'] .s-price { font-size: 18px; color: var(--accent); }
body[data-theme='sofra'] li:has(.m-photo) .s-item { grid-template-columns: 28px minmax(0, 1fr); padding-top: 0; }
body[data-theme='sofra'] .m-photo { grid-column: 1 / -1; grid-row: 1; width: calc(100% + 32px); height: auto; aspect-ratio: 4 / 3; margin: 0 -16px 16px; border-radius: 0; }
body[data-theme='sofra'] .m-story { margin-block: -8px 8px; margin-inline-start: 52px; }

/* ===================== Galeri: square photo tiles, two per row ===================== */
body[data-theme='galeri'] { --bg: #fbfaf7; --card: #fff; --sunk: #efede7; --text: #1b1a17; --dim: #66625a; --line: #e3e0d8; --r: 12px; --shadow: 0 8px 24px rgb(27 26 23 / 0.08); }
@media (prefers-color-scheme: dark) {
  body[data-theme='galeri'] { --bg: #121211; --card: #1b1b19; --sunk: #242421; --text: #efede7; --dim: #a29e94; --line: #2f2e2a; }
}
body[data-theme='galeri'] .m-head h1 { font-weight: 400; letter-spacing: 0; }
body[data-theme='galeri'] .m-chips a { background: none; box-shadow: inset 0 0 0 1px var(--line); }
body[data-theme='galeri'] .m-chips a[aria-current] { background: var(--text); color: var(--bg); box-shadow: none; }
body[data-theme='galeri'] .m-sec { background: none; box-shadow: none; border-radius: 0; padding: 0; margin-top: 40px; }
body[data-theme='galeri'] .m-sec h2 { margin: 0 0 16px; font-weight: 400; }
body[data-theme='galeri'] .m-sec ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
@media (min-width: 560px) { body[data-theme='galeri'] .m-sec ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
body[data-theme='galeri'] .m-sec li:not(:has(.m-photo)) { grid-column: 1 / -1; order: 1; }
body[data-theme='galeri'] .m-sec li + li .s-item { border-top: 0; }
body[data-theme='galeri'] .m-sec li:not(:has(.m-photo)) .s-item { border-bottom: 1px solid var(--line); }
body[data-theme='galeri'] .s-name { font: 400 19px/1.2 var(--display); }
body[data-theme='galeri'] li:has(.m-photo) .s-item { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 4px; width: 100%; margin: 0; padding: 0; }
body[data-theme='galeri'] li:has(.m-photo) .s-item[aria-pressed='true'] { background: none; }
body[data-theme='galeri'] li:has(.m-photo) .m-photo { order: -1; width: 100%; height: auto; aspect-ratio: 1; margin: 0 0 8px; border-radius: var(--r); transition: outline-color 0.2s; outline: 3px solid transparent; outline-offset: 3px; }
body[data-theme='galeri'] li:has(.m-photo) .s-item[aria-pressed='true'] .m-photo { outline-color: var(--accent); }
body[data-theme='galeri'] li:has(.m-photo) .m-check { position: absolute; top: 8px; inset-inline-start: 8px; width: 28px; height: 28px; background: rgb(255 255 255 / 0.92); box-shadow: 0 1px 4px rgb(0 0 0 / 0.3); }
body[data-theme='galeri'] li:has(.m-photo) .s-item[aria-pressed='true'] .m-check { background: var(--accent); }
body[data-theme='galeri'] li:has(.m-photo) .m-line { flex-direction: column; align-items: flex-start; gap: 4px; }
body[data-theme='galeri'] li:has(.m-photo) .m-dots { display: none; }
body[data-theme='galeri'] li:has(.m-photo) .s-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; font-size: 14px; }
body[data-theme='galeri'] li:has(.m-photo) .m-story { margin: 0; font-size: 14px; }

/* ===================== Afiş: name and price printed over the photo ===================== */
body[data-theme='afis'] { --bg: #efebe3; --card: #fbf9f4; --sunk: #e3ddd1; --text: #141210; --dim: #5d564b; --line: #d6cfc1; --r: 8px; --shadow: 0 10px 28px rgb(20 18 16 / 0.18); }
@media (prefers-color-scheme: dark) {
  body[data-theme='afis'] { --bg: #0f0e0d; --card: #1a1917; --sunk: #23211e; --text: #f2eee6; --dim: #a39c90; --line: #322f2a; }
}
body[data-theme='afis'] :is(.m-head h1, .m-sec h2, .p-sec h2) { text-transform: uppercase; }
body[data-theme='afis'] .m-chips a { border-radius: var(--r); text-transform: uppercase; letter-spacing: 0.04em; }
body[data-theme='afis'] .m-chips a[aria-current] { background: var(--accent); color: var(--on-accent); }
body[data-theme='afis'] .m-sec { background: none; box-shadow: none; border-radius: 0; padding: 0; margin-top: 32px; }
body[data-theme='afis'] .m-sec h2 { margin: 0 0 12px; }
body[data-theme='afis'] .m-sec ul { display: grid; gap: 12px; }
body[data-theme='afis'] .m-sec li + li .s-item { border-top: 0; }
body[data-theme='afis'] .m-sec li:not(:has(.m-photo)) .s-item { border-bottom: 1px solid var(--line); }
body[data-theme='afis'] li:has(.m-photo) .s-item { position: relative; isolation: isolate; grid-template-columns: 28px minmax(0, 1fr); align-content: end; aspect-ratio: 4 / 3; width: 100%; margin: 0; padding: 16px; overflow: hidden; border-radius: var(--r); box-shadow: var(--shadow); color: #fff; text-shadow: 0 1px 2px rgb(0 0 0 / 0.5); }
body[data-theme='afis'] li:has(.m-photo) .s-item::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(0 0 0 / 0.88), rgb(0 0 0 / 0.62) 45%, transparent 80%); }
body[data-theme='afis'] li:has(.m-photo) .m-photo { position: absolute; inset: 0; grid-area: auto; z-index: -2; width: 100%; height: 100%; margin: 0; border-radius: 0; }
body[data-theme='afis'] li:has(.m-photo) .s-item > :not(.m-check, .m-line, .m-photo) { grid-column: 2; }
body[data-theme='afis'] li:has(.m-photo) .m-check { box-shadow: inset 0 0 0 2px #fff; }
body[data-theme='afis'] li:has(.m-photo) .s-item[aria-pressed='true'] { background: none; box-shadow: 0 0 0 3px var(--accent), var(--shadow); }
body[data-theme='afis'] li:has(.m-photo) .s-item[aria-pressed='true'] .m-check { box-shadow: 0 0 0 2px #fff; }
body[data-theme='afis'] li:has(.m-photo) .s-name { font: 800 clamp(26px, 8vw, 36px)/1 var(--display); text-transform: uppercase; }
body[data-theme='afis'] li:has(.m-photo) .m-dots { border-bottom-color: rgb(255 255 255 / 0.5); }
body[data-theme='afis'] li:has(.m-photo) :is(.s-price, .s-item[aria-pressed='true'] .s-price) { color: #fff; font-size: 20px; }
body[data-theme='afis'] li:has(.m-photo) .s-item > :not(.m-check, .m-line, .m-photo) { color: rgb(255 255 255 / 0.86); }
body[data-theme='afis'] li:has(.m-photo) .m-story { margin: 4px 0 0; }
body[data-font='bebas'][data-theme='afis'] li:has(.m-photo) .s-name { font-weight: 400; font-size: clamp(34px, 10vw, 48px); letter-spacing: 0.02em; }

/* Pinned dishes go full width above the menu in all three. */
body:is([data-theme='sofra'], [data-theme='galeri'], [data-theme='afis']) .p-list li { flex-direction: column; align-items: stretch; gap: 0; padding: 0; overflow: hidden; }
body:is([data-theme='sofra'], [data-theme='galeri'], [data-theme='afis']) .p-list img { width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 0; }
body:is([data-theme='sofra'], [data-theme='galeri'], [data-theme='afis']) .p-list span { padding: 16px; }
body[data-theme='galeri'] .p-list { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
body[data-theme='galeri'] .p-list img { aspect-ratio: 1; }
body[data-theme='galeri'] .p-list li:only-child img { aspect-ratio: 16 / 10; }
body:is([data-theme='sofra'], [data-theme='galeri'], [data-theme='afis']) .m-mark { border-radius: var(--r); }
body:is([data-theme='sofra'], [data-theme='galeri'], [data-theme='afis']) :is(.h-btn, .s-btn) { border-radius: var(--r); }
