@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Inter:wght@400;500;600;700;800&display=swap');

/*
 * Tema sistemi: tüm renkler CSS custom property olarak tanımlanır.
 * Varsayılan (aşağıdaki :root) koyu temadır. #app[data-theme="light"]
 * altında aynı değişkenler açık tema değerleriyle geçersiz kılınır.
 * Admin panelinden gelen arka plan/vurgu rengi, index.php içinde bu
 * değişkenleri satır içi <style> ile override eder (bkz. index.php).
 */
:root {
    --bg-app: #0e0b09;
    --bg-page: #161109;
    --bg-card: #211a12;
    --gold: #c9a15a;
    --gold-fixed: #e4c98a;
    --accent-strong: #e4c98a;
    --text-primary: #f3ede3;
    --text-muted: rgba(243,237,227,0.55);
    --price-color: #7ed9a8;
    --price-bg: rgba(63,166,106,0.16);
    --kcal-color: #f0a868;
    --kcal-bg: rgba(226,138,44,0.16);
    --thumb-1: #2c2318;
    --thumb-2: #181209;
    --skeleton-1: #211a12;
    --skeleton-2: #2c2318;
    --handle-color: rgba(243,237,227,0.25);
    --sheet-desc: rgba(243,237,227,0.72);
    --icon-muted: rgba(243,237,227,0.35);
    --border-soft: rgba(255,255,255,0.06);
    --border-soft-2: rgba(255,255,255,0.08);
    --border-gold: rgba(201,161,90,0.18);
    --shadow-card: 0 6px 20px rgba(0, 0, 0, 0.4);
    --shadow-modal: 0 -10px 40px rgba(0, 0, 0, 0.55);
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --maxw: 480px;
    font-size: 16px;
}

/* Açık tema değerleri (#app[data-theme="light"] scope'unda geçerli olur) */
#app[data-theme="light"] {
    --bg-app: #f7f4ee;
    --bg-page: #f7f4ee;
    --bg-card: #ffffff;
    --accent-strong: #8f6428;
    --text-primary: #201a15;
    --text-muted: #8a7f72;
    --price-color: #2b6b4f;
    --price-bg: #e4f2ea;
    --kcal-color: #b25b1f;
    --kcal-bg: #fdefe2;
    --thumb-1: #e9e2d4;
    --thumb-2: #cfc6b3;
    --skeleton-1: #e9e2d4;
    --skeleton-2: #f2ede2;
    --handle-color: #e2dccf;
    --sheet-desc: #55493d;
    --icon-muted: #a89a80;
    --border-soft: rgba(0,0,0,0.06);
    --border-soft-2: rgba(0,0,0,0.08);
    --border-gold: rgba(184,132,62,0.3);
    --shadow-card: 0 6px 20px rgba(20, 14, 8, 0.08);
    --shadow-modal: 0 -10px 40px rgba(0, 0, 0, 0.2);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    background: var(--bg-app);
    color: var(--text-primary);
    -webkit-tap-highlight-color: transparent;
    overscroll-behavior-y: none;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
.icon { width: 1.3em; height: 1.3em; vertical-align: -0.25em; }

#app {
    max-width: var(--maxw);
    margin: 0 auto;
    min-height: 100vh;
    background: var(--bg-page);
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 60px rgba(0,0,0,0.4);
}

