/* ==========================================================================
   Lalibela — Online ordering (menu page, order bag, item modal)
   Prefix: lxo-. Loaded after lalibela.css and lalibela-ui.css.
   ========================================================================== */

:root {
    --lxo-nav-h: 84px;      /* updated from JS to the real sticky header height */
    --lxo-catbar-h: 0px;
    --lxo-line: #EADFCB;
    --lxo-card: #fff;
    --lxo-soft: #FBF7EF;
}

body.lala.order-page { background: var(--paper); }

/* The base theme pads every <section>; ordering sections manage their own spacing */
body.lala section.lxo,
body.lala section.lxo-section { padding: 0; }

/* ---------- Hero / store header ---------- */
body.lala .lxo-hero {
    position: relative;
    padding: 1.25rem 0 2rem;
    color: var(--injera);
    background:
        linear-gradient(100deg, rgba(27,18,13,.96) 0%, rgba(36,23,18,.9) 45%, rgba(36,23,18,.62) 100%),
        url('../images/img-dining-room.jpg') center 35% / cover no-repeat,
        var(--coffee);
    overflow: hidden;
}

body.lala .lxo-hero::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 6px;
    background: repeating-linear-gradient(115deg, var(--teff) 0 18px, var(--gold) 18px 26px, var(--berbere) 26px 44px, var(--gold) 44px 52px);
}

body.lala .lxo-crumbs {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1.25rem;
    font-size: .8rem;
    color: #B9A996;
}

body.lala .lxo-crumbs a { color: var(--gold-soft); font-weight: 600; }
body.lala .lxo-crumbs i.fa { font-size: .6rem; color: #8A7966 !important; }

body.lala .lxo-hero__grid {
    display: grid;
    grid-template-columns: 1fr minmax(300px, 380px);
    gap: 2rem;
    align-items: end;
}

body.lala .lxo-store { display: flex; gap: 1.25rem; align-items: center; }

body.lala .lxo-store__thumb {
    width: 96px;
    height: 96px;
    border-radius: 20px;
    object-fit: cover;
    border: 2px solid rgba(228,192,119,.4);
    flex-shrink: 0;
}

body.lala .lxo-store__name {
    margin: .5rem 0 .75rem;
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    line-height: 1.05;
    color: var(--injera) !important;
}

body.lala .lxo-store__meta {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    font-size: .85rem;
}

body.lala .lxo-store__meta > li {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .35rem .75rem;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(228,192,119,.18);
    color: #DCCFBE;
}

body.lala .lxo-store__meta i.fa { color: var(--gold) !important; }
body.lala .lxo-store__meta strong { color: var(--injera); }

body.lala .lxo-store__status .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--lx-open);
    box-shadow: 0 0 0 3px rgba(95,174,110,.25);
}

body.lala .lxo-store__status.is-open { color: #BFE3C5 !important; font-weight: 600; }
body.lala .lxo-store__status.is-closed { color: #F1B4A4; font-weight: 600; }
body.lala .lxo-store__status.is-closed .dot { background: var(--lx-closed); box-shadow: 0 0 0 3px rgba(210,85,58,.25); }

body.lala .lxo-store__link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

body.lala .lxo-store__link:hover { color: var(--gold-soft); }
body.lala .lxo-store__address span { max-width: 32ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

body.lala .lxo-hero__side { display: grid; gap: .9rem; }

body.lala .lxo-perks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .35rem 1rem;
    font-size: .78rem;
    color: #CDBFAE;
}

body.lala .lxo-perks i.fa { color: var(--gold) !important; margin-right: .3rem; }

/* ---------- Fulfillment card (also used on checkout) ---------- */
body.lala .lxo-fulfil {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .85rem 1rem;
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--lxo-line);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

body.lala .lxo-fulfil__icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: grid; place-items: center;
    background: var(--injera);
    flex-shrink: 0;
}

body.lala .lxo-fulfil__icon i.fa { color: var(--berbere) !important; font-size: 1.1rem; }

body.lala .lxo-fulfil__text { flex: 1; min-width: 0; line-height: 1.25; }
body.lala .lxo-fulfil__text small { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
body.lala .lxo-fulfil__text strong { display: block; font-size: .98rem; color: var(--ink); }

body.lala .lxo-fulfil__change {
    flex-shrink: 0;
    border: 1.5px solid var(--lx-field-border);
    background: #fff;
    color: var(--ink);
    font-weight: 700;
    font-size: .82rem;
    padding: .5rem .95rem;
    border-radius: 999px;
    cursor: pointer;
    transition: border-color .15s, color .15s;
}

body.lala .lxo-fulfil__change:hover { border-color: var(--berbere); color: var(--berbere); }
body.lala .lxo-fulfil.is-disabled .lxo-fulfil__icon i.fa { color: var(--muted) !important; }

/* ---------- Sticky category bar ---------- */
body.lala .lxo-catbar {
    position: sticky;
    top: var(--lxo-nav-h);
    z-index: 60;
    background: rgba(248,243,232,.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--lxo-line);
    transition: box-shadow .2s;
}

body.lala .lxo-catbar:not(:has(.lxo-cats)) { display: none; }
body.lala .lxo-catbar.is-stuck { box-shadow: 0 8px 20px -14px rgba(42,28,21,.45); }

body.lala .lxo-cats { position: relative; display: flex; align-items: center; }

body.lala .lxo-cats__list {
    flex-wrap: nowrap;
    gap: .4rem;
    margin: 0;
    padding: .7rem 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
}

body.lala .lxo-cats__list::-webkit-scrollbar { display: none; }

body.lala .lxo-cats .nav-link {
    white-space: nowrap;
    padding: .5rem 1rem;
    border-radius: 999px;
    border: 1.5px solid transparent;
    background: transparent !important;
    color: var(--muted) !important;
    font-size: .9rem;
    font-weight: 600;
    transition: background-color .15s, color .15s, border-color .15s;
}

body.lala .lxo-cats .nav-link:hover { color: var(--ink) !important; border-color: var(--lx-field-border); }

body.lala .lxo-cats .nav-link.active {
    background: var(--coffee) !important;
    color: var(--injera) !important;
    border-color: var(--coffee);
}

body.lala .lxo-cats__arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 34px; height: 34px;
    transform: translateY(-50%);
    display: grid; place-items: center;
    border: 1px solid var(--lxo-line);
    border-radius: 50%;
    background: #fff;
    box-shadow: var(--shadow-sm);
    color: var(--ink);
    cursor: pointer;
}

body.lala .lxo-cats__arrow[hidden] { display: none; }
body.lala .lxo-cats__arrow--prev { left: -6px; }
body.lala .lxo-cats__arrow--next { right: -6px; }

/* ---------- Layout ---------- */
body.lala .lxo-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 2rem;
    align-items: start;
    padding: 1.75rem 0 4rem;
}

