/* QRBAK menu theme — "Ege" (ege)
   Concept: a meyhane's printed card by the Aegean — whitewash and one blue, a çini tile frieze over the
            header, section titles between double rules, name · dotted leader · price on a single line.
   Fonts:   Alegreya (variable, wght) + Alegreya Italic 400 — SIL Open Font License 1.1 — everything */

@font-face { font-family: 'Alegreya'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url('/static/fonts/alegreya-latin-wght-normal.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: 'Alegreya'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url('/static/fonts/alegreya-latin-ext-wght-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Alegreya'; font-style: italic; font-weight: 400; font-display: swap;
  src: url('/static/fonts/alegreya-latin-400-italic.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: 'Alegreya'; font-style: italic; font-weight: 400; font-display: swap;
  src: url('/static/fonts/alegreya-latin-ext-400-italic.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* ---------- palette: whitewash ---------- */
html[data-theme="ege"] {
    --primary: #1B4F9C !important;
    --primary-light: #E4ECF7;
    --bg-color: #F9FBFC;
    --card-bg: #FFFFFF;
    --text-dark: #17233A;
    --text-gray: #55617A;
    --text-light: #8792A6;
    --border-color: #D3DEEC;
    --shadow-sm: none;
    --shadow-md: none;
    --page-bg: #DAE5F1;
    --pressed-bg: #E4ECF7;
    --glass: #FFFFFF;
    --glass-strong: #FFFFFF;
    --overlay: rgba(15, 27, 45, 0.5);
    --kcal-bg: transparent;
    --kcal-text: #55617A;
    --kcal-border: transparent;
    --btn-bg: #1B4F9C;
    --btn-text: #FFFFFF;
    --font: 'Alegreya', 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, 'Noto Serif', serif;
    --e-leader: #9DAFC8;
    --e-fill: #1B4F9C;
    --e-on-fill: #FFFFFF;
    --e-ok: #2E6B4F;
    --e-warn: #8A641A;
    --e-err: #A23B2A;
    --e-tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Crect width='24' height='24' fill='%231B4F9C'/%3E%3Cpath d='M12 2.6l2.5 6.9 6.9 2.5-6.9 2.5-2.5 6.9-2.5-6.9-6.9-2.5 6.9-2.5z' fill='%23fff'/%3E%3Ccircle cx='12' cy='12' r='2.1' fill='%231B4F9C'/%3E%3Cg fill='%23fff'%3E%3Ccircle r='4.6'/%3E%3Ccircle cx='24' r='4.6'/%3E%3Ccircle cy='24' r='4.6'/%3E%3Ccircle cx='24' cy='24' r='4.6'/%3E%3C/g%3E%3Cg fill='%231B4F9C'%3E%3Ccircle r='1.7'/%3E%3Ccircle cx='24' r='1.7'/%3E%3Ccircle cy='24' r='1.7'/%3E%3Ccircle cx='24' cy='24' r='1.7'/%3E%3C/g%3E%3C/svg%3E");
    --e-r: 3px;
    --e-ease: cubic-bezier(0.23, 1, 0.32, 1);
    color-scheme: light;
}

/* ---------- palette: chalkboard by the sea ---------- */
html[data-theme="ege"][data-mode="dark"] {
    --primary: #9DBDF2 !important;
    --primary-light: #1D3354;
    --bg-color: #0F1B2D;
    --card-bg: #16263C;
    --text-dark: #F2F1EC;
    --text-gray: #B4BDCB;
    --text-light: #8A97AD;
    --border-color: #2A3B55;
    --page-bg: #070E18;
    --pressed-bg: #1D3354;
    --glass: #16263C;
    --glass-strong: #16263C;
    --overlay: rgba(4, 9, 16, 0.72);
    --kcal-text: #B4BDCB;
    --btn-bg: #F2F1EC;
    --btn-text: #0F1B2D;
    --e-leader: #4C5E7B;
    --e-fill: #F2F1EC;
    --e-on-fill: #0F1B2D;
    --e-ok: #8FCBAE;
    --e-warn: #E0C27E;
    --e-err: #F0A090;
    --e-tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Crect width='24' height='24' fill='%23234F96'/%3E%3Cpath d='M12 2.6l2.5 6.9 6.9 2.5-6.9 2.5-2.5 6.9-2.5-6.9-6.9-2.5 6.9-2.5z' fill='%23E9EAE6'/%3E%3Ccircle cx='12' cy='12' r='2.1' fill='%23234F96'/%3E%3Cg fill='%23E9EAE6'%3E%3Ccircle r='4.6'/%3E%3Ccircle cx='24' r='4.6'/%3E%3Ccircle cy='24' r='4.6'/%3E%3Ccircle cx='24' cy='24' r='4.6'/%3E%3C/g%3E%3Cg fill='%23234F96'%3E%3Ccircle r='1.7'/%3E%3Ccircle cx='24' r='1.7'/%3E%3Ccircle cy='24' r='1.7'/%3E%3Ccircle cx='24' cy='24' r='1.7'/%3E%3C/g%3E%3C/svg%3E");
    color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
    html[data-theme="ege"][data-mode="auto"] {
        --primary: #9DBDF2 !important;
        --primary-light: #1D3354;
        --bg-color: #0F1B2D;
        --card-bg: #16263C;
        --text-dark: #F2F1EC;
        --text-gray: #B4BDCB;
        --text-light: #8A97AD;
        --border-color: #2A3B55;
        --page-bg: #070E18;
        --pressed-bg: #1D3354;
        --glass: #16263C;
        --glass-strong: #16263C;
        --overlay: rgba(4, 9, 16, 0.72);
        --kcal-text: #B4BDCB;
        --btn-bg: #F2F1EC;
        --btn-text: #0F1B2D;
        --e-leader: #4C5E7B;
        --e-fill: #F2F1EC;
        --e-on-fill: #0F1B2D;
        --e-ok: #8FCBAE;
        --e-warn: #E0C27E;
        --e-err: #F0A090;
        --e-tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Crect width='24' height='24' fill='%23234F96'/%3E%3Cpath d='M12 2.6l2.5 6.9 6.9 2.5-6.9 2.5-2.5 6.9-2.5-6.9-6.9-2.5 6.9-2.5z' fill='%23E9EAE6'/%3E%3Ccircle cx='12' cy='12' r='2.1' fill='%23234F96'/%3E%3Cg fill='%23E9EAE6'%3E%3Ccircle r='4.6'/%3E%3Ccircle cx='24' r='4.6'/%3E%3Ccircle cy='24' r='4.6'/%3E%3Ccircle cx='24' cy='24' r='4.6'/%3E%3C/g%3E%3Cg fill='%23234F96'%3E%3Ccircle r='1.7'/%3E%3Ccircle cx='24' r='1.7'/%3E%3Ccircle cy='24' r='1.7'/%3E%3Ccircle cx='24' cy='24' r='1.7'/%3E%3C/g%3E%3C/svg%3E");
        color-scheme: dark;
    }
}

/* ---------- shell ---------- */
[data-theme="ege"] .app-container { box-shadow: none; }
[data-theme="ege"] :focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
[data-theme="ege"] .search-box input:focus-visible,
[data-theme="ege"] .lang-pick select:focus-visible { outline: none; }

/* ---------- header under a tile frieze ---------- */
[data-theme="ege"] .header {
    position: relative;
    background: var(--bg-color);
    border-bottom: none;
    padding: 16px 18px 14px;
    padding-top: calc(38px + env(safe-area-inset-top, 0px));
}
[data-theme="ege"] .header::before {
    content: '';
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: calc(22px + env(safe-area-inset-top, 0px));
    background: var(--e-tile) center bottom / 22px 22px repeat;
}
[data-theme="ege"] .top-row { margin-bottom: 14px; min-height: 44px; }
[data-theme="ege"] .user-info .welcome { font-style: italic; font-size: 0.95rem; font-weight: 400; line-height: 1.2; color: var(--text-gray); }
[data-theme="ege"] .user-info .store-name { font-size: 1.55rem; font-weight: 800; line-height: 1.15; letter-spacing: 0.005em; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: break-word; }
[data-theme="ege"] .tagline { display: block; margin-top: 1px; font-style: italic; font-size: 0.88rem; font-weight: 400; color: var(--text-gray); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
[data-theme="ege"] .store-logo { height: 44px; }

[data-theme="ege"] .table-badge { max-width: 44%;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid var(--primary);
    border-radius: var(--e-r);
    background: transparent;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 700;
    transition: background-color 0.15s var(--e-ease);
}
[data-theme="ege"] .table-badge:active { transform: none; background: var(--pressed-bg); }
[data-theme="ege"] .table-badge.pulse { animation: none; background: var(--primary-light); }

[data-theme="ege"] .search-area { gap: 8px; }
[data-theme="ege"] .search-box {
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--e-r);
    background: var(--card-bg);
    transition: border-color 0.2s var(--e-ease);
}
[data-theme="ege"] .search-box:focus-within { border-color: var(--primary); background: var(--card-bg); box-shadow: none; }
[data-theme="ege"] .search-box svg { width: 18px; height: 18px; flex-shrink: 0; stroke: var(--primary); }
[data-theme="ege"] .search-box input { height: 42px; font-size: 1rem; }
[data-theme="ege"] .search-box input::placeholder { color: var(--text-gray); font-style: italic; }
[data-theme="ege"] .filter-btn { width: 44px; min-height: 44px; border: 1px solid var(--border-color); border-radius: var(--e-r); background: var(--card-bg); transition: background-color 0.15s var(--e-ease); }
[data-theme="ege"] .filter-btn svg { width: 18px; height: 18px; stroke: var(--primary); }
[data-theme="ege"] .filter-btn:active { transform: none; background: var(--pressed-bg); }
[data-theme="ege"] .filter-btn.has-filter { border-color: var(--primary); }
[data-theme="ege"] .filter-btn.has-filter::after { top: 5px; right: auto; inset-inline-end: 5px; width: 8px; height: 8px; border: none; background: var(--primary); }

/* ---------- categories: an index line between two rules ---------- */
[data-theme="ege"] .content-wrapper { flex-direction: column; }
[data-theme="ege"] .sidebar {
    width: auto;
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 0;
    padding-inline-start: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    border: none;
    border-block: 1px solid var(--primary);
    background: var(--bg-color);
    scroll-padding-inline: 18px;
    overscroll-behavior-x: contain;
}
[data-theme="ege"] .sidebar::after { content: ''; flex: 0 0 8px; }
[data-theme="ege"] .category { flex: 0 0 auto; flex-direction: row; gap: 0; min-height: 44px; padding: 0 10px; }
[data-theme="ege"] .cat-icon { display: none; }
[data-theme="ege"] .cat-name { padding: 0; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-gray); white-space: nowrap; transition: color 0.2s var(--e-ease); }
[data-theme="ege"] .category.active .cat-name { color: var(--primary); font-weight: 600; }
[data-theme="ege"] .category.active::before {
    inset-inline: 10px;
    top: auto;
    bottom: 0;
    width: auto;
    height: 3px;
    transform: none;
    border-radius: 0;
    background: var(--primary);
}
[data-theme="ege"] .category:focus-visible { outline-offset: -3px; }

/* ---------- the list ---------- */
[data-theme="ege"] .menu-grid { display: block; padding: 2px 18px 16px; }
[data-theme="ege"] .cat-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 0 8px;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    line-height: 1.25;
    text-align: center;
    color: var(--primary);
}
[data-theme="ege"] .cat-heading::before,
[data-theme="ege"] .cat-heading::after { content: ''; flex: 1 1 0; min-width: 16px; height: 4px; border-block: 1px solid var(--primary); }

[data-theme="ege"] .product-card {
    flex-direction: row;
    align-items: flex-start;
    padding: 10px 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transition: opacity 0.15s var(--e-ease);
}
[data-theme="ege"] .product-card:active { opacity: 0.6; }
[data-theme="ege"] .img-container { flex: 0 0 58px; width: 58px; margin: 3px 0 0; margin-inline-end: 12px; border-radius: var(--e-r); background: var(--primary-light); }
[data-theme="ege"] .img-placeholder { background: var(--primary-light); color: var(--primary); }
[data-theme="ege"] .img-placeholder svg { width: 20px; height: 20px; }
[data-theme="ege"] .badge {
    top: auto;
    bottom: 0;
    inset-inline: 0;
    max-width: none;
    padding: 2px 3px;
    border-radius: 0;
    background: var(--e-fill);
    color: var(--e-on-fill) !important;
    font-size: 0.6rem;
    font-weight: 700;
    text-align: center;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
}
/* With :has(): the photo is optional and the badge is set as an italic note above the name. */
@supports selector(:has(*)) {
    [data-theme="ege"] .img-container { position: static; }
    [data-theme="ege"] .product-card:has(.img-placeholder) .img-container { flex-basis: 0; width: 0; margin: 0; overflow: visible; background: none; }
    [data-theme="ege"] .product-card:has(.img-placeholder) .img-placeholder { display: none; }
    [data-theme="ege"] .badge {
        top: 9px;
        bottom: auto;
        inset-inline: 70px 0;
        padding: 0;
        background: none;
        color: var(--primary) !important;
        font-size: 0.86rem;
        font-style: italic;
        font-weight: 400;
        line-height: 1.2;
        text-align: start;
    }
    [data-theme="ege"] .product-card:has(.img-placeholder) .badge { inset-inline-start: 0; }
    [data-theme="ege"] .product-card:has(.badge) .product-info { padding-top: 18px; }
}
[data-theme="ege"] .product-info { flex: 1; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 6px; row-gap: 1px; }
[data-theme="ege"] .product-title { display: block; grid-column: 1; grid-row: 1; margin: 0; overflow: hidden; font-size: 1.12rem; font-weight: 700; line-height: 1.3; }
[data-theme="ege"] .product-title::after { content: ''; display: inline-block; width: 100%; margin-inline: 6px -100%; border-bottom: 2px dotted var(--e-leader); }
[data-theme="ege"] .price-row { grid-column: 2; grid-row: 1; align-self: end; margin: 0; }
[data-theme="ege"] .price { font-size: 1.12rem; font-weight: 700; line-height: 1.3; color: var(--primary); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
[data-theme="ege"] .product-desc { grid-column: 1 / -1; margin: 0; font-style: italic; font-size: 0.96rem; font-weight: 400; line-height: 1.35; color: var(--text-gray); }
[data-theme="ege"] .product-meta { grid-column: 1 / -1; margin: 5px 0 0; gap: 6px; }
[data-theme="ege"] .kcal-chip { margin-inline-end: 4px; padding: 0; border: none; border-radius: 0; font-style: italic; font-size: 0.86rem; font-weight: 400; font-variant-numeric: lining-nums; }
[data-theme="ege"] .allergen-badge { width: 22px; height: 22px; color: var(--primary) !important; background: transparent !important; border-color: var(--border-color) !important; }
[data-theme="ege"] .allergen-badge svg { width: 13px; height: 13px; }

[data-theme="ege"] .no-results { padding: 64px 16px; font-style: italic; font-size: 1.1rem; font-weight: 400; line-height: 1.4; color: var(--text-gray); }
[data-theme="ege"] .menu-footnote { margin-top: 20px; padding: 18px 0 12px; border-top: 4px double var(--border-color); font-style: italic; font-size: 0.86rem; line-height: 1.5; color: var(--text-gray); }
[data-theme="ege"] .footnote-tools { gap: 8px; margin-top: 12px; }
[data-theme="ege"] .link-btn { min-height: 40px; padding: 0 12px; border: 1px solid var(--border-color); border-radius: var(--e-r); font-style: normal; font-size: 0.86rem; font-weight: 600; color: var(--primary); transition: background-color 0.15s var(--e-ease); }
[data-theme="ege"] .link-btn:active { background: var(--pressed-bg); }

/* ---------- banner + bottom bar ---------- */
[data-theme="ege"] .qb-banner { padding: 7px 18px; border-top: 1px solid var(--border-color); background: var(--card-bg); font-size: 0.86rem; }
[data-theme="ege"] .qb-banner-mark { border: 1px solid var(--primary); border-radius: var(--e-r); background: transparent; color: var(--primary); }
[data-theme="ege"] .qb-banner-img { border-radius: var(--e-r); }
[data-theme="ege"] .qb-banner-text { font-weight: 400; }
[data-theme="ege"] .qb-banner-cta { display: inline-flex; align-items: center; min-height: 30px; padding: 0 10px; border: 1px solid var(--primary); border-radius: var(--e-r); background: transparent; color: var(--primary); font-size: 0.84rem; }

[data-theme="ege"] .bottom-nav { height: calc(66px + env(safe-area-inset-bottom)); border-top: 4px double var(--primary); background: var(--bg-color); box-shadow: none; }
[data-theme="ege"] .nav-item { align-self: stretch; justify-content: center; gap: 3px; color: var(--text-gray); transition: color 0.15s var(--e-ease); }
[data-theme="ege"] .nav-item svg { width: 22px; height: 22px; stroke-width: 1.6; transition: none; }
[data-theme="ege"] .nav-item span { font-size: 0.8rem; font-weight: 600; transition: none; }
[data-theme="ege"] .nav-item.active { color: var(--primary); }
[data-theme="ege"] .nav-item.active svg { fill: var(--primary-light); }
[data-theme="ege"] button.nav-item:active { transform: none; color: var(--primary); }
[data-theme="ege"] .nav-item:focus-visible { outline-offset: -5px; }

/* ---------- sheets ---------- */
[data-theme="ege"] .modal-overlay { -webkit-backdrop-filter: none; backdrop-filter: none; }
[data-theme="ege"] .modal-content { border-radius: var(--e-r) var(--e-r) 0 0; background: var(--card-bg); box-shadow: none; animation: slideUp 0.3s var(--e-ease); }
[data-theme="ege"] .modal-content.sheet { padding: 0 18px calc(22px + env(safe-area-inset-bottom)); }
[data-theme="ege"] .modal-content.sheet::before { content: ''; flex: 0 0 14px; margin: 0 -18px 22px; background: var(--e-tile) center / 14px 14px repeat-x; }
[data-theme="ege"] .close-modal { top: 12px; inset-inline-end: 12px; width: 40px; height: 40px; border: 1px solid var(--primary); border-radius: var(--e-r); background: var(--card-bg); color: var(--primary); box-shadow: none; }
[data-theme="ege"] .sheet .close-modal { top: 26px; }
[data-theme="ege"] .close-modal svg { width: 18px; height: 18px; }
[data-theme="ege"] .close-modal:active { background: var(--pressed-bg); }
[data-theme="ege"] .modal-img-container { border-radius: var(--e-r) var(--e-r) 0 0; background: var(--primary-light); }
[data-theme="ege"] .modal-body { padding: 20px 18px 22px; }
[data-theme="ege"] .no-img + .modal-body { padding-top: 26px; padding-inline-end: 18px; }
[data-theme="ege"] .no-img + .modal-body .modal-title { padding-inline-end: 50px; }
[data-theme="ege"] .modal-title { margin-bottom: 6px; font-size: 1.6rem; font-weight: 800; line-height: 1.15; }
[data-theme="ege"] .sheet-title { margin-bottom: 20px; padding-inline-end: 50px; }
[data-theme="ege"] .modal-desc { font-style: italic; font-size: 1.05rem; font-weight: 400; line-height: 1.5; color: var(--text-gray); }
[data-theme="ege"] .modal-desc:empty { display: none; }
[data-theme="ege"] .modal-allergens { gap: 6px 8px; margin-bottom: 0; }
[data-theme="ege"] .modal-allergens:empty { display: none; }
[data-theme="ege"] .modal-allergens .kcal-chip { display: inline-flex; align-items: center; min-height: 30px; margin: 0; padding: 0 10px; border: 1px solid var(--border-color); border-radius: var(--e-r); font-size: 0.9rem; }
[data-theme="ege"] .modal-allergens .allergen-badge { width: auto; height: auto; min-height: 30px; padding: 0 10px 0 8px; border-radius: var(--e-r); }
[data-theme="ege"] .modal-allergens .allergen-text { font-size: 0.9rem; font-weight: 500; color: var(--text-dark); }
[data-theme="ege"] .modal-footer { margin-top: 20px; padding-top: 14px; border-top: 4px double var(--border-color); }
[data-theme="ege"] .modal-price { font-size: 1.6rem; font-weight: 800; color: var(--primary); font-variant-numeric: lining-nums; }
[data-theme="ege"] .modal-add-btn { min-height: 50px; border-radius: var(--e-r); background: var(--e-fill); color: var(--e-on-fill); font-size: 1.05rem; font-weight: 700; letter-spacing: 0.02em; transition: opacity 0.15s var(--e-ease); }
[data-theme="ege"] .modal-add-btn:active { transform: none; opacity: 0.85; background: var(--e-fill); color: var(--e-on-fill); }

[data-theme="ege"] .sheet-label { margin-bottom: 10px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); }
[data-theme="ege"] .sheet-hint { margin: -14px 0 18px; font-style: italic; font-size: 1rem; line-height: 1.4; color: var(--text-gray); }
[data-theme="ege"] .filter-chip { min-height: 40px; padding: 0 12px; border: 1px solid var(--border-color); border-radius: var(--e-r); background: transparent; color: var(--text-dark); font-size: 0.95rem; font-weight: 500; transition: background-color 0.15s var(--e-ease), border-color 0.15s var(--e-ease); }
[data-theme="ege"] .filter-chip.allergen-chip { color: var(--text-dark) !important; border-color: var(--border-color) !important; }
[data-theme="ege"] .filter-chip.allergen-chip svg { color: var(--primary); }
[data-theme="ege"] .sheet .filter-chip.active { background: var(--e-fill) !important; border-color: var(--e-fill) !important; color: var(--e-on-fill) !important; }
[data-theme="ege"] .sheet .filter-chip.active svg { color: var(--e-on-fill); }
[data-theme="ege"] .table-search { margin-bottom: 16px; padding: 0 12px; background: var(--bg-color); }
[data-theme="ege"] .table-grid { gap: 8px; }
[data-theme="ege"] .table-chip { min-height: 50px; padding: 6px 8px; border-radius: var(--e-r); font-size: 1rem; font-weight: 700; }
[data-theme="ege"] .table-chip:active { transform: none; background: var(--pressed-bg); }

[data-theme="ege"] .pref-row { gap: 8px; }
[data-theme="ege"] .seg { padding: 3px; border: 1px solid var(--border-color); border-radius: var(--e-r); background: transparent; }
[data-theme="ege"] .seg-btn { min-height: 40px; padding: 0 12px; border-radius: 2px; font-size: 0.92rem; font-weight: 500; color: var(--text-gray); }
[data-theme="ege"] .seg-btn.active { background: var(--primary-light); color: var(--primary); box-shadow: none; }
[data-theme="ege"] .lang-pick { min-height: 48px; padding: 0 12px; border: 1px solid var(--border-color); border-radius: var(--e-r); background: transparent; color: var(--primary); }
[data-theme="ege"] .lang-pick select { min-height: 40px; font-size: 0.95rem; font-weight: 500; color: var(--text-dark); }

/* ---------- toast, dialog, ribbon ---------- */
[data-theme="ege"] .toast-notification { bottom: 86px; padding: 11px 20px; border-radius: var(--e-r); background: var(--e-fill); color: var(--e-on-fill); font-size: 1rem; font-weight: 600; box-shadow: none; transition: opacity 0.25s var(--e-ease), transform 0.25s var(--e-ease); }
[data-theme="ege"] .qb-dialog-card { padding: 26px 18px 18px; border: 4px double var(--primary); border-radius: var(--e-r); background: var(--card-bg); box-shadow: none; animation: dialogIn 0.25s var(--e-ease); }
[data-theme="ege"] .qb-dialog-icon { width: 50px; height: 50px; margin-bottom: 12px; border-width: 1.5px; font-size: 1.5rem; font-weight: 700; }
[data-theme="ege"] .qb-dialog-icon.question,
[data-theme="ege"] .qb-dialog-icon.info { color: var(--primary); }
[data-theme="ege"] .qb-dialog-icon.success { color: var(--e-ok); }
[data-theme="ege"] .qb-dialog-icon.warning { color: var(--e-warn); }
[data-theme="ege"] .qb-dialog-icon.error { color: var(--e-err); }
[data-theme="ege"] .qb-dialog-title { margin-bottom: 6px; font-size: 1.5rem; font-weight: 800; line-height: 1.15; }
[data-theme="ege"] .qb-dialog-text { font-style: italic; font-size: 1.05rem; font-weight: 400; line-height: 1.45; color: var(--text-gray); }
[data-theme="ege"] .qb-dialog-actions { gap: 8px; margin-top: 20px; }
[data-theme="ege"] .qb-dialog-btn { flex: 1 1 0; min-width: 0; min-height: 46px; padding: 0 12px; border-radius: var(--e-r); background: var(--e-fill); color: var(--e-on-fill); font-size: 1rem; font-weight: 700; transition: opacity 0.15s var(--e-ease); }
[data-theme="ege"] .qb-dialog-btn.confirm { background: var(--e-fill); color: var(--e-on-fill); }
[data-theme="ege"] .qb-dialog-btn.cancel { border: 1px solid var(--border-color); background: transparent; color: var(--text-dark); }
[data-theme="ege"] .qb-dialog-btn:active { transform: none; opacity: 0.82; }
[data-theme="ege"] .preview-ribbon { background: var(--e-fill); color: var(--e-on-fill); font-style: italic; font-size: 0.84rem; font-weight: 400; letter-spacing: 0; }