/* ---------- Header ---------- */
.app-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: var(--bg-app);
    color: var(--text-primary);
    padding: 16px 16px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-gold);
    transition: background 0.25s ease;
}
.app-header .icon-btn {
    background: transparent;
    border: none;
    color: var(--text-primary);
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
    flex-shrink: 0;
}
.app-header .icon-btn:active { background: rgba(128,128,128,0.15); }
.brand {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 0;
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    cursor: pointer;
}
.logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
}
.brand img.logo-img { max-height: 40px; max-width: 100%; width: auto; display: block; }
.brand .brand-name {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 0.06em;
    color: var(--accent-strong);
    text-transform: uppercase;
    line-height: 1;
}
.brand .brand-slogan {
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.header-actions { display: flex; gap: 2px; flex-shrink: 0; }

/* ---------- Language dropdown ---------- */
.lang-dropdown { position: relative; }
.lang-menu {
    position: absolute;
    right: 0; top: 44px;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    overflow: hidden;
    width: 240px;
    max-width: 84vw;
    box-shadow: 0 16px 40px rgba(0,0,0,0.45);
    display: none;
    z-index: 40;
}
.lang-menu.open { display: block; }
.lang-menu button {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: var(--text-primary);
    padding: 11px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}
.lang-menu button:hover, .lang-menu button.active { background: rgba(201,161,90,0.14); }
.lang-menu button.active { color: var(--accent-strong); }
.lang-menu-divider { height: 1px; background: var(--border-gold); margin: 6px 0; }
.lang-menu-label {
    padding: 10px 16px 6px;
    font-size: 0.63rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.gt-lang-grid {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 2px 6px 8px;
    max-height: 260px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border-gold) transparent;
}
.gt-lang-grid::-webkit-scrollbar { width: 5px; }
.gt-lang-grid::-webkit-scrollbar-thumb { background: var(--border-gold); border-radius: 999px; }
.gt-lang-grid::-webkit-scrollbar-track { background: transparent; }
.gt-lang-btn {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 10px;
    border-radius: 9px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-primary);
    background: none;
    border: none;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
}
.gt-lang-btn span:last-child { overflow: hidden; text-overflow: ellipsis; }
.gt-lang-btn:hover, .gt-lang-btn.active { background: rgba(201,161,90,0.14); }
.gt-lang-btn.active { color: var(--accent-strong); }
.gt-lang-btn .gt-flag { flex-shrink: 0; font-size: 1.05em; }
.gt-reset-btn { color: var(--accent-strong) !important; border-bottom: 1px solid var(--border-gold) !important; border-radius: 9px 9px 0 0 !important; margin-bottom: 4px; padding-bottom: 10px !important; }

/* Google'ın kendi widget kutusu ve üst "Şu dile çevrildi" barı (banner iframe + onu saran div) tamamen gizlenir; sadece işlevsel <select> arka planda kalır. */
.gt-hidden-widget { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
body > .skiptranslate,
body > .skiptranslate.goog-te-gadget { display: none !important; height: 0 !important; }
.goog-te-banner-frame,
iframe.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate { display: none !important; visibility: hidden !important; height: 0 !important; }
#goog-gt-tt, .goog-tooltip, .goog-tooltip:hover { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
html body { top: 0 !important; position: static !important; }

/* ---------- Search overlay ---------- */
.search-overlay {
    position: fixed; inset: 0;
    background: var(--bg-app);
    z-index: 100;
    display: none;
    flex-direction: column;
}
.search-overlay.open { display: flex; }
.search-overlay .search-bar {
    display: flex; align-items: center; gap: 10px;
    padding: 16px;
    border-bottom: 1px solid var(--border-gold);
}
.search-overlay input {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    color: var(--text-primary);
    padding: 12px 14px;
    border-radius: 999px;
    font-size: 1rem;
    outline: none;
}
.search-overlay input::placeholder { color: var(--text-muted); }
.search-results { flex: 1; overflow-y: auto; padding: 10px 16px 40px; }
.search-empty { color: var(--text-muted); text-align: center; padding: 60px 20px; font-size: 0.95rem; }

/* ---------- Views ---------- */
.view { display: none; flex: 1; flex-direction: column; }
.view.active { display: flex; }
.view-enter { animation: fadeSlideIn 0.28s ease both; }
@keyframes fadeSlideIn { from { opacity: 0; transform: translateX(14px);} to { opacity: 1; transform: translateX(0);} }

/* ---------- Category grid ---------- */
#view-categories { background: var(--bg-app); padding: 18px 16px 40px; gap: 16px; background-size: cover; background-position: center; }
#view-categories.has-bg-image { background-blend-mode: normal; }
.category-card {
    position: relative;
    height: 168px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, var(--cat-color-1, #3a2f27), var(--cat-color-2, #1a1512));
    display: flex;
    align-items: flex-end;
    border: 1px solid rgba(201,161,90,0.12);
}
.category-card img {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s ease;
}
.category-card:active img { transform: scale(1.04); }
.category-card::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.75) 100%);
}
.category-card .cat-icon-placeholder {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    opacity: 0.35;
}
.category-card .cat-icon-placeholder .icon { width: 48px; height: 48px; }
.category-card .cat-title {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
    padding: 18px 12px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #fff;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.category-card .cat-count {
    position: absolute;
    top: 12px; right: 12px;
    z-index: 2;
    background: rgba(0,0,0,0.4);
    color: var(--gold-fixed);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    backdrop-filter: blur(4px);
}