body.lala .lxo-aside__sticky {
    position: sticky;
    top: calc(var(--lxo-nav-h) + var(--lxo-catbar-h) + 1rem);
}

/* ---------- Search ---------- */
body.lala .lxo-search { margin-bottom: 1.5rem; }

body.lala .lxo-search__bar {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border: 1.5px solid var(--lx-field-border);
    border-radius: 999px;
    transition: border-color .2s, box-shadow .2s;
}

body.lala .lxo-search__bar:focus-within { border-color: var(--gold); box-shadow: var(--lx-ring); }

body.lala .lxo-search__icon { position: absolute; left: 1.1rem; color: var(--muted) !important; pointer-events: none; }

body.lala .lxo-search__bar input.lxo-search__input {
    flex: 1;
    min-width: 0;
    height: 52px;
    padding: 0 3rem 0 2.9rem;
    border: 0 !important;
    background: transparent !important;
    color: var(--ink) !important;
    font-size: 1rem;
    outline: 0;
    box-shadow: none !important;
}

body.lala .lxo-search__input::placeholder { color: #9C8B78; }
body.lala .lxo-search__input::-webkit-search-cancel-button { display: none; }

body.lala .lxo-search__clear {
    position: absolute;
    right: .5rem;
    width: 38px; height: 38px;
    display: grid; place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--paper);
    color: var(--ink);
    cursor: pointer;
}

/* no display rule here: Livewire toggles [wire:loading] visibility itself */
body.lala .lxo-search__spinner { position: absolute; right: 3.4rem; color: var(--muted); line-height: 1; }
body.lala .lxo-search__summary { font-size: .9rem; color: var(--muted); margin: -.5rem 0 1rem; }
body.lala .lxo-menu__list.is-loading { opacity: .55; transition: opacity .15s; }

/* ---------- Sections ---------- */
body.lala .lxo-section {
    scroll-margin-top: calc(var(--lxo-nav-h) + var(--lxo-catbar-h) + 1rem);
    margin-bottom: 2.5rem;
}

body.lala .lxo-section__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .9rem;
    padding-bottom: .6rem;
    border-bottom: 2px solid var(--ink);
}

body.lala .lxo-section__title { margin: 0; font-size: 1.6rem; }
body.lala .lxo-section__count { font-size: .8rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
body.lala .lxo-section__desc { margin: -.25rem 0 1rem; color: var(--muted); font-size: .92rem; max-width: 62ch; }

body.lala .lxo-section__banner {
    margin-bottom: 1rem;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 5 / 1;
}

body.lala .lxo-section__banner img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Item cards ---------- */
body.lala .lxo-items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .9rem;
}

body.lala .lxo-item {
    position: relative;
    display: flex;
    gap: 1rem;
    height: 100%;
    min-height: 150px;
    padding: 1.1rem 1.1rem 1.1rem 1.25rem;
    background: var(--lxo-card);
    border: 1px solid var(--lxo-line);
    border-radius: 18px;
    cursor: pointer;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
    -webkit-tap-highlight-color: transparent;
}

body.lala .lxo-item:hover {
    border-color: #D9C8A8;
    box-shadow: 0 14px 30px -18px rgba(42,28,21,.35);
    transform: translateY(-2px);
}

body.lala .lxo-item:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
body.lala .lxo-item:active { transform: scale(.99); }

body.lala .lxo-item__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding-right: 2.5rem;     /* room for the + button */
}

body.lala .lxo-item.has-thumb .lxo-item__body { padding-right: 0; }

