/*
 * Lavanta — mobil uygulama görünümlü QR menü teması (Zevo QR Menü Lite).
 * Kapak fotoğraflı karşılama + masa rozeti, yuvarlatılmış arama, yatay kategori ve ürün kartları,
 * kart üzerinden adet seçimi, ortasında sepet düğmesi olan alt sekme çubuğu.
 *
 * Panelden gelen renkler :root üzerinde --t-* değişkenleriyle ezilir (bkz. ThemeContext).
 * Yön bağımsız (RTL) olsun diye mantıksal özellikler (margin-inline, inset-inline) kullanılır.
 * Performans: bulanıklık (backdrop-filter) ve sürekli animasyon yoktur; gölgeler hafiftir.
 */

/* ---- Yazı tipleri (yerel, OFL lisanslı) ------------------------------------------ */
@font-face {
    font-family: "Jakarta";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("../fonts/plus-jakarta-sans-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+20BA, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Jakarta";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("../fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2");
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/inter-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+20BA, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---- Tasarım belirteçleri ------------------------------------------------------- */
:root {
    --t-primary: #6B3FE6;
    --t-secondary: #FF7A45;
    --t-bg: #F5F4FA;
    --t-text: #1C1830;
    --t-button: #6B3FE6;
    --t-radius: 18px;

    --lv-bg: var(--t-bg);
    --lv-text: var(--t-text);
    --lv-primary: var(--t-primary);
    --lv-button: var(--t-button);
    --lv-secondary: var(--t-secondary);
    --lv-surface: #ffffff;
    --lv-surface-2: #efedf6;
    --lv-line: #e6e3f0;
    --lv-muted: #6f6a85;
    --lv-on-primary: #ffffff;
    --lv-primary-soft: color-mix(in srgb, var(--lv-primary) 12%, transparent);
    --lv-radius: var(--t-radius);
    --lv-radius-sm: max(6px, calc(var(--t-radius) - 6px));
    --lv-shadow: 0 1px 2px rgba(28, 20, 60, 0.05), 0 8px 22px -14px rgba(40, 24, 100, 0.32);
    --lv-shadow-lg: 0 20px 50px -24px rgba(40, 24, 100, 0.5);
    --lv-sans: "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --lv-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
    --lv-tabbar-h: 68px;
    color-scheme: light;
}

.font-inter {
    --lv-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.font-system {
    --lv-sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Koyu mod: panel renklerinden türetilmiş koyu palet */
[data-color="dark"] {
    --lv-bg: #121019;
    --lv-text: #f1eff8;
    --lv-surface: #1c1926;
    --lv-surface-2: #252131;
    --lv-line: #2f2a3d;
    --lv-muted: #a9a3bd;
    --lv-primary: color-mix(in srgb, var(--t-primary) 62%, #ffffff);
    --lv-button: color-mix(in srgb, var(--t-button) 80%, #ffffff);
    --lv-primary-soft: color-mix(in srgb, var(--lv-primary) 20%, transparent);
    --lv-on-primary: #ffffff;
    --lv-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 26px -16px rgba(0, 0, 0, 0.8);
    color-scheme: dark;
}

/* ---- Temel ------------------------------------------------------------------------ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 72px;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--lv-bg);
    color: var(--lv-text);
    font-family: var(--lv-sans);
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden;
}

body.qrm-locked {
    overflow: hidden;
}

/* "hidden" özniteliği bileşenlerin display değerinden önce gelir (gizli pencereler dokunuşu yutmasın). */
[hidden] {
    display: none !important;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
}

:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--lv-primary) 55%, transparent);
    outline-offset: 2px;
}

.lv-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.lv-skip {
    position: absolute;
    inset-inline-start: 12px;
    top: -60px;
    z-index: 100;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--lv-primary);
    color: var(--lv-on-primary);
    font-weight: 700;
    text-decoration: none;
}

.lv-skip:focus {
    top: 12px;
}

[dir="rtl"] .lv-flip {
    transform: scaleX(-1);
}

[data-color="light"] .lv-when-dark,
[data-color="dark"] .lv-when-light {
    display: none;
}

.lv-wrap {
    width: 100%;
    max-width: 1080px;
    margin-inline: auto;
    padding-inline: 16px;
}

.lv-main {
    outline: none;
    padding-bottom: 8px;
}

.lv-muted {
    color: var(--lv-muted);
}

.lv-fine {
    margin: 10px 0 0;
    color: var(--lv-muted);
    font-size: 0.78rem;
    line-height: 1.45;
}

.lv-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--lv-primary);
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
}

.lv-eyebrow {
    margin: 0 0 4px;
    color: var(--lv-primary);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ---- Yuvarlak düğmeler ---------------------------------------------------------------- */
.lv-round-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--lv-line);
    border-radius: 999px;
    background: var(--lv-surface);
    color: var(--lv-text);
    font-size: 1rem;
    text-decoration: none;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.lv-round-btn:active {
    transform: scale(0.94);
}

.lv-round-btn.is-text {
    width: auto;
    min-width: 40px;
    padding: 0 12px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.lv-round-btn.is-small {
    width: 30px;
    height: 30px;
    font-size: 0.95rem;
}

.lv-round-btn.is-over {
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(20, 12, 40, 0.32);
    color: #ffffff;
}

/* ---- Karşılama (kapak) ------------------------------------------------------------------ */
.lv-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--t-secondary) 45%, transparent) 0%, transparent 55%),
        linear-gradient(160deg, var(--t-primary) 0%, color-mix(in srgb, var(--t-primary) 55%, #120a2e) 100%);
    border-radius: 0 0 30px 30px;
    padding-top: env(safe-area-inset-top);
}

.lv-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lv-hero.has-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 8, 30, 0.42) 0%, rgba(14, 8, 30, 0.18) 38%, rgba(14, 8, 30, 0.78) 100%);
}