/* ---------- Product list ---------- */
#view-products { background: var(--bg-page); padding-bottom: 40px; }
.products-header {
    position: sticky;
    top: 69px;
    z-index: 20;
    background: var(--bg-page);
    padding: 16px 16px 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-soft);
}
.products-header .back-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    width: 38px; height: 38px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-card);
    color: var(--text-primary);
    flex-shrink: 0;
}
.products-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    margin: 0;
    color: var(--text-primary);
}
.products-header .cat-sub { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }

.product-list { padding: 14px 16px 10px; display: flex; flex-direction: column; gap: 14px; }

.fab-home {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%) translateY(16px);
    z-index: 45;
    display: flex;
    align-items: center;
    gap: 7px;
    background: var(--accent-strong);
    color: var(--bg-app);
    border: none;
    padding: 11px 20px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.fab-home.visible { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
body.cart-visible .fab-home { bottom: 84px; }
.fab-home .icon { width: 1.05em; height: 1.05em; }
.fab-home:active { transform: translateX(-50%) translateY(0) scale(0.96); }

.product-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    padding: 12px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    text-align: left;
    border: 1px solid var(--border-soft);
    width: 100%;
    cursor: pointer;
    position: relative;
}
.quick-add-btn {
    position: absolute;
    top: 10px; right: 10px;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--accent-strong);
    color: var(--bg-app);
    border: none;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    z-index: 2;
}
.quick-add-btn .icon { width: 16px; height: 16px; }
.product-card .thumb {
    width: 78px; height: 78px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--thumb-1), var(--thumb-2));
}
.product-card .thumb-placeholder {
    width: 78px; height: 78px;
    border-radius: 12px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--thumb-1), var(--thumb-2));
    display: flex; align-items: center; justify-content: center;
    color: var(--icon-muted);
}
.product-card .body { flex: 1; min-width: 0; }
.badge-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 5px; }
.badge-pill {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}
.badge-pill .icon { width: 0.9em; height: 0.9em; }
.product-card .p-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
    margin: 0 0 3px;
}
.product-card .p-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card .meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.meta-pills { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.kcal-pill, .time-pill {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.kcal-pill { color: var(--kcal-color); background: var(--kcal-bg); }
.time-pill { color: var(--gold); background: rgba(201,161,90,0.14); }
.kcal-pill .icon, .time-pill .icon { width: 0.95em; height: 0.95em; }
.price-tag {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--price-color);
    white-space: nowrap;
}
.allergen-row { display: flex; gap: 5px; margin-top: 8px; }
.allergen-dot {
    width: 22px; height: 22px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
}
.allergen-dot .icon { width: 13px; height: 13px; }

.empty-state {
    text-align: center;
    padding: 60px 24px;
    color: var(--text-muted);
}

/* ---------- Product detail modal (bottom sheet) ---------- */
.sheet-backdrop {
    position: fixed; inset: 0;
    background: rgba(10,7,5,0.55);
    z-index: 60;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.sheet-backdrop.open { opacity: 1; pointer-events: auto; }

.sheet {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 100%);
    width: 100%;
    max-width: var(--maxw);
    max-height: 88vh;
    background: var(--bg-card);
    border-radius: 26px 26px 0 0;
    z-index: 61;
    overflow-y: auto;
    box-shadow: var(--shadow-modal);
    border-top: 1px solid var(--border-soft-2);
    transition: transform 0.32s cubic-bezier(.22,1,.36,1);
}
.sheet.open { transform: translate(-50%, 0); }
.sheet .drag-handle {
    position: sticky; top: 0;
    display: flex; justify-content: center;
    padding: 10px 0 4px;
    background: var(--bg-card);
    z-index: 2;
}
.sheet .drag-handle span { width: 40px; height: 4px; border-radius: 4px; background: var(--handle-color); }
.sheet .sheet-image-wrap { position: relative; }
.sheet .sheet-image {
    width: 100%; height: 240px; object-fit: cover;
    background: linear-gradient(135deg, var(--thumb-1), var(--thumb-2));
}
.sheet .close-btn {
    position: absolute; top: 14px; right: 14px;
    width: 36px; height: 36px;
    background: rgba(18,14,12,0.55);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(4px);
}
.sheet .sheet-body { padding: 18px 20px 34px; }
.breadcrumb {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}
.sheet-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}
.sheet-title-row h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin: 0;
    color: var(--text-primary);
    line-height: 1.2;
}
.sheet-price {
    background: var(--price-bg);
    color: var(--price-color);
    font-weight: 800;
    font-size: 1rem;
    padding: 7px 14px;
    border-radius: 12px;
    white-space: nowrap;
}
.sheet-desc {
    color: var(--sheet-desc);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 14px 0;
}
.sheet-divider { height: 1px; background: var(--border-soft-2); margin: 16px 0; }
.sheet-meta-row { display: flex; gap: 22px; }
.sheet-meta-item { display: flex; align-items: center; gap: 8px; color: var(--text-primary); font-size: 0.88rem; font-weight: 600; }
.sheet-meta-item .icon { color: var(--gold); }
.sheet-section-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 10px;
}