body.lala .lxo-item__name {
    margin: 0 0 .35rem;
    font-family: var(--font-body);
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.3;
    color: var(--ink) !important;
    text-transform: none;
}

body.lala .lxo-item__desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 .75rem;
    font-size: .86rem;
    line-height: 1.5;
    color: var(--muted);
}

body.lala .lxo-item__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .4rem .6rem;
    margin-top: auto;
}

body.lala .lxo-item__price {
    font-weight: 700;
    font-size: .98rem;
    color: var(--ink);
}

body.lala .lxo-item__price s { margin-left: .3rem; font-weight: 500; color: var(--muted); font-size: .85rem; }

body.lala .lxo-item__media {
    position: relative;
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 14px;
    overflow: hidden;
    background: var(--injera);
    align-self: center;
}

body.lala .lxo-item__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
body.lala .lxo-item:hover .lxo-item__media img { transform: scale(1.05); }

body.lala .lxo-item__add {
    position: absolute;
    right: .9rem;
    bottom: .9rem;
    width: 38px; height: 38px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid var(--lxo-line);
    box-shadow: var(--shadow-sm);
    transition: background-color .15s, border-color .15s, transform .15s;
}

body.lala .lxo-item__add i.fa { color: var(--ink) !important; font-size: .9rem; }

body.lala .lxo-item.has-thumb .lxo-item__add { right: 1.4rem; bottom: 1.4rem; }

body.lala .lxo-item:hover .lxo-item__add {
    background: var(--berbere);
    border-color: var(--berbere);
    transform: scale(1.06);
}

body.lala .lxo-item:hover .lxo-item__add i.fa { color: #fff !important; }

body.lala .lxo-item.is-unavailable { cursor: not-allowed; background: var(--lxo-soft); }
body.lala .lxo-item.is-unavailable:hover { transform: none; box-shadow: none; border-color: var(--lxo-line); }
body.lala .lxo-item.is-unavailable .lxo-item__name,
body.lala .lxo-item.is-unavailable .lxo-item__price { color: var(--muted) !important; }
body.lala .lxo-item.is-unavailable .lxo-item__media { filter: grayscale(.7); opacity: .7; }

body.lala .lxo-item__unavailable {
    margin: .6rem 0 0;
    font-size: .78rem;
    font-weight: 600;
    color: var(--berbere);
}

body.lala .lxo-item.is-special { border-color: rgba(201,147,47,.55); }

/* Badges + tags */
body.lala .lxo-badge {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .18rem .55rem;
    border-radius: 999px;
    background: var(--injera);
    color: var(--muted);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .02em;
    white-space: nowrap;
}

body.lala .lxo-badge--deal { background: rgba(201,147,47,.18); color: #8A5F14; }
body.lala .lxo-badge--required { background: rgba(163,52,28,.1); color: var(--berbere); }

body.lala .lxo-item__tags { margin-top: .6rem; }

body.lala .lxo-tags { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; margin: 0; padding: 0; }

body.lala .lxo-tag {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .12rem .5rem;
    border: 1px solid var(--lxo-line);
    border-radius: 6px;
    font-size: .7rem;
    font-weight: 600;
    color: var(--muted);
    background: #fff;
}

body.lala .lxo-tag img { border-radius: 3px; }

/* Empty state */
body.lala .lxo-empty {
    grid-column: 1 / -1;
    padding: 3rem 1.5rem;
    text-align: center;
    background: #fff;
    border: 1.5px dashed var(--lx-field-border);
    border-radius: 18px;
}

body.lala .lxo-empty__icon {
    width: 64px; height: 64px;
    margin: 0 auto 1rem;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--injera);
}

body.lala .lxo-empty__icon i.fa { color: var(--berbere) !important; font-size: 1.5rem; }
body.lala .lxo-empty h3 { font-size: 1.25rem; margin-bottom: .4rem; }
body.lala .lxo-empty p { color: var(--muted); margin-bottom: .75rem; }

/* ---------- Order bag ---------- */
body.lala .lxo-bag { padding: 1.4rem; }

body.lala .lxo-bag__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .5rem;
    padding-bottom: .9rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--lxo-line);
}

body.lala .lxo-bag__title { margin: 0; font-size: 1.3rem; }
body.lala .lxo-bag__count { font-size: .8rem; font-weight: 700; color: var(--berbere); }

body.lala .lxo-bag__items { max-height: min(46vh, 420px); overflow-y: auto; margin-right: -.5rem; padding-right: .5rem; }

body.lala .lxo-bag__empty { text-align: center; padding: 1rem .5rem 1.25rem; }
body.lala .lxo-bag__empty svg { margin: 0 auto .5rem; display: block; }
body.lala .lxo-bag__empty-title { margin: 0 0 .25rem; font-weight: 700; color: var(--ink); }
body.lala .lxo-bag__empty-text { margin: 0; font-size: .86rem; color: var(--muted); line-height: 1.5; }

body.lala .lxo-bag__promo {
    margin-top: 1rem;
    padding-top: .9rem;
    border-top: 1px solid var(--lxo-line);
}

body.lala .lxo-bag__promo summary {
    list-style: none;
    cursor: pointer;
    font-size: .88rem;
    font-weight: 600;
    color: var(--berbere);
}