.lv-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 22px;
    min-height: 264px;
    padding-top: 14px;
    padding-bottom: 50px;
}

.lv-hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.lv-hero-logo {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    object-fit: cover;
    background: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.85);
}

.lv-hero-logo.is-mark {
    display: grid;
    place-items: center;
    color: var(--t-primary);
    font-weight: 800;
    font-size: 1.25rem;
}

.lv-hero-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lv-hero-body {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
}

.lv-hero-text {
    min-width: 0;
}

.lv-hero-welcome {
    margin: 0 0 2px;
    font-size: 1.02rem;
    font-weight: 500;
    opacity: 0.92;
}

.lv-hero-title {
    margin: 0;
    font-size: clamp(1.85rem, 8vw, 2.7rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    overflow-wrap: anywhere;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.22);
}

.lv-hero-side {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.lv-table {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 58px;
    max-width: 110px;
    padding: 6px 10px 7px;
    border-radius: 16px;
    background: #ffffff;
    color: #1c1830;
    box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.45);
    text-align: center;
}

.lv-table[hidden] {
    display: none;
}

.lv-table small {
    color: #6f6a85;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lv-table strong {
    max-width: 100%;
    overflow: hidden;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lv-table.is-long strong {
    font-size: 0.95rem;
    line-height: 1.5;
}

.lv-hero-call {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    background: var(--t-button);
    color: #ffffff;
    font-size: 1rem;
    box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.5);
}

.lv-hero-call[hidden] {
    display: none;
}

/* Üst alan düzeni (panel ayarı) */
.header-solid .lv-hero-img,
.header-solid .lv-hero.has-cover::after {
    display: none;
}

.header-compact .lv-hero-inner {
    min-height: 196px;
    gap: 14px;
}

.header-compact .lv-hero-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
}

@media (min-width: 900px) {
    .lv-hero {
        width: calc(100% - 32px);
        max-width: 1080px;
        margin: 16px auto 0;
        border-radius: 30px;
    }

    .lv-hero-inner {
        min-height: 320px;
        padding-inline: 28px;
    }

    .header-compact .lv-hero-inner {
        min-height: 220px;
    }
}

/* ---- Arama ------------------------------------------------------------------------------- */
.lv-search-form {
    position: relative;
    z-index: 3;
    margin-top: -27px;
}

.lv-search-row {
    display: flex;
    gap: 10px;
}

.lv-search {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 54px;
    padding: 0 18px;
    border: 1px solid var(--lv-line);
    border-radius: 999px;
    background: var(--lv-surface);
    color: var(--lv-muted);
    box-shadow: var(--lv-shadow);
}

.lv-search:focus-within {
    border-color: color-mix(in srgb, var(--lv-primary) 55%, var(--lv-line));
    box-shadow: 0 0 0 4px var(--lv-primary-soft), var(--lv-shadow);
}

.lv-search input {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--lv-text);
    font-size: 16px;
}

.lv-search input::placeholder {
    color: var(--lv-muted);
    opacity: 0.85;
}

.lv-filter-btn {
    position: relative;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 50%;
    background: var(--lv-button);
    color: var(--lv-on-primary);
    font-size: 1.2rem;
    box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--lv-button) 80%, transparent);
}

.lv-count-badge {
    position: absolute;
    top: -2px;
    inset-inline-end: -2px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--lv-secondary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 20px;
    text-align: center;
}

.lv-count-badge[hidden] {
    display: none;
}

/* ---- Bölüm başlıkları ve raylar ------------------------------------------------------------ */
.lv-section {
    margin-top: 24px;
}

.lv-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.lv-h2 {
    margin: 0;
    font-size: 1.18rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.lv-h2-icon {
    margin-inline-end: 8px;
    color: var(--lv-primary);
}

.lv-h3 {
    margin: 0;
    font-size: 1.06rem;
    font-weight: 800;
}

.lv-see-all {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: var(--lv-primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
}

.lv-rail {
    display: flex;
    gap: 12px;
    margin: 0 auto;
    padding-top: 2px;
    padding-bottom: 10px;
    list-style: none;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    scrollbar-width: none;
}

.lv-rail::-webkit-scrollbar {
    display: none;
}

.lv-rail > * {
    flex: 0 0 auto;
    scroll-snap-align: start;
}

.lv-rail.is-flush {
    padding-inline: 0;
    scroll-padding-inline: 0;
}

/* ---- Durum satırı ------------------------------------------------------------------------- */
.lv-status-strip {
    margin-top: 16px;
}

.lv-status-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.lv-status-pill {
    text-decoration: none;
}

.lv-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--lv-surface);
    border: 1px solid var(--lv-line);
    font-size: 0.82rem;
}

.lv-status-pill span:last-child:not(.lv-status-dot) {
    color: var(--lv-muted);
}

.lv-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lv-muted);
}

.is-open > .lv-status-dot {
    background: #16a34a;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.18);
}

.is-soon > .lv-status-dot {
    background: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.is-closed > .lv-status-dot {
    background: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.18);
}

.lv-place {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--lv-muted);
    font-size: 0.82rem;
}

.lv-status-lead {
    margin: 10px 0 0;
    color: var(--lv-muted);
    font-size: 0.9rem;
}

/* ---- Kategori kartları ---------------------------------------------------------------------- */
.lv-cats {
    gap: 14px;
}

.lv-cat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    width: 84px;
    text-decoration: none;
}

.lv-cat-img {
    display: grid;
    place-items: center;
    width: 84px;
    height: 74px;
    overflow: hidden;
    border-radius: var(--lv-radius-sm);
    background: var(--lv-surface);
    color: var(--lv-primary);
    font-size: 1.6rem;
    box-shadow: var(--lv-shadow);
    transition: transform 0.2s var(--lv-ease);
}