/* ---------- Sepet ---------- */
.cart-bar {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--maxw);
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
    background: var(--accent-strong);
    color: var(--bg-app);
    border: none;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -8px 24px rgba(0,0,0,0.25);
    font-family: inherit;
    cursor: pointer;
}
.cart-bar-count {
    display: flex; align-items: center; justify-content: center;
    min-width: 26px; height: 26px; padding: 0 6px;
    background: rgba(0,0,0,0.2);
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.85rem;
}
.cart-bar-label { flex: 1; text-align: left; font-weight: 700; font-size: 0.92rem; }
.cart-bar-total { font-weight: 800; font-size: 0.98rem; }

.variant-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-chip {
    background: var(--bg-page);
    border: 1px solid var(--border-soft-2);
    color: var(--text-primary);
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}
.variant-chip.active { background: var(--accent-strong); color: var(--bg-app); border-color: var(--accent-strong); }

.cart-add-row { display: flex; align-items: center; gap: 14px; }
.qty-stepper {
    display: flex; align-items: center; gap: 12px;
    background: var(--bg-page);
    border: 1px solid var(--border-soft-2);
    border-radius: 999px;
    padding: 6px 12px;
}
.qty-btn {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-soft-2);
    color: var(--text-primary);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.qty-btn .icon { width: 14px; height: 14px; }
.qty-value { min-width: 18px; text-align: center; font-weight: 700; }
.btn-add-cart {
    flex: 1;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--accent-strong);
    color: var(--bg-app);
    border: none;
    border-radius: 999px;
    padding: 12px;
    font-weight: 700;
    font-size: 0.92rem;
}