body.lala .lxo-bag__promo summary::-webkit-details-marker { display: none; }
body.lala .lxo-bag__promo summary i.fa { margin-right: .35rem; }
body.lala .lxo-bag__promo[open] summary { margin-bottom: .75rem; }
body.lala .lxo-bag__promo .input-group > .btn { font-weight: 700; }

body.lala .lxo-bag__actions { margin-top: 1.1rem; }
body.lala .lxo-bag__note { font-size: .82rem; color: var(--muted); text-align: center; margin: 0 0 .75rem; }

body.lala .lxo-bag__help {
    margin: .9rem 0 0;
    text-align: center;
    font-size: .8rem;
    color: var(--muted);
}

body.lala .lxo-bag__help i.fa { color: var(--gold) !important; margin-right: .3rem; }
body.lala .lxo-bag__help a { font-weight: 700; }

body.lala .lxo-minorder {
    margin-bottom: .9rem;
    padding: .75rem .9rem;
    border-radius: 12px;
    background: rgba(201,147,47,.12);
    font-size: .82rem;
    color: #6E4C12;
}

body.lala .lxo-minorder__bar {
    height: 6px;
    margin-top: .5rem;
    border-radius: 6px;
    background: rgba(201,147,47,.25);
    overflow: hidden;
}

body.lala .lxo-minorder__bar span {
    display: block;
    height: 100%;
    background: var(--gradient-gold);
    border-radius: 6px;
    transition: width .4s var(--ease);
}

/* Cart lines inside the bag */
body.lala .lxo-bag .cart-items ul li { align-items: flex-start !important; }
body.lala .lxo-bag .cart-items p { margin-bottom: .15rem !important; font-weight: 600; }
body.lala .lxo-bag .cart-items .price { font-family: var(--font-body); font-size: .92rem; color: var(--ink) !important; }

/* ---------- Mobile "View order" bar ---------- */
body.lala .lxo-mobilebar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 1030;
    padding: .65rem 1rem calc(.65rem + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, rgba(248,243,232,0), rgba(248,243,232,.95) 35%);
}

body.lala .lxo-mobilebar__btn {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-height: 56px;
    padding: 0 1rem 0 .6rem;
    border-radius: 999px;
    background: var(--gradient-berbere);
    color: var(--injera) !important;
    font-weight: 700;
    box-shadow: 0 14px 30px -12px rgba(163,52,28,.65);
}

body.lala .lxo-mobilebar__count {
    min-width: 36px; height: 36px;
    padding: 0 .4rem;
    display: grid; place-items: center;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
    font-size: .9rem;
}

body.lala .lxo-mobilebar__label { flex: 1; }
body.lala .lxo-mobilebar__total { font-variant-numeric: tabular-nums; }

/* ---------- Item modal ---------- */
body.lala #orange-modal .modal-dialog { max-width: 560px; }

body.lala .lxo-modal__form { display: contents; }

body.lala .lxo-modal .modal-content { border-radius: 22px; overflow: hidden; }

body.lala .lxo-modal__media {
    position: relative;
    flex-shrink: 0;
    aspect-ratio: 16 / 9;
    max-height: 280px;
    background: var(--injera);
}

body.lala .lxo-modal__media img { width: 100%; height: 100%; object-fit: cover; }
body.lala .lxo-modal__close { position: absolute; top: .9rem; right: .9rem; margin: 0 !important; box-shadow: var(--shadow-md); background-color: #fff !important; }

body.lala .lxo-modal__body { padding: 1.4rem 1.5rem .5rem !important; }

body.lala .lxo-modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
body.lala .lxo-modal__title { margin: 0; font-size: 1.55rem !important; line-height: 1.15; }
body.lala .lxo-modal__price { margin: .35rem 0 .5rem; font-weight: 700; color: var(--berbere); }
body.lala .lxo-modal__desc { color: var(--muted); font-size: .92rem; line-height: 1.6; margin-bottom: 1.25rem; }

body.lala .lxo-options .menu-option {
    margin: 0 -1.5rem 1rem !important;
    padding: 1rem 1.5rem;
    border-top: 8px solid var(--lxo-soft);
}

body.lala .lxo-options .menu-option__head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
body.lala .lxo-options .menu-option__title { margin: 0; font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: 0; }
body.lala .lxo-options .menu-option__summary { margin: .2rem 0 0; font-size: .8rem; color: var(--muted); }
body.lala .lxo-options .option-group { margin-top: .6rem; }

body.lala .lxo-options .option-choice,
body.lala .lxo-options .form-check,
body.lala .lxo-options .form-quantity {
    margin: 0 !important;
    padding: .75rem 0 !important;
    border-bottom: 1px solid var(--lxo-line);
    align-items: center !important;
}

body.lala .lxo-options .form-check:last-child,
body.lala .lxo-options .form-quantity:last-child { border-bottom: 0; }

body.lala .lxo-options .form-check-label,
body.lala .lxo-options .form-quantity-label {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-left: 0 !important;
    font-size: .95rem;
    font-weight: 500;
}

body.lala .lxo-options .form-check-label .float-end,
body.lala .lxo-options .form-quantity-label .float-end { float: none !important; color: var(--muted); font-size: .88rem; white-space: nowrap; }

body.lala .lxo-options .form-quantity-input .btn {
    width: 30px; height: 30px;
    display: inline-grid; place-items: center;
    border: 1.5px solid var(--lx-field-border) !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: var(--ink) !important;
}

body.lala .lxo-options .form-quantity-input .form-control { width: 34px; min-height: 0; font-weight: 700; }

body.lala .lxo-options .btn-link { padding: .5rem 0; font-weight: 700; color: var(--berbere); text-decoration: none; }

body.lala .lxo-modal__comment { margin: .5rem 0 1rem; }
body.lala .lxo-modal__comment textarea { min-height: 84px; }

body.lala .lxo-modal__footer {
    display: flex;
    flex-wrap: nowrap;
    gap: .9rem;
    padding: 1rem 1.5rem calc(1rem + env(safe-area-inset-bottom, 0px)) !important;
    border-top: 1px solid var(--lxo-line) !important;
    background: #fff;
    box-shadow: 0 -10px 24px -18px rgba(42,28,21,.35);
}

body.lala .lxo-modal__footer > * { margin: 0; }

body.lala .lxo-stepper {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: .25rem;
    border: 1.5px solid var(--lx-field-border);
    border-radius: 999px;
    background: #fff;
}

body.lala .lxo-stepper__btn {
    width: 40px; height: 40px;
    display: grid; place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--paper);
    color: var(--ink);
    cursor: pointer;
}