.lv-cat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lv-cat:active .lv-cat-img {
    transform: scale(0.95);
}

.lv-cat-label {
    display: -webkit-box;
    width: 100%;
    overflow: hidden;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* ---- Ürün kartı ----------------------------------------------------------------------------- */
.lv-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--lv-radius);
    background: var(--lv-surface);
    box-shadow: var(--lv-shadow);
}

.lv-card-link {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.lv-card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--lv-surface-2);
}

.lv-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lv-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: color-mix(in srgb, var(--lv-primary) 45%, var(--lv-muted));
    font-size: 1.8rem;
}

.lv-card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 3px;
    padding: 10px 12px 12px;
    min-width: 0;
}

.lv-card-title {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.3;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.lv-card-desc {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: var(--lv-muted);
    font-size: 0.8rem;
    line-height: 1.4;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.lv-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    margin-top: 2px;
    color: var(--lv-muted);
    font-size: 0.74rem;
}

.lv-meta {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.lv-meta--allergen {
    color: #b45309;
}

[data-color="dark"] .lv-meta--allergen {
    color: #fbbf24;
}

.lv-diet {
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.72rem;
}

.lv-diet--vegan,
.lv-diet--veg {
    background: rgba(22, 163, 74, 0.13);
    color: #15803d;
}

.lv-diet--spicy {
    background: rgba(220, 38, 38, 0.12);
    color: #dc2626;
}

.lv-diet--alcohol,
.lv-diet--pork {
    background: rgba(100, 116, 139, 0.16);
    color: #475569;
}

[data-color="dark"] .lv-diet--alcohol,
[data-color="dark"] .lv-diet--pork {
    color: #cbd5e1;
}

.lv-card-foot {
    display: flex;
    align-items: center;
    min-height: 36px;
    margin-top: auto;
    padding-top: 6px;
}

.lv-card.has-actions .lv-card-foot {
    padding-inline-end: 44px;
}

.lv-card.has-actions:has(.qrm-quick-step:not([hidden])) .lv-card-foot {
    padding-inline-end: 106px;
}

.lv-price {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 7px;
    font-variant-numeric: tabular-nums;
}

.lv-price-final {
    font-size: 1.02rem;
    font-weight: 800;
    white-space: nowrap;
}

.lv-price-prev {
    color: var(--lv-muted);
    font-size: 0.8rem;
    white-space: nowrap;
}

.lv-card-actions {
    position: absolute;
    inset-inline-end: 10px;
    bottom: 10px;
    z-index: 2;
}

/* Sipariş eklentisinin kart düğmeleri: ekle ya da − adet + */
.lv-card-actions .qrm-quick {
    position: static;
}

.lv-card .qrm-quick-add {
    width: 34px;
    height: 34px;
    background: var(--lv-button);
    color: var(--lv-on-primary);
    font-size: 1.05rem;
    box-shadow: 0 8px 16px -8px color-mix(in srgb, var(--lv-button) 90%, transparent);
}

.lv-card .qrm-quick-step {
    gap: 8px;
}

.lv-card .qrm-quick-step button {
    width: 30px;
    height: 30px;
}

.lv-card .qrm-quick-step [data-qrm-quick-inc] {
    background: var(--lv-button);
    color: var(--lv-on-primary);
}

/* Rozetler */
.lv-badges {
    position: absolute;
    top: 8px;
    inset-inline-start: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.lv-badges.is-static {
    position: static;
    margin-bottom: 8px;
}

.lv-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--lv-surface);
    color: var(--lv-text);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.lv-badge--deal {
    background: var(--lv-secondary);
    color: #ffffff;
}

.lv-badge--new {
    background: var(--lv-primary);
    color: var(--lv-on-primary);
}

.lv-badge.is-inline {
    box-shadow: none;
    margin-top: 6px;
}

.lv-soldout {
    position: absolute;
    inset: auto 8px 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(20, 14, 36, 0.82);
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 700;
    text-align: center;
}

.lv-card.is-sold-out .lv-card-media img {
    filter: grayscale(0.85);
    opacity: 0.75;
}

/* Raydaki kart (popüler) */
.lv-card--rail {
    width: 218px;
}

.lv-card--rail .lv-card-title {
    -webkit-line-clamp: 1;
}

.lv-card--rail .lv-card-media,
.lv-card--mini .lv-card-media,
.lv-card--grid .lv-card-media {
    margin: 8px 8px 0;
    border-radius: var(--lv-radius-sm);
}

.lv-card--mini {
    width: 168px;
}

.lv-card--mini .lv-card-title {
    font-size: 0.9rem;
}

/* Liste kartı: görsel solda */
.lv-card--list .lv-card-link {
    flex-direction: row;
    align-items: stretch;
    gap: 12px;
    padding: 10px;
}

.lv-card--list .lv-card-media {
    flex: 0 0 104px;
    width: 104px;
    height: 104px;
    aspect-ratio: auto;
    border-radius: var(--lv-radius-sm);
}

.lv-card--list .lv-card-body {
    padding: 2px 0 0;
}

.lv-card--list .lv-badges {
    top: 6px;
    inset-inline-start: 6px;
}

.lv-card--list .lv-badge {
    padding: 2px 7px;
    font-size: 0.62rem;
}

/* Listeler */
.lv-list {
    display: grid;
    gap: 12px;
}

.lv-list--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lv-list--grid .lv-card-meta {
    display: none;
}

@media (min-width: 720px) {
    .lv-list--list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lv-list--grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .lv-list--list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lv-list--grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ---- Tüm menü: kategori sekmeleri ve bölümler ---------------------------------------------------- */
.lv-products {
    margin-top: 26px;
}

.lv-section-head.is-menu {
    margin-bottom: 4px;
}

.lv-tabs {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 10px 0;
    background: var(--lv-bg);
}

.lv-tabs.is-static {
    position: static;
    padding-top: 14px;
}

.lv-page--category .lv-tabs.is-static {
    position: sticky;
    top: 60px;
}

.lv-tabs-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}

.lv-tabs-scroll::-webkit-scrollbar {
    display: none;
}

.lv-tab-chip {
    flex: 0 0 auto;
    padding: 8px 15px;
    border: 1px solid var(--lv-line);
    border-radius: 999px;
    background: var(--lv-surface);
    color: var(--lv-text);
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.lv-tab-chip.is-active {
    border-color: var(--lv-primary);
    background: var(--lv-primary);
    color: var(--lv-on-primary);
}

.qrm-filtering .qrm-hide-filtering,
.qrm-filtering .lv-tabs {
    display: none;
}

.lv-result-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 0;
    margin: 0;
    color: var(--lv-muted);
    font-size: 0.88rem;
}

.qrm-filtering .lv-result-line {
    margin-top: 16px;
}

.lv-cat-section {
    padding-top: 16px;
}

.lv-cat-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.lv-cat-head a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
}

.lv-cat-head a i {
    color: var(--lv-muted);
    font-size: 0.8rem;
}

.lv-cat-count {
    padding: 1px 8px;
    border-radius: 999px;
    background: var(--lv-primary-soft);
    color: var(--lv-primary);
    font-size: 0.74rem;
    font-weight: 800;
}

.lv-cat-desc {
    margin: -4px 0 10px;
    font-size: 0.86rem;
}

.lv-empty {
    margin: 28px 0;
    padding: 28px 20px;
    border-radius: var(--lv-radius);
    background: var(--lv-surface);
    text-align: center;
}

.lv-empty[hidden] {
    display: none;
}

.lv-empty-icon {
    display: inline-grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--lv-primary-soft);
    color: var(--lv-primary);
    font-size: 1.5rem;
}

