:root {
    --lo-orange: #ff6b00;
    --lo-orange-dark: #e85f00;
    --lo-ink: #242424;
    --lo-muted: #666;
    --lo-line: #e8e6e3;
    --lo-canvas: #f7f5f2;
    --lo-white: #fff;
    --lo-radius: 14px;
    --lo-shadow: 0 2px 12px rgba(26, 24, 22, .08);
}

html { scroll-behavior: smooth; scroll-padding-top: 146px; }
body.lo-body { margin: 0; background: var(--lo-canvas); color: var(--lo-ink); font-family: Inter, Arial, sans-serif; }
.lo-body *, .lo-body *::before, .lo-body *::after { box-sizing: border-box; }
.lo-body button, .lo-body input { font: inherit; }
.lo-body svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.lo-topbar { position: relative; z-index: 1020; height: 72px; background: #fff; border-bottom: 1px solid var(--lo-line); }
.lo-topbar__inner { width: min(100%, 1440px); height: 100%; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 14px; }
.lo-back { width: 38px; height: 38px; display: grid; place-items: center; color: var(--lo-orange); border-radius: 50%; }
.lo-back:hover { background: #fff2e8; color: var(--lo-orange-dark); }
.lo-back svg { width: 24px; }
.lo-brand { display: inline-flex; align-items: center; gap: 9px; color: var(--lo-orange); font-weight: 800; font-size: 21px; letter-spacing: -.5px; }
.lo-brand:hover { color: var(--lo-orange-dark); text-decoration: none; }
.lo-brand__mark { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 10px 10px 10px 3px; color: #fff; background: var(--lo-orange); font-size: 18px; }
.lo-topbar__actions { margin-inline-start: auto; display: flex; gap: 8px; align-items: center; }
.lo-icon-button { min-width: 42px; height: 42px; padding: 0 11px; border: 0; border-radius: 50px; background: transparent; color: var(--lo-ink); display: grid; place-items: center; font-size: 13px; font-weight: 700; cursor: pointer; }
.lo-icon-button:hover { background: #f1efed; color: var(--lo-ink); text-decoration: none; }
.lo-icon-button svg { width: 23px; height: 23px; }
.lo-language .dropdown-toggle::after { display: none; }
.lo-mobile-cart-trigger { display: none; }

.lo-restaurant { background: #fff; }
.lo-cover { position: relative; height: clamp(230px, 31vw, 390px); background-position: center; background-size: cover; }
.lo-cover__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.12)); }
.lo-restaurant__info { position: relative; width: min(100%, 1440px); min-height: 126px; margin: 0 auto; padding: 26px 32px 24px 140px; display: flex; align-items: center; gap: 22px; }
[dir="rtl"] .lo-restaurant__info { padding: 26px 140px 24px 32px; }
.lo-restaurant__logo { position: absolute; inset-inline-start: 28px; top: -58px; width: 92px; height: 92px; padding: 6px; object-fit: cover; background: #fff; border: 1px solid var(--lo-line); border-radius: 14px; box-shadow: var(--lo-shadow); }
.lo-restaurant__copy h1 { margin: 0 0 7px; font-size: clamp(25px, 3vw, 34px); font-weight: 800; letter-spacing: -.8px; }
.lo-restaurant__description { margin: 0; color: var(--lo-muted); }
.lo-rating { padding: 0; border: 0; background: none; color: var(--lo-ink); text-decoration: underline; cursor: pointer; }
.lo-rating span { color: var(--lo-orange); text-decoration: none; }
.lo-restaurant__buttons { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.lo-pill { min-height: 44px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; background: #f2f0ee; color: var(--lo-ink); font-weight: 700; font-size: 14px; cursor: pointer; }
.lo-pill:hover { background: #e9e6e3; color: var(--lo-ink); text-decoration: none; }
.lo-pill svg { width: 20px; }

.lo-menu-toolbar { position: sticky; top: 0; z-index: 1010; background: rgba(255,255,255,.97); border-top: 1px solid var(--lo-line); border-bottom: 1px solid var(--lo-line); box-shadow: 0 3px 10px rgba(0,0,0,.04); backdrop-filter: blur(10px); }
.lo-menu-toolbar__inner { width: min(100%, 1440px); margin: 0 auto; padding: 16px 32px 0; }
.lo-search { height: 48px; margin: 0 0 13px; padding: 0 18px; display: flex; align-items: center; gap: 12px; border: 1px solid #aaa6a2; border-radius: 999px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.lo-search:focus-within { border-color: var(--lo-orange); box-shadow: 0 0 0 3px rgba(255,107,0,.14); }
.lo-search svg { width: 22px; color: var(--lo-orange); }
.lo-search input { width: 100%; border: 0; outline: 0; color: var(--lo-ink); background: transparent; }
.lo-search input::placeholder { color: #777; }
.lo-categories { display: flex; gap: 5px; overflow-x: auto; scrollbar-width: none; padding-bottom: 10px; }
.lo-categories::-webkit-scrollbar { display: none; }
.lo-categories a { flex: 0 0 auto; padding: 9px 15px; border-radius: 999px; color: var(--lo-ink); font-size: 14px; font-weight: 700; white-space: nowrap; }
.lo-categories a:hover, .lo-categories a.is-active { background: var(--lo-ink); color: #fff; text-decoration: none; }

.lo-layout { width: min(100%, 1440px); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 390px; }
.lo-menu { min-width: 0; padding: 26px 28px 90px 32px; }
.lo-category { margin: 0 0 34px; scroll-margin-top: 146px; }
.lo-category h2 { margin: 0 0 16px; font-size: 25px; font-weight: 800; letter-spacing: -.5px; }
.lo-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lo-product { min-width: 0; min-height: 168px; border: 1px solid var(--lo-line); border-radius: var(--lo-radius); background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.03); overflow: hidden; transition: transform .18s, box-shadow .18s, border-color .18s; }
.lo-product:hover { transform: translateY(-1px); border-color: #d5d1cd; box-shadow: var(--lo-shadow); }
.lo-product__main { position: relative; width: 100%; height: 100%; min-height: 168px; padding: 20px; display: flex; gap: 15px; text-align: start; border: 0; background: transparent; color: inherit; cursor: pointer; }
.lo-product__copy { min-width: 0; flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.lo-product__title { padding-inline-end: 30px; font-size: 17px; font-weight: 800; line-height: 1.3; }
.lo-product__description { display: -webkit-box; margin: 8px 0 14px; overflow: hidden; color: var(--lo-muted); font-size: 13px; line-height: 1.48; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.lo-product__price { margin-top: auto; color: var(--lo-ink); font-size: 14px; font-weight: 700; }
.lo-product__price-old { margin-inline-end: 7px; color: #8b8885; text-decoration: line-through; font-weight: 500; }
.lo-product__image { width: 112px; height: 112px; margin: auto 0; border-radius: 10px; object-fit: cover; }
.lo-add { position: absolute; top: 12px; inset-inline-end: 12px; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #efebe8; border-radius: 50%; background: #fff; color: var(--lo-orange); font-size: 26px; font-weight: 400; line-height: 1; box-shadow: 0 1px 5px rgba(0,0,0,.08); }
.lo-product:hover .lo-add { background: var(--lo-orange); border-color: var(--lo-orange); color: #fff; }
.lo-product.is-unavailable { opacity: .6; }
.lo-product.is-unavailable .lo-product__main { cursor: not-allowed; }
.lo-soldout { margin-top: 8px; padding: 3px 8px; border-radius: 5px; background: #eee; color: #555; font-size: 11px; font-weight: 700; }

.lo-basket-column { position: sticky; top: 0; align-self: start; height: 100vh; min-height: 600px; background: #fff; border-inline-start: 1px solid var(--lo-line); }
.lo-basket { height: 100%; min-height: calc(100vh - 1px); padding: 28px 24px; display: flex; flex-direction: column; overflow-y: auto; }
.lo-basket__header { text-align: center; }
.lo-basket__header h2 { margin: 0; font-size: 23px; font-weight: 800; }
.lo-basket__header small { display: block; margin-top: 5px; color: var(--lo-muted); }
.lo-order-types { margin: 20px 0; padding: 4px; display: flex; gap: 3px; border-radius: 999px; background: #f0eeeb; }
.lo-order-types span { flex: 1; min-height: 43px; padding: 6px 8px; display: grid; place-items: center; border-radius: 999px; color: #555; text-align: center; font-size: 12px; font-weight: 700; }
.lo-order-types span.is-active, .lo-order-types span:first-child { background: #fff; color: var(--lo-orange); box-shadow: 0 2px 8px rgba(0,0,0,.09); }
.lo-basket__items { display: flex; flex-direction: column; }
.lo-basket-item { padding: 13px 0; display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: start; gap: 8px; border-bottom: 1px solid var(--lo-line); font-size: 13px; }
.lo-basket-item button { width: 24px; height: 24px; padding: 0; border: 1px solid var(--lo-line); border-radius: 50%; background: #fff; color: #777; cursor: pointer; }
.lo-basket-item strong { font-weight: 650; }
.lo-basket-item strong span { color: var(--lo-orange); }
.lo-basket-empty { flex: 1; min-height: 330px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.lo-basket-empty svg { width: 48px; height: 48px; color: #333; stroke-width: 1.6; }
.lo-basket-empty h3 { margin: 18px 0 4px; font-size: 21px; font-weight: 800; }
.lo-basket-empty p { margin: 0; color: var(--lo-muted); }
.lo-checkout { position: sticky; bottom: 0; padding-top: 18px; background: #fff; }
.lo-checkout a { min-height: 52px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; border-radius: 8px; background: var(--lo-orange); color: #fff; font-weight: 800; }
.lo-checkout a:hover { background: var(--lo-orange-dark); color: #fff; text-decoration: none; }
.lo-floating-cart { display: none; }
.lo-empty-menu { min-height: 240px; display: grid; place-items: center; align-content: center; color: var(--lo-muted); text-align: center; }
.lo-empty-menu span { font-size: 52px; }
.lo-empty-menu h2 { margin-top: 15px; color: var(--lo-ink); }

.lo-body .modal-content { border: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 70px rgba(0,0,0,.2); }
.lo-body .modal-header { border-bottom-color: var(--lo-line); }
.lo-body .modalCover img { max-height: 340px; object-fit: cover; }
.lo-body .modal-footer .btn-primary { border-color: var(--lo-orange); background: var(--lo-orange); }
.lo-body .modal-footer .btn-primary:hover { border-color: var(--lo-orange-dark); background: var(--lo-orange-dark); }
.lo-body .top-bar { position: relative; z-index: 1030; }
.lo-body [v-cloak] { display: none; }

@media (max-width: 1100px) {
    .lo-layout { grid-template-columns: minmax(0, 1fr) 340px; }
    .lo-products { grid-template-columns: 1fr; }
    .lo-product { min-height: 148px; }
    .lo-product__main { min-height: 148px; }
}

@media (max-width: 820px) {
    .lo-topbar { height: 62px; }
    .lo-topbar__inner { padding: 0 14px; }
    .lo-brand { font-size: 18px; }
    .lo-brand__mark { width: 28px; height: 28px; }
    .lo-mobile-cart-trigger { display: grid; }
    .lo-cover { height: 230px; }
    .lo-restaurant__info, [dir="rtl"] .lo-restaurant__info { min-height: 162px; padding: 57px 18px 18px; align-items: flex-start; flex-wrap: wrap; }
    .lo-restaurant__logo { inset-inline-start: 18px; top: -48px; width: 82px; height: 82px; }
    .lo-restaurant__copy { width: 100%; }
    .lo-restaurant__buttons { width: 100%; margin: 0; overflow-x: auto; }
    .lo-pill { flex: 0 0 auto; }
    .lo-menu-toolbar__inner { padding: 12px 16px 0; }
    .lo-layout { display: block; }
    .lo-menu { padding: 22px 14px 100px; }
    .lo-basket-column { display: none; }
    .lo-floating-cart { position: fixed; z-index: 1040; inset-inline: 16px; bottom: 14px; min-height: 54px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; border: 0; border-radius: 9px; background: var(--lo-orange); color: #fff; font-weight: 800; box-shadow: 0 8px 24px rgba(197,77,0,.3); }
    .lo-floating-cart span:last-child { min-width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--lo-orange); }
    .lo-body #mobile-menu .lo-basket { min-height: 0; padding: 24px 18px; }
}

@media (max-width: 540px) {
    .lo-topbar__inner { gap: 5px; }
    .lo-back { width: 32px; }
    .lo-brand span:last-child { display: none; }
    .lo-cover { height: 190px; }
    .lo-restaurant__info, [dir="rtl"] .lo-restaurant__info { padding-top: 52px; }
    .lo-restaurant__copy h1 { font-size: 25px; }
    .lo-search { height: 44px; }
    .lo-products { gap: 10px; }
    .lo-product, .lo-product__main { min-height: 144px; }
    .lo-product__main { padding: 16px; }
    .lo-product__image { width: 92px; height: 92px; }
    .lo-product__title { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .lo-product { transition: none; }
}