body.lala .lxo-stepper__btn:hover { background: var(--injera); }
body.lala .lxo-stepper__btn i.fa { color: var(--ink) !important; font-size: .8rem; }

body.lala .lxo-stepper__value {
    width: 40px;
    border: 0;
    background: transparent;
    text-align: center;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--ink);
    outline: 0;
}

body.lala .lxo-modal__add {
    flex: 1;
    min-width: 0;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: 0 1.4rem;
    border: 0;
    border-radius: 999px;
    background: var(--gradient-berbere);
    color: var(--injera);
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 12px 26px -14px rgba(163,52,28,.7);
    cursor: pointer;
}

body.lala .lxo-modal__add:hover { filter: brightness(1.06); }
body.lala .lxo-modal__total { font-variant-numeric: tabular-nums; opacity: .95; }

/* Modal loading placeholder */
body.lala #orange-modal .ti-loading { width: 2.5rem; height: 2.5rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
    body.lala .lxo-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 1.5rem; }
}

@media (max-width: 991.98px) {
    body.lala .lxo-hero__grid { grid-template-columns: 1fr; gap: 1.25rem; align-items: start; }
    body.lala .lxo-layout { grid-template-columns: 1fr; padding-bottom: 6.5rem; }
    body.lala .lxo-aside { order: 2; }
    body.lala .lxo-aside__sticky { position: static; }
}