.lv-empty h3 {
    margin: 12px 0 4px;
    font-size: 1.05rem;
}

.lv-empty p {
    margin: 0;
}

/* ---- Banner, duyuru, kampanya, öne çıkanlar --------------------------------------------------- */
.lv-banners {
    position: relative;
    margin-top: 24px;
}

.lv-banner-track {
    display: flex;
    overflow-x: auto;
    border-radius: var(--lv-radius);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.lv-banner-track::-webkit-scrollbar {
    display: none;
}

.lv-banner {
    position: relative;
    flex: 0 0 100%;
    display: block;
    aspect-ratio: 2 / 1;
    overflow: hidden;
    color: #ffffff;
    text-decoration: none;
    scroll-snap-align: start;
    background: var(--lv-surface-2);
}

.banner-small .lv-banner {
    aspect-ratio: 3 / 1;
}

.banner-large .lv-banner {
    aspect-ratio: 16 / 10;
}

@media (min-width: 720px) {
    .lv-banner {
        aspect-ratio: 3 / 1;
    }

    .banner-small .lv-banner {
        aspect-ratio: 4 / 1;
    }

    .banner-large .lv-banner {
        aspect-ratio: 5 / 2;
    }
}

@media (max-width: 640px) {
    .lv-banner.hide-mobile {
        display: none;
    }
}

@media (min-width: 641px) {
    .lv-banner.hide-desktop {
        display: none;
    }
}

.lv-banner picture,
.lv-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lv-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(14, 8, 30, 0.7) 0%, rgba(14, 8, 30, 0.1) 70%);
}

[dir="rtl"] .lv-banner::after {
    background: linear-gradient(270deg, rgba(14, 8, 30, 0.7) 0%, rgba(14, 8, 30, 0.1) 70%);
}

.lv-banner-copy {
    position: absolute;
    inset-inline-start: 18px;
    bottom: 18px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    max-width: 70%;
}

.lv-banner-copy strong {
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.2;
}

.lv-banner-copy > span:not(.lv-banner-cta) {
    font-size: 0.85rem;
    opacity: 0.9;
}

.lv-banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: max-content;
    margin-top: 6px;
    padding: 6px 13px;
    border-radius: 999px;
    background: #ffffff;
    color: #1c1830;
    font-size: 0.8rem;
    font-weight: 800;
}

.lv-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
}

.lv-dots.is-overlay {
    position: absolute;
    bottom: 10px;
    inset-inline: 0;
    z-index: 2;
}

.lv-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    transition: width 0.2s ease, background-color 0.2s ease;
}

.lv-dot.is-active {
    width: 20px;
    background: #ffffff;
}

.lv-announcements {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.lv-note {
    --note: var(--lv-primary);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 12px 12px 14px;
    border-radius: var(--lv-radius);
    background: var(--lv-surface);
    box-shadow: var(--lv-shadow);
}

.lv-note--warning,
.lv-note--closure,
.lv-note--critical {
    --note: #d97706;
}

.lv-note--campaign {
    --note: var(--lv-secondary);
}

.lv-note[hidden] {
    display: none;
}

.lv-note-icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--note) 15%, transparent);
    color: var(--note);
}

.lv-note-text {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.88rem;
}

.lv-note-text p {
    margin: 2px 0 0;
    color: var(--lv-muted);
}

.lv-note-text a {
    display: inline-block;
    margin-top: 4px;
    color: var(--note);
    font-weight: 700;
}

.lv-campaign {
    --accent: var(--lv-secondary);
    display: flex;
    gap: 12px;
    width: 300px;
    padding: 10px;
    border-radius: var(--lv-radius);
    background: var(--lv-surface);
    box-shadow: var(--lv-shadow);
}