.cart-sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cart-sheet-head h1 { font-family: 'Playfair Display', serif; font-size: 1.4rem; margin: 0; color: var(--text-primary); }
.cart-sheet-head .close-btn {
    position: static;
    width: 34px; height: 34px;
    background: var(--bg-page);
    color: var(--text-primary);
    border: none; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: none;
}
.cart-item-list { display: flex; flex-direction: column; gap: 14px; }
.cart-item-row { display: flex; align-items: center; gap: 12px; }
.cart-item-thumb, .cart-item-thumb-placeholder {
    width: 52px; height: 52px; border-radius: 10px; flex-shrink: 0; object-fit: cover;
    background: linear-gradient(135deg, var(--thumb-1), var(--thumb-2));
    display: flex; align-items: center; justify-content: center; color: var(--icon-muted);
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { margin: 0 0 4px; font-weight: 700; font-size: 0.9rem; color: var(--text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-item-price { font-size: 0.82rem; color: var(--text-muted); }
.cart-item-remove { background: none; border: none; color: var(--text-muted); flex-shrink: 0; }
.cart-item-remove .icon { width: 17px; height: 17px; }
.cart-total-row { display: flex; align-items: center; justify-content: space-between; font-weight: 800; font-size: 1.05rem; color: var(--text-primary); margin-bottom: 18px; }
.btn-place-order {
    width: 100%;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--accent-strong);
    color: var(--bg-app);
    border: none;
    border-radius: 999px;
    padding: 14px;
    font-weight: 700;
    font-size: 0.95rem;
}
.confirm-body { text-align: center; padding-top: 20px; }
.confirm-icon { color: var(--accent-strong); margin-bottom: 10px; }
.confirm-icon .icon { width: 56px; height: 56px; }
.confirm-body h1 { font-family: 'Playfair Display', serif; font-size: 1.4rem; margin: 0 0 8px; color: var(--text-primary); }
.allergen-list { display: flex; flex-direction: column; gap: 10px; }
.allergen-list .allergen-item { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--text-primary); }
.allergen-list .allergen-dot { width: 30px; height: 30px; flex-shrink: 0; }
.allergen-list .allergen-dot .icon { width: 16px; height: 16px; }

/* ---------- Footer ---------- */
.app-footer {
    background: var(--bg-app);
    color: var(--text-muted);
    text-align: center;
    font-size: 0.72rem;
    padding: 22px 16px 28px;
    border-top: 1px solid var(--border-gold);
}
body.cart-visible .app-footer { padding-bottom: calc(28px + 68px + env(safe-area-inset-bottom)); }
.footer-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}
.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-primary);
    text-decoration: none;
    background: rgba(201,161,90,0.1);
    border: 1px solid var(--border-gold);
    padding: 7px 13px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    max-width: 100%;
}
.footer-link .icon { width: 1em; height: 1em; color: var(--accent-strong); flex-shrink: 0; }
.footer-link span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.footer-credit { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--text-muted); }

.footer-wifi {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 320px;
    margin: 0 auto 16px;
    background: rgba(201,161,90,0.08);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    text-align: left;
}
.footer-wifi-icon { color: var(--accent-strong); flex-shrink: 0; display: flex; }
.footer-wifi-icon .icon { width: 22px; height: 22px; }
.footer-wifi-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.footer-wifi-row { display: flex; align-items: center; gap: 6px; font-size: 0.78rem; }
.footer-wifi-label { color: var(--text-muted); flex-shrink: 0; min-width: 34px; }
.footer-wifi-value { color: var(--text-primary); font-weight: 700; letter-spacing: 0.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.footer-wifi-copy { margin-left: auto; flex-shrink: 0; background: none; border: none; color: var(--accent-strong); display: flex; padding: 2px; }
.footer-wifi-copy .icon { width: 15px; height: 15px; }
.footer-wifi-copy.copied { color: var(--success, #2fa679); }

.skeleton { background: linear-gradient(90deg, var(--skeleton-1) 25%, var(--skeleton-2) 37%, var(--skeleton-1) 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; border-radius: var(--radius-md); }
@keyframes shimmer { 0%{background-position:100% 50%} 100%{background-position:0 50%} }
.skeleton-cat { height: 168px; border-radius: var(--radius-lg); margin-bottom: 16px; }

@media (min-width: 481px) {
    body { background: var(--bg-app); }
    #app { min-height: 100vh; }
}