@media (max-width: 767.98px) {
    body.lala .lxo-hero { padding: 1rem 0 1.5rem; }
    body.lala .lxo-crumbs { display: none; }
    body.lala .lxo-store { align-items: flex-start; }
    body.lala .lxo-store__thumb { width: 64px; height: 64px; border-radius: 14px; }
    body.lala .lxo-store__meta { font-size: .78rem; gap: .35rem; }
    body.lala .lxo-store__address { display: none !important; }
    body.lala .lxo-perks { display: none; }
    body.lala .lxo-items { grid-template-columns: 1fr; gap: 0; border: 1px solid var(--lxo-line); border-radius: 18px; overflow: hidden; background: #fff; }
    body.lala .lxo-item { border: 0; border-radius: 0; border-bottom: 1px solid var(--lxo-line); min-height: 0; padding: 1rem; }
    body.lala .lxo-items__cell:last-child .lxo-item { border-bottom: 0; }
    body.lala .lxo-item:hover { transform: none; box-shadow: none; }
    body.lala .lxo-item__media { width: 96px; height: 96px; border-radius: 12px; }
    body.lala .lxo-item.has-thumb .lxo-item__add { right: 1.1rem; bottom: 1.1rem; width: 34px; height: 34px; }
    body.lala .lxo-section__title { font-size: 1.35rem; }
    body.lala .lxo-section__head { border-bottom-width: 1px; }
    body.lala #orange-modal .modal-dialog { margin: 0; max-width: none; min-height: 100%; align-items: flex-end; }
    body.lala #orange-modal .modal-content { border-radius: 22px 22px 0 0; max-height: 92vh; }
    body.lala .lxo-modal__footer { gap: .6rem; padding-inline: 1rem !important; }
    body.lala .lxo-modal__add { padding: 0 1.1rem; font-size: .95rem; }
}

@media (prefers-reduced-motion: reduce) {
    body.lala .lxo-item, body.lala .lxo-item__media img, body.lala .lxo-item__add { transition: none; }
}

/* Quick-add confirmation */
body.lala .lxo-item.is-added .lxo-item__add {
    background: var(--teff);
    border-color: var(--teff);
    animation: lxo-pop .4s var(--ease);
}

body.lala .lxo-item.is-added .lxo-item__add i.fa { color: #fff !important; }
body.lala .lxo-item.is-added .lxo-item__add i.fa-plus::before { content: "\f00c"; }

@keyframes lxo-pop {
    0% { transform: scale(.8); }
    60% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

body.lala .lxo-mobilebar[hidden] { display: none !important; }

/* Cart lines: base .btn has overflow:hidden + a shine pseudo-element that clipped item names */
body.lala .lxo-bag .cart-items .btn { overflow: visible; white-space: normal; text-align: left; }
body.lala .lxo-bag .cart-items .btn::before { display: none; }

body.lala #coupon-form .form-control { text-align: left !important; }

body.lala #coupon-form .input-group > .btn {
    background: var(--coffee) !important;
    color: var(--injera) !important;
    border: 0 !important;
    font-weight: 700;
    padding-inline: 1.2rem;
}

body.lala .lxo-options .form-quantity-label { padding-left: .9rem !important; }
body.lala .lxo-stepper input.lxo-stepper__value { background: transparent !important; border: 0 !important; min-height: 0; padding: 0; }

body.lala .lxo-modal__add span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* On phones the sticky category bar is the navigation; the floating back-to-top button only covers "+" buttons */
@media (max-width: 991.98px) {
    body.lala.order-page .back-to-top { display: none; }
}

/* Store header reused outside the ordering hero (cart, reservation): render it as a dark card */
body.lala :not(.lxo-hero__store) > .lxo-store {
    position: relative;
    padding: 1.5rem 1.6rem;
    margin-bottom: 1.25rem;
    border-radius: 20px;
    background:
        radial-gradient(circle at 100% 0, rgba(201,147,47,.22), transparent 55%),
        var(--gradient-coffee);
    box-shadow: var(--shadow-md);
}

body.lala :not(.lxo-hero__store) > .lxo-store .lxo-store__name { font-size: clamp(1.5rem, 3vw, 2rem); }

body.lala .lxo-store__status.is-open,
body.lala .lxo-store__status.is-open * { color: #BFE3C5 !important; }
body.lala .lxo-store__status.is-closed,
body.lala .lxo-store__status.is-closed * { color: #F1B4A4 !important; }

/* The aside must span the full row height or its sticky child has nowhere to travel */
body.lala .lxo-layout > .lxo-aside { align-self: stretch; }

/* ---------- "We're closed" notice ---------- */
body.lala .lxo-notice {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin-bottom: 1.25rem;
    padding: .9rem 1rem;
    border-radius: 16px;
    background: rgba(201,147,47,.12);
    border: 1px solid rgba(201,147,47,.35);
    color: #5E4210;
    font-size: .9rem;
    line-height: 1.45;
}

body.lala .lxo-notice.is-blocking { background: rgba(163,52,28,.08); border-color: rgba(163,52,28,.3); color: var(--berbere-dark); }

body.lala .lxo-notice__icon {
    width: 40px; height: 40px;
    flex-shrink: 0;
    display: grid; place-items: center;
    border-radius: 12px;
    background: #fff;
}

body.lala .lxo-notice__icon i { color: var(--gold) !important; }
body.lala .lxo-notice.is-blocking .lxo-notice__icon i { color: var(--berbere) !important; }
body.lala .lxo-notice__text { flex: 1; min-width: 0; }
body.lala .lxo-notice__text strong { color: inherit; }

body.lala .lxo-notice__btn {
    flex-shrink: 0;
    padding: .5rem 1rem;
    border: 0;
    border-radius: 999px;
    background: var(--coffee);
    color: var(--injera);
    font-weight: 700;
    font-size: .82rem;
    cursor: pointer;
}

@media (max-width: 575.98px) {
    body.lala .lxo-notice { flex-wrap: wrap; }
    body.lala .lxo-notice__btn { width: 100%; }
}

/* ==========================================================================
   Delivery pin picker (fulfillment modal)
   ========================================================================== */
body.lala .lxd-map { margin-top: 1rem; }

body.lala .lxd-map__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .6rem;
}

body.lala .lxd-map__head .eyebrow { margin: 0; font-size: .74rem; }
body.lala .lxd-map__head .eyebrow::before,
body.lala .lxd-map__head .eyebrow::after { display: none; }

body.lala .lxd-map__locate {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .4rem .8rem;
    border: 1.5px solid var(--lx-field-border);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font-size: .8rem;
    font-weight: 700;
    cursor: pointer;
}

body.lala .lxd-map__locate i.fa { color: var(--berbere) !important; }
body.lala .lxd-map__locate:disabled { opacity: .6; cursor: progress; }

body.lala .lxd-map__canvas {
    height: 260px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--lx-line);
    background: var(--injera);
    z-index: 0;
}

body.lala .lxd-map__canvas .leaflet-control-attribution { font-size: .62rem; }

body.lala .lxd-map__status {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    margin-top: .6rem;
    padding: .6rem .8rem;
    border-radius: 12px;
    background: var(--paper);
    color: var(--muted);
    font-size: .84rem;
    line-height: 1.4;
}

body.lala .lxd-map__status i.fa { margin-top: .15rem; color: var(--muted) !important; }
body.lala .lxd-map__status.is-ok { background: rgba(79,107,74,.1); color: #2F5A30; }
body.lala .lxd-map__status.is-ok i.fa { color: var(--teff) !important; }
body.lala .lxd-map__status.is-out { background: rgba(163,52,28,.08); color: var(--berbere-dark); }
body.lala .lxd-map__status.is-out i.fa { color: var(--berbere) !important; }

body.lala .lxd-map__hint { margin: .45rem 0 0; font-size: .76rem; color: var(--muted); }

body.lala .lxd-pin { background: none; border: 0; }
body.lala .lxd-pin svg { filter: drop-shadow(0 4px 6px rgba(0,0,0,.3)); }

/* Delivery modal can get tall with the map — let it scroll on small screens */
body.lala #fulfillmentModal .modal-body { max-height: calc(100vh - 220px); overflow-y: auto; }
body.lala #fulfillmentModal #search-query { text-align: left !important; font-weight: 600; }

/* ==========================================================================
   Live order tracking
   ========================================================================== */
body.lala .lxt {
    margin-top: 1.25rem;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid var(--lx-line);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

body.lala .lxt__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
body.lala .lxt__title { margin: 0; font-size: 1.45rem; }
body.lala .lxt__eta { margin: .3rem 0 0; color: var(--muted); font-size: .92rem; }
body.lala .lxt__eta strong { color: var(--ink); }
body.lala .lxt__eta-rel { color: var(--berbere); font-weight: 600; }

body.lala .lxt__live {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    flex-shrink: 0;
    padding: .3rem .7rem;
    border-radius: 999px;
    background: rgba(79,107,74,.12);
    color: #2F5A30;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

body.lala .lxt__live-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--lx-open);
    animation: lxt-pulse 1.6s infinite;
}

@keyframes lxt-pulse {
    0% { box-shadow: 0 0 0 0 rgba(95,174,110,.6); }
    100% { box-shadow: 0 0 0 9px rgba(95,174,110,0); }
}

/* Steps */
body.lala .lxt__steps {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    position: relative;
}

body.lala .lxt__step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .55rem;
}

body.lala .lxt__step::before {
    content: '';
    position: absolute;
    top: 21px;
    left: calc(-50% + 24px);
    right: calc(50% + 24px);
    height: 3px;
    border-radius: 3px;
    background: var(--lx-line);
}

body.lala .lxt__step:first-child::before { display: none; }
body.lala .lxt__step.is-done::before,
body.lala .lxt__step.is-current::before { background: var(--teff); }

body.lala .lxt__step-icon {
    width: 44px; height: 44px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--paper);
    border: 2px solid var(--lx-line);
    position: relative;
    z-index: 1;
}

body.lala .lxt__step-icon i.fa { color: #B5A68F !important; font-size: 1rem; }

body.lala .lxt__step.is-done .lxt__step-icon { background: var(--teff); border-color: var(--teff); }
body.lala .lxt__step.is-done .lxt__step-icon i.fa { color: #fff !important; }

body.lala .lxt__step.is-current .lxt__step-icon {
    background: var(--berbere);
    border-color: var(--berbere);
    box-shadow: 0 0 0 6px rgba(163,52,28,.14);
    animation: lxt-current 2s ease-in-out infinite;
}

body.lala .lxt__step.is-current .lxt__step-icon i.fa { color: #fff !important; }

@keyframes lxt-current {
    0%, 100% { box-shadow: 0 0 0 6px rgba(163,52,28,.14); }
    50% { box-shadow: 0 0 0 10px rgba(163,52,28,.06); }
}

body.lala .lxt__step-text strong { display: block; font-size: .85rem; color: var(--ink); line-height: 1.25; }
body.lala .lxt__step-text small { display: block; font-size: .75rem; color: var(--muted); margin-top: .1rem; }
body.lala .lxt__step:not(.is-done):not(.is-current) .lxt__step-text strong { color: var(--muted); font-weight: 600; }

/* Map + info */
body.lala .lxt__body {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1.25rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--lx-line);
}

body.lala .lxt__map-canvas {
    height: 240px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--lx-line);
    background: var(--injera);
    z-index: 0;
}

body.lala .lxt__info { display: grid; gap: .9rem; align-content: start; }
body.lala .lxt__info-row { display: flex; gap: .75rem; align-items: flex-start; }
body.lala .lxt__info-row i.fa { width: 36px; height: 36px; flex-shrink: 0; display: grid; place-items: center; border-radius: 10px; background: var(--injera); color: var(--berbere) !important; }
body.lala .lxt__info-row small { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
body.lala .lxt__info-row strong { display: block; font-size: .92rem; color: var(--ink); line-height: 1.4; }
body.lala .lxt__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .25rem; }
body.lala .lxt__actions a.lx-btn-ghost { border: 1.5px solid var(--lx-field-border); background: #fff; color: var(--ink) !important; }

/* Status-change toast */
.lxt-toast {
    position: fixed;
    left: 50%;
    top: 1rem;
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .85rem 1.2rem;
    border-radius: 14px;
    background: var(--coffee);
    color: var(--injera);
    box-shadow: var(--shadow-xl);
    font-size: .92rem;
    transform: translate(-50%, -140%);
    transition: transform .4s var(--ease);
}

.lxt-toast.is-in { transform: translate(-50%, 0); }
.lxt-toast i.fa { color: var(--gold) !important; }
.lxt-toast strong { color: var(--gold-soft); }

@media (max-width: 767.98px) {
    body.lala .lxt { padding: 1.15rem; }
    body.lala .lxt__title { font-size: 1.2rem; }
    body.lala .lxt__body { grid-template-columns: 1fr; }
    body.lala .lxt__step-icon { width: 38px; height: 38px; }
    body.lala .lxt__step::before { top: 18px; left: calc(-50% + 20px); right: calc(50% + 20px); }
    body.lala .lxt__step-text strong { font-size: .74rem; }
    body.lala .lxt__step-text small { font-size: .68rem; }
}

@media (prefers-reduced-motion: reduce) {
    body.lala .lxt__live-dot, body.lala .lxt__step.is-current .lxt__step-icon { animation: none; }
}
body.lala .leaflet-control-attribution a { color: #2A1C15 !important; }

/* ==========================================================================
   Order details (account order page)
   ========================================================================== */
body.lala .order-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
    margin-top: 1.25rem;
}

body.lala .lxod-card {
    padding: 1.4rem 1.5rem;
    background: #fff;
    border: 1px solid var(--lx-line);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

body.lala .lxod-card__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: .9rem;
    margin-bottom: .4rem;
    border-bottom: 1px solid var(--lx-line);
}

body.lala .lxod-card__title { margin: 0; font-size: 1.2rem; }
body.lala .lxod-card__meta { font-size: .8rem; font-weight: 700; color: var(--berbere); }

/* Items */
body.lala .lxod-items { list-style: none; margin: 0; padding: 0; }

body.lala .lxod-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: .75rem;
    align-items: start;
    padding: .9rem 0;
    border-bottom: 1px dashed var(--lx-line);
}

body.lala .lxod-item:last-child { border-bottom: 0; }

body.lala .lxod-item__qty {
    min-width: 34px;
    padding: .15rem .45rem;
    border-radius: 8px;
    background: var(--injera);
    color: var(--ink);
    font-weight: 700;
    font-size: .85rem;
    text-align: center;
}

body.lala .lxod-item__name { font-weight: 700; color: var(--ink); line-height: 1.35; }
body.lala .lxod-item__option { margin-top: .2rem; font-size: .86rem; color: var(--muted); }
body.lala .lxod-item__option-label { font-weight: 600; color: var(--ink); margin-right: .2rem; }

body.lala .lxod-item__note {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: .45rem;
    padding: .25rem .65rem;
    border-radius: 8px;
    background: rgba(201,147,47,.12);
    color: #6E4C12;
    font-size: .82rem;
}

body.lala .lxod-item__note i.fa { color: var(--gold) !important; font-size: .72rem; }
body.lala .lxod-item__price { font-weight: 700; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Totals */
body.lala .lxod-totals { margin: .5rem 0 0; padding-top: .75rem; border-top: 1px solid var(--lx-line); }
body.lala .lxod-totals__row { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; font-size: .92rem; }
body.lala .lxod-totals__row dt { font-weight: 500; color: var(--muted); }
body.lala .lxod-totals__row dd { margin: 0; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }

body.lala .lxod-totals__row.is-total {
    margin-top: .4rem;
    padding-top: .75rem;
    border-top: 1px solid var(--lx-line);
    font-size: 1.1rem;
}

body.lala .lxod-totals__row.is-total dt,
body.lala .lxod-totals__row.is-total dd { color: var(--ink); font-weight: 800; }

/* Facts */
body.lala .lxod-facts { margin: 0; }

body.lala .lxod-fact {
    display: grid;
    grid-template-columns: minmax(120px, auto) minmax(0, 1fr);
    gap: .75rem;
    padding: .7rem 0;
    border-bottom: 1px dashed var(--lx-line);
    font-size: .9rem;
}

body.lala .lxod-fact:last-child { border-bottom: 0; }
body.lala .lxod-fact dt { font-weight: 500; color: var(--muted); white-space: nowrap; }
body.lala .lxod-fact dt i.fa { width: 1.1rem; margin-right: .35rem; color: var(--berbere) !important; text-align: center; }
body.lala .lxod-fact dd { margin: 0; color: var(--ink); text-align: right; line-height: 1.45; }

body.lala .lxod-pill {
    display: inline-block;
    margin-left: .35rem;
    padding: .05rem .5rem;
    border-radius: 999px;
    background: var(--injera);
    color: var(--muted);
    font-size: .7rem;
    font-weight: 800;
    vertical-align: middle;
}

body.lala .lxod-pill.is-ok { background: rgba(79,107,74,.14); color: var(--teff); }

body.lala .lxod-card__cta {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
    border: 1.5px solid var(--lx-field-border);
    background: #fff;
    color: var(--ink) !important;
}

body.lala .lxod-card__cta:hover { border-color: var(--berbere); color: var(--berbere) !important; }

@media (max-width: 991.98px) {
    body.lala .order-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 575.98px) {
    body.lala .lxod-card { padding: 1.15rem; border-radius: 18px; }
    body.lala .lxod-fact { grid-template-columns: 1fr; gap: .2rem; }
    body.lala .lxod-fact dd { text-align: left; }
}