.lv-campaign img {
    flex: 0 0 88px;
    width: 88px;
    height: 88px;
    border-radius: var(--lv-radius-sm);
    object-fit: cover;
}

.lv-campaign-body {
    min-width: 0;
}

.lv-campaign-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--accent);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
}

.lv-campaign h3 {
    margin: 4px 0 2px;
    font-size: 0.95rem;
    font-weight: 800;
}

.lv-campaign p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 4px;
    color: var(--lv-muted);
    font-size: 0.8rem;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.lv-campaign .lv-link {
    font-size: 0.8rem;
}

.lv-feature {
    position: relative;
    display: block;
    width: 280px;
    height: 180px;
    overflow: hidden;
    border-radius: var(--lv-radius);
    background: var(--lv-surface-2);
    color: #ffffff;
    text-decoration: none;
    box-shadow: var(--lv-shadow);
}

.lv-feature img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lv-feature::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(14, 8, 30, 0.82) 100%);
}

.lv-feature-copy {
    position: absolute;
    inset-inline: 14px;
    bottom: 12px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lv-feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.9;
}

.lv-feature-copy strong {
    font-size: 1.05rem;
    font-weight: 800;
}

.lv-feature-price {
    font-weight: 700;
}

.lv-feature-price s {
    opacity: 0.7;
    font-weight: 500;
    font-size: 0.85em;
}

/* ---- Bilgi kartları (hizmetler, saatler, iletişim) ------------------------------------------------ */
.lv-info-card {
    position: relative;
    isolation: isolate;
    margin-top: 22px;
    padding: 16px 32px;
}

/* Kart zemini ayrı katmanda: içerik (tablo dahil) lv-wrap iç boşluğuna ek 16px içeride durur. */
.lv-info-card::before {
    content: "";
    position: absolute;
    inset: 0 16px;
    z-index: -1;
    border-radius: var(--lv-radius);
    background: var(--lv-surface);
    box-shadow: var(--lv-shadow);
}

.lv-info-card > .lv-h2 {
    margin-bottom: 10px;
}

.lv-info-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.lv-info-card > ul {
    margin: 0;
    padding: 0;
}

.lv-info-card > p {
    margin-bottom: 0;
}

.lv-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
}

.lv-hours {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.lv-hours th,
.lv-hours td {
    padding: 7px 0;
    border-top: 1px solid var(--lv-line);
    text-align: start;
    font-weight: 500;
}

.lv-hours td {
    text-align: end;
    color: var(--lv-muted);
}

.lv-hours tr.is-today th,
.lv-hours tr.is-today td {
    color: var(--lv-primary);
    font-weight: 800;
}

.lv-tag {
    padding: 1px 7px;
    border-radius: 999px;
    background: var(--lv-primary-soft);
    font-size: 0.68rem;
}

.lv-special {
    display: grid;
    gap: 6px;
    list-style: none;
    padding-top: 10px;
    font-size: 0.85rem;
}

.lv-special li {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.lv-contact {
    list-style: none;
}

.lv-contact li + li {
    border-top: 1px solid var(--lv-line);
}

.lv-contact a,
.lv-contact div {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    text-decoration: none;
}

.lv-contact span {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.lv-contact small {
    color: var(--lv-muted);
    font-size: 0.74rem;
}

.lv-contact strong {
    overflow-wrap: anywhere;
    font-size: 0.9rem;
    font-weight: 600;
}

.lv-contact-icon {
    flex: 0 0 auto;
    display: grid !important;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--lv-primary-soft);
    color: var(--lv-primary);
}

.lv-chev {
    margin-inline-start: auto;
}

[dir="rtl"] .lv-chev {
    transform: scaleX(-1);
}

.lv-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
}

.lv-social-link {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--lv-surface);
    color: var(--lv-primary);
    font-size: 1.1rem;
    box-shadow: var(--lv-shadow);
}

.lv-legal {
    margin-top: 22px;
}

.lv-legal ul {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--lv-muted);
    font-size: 0.8rem;
}

.lv-legal li {
    display: flex;
    gap: 8px;
}

.lv-legal i {
    color: var(--lv-primary);
}

/* ---- Uyarılar ve düğmeler ---------------------------------------------------------------------- */
.lv-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 12px 0 0;
    padding: 11px 14px;
    border-radius: var(--lv-radius-sm);
    background: var(--lv-surface-2);
    font-size: 0.86rem;
}

.lv-alert.is-warning {
    background: rgba(245, 158, 11, 0.14);
    color: #92400e;
}

[data-color="dark"] .lv-alert.is-warning {
    color: #fcd34d;
}

.lv-alert i {
    margin-top: 2px;
}

.lv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    background: var(--lv-button);
    color: var(--lv-on-primary);
    font-weight: 800;
    text-decoration: none;
}

.lv-btn.is-ghost {
    background: var(--lv-surface-2);
    color: var(--lv-text);
}

.lv-btn[hidden] {
    display: none;
}

/* ---- Uygulama çubuğu (menü dışı sayfalar) --------------------------------------------------------- */
.lv-appbar {
    position: sticky;
    top: 0;
    z-index: 30;
    padding-top: env(safe-area-inset-top);
    background: var(--lv-bg);
    transition: box-shadow 0.2s ease;
}

.lv-appbar.is-scrolled {
    box-shadow: 0 6px 18px -14px rgba(28, 20, 60, 0.5);
}

.lv-appbar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 60px;
}

.lv-appbar-brand {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
}

.lv-appbar-brand img {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    object-fit: cover;
}

.lv-appbar-brand span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lv-appbar-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lv-table-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: 120px;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--lv-primary-soft);
    color: var(--lv-primary);
    font-size: 0.78rem;
    font-weight: 800;
}

.lv-table-pill[hidden] {
    display: none;
}

.lv-table-pill span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 400px) {
    .lv-appbar-brand span {
        font-size: 0.92rem;
    }

    .lv-appbar-actions .lv-round-btn.is-text {
        padding: 0 9px;
    }
}

/* ---- Kategori sayfası --------------------------------------------------------------------------- */
.lv-cat-hero {
    position: relative;
    overflow: hidden;
    margin-top: 6px;
    min-height: 150px;
    border-radius: var(--lv-radius);
    background: linear-gradient(150deg, var(--t-primary), color-mix(in srgb, var(--t-primary) 55%, #120a2e));
    color: #ffffff;
}

.lv-cat-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lv-cat-hero.has-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 8, 30, 0.1), rgba(14, 8, 30, 0.78));
}

.lv-cat-hero-text {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 150px;
    padding: 18px;
}

.lv-cat-hero .lv-eyebrow {
    color: rgba(255, 255, 255, 0.85);
}

.lv-cat-title {
    margin: 0;
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.1;
}

.lv-cat-lead {
    margin: 6px 0 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

@media (min-width: 900px) {
    .lv-cat-hero,
    .lv-cat-hero-text {
        min-height: 220px;
    }
}

.lv-page--category .lv-list {
    margin-top: 8px;
}

/* ---- Ürün ayrıntısı (alt sayfa + tam sayfa) --------------------------------------------------------- */
.lv-product-page {
    max-width: 760px;
    padding-top: 4px;
}

.lv-product-page .lv-gallery {
    overflow: hidden;
    border-radius: var(--lv-radius);
}

.lv-product-page .lv-detail-body {
    padding-inline: 2px;
}

.lv-gallery {
    position: relative;
    background: var(--lv-surface-2);
}

.lv-gallery-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.lv-gallery-track::-webkit-scrollbar {
    display: none;
}

.lv-gallery-slide {
    position: relative;
    flex: 0 0 100%;
    margin: 0;
    aspect-ratio: 4 / 3;
    max-height: 56vh;
    scroll-snap-align: start;
}

.lv-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lv-zoom {
    position: absolute;
    inset-inline-end: 12px;
    bottom: 12px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(20, 12, 40, 0.5);
    color: #ffffff;
}

.lv-gallery .lv-dots.is-overlay {
    bottom: 14px;
}

.lv-gallery-empty {
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 9;
    color: color-mix(in srgb, var(--lv-primary) 45%, var(--lv-muted));
    font-size: 2.6rem;
}

.lv-detail-body {
    padding: 18px 18px 24px;
}

.lv-crumb {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--lv-primary-soft);
    color: var(--lv-primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
}

.lv-detail-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.lv-detail-title {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
    outline: none;
}

.lv-detail-price {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-variant-numeric: tabular-nums;
}

.lv-detail-price .lv-price-final {
    color: var(--lv-primary);
    font-size: 1.35rem;
}

.lv-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.lv-facts li {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--lv-surface-2);
    color: var(--lv-muted);
    font-size: 0.78rem;
    font-weight: 600;
}

.lv-detail-campaign {
    display: flex;
    gap: 8px;
    margin: 12px 0 0;
    color: var(--lv-secondary);
    font-weight: 700;
    font-size: 0.86rem;
}

.lv-detail-text {
    margin: 14px 0 0;
    color: color-mix(in srgb, var(--lv-text) 82%, var(--lv-muted));
    font-size: 0.94rem;
}

.lv-diet-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.lv-diet-chip {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
}

.lv-diet-chip.lv-diet--vegan,
.lv-diet-chip.lv-diet--veg {
    background: rgba(22, 163, 74, 0.12);
    color: #15803d;
}

.lv-diet-chip.lv-diet--spicy {
    background: rgba(220, 38, 38, 0.1);
    color: #b91c1c;
}

.lv-diet-chip.lv-diet--alcohol,
.lv-diet-chip.lv-diet--pork {
    background: rgba(100, 116, 139, 0.14);
    color: #475569;
}

[data-color="dark"] .lv-diet-chip.lv-diet--vegan,
[data-color="dark"] .lv-diet-chip.lv-diet--veg {
    color: #86efac;
}

[data-color="dark"] .lv-diet-chip.lv-diet--spicy {
    color: #fca5a5;
}

[data-color="dark"] .lv-diet-chip.lv-diet--alcohol,
[data-color="dark"] .lv-diet-chip.lv-diet--pork {
    color: #cbd5e1;
}

.lv-order {
    margin-top: 6px;
}

/* Tam ürün sayfasında yapışkan "Sepete ekle" satırı alt sekme çubuğunun üstünde durur. */
.lv-product-page .qrm-order-actions {
    bottom: calc(var(--lv-tabbar-h) + env(safe-area-inset-bottom));
}

@media (min-width: 720px) {
    .lv-product-page .qrm-order-actions {
        bottom: calc(var(--lv-tabbar-h) + 14px + env(safe-area-inset-bottom));
    }
}

.lv-block {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--lv-line);
}

.lv-block-title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
    margin: 0 0 10px;
    font-size: 1rem;
    font-weight: 800;
}

.lv-block-title small {
    color: var(--lv-muted);
    font-size: 0.76rem;
    font-weight: 500;
}

.lv-block > p {
    margin: 0;
}

.lv-options {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lv-options li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--lv-radius-sm);
    background: var(--lv-surface-2);
    font-size: 0.88rem;
}

.lv-option-price {
    color: var(--lv-muted);
    font-weight: 700;
}

.lv-allergens {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lv-allergens li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: var(--lv-radius-sm);
    background: var(--lv-surface-2);
}

.lv-allergens li span:last-child {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.lv-allergens strong {
    font-size: 0.85rem;
}

.lv-allergens small {
    color: var(--lv-muted);
    font-size: 0.72rem;
}

.lv-allergen-icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.12);
    color: #b91c1c;
    font-weight: 800;
    font-size: 0.82rem;
}

.lv-allergens li.is-trace .lv-allergen-icon {
    background: rgba(245, 158, 11, 0.16);
    color: #b45309;
}

.lv-nutrition {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.86rem;
}

.lv-nutrition th,
.lv-nutrition td {
    padding: 7px 0;
    border-bottom: 1px solid var(--lv-line);
    font-weight: 500;
    text-align: start;
}

.lv-nutrition td {
    text-align: end;
    font-weight: 700;
}

.lv-nutrition tr.is-sub th {
    padding-inline-start: 14px;
    color: var(--lv-muted);
}

/* ---- Yasal ve eklenti sayfaları ---------------------------------------------------------------------- */
.lv-sheet-page {
    max-width: 760px;
    margin-top: 6px;
}

.lv-sheet-page > * {
    border-radius: var(--lv-radius);
}

/* ---- Altbilgi ------------------------------------------------------------------------------------------ */
.lv-footer {
    margin-top: 36px;
    padding: 22px 0 calc(var(--lv-tabbar-h) + 46px + env(safe-area-inset-bottom));
    color: var(--lv-muted);
    font-size: 0.8rem;
    text-align: center;
}

.lv-footer-notice {
    max-width: 560px;
    margin: 0 auto 8px;
}

.lv-footer-copy {
    margin: 8px 0 0;
}

/* ---- Alt sekme çubuğu ------------------------------------------------------------------------------------ */
.lv-tabbar {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 45;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: calc(var(--lv-tabbar-h) + env(safe-area-inset-bottom));
    padding: 6px 18px calc(6px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--lv-line);
    border-radius: 24px 24px 0 0;
    background: var(--lv-surface);
    box-shadow: 0 -10px 28px -18px rgba(30, 20, 70, 0.35);
}

.lv-tabbar.has-cart {
    grid-template-columns: 1fr 86px 1fr;
}

.lv-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 50px;
    color: var(--lv-muted);
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none;
}

.lv-tab i {
    font-size: 1.32rem;
    line-height: 1;
}

.lv-tab.is-active {
    color: var(--lv-primary);
}

.lv-tab-cart {
    position: relative;
    justify-self: center;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-top: -34px;
    border: 5px solid var(--lv-bg);
    border-radius: 50%;
    background: var(--lv-button);
    color: var(--lv-on-primary);
    font-size: 1.45rem;
    box-shadow: 0 12px 26px -8px color-mix(in srgb, var(--lv-button) 75%, transparent);
    transition: transform 0.18s var(--lv-ease);
}

.lv-tab-cart[hidden] {
    display: none;
}

.lv-tab-cart:active {
    transform: scale(0.94);
}

.lv-tab-cart.is-bump {
    animation: lv-bump 0.42s var(--lv-ease);
}

@keyframes lv-bump {
    40% { transform: scale(1.12); }
}

.lv-tab-badge {
    position: absolute;
    top: -3px;
    inset-inline-end: -3px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border: 2px solid var(--lv-surface);
    border-radius: 999px;
    background: var(--lv-secondary);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 18px;
    text-align: center;
}

.lv-tab-badge[hidden] {
    display: none;
}

@media (min-width: 720px) {
    .lv-tabbar {
        inset-inline: 0;
        bottom: calc(14px + env(safe-area-inset-bottom));
        width: 420px;
        min-height: var(--lv-tabbar-h);
        margin-inline: auto;
        padding-bottom: 6px;
        border: 1px solid var(--lv-line);
        border-radius: 26px;
        box-shadow: var(--lv-shadow-lg);
    }
}

/* Eklentilerin sabit öğeleri: sepet çubuğu ve masa çipi bu temada sekme çubuğu / karşılama alanındadır. */
.lv-body .qrm-cart-bar,
.lv-body .qrm-table-chip {
    display: none !important;
}

/* ---- Açılır paneller (dil, filtre) ---------------------------------------------------------------------- */
.lv-panel {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: rgba(14, 8, 30, 0);
    transition: background-color 0.25s ease;
}

.lv-panel.is-open {
    background: rgba(14, 8, 30, 0.5);
}

.lv-panel-dialog {
    width: 100%;
    max-width: 560px;
    max-height: 88vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 18px 18px calc(18px + env(safe-area-inset-bottom));
    border-radius: 28px 28px 0 0;
    background: var(--lv-bg);
    transform: translateY(100%);
    transition: transform 0.3s var(--lv-ease);
}

.lv-panel.is-open .lv-panel-dialog {
    transform: none;
}

@media (min-width: 700px) {
    .lv-panel {
        align-items: center;
    }

    .lv-panel-dialog {
        border-radius: 28px;
        opacity: 0;
        transform: translateY(24px) scale(0.98);
        transition: transform 0.3s var(--lv-ease), opacity 0.2s ease;
    }

    .lv-panel.is-open .lv-panel-dialog {
        opacity: 1;
    }
}

.lv-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.lv-panel-head h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
}

.lv-choice-list {
    display: grid;
    gap: 6px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

.lv-choice-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 0 16px;
    border-radius: 16px;
    background: var(--lv-surface);
    font-weight: 600;
    text-decoration: none;
}

.lv-choice-list a.is-current {
    background: var(--lv-primary-soft);
    color: var(--lv-primary);
}

.lv-choice-flag {
    font-size: 1.3rem;
}

.lv-choice-check {
    margin-inline-start: auto;
}

.lv-fieldset {
    margin: 0 0 16px;
    padding: 0;
    border: 0;
}

.lv-fieldset legend {
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 800;
}

.lv-fieldset legend small {
    color: var(--lv-muted);
    font-weight: 500;
}

.lv-chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lv-chip-check {
    position: relative;
}

.lv-chip-check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.lv-chip-check span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid var(--lv-line);
    border-radius: 999px;
    background: var(--lv-surface);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

.lv-chip-check input:checked + span {
    border-color: var(--lv-primary);
    background: var(--lv-primary);
    color: var(--lv-on-primary);
}

.lv-chip-check.is-allergen input:checked + span {
    border-color: #dc2626;
    background: #dc2626;
    color: #ffffff;
}

.lv-chip-check input:focus-visible + span {
    outline: 3px solid color-mix(in srgb, var(--lv-primary) 55%, transparent);
    outline-offset: 2px;
}

.lv-range {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lv-range label {
    flex: 1 1 0;
}

.lv-range input {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid var(--lv-line);
    border-radius: 14px;
    background: var(--lv-surface);
    font-size: 16px;
}

.lv-panel-actions {
    position: sticky;
    bottom: calc(-18px - env(safe-area-inset-bottom));
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin: 0 -18px calc(-18px - env(safe-area-inset-bottom));
    padding: 12px 18px calc(14px + env(safe-area-inset-bottom));
    background: var(--lv-bg);
    border-top: 1px solid var(--lv-line);
}

.lv-panel-actions .lv-btn {
    flex: 1 1 0;
}

/* ---- Ürün alt sayfası ------------------------------------------------------------------------------------ */
.lv-sheet {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: rgba(14, 8, 30, 0);
    transition: background-color 0.28s ease;
}

.lv-sheet.is-open {
    background: rgba(14, 8, 30, 0.55);
}

.lv-sheet-dialog {
    position: relative;
    width: 100%;
    max-width: 640px;
    max-height: 94vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-bottom: env(safe-area-inset-bottom);
    border-radius: 30px 30px 0 0;
    background: var(--lv-bg);
    transform: translateY(100%);
    transition: transform 0.34s var(--lv-ease);
}

.lv-sheet.is-open .lv-sheet-dialog {
    transform: none;
}

@media (min-width: 900px) {
    .lv-sheet {
        align-items: center;
    }

    .lv-sheet-dialog {
        max-height: 90vh;
        border-radius: 30px;
    }
}

.lv-sheet-grip {
    position: sticky;
    top: 8px;
    z-index: 3;
    display: block;
    width: 44px;
    height: 5px;
    margin: 8px auto -13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.lv-sheet-close {
    position: sticky;
    top: 12px;
    z-index: 4;
    float: inline-end;
    margin: 12px 12px -52px 0;
    box-shadow: var(--lv-shadow);
}

[dir="rtl"] .lv-sheet-close {
    margin: 12px 0 -52px 12px;
}

.lv-sheet .lv-gallery {
    border-radius: 30px 30px 0 0;
    overflow: hidden;
}

.qrm-sheet-skeleton {
    padding: 0 0 24px;
}

.qrm-sk {
    height: 16px;
    margin: 12px 20px 0;
    border-radius: 12px;
    background: linear-gradient(90deg, var(--lv-surface-2) 25%, var(--lv-line) 37%, var(--lv-surface-2) 63%);
    background-size: 400% 100%;
    animation: lv-shimmer 1.3s ease infinite;
}

.qrm-sk-img {
    height: 0;
    margin: 0;
    padding-bottom: 66%;
    border-radius: 0;
}

.qrm-sk-line.w-60 { width: 60%; height: 26px; margin-top: 20px; }
.qrm-sk-line.w-90 { width: 85%; }
.qrm-sk-line.w-40 { width: 40%; }

@keyframes lv-shimmer {
    0% { background-position: 100% 50%; }
    100% { background-position: 0 50%; }
}

/* ---- Görsel yakınlaştırma ve bildirimler ------------------------------------------------------------------- */
.qrm-lightbox {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: none;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: rgba(8, 5, 18, 0.94);
    touch-action: none;
}

.qrm-lightbox.is-open {
    display: flex;
}

.qrm-lightbox img {
    max-width: 100vw;
    max-height: 86vh;
    object-fit: contain;
    transition: transform 0.2s ease;
    cursor: zoom-in;
    user-select: none;
}

.qrm-lightbox img.is-zoomed {
    cursor: grab;
    transition: none;
}

.qrm-lightbox-close {
    position: absolute;
    top: calc(12px + env(safe-area-inset-top));
    inset-inline-end: 12px;
    z-index: 2;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 1.8rem;
    line-height: 1;
}

.qrm-lightbox-hint {
    position: absolute;
    bottom: calc(16px + env(safe-area-inset-bottom));
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
}

.qrm-toasts {
    position: fixed;
    inset-inline: 16px;
    bottom: calc(var(--lv-tabbar-h) + 34px + env(safe-area-inset-bottom));
    z-index: 95;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}

.qrm-toast {
    padding: 10px 18px;
    border-radius: 999px;
    background: #1f1838;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: var(--lv-shadow-lg);
    animation: lv-toast 0.25s var(--lv-ease);
}

.qrm-toast.is-out {
    opacity: 0;
    transition: opacity 0.3s ease;
}

@keyframes lv-toast {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}

/* ---- Animasyon seviyeleri --------------------------------------------------------------------------------- */
.anim-normal .lv-card,
.anim-normal .lv-cat,
.anim-normal .lv-feature,
.anim-normal .lv-campaign {
    animation: lv-rise 0.45s var(--lv-ease) both;
}

@keyframes lv-rise {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

.anim-none *,
.anim-none *::before,
.anim-none *::after {
    animation: none !important;
    transition: none !important;
}

.anim-reduced * {
    animation-duration: 0.01ms !important;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
