:root {
    --lb-primary: #ff4d00;
    --lb-primary-hover: #e84500;
    --lb-primary-soft: #fff1ea;
    --lb-text: #1f2937;
    --lb-muted: #6b7280;
    --lb-bg: #ffffff;
    --lb-surface: #f7f6f4;
    --lb-border: #e5e7eb;
    --lb-radius: 14px;
    --lb-radius-lg: 20px;
    --lb-shadow: 0 1px 2px rgba(16,24,40,.05);
    --lb-shadow-md: 0 6px 18px rgba(16,24,40,.08);
    --lb-shadow-lg: 0 14px 34px rgba(16,24,40,.14);
}

/* ACCOUNT ORDER DETAIL */
.lb-account-order-page { max-width: 880px; margin: 0 auto; padding: 12px 16px 42px; color: #172033; }
.lb-order-back { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 12px 2px; color: #e84500; font-size: .82rem; font-weight: 700; text-decoration: none; }
.lb-order-back:hover { color: #c83b00; text-decoration: underline; }
.lb-order-panel, .lb-order-total-panel, .lb-order-info-panel { background: #fff; border: 1px solid #edf0f2; border-radius: 13px; box-shadow: 0 2px 12px rgba(15,23,42,.06); margin-bottom: 10px; padding: 14px; }
.lb-order-status-head, .lb-order-restaurant { display: flex; align-items: center; gap: 12px; }
.lb-order-status-head h1 { margin: 0; font-size: 1rem; font-weight: 800; }.lb-order-status-head p { margin: 2px 0 0; color: #64748b; font-size: .75rem; }.lb-order-status-head > div:first-child { flex: 1; }
.lb-order-current-status { padding: 7px 12px; border-radius: 999px; background: #fff1ea; color: #e84500; font-size: .78rem; font-weight: 800; }
.lb-order-progress { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 17px; }.lb-order-progress-step { position: relative; text-align: center; color: #64748b; font-size: .66rem; }.lb-order-progress-step:not(:last-child):after { content: ''; position: absolute; top: 13px; left: 62%; right: -38%; height: 2px; background: #e5e7eb; }.lb-order-progress-step.is-active { color: #e84500; }.lb-order-progress-step.is-active:not(:last-child):after { background: #ff4d00; }.lb-order-progress-icon { position: relative; z-index: 1; display: grid; place-items: center; width: 26px; height: 26px; margin: 0 auto 5px; border-radius: 50%; background: #eef0f2; font-size: .7rem; }.is-active .lb-order-progress-icon { background: #ff4d00; color: #fff; }.lb-order-progress-step small { display: block; font-size: .63rem; }
.lb-order-status-comment, .lb-order-delivery-note { margin: 12px 0 0; color: #64748b; font-size: .78rem; }.lb-order-restaurant-icon { flex: 0 0 48px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 9px; background: #ff4d00; color: #fff; font-size: 1.35rem; }.lb-order-restaurant-info { flex: 1; min-width: 0; }.lb-order-restaurant-info h2 { margin: 0 0 3px; font-size: .98rem; font-weight: 800; }.lb-order-restaurant-info p { margin: 2px 0; color: #64748b; font-size: .7rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.lb-order-restaurant-info i { width: 14px; color: #e84500; }.lb-order-menu-link { border: 1px solid #ff4d00; border-radius: 8px; padding: 7px 10px; color: #e84500; font-size: .7rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.lb-order-section-title, .lb-order-total-panel h2, .lb-order-info-panel h2 { display: flex; align-items: center; gap: 9px; margin: 0 0 12px; font-size: 1rem; font-weight: 800; }.lb-order-section-title i, .lb-order-total-panel h2 i, .lb-order-info-panel h2 i { color: #ff4d00; }.lb-order-section-title span { margin-left: auto; padding: 6px 9px; border-radius: 8px; background: #f1f2f3; font-size: .65rem; font-weight: 700; }.lb-order-item { display: flex; align-items: center; gap: 10px; border-top: 1px solid #edf0f2; padding: 9px 0; }.lb-order-item-thumb { flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 7px; background: #fff1ea; color: #ff4d00; }.lb-order-item-info { flex: 1; min-width: 0; }.lb-order-item-info strong, .lb-order-item-info small { display: block; }.lb-order-item-info strong { font-size: .78rem; }.lb-order-item-info small { color: #64748b; font-size: .65rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.lb-order-item-quantity { font-size: .72rem; white-space: nowrap; }.lb-order-item-price { min-width: 65px; text-align: right; font-size: .78rem; }
.lb-order-total-panel { background: #fff7f2; }.lb-order-total-panel h2 { margin-bottom: 0; }.lb-order-total-panel h2 strong { margin-left: auto; color: #ff4d00; font-size: 1.2rem; }.lb-order-total-lines { margin-top: 10px; border-top: 1px solid #f2d9cb; padding-top: 8px; }.lb-order-total-lines div { display: flex; justify-content: space-between; padding: 3px 0; color: #64748b; font-size: .72rem; }.lb-order-total-lines div:last-child { color: #111827; font-weight: 800; }.lb-order-info-panel p { margin: 0; color: #64748b; font-size: .75rem; line-height: 1.45; }.lb-order-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.lb-order-reorder { width: 100%; min-height: 42px; border: 0; border-radius: 9px; background: #ff4d00; color: #fff; font-size: .88rem; font-weight: 800; cursor: pointer; }.lb-order-reorder:hover { background: #e84500; }
@media (max-width: 767.98px) { .lb-account-order-page { padding: 12px 10px 30px; }.lb-order-panel, .lb-order-total-panel, .lb-order-info-panel { padding: 12px 10px; }.lb-order-current-status { padding: 6px 8px; font-size: .68rem; }.lb-order-menu-link { padding: 6px 8px; font-size: .65rem; }.lb-order-restaurant-info p { font-size: .65rem; }.lb-order-item-thumb { flex-basis: 38px; width: 38px; height: 38px; }.lb-order-info-grid { grid-template-columns: 1fr; gap: 0; }.lb-order-info-grid .lb-order-info-panel { margin-bottom: 10px; } }

/* ACCOUNT LOGIN */
.lb-login-page { min-height: calc(100vh - 66px); display: flex; align-items: flex-start; justify-content: center; padding: 22px 14px 42px; background: #f7f7f7; }
.lb-login-card { position: relative; width: min(100%, 420px); overflow: hidden; padding: 18px 22px 28px; border: 1px solid #edf0f2; border-radius: 20px; background: #fff; box-shadow: 0 8px 24px rgba(15,23,42,.08); text-align: center; }.lb-login-heart { height: 42px; color: #ff4d00; font-family: Arial,sans-serif; font-size: 3.15rem; line-height: 1; }.lb-login-card h1 { margin: 2px 0 0; color: #172033; font-size: 1.7rem; font-weight: 800; }.lb-login-subtitle { margin: 3px 0 18px; color: #9aa2af; font-size: .9rem; }.lb-login-card form { text-align: left; }.lb-login-card form .form-group { margin-bottom: 11px; }.lb-login-card form .input-group { position: relative; display: block; }.lb-login-card form .form-control { min-height: 44px; padding: 9px 42px 9px 45px; border: 1px solid #e0e4e9; border-radius: 10px !important; font-size: 16px; }.lb-login-card form .input-group-text { position: absolute; top: 0; bottom: 0; left: 13px; z-index: 2; display: flex; align-items: center; padding: 0; border: 0; background: transparent; color: #8b95a3; }.lb-login-card form .input-group-text:last-child { left: auto; right: 13px; }.lb-login-card form .form-group:first-of-type .input-group-text { font-size: 0; }.lb-login-card form .form-group:first-of-type .input-group-text:before { content: '\f0e0'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 1rem; }.lb-login-card form .form-check { display: flex; align-items: center; gap: 7px; min-height: 25px; margin: 2px 0 11px; }.lb-login-card form .form-check-input { position: static; width: 17px; height: 17px; margin: 0; }.lb-login-card form .form-check-label { color: #172033; font-size: .72rem; }.lb-login-card form .form-group:nth-last-of-type(2) { position: relative; }.lb-login-card form .form-group:nth-last-of-type(2):after { content: 'Passwort vergessen?'; position: absolute; right: 0; bottom: 5px; color: #e84500; font-size: .7rem; text-decoration: underline; pointer-events: none; }.lb-login-card form .form-group:nth-last-of-type(2) .form-check-label { padding-right: 145px; }.lb-login-card form .btn-primary { width: 100%; min-height: 45px; border: 0; border-radius: 10px; background: #ff4d00; font-size: .9rem; font-weight: 800; }.lb-login-card form .btn-primary:after { content: '  →'; font-size: 1.25rem; }.lb-login-card form .text-danger { display: block; margin: 4px; font-size: .7rem; }.lb-login-register-divider { display: flex; align-items: center; gap: 12px; margin: 19px 0 13px; color: #9aa2af; font-size: .74rem; }.lb-login-register-divider:before,.lb-login-register-divider:after { content: ''; flex: 1; height: 1px; background: #e5e7eb; }.lb-login-register { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 44px; border: 1px solid #ff4d00; border-radius: 10px; color: #e84500; font-size: .86rem; font-weight: 800; text-decoration: none; }.lb-login-register:hover { background: #fff1ea; color: #e84500; text-decoration: none; }.lb-login-decoration { margin-top: 22px; color: #ffb397; font-family: cursive; font-size: .9rem; line-height: 1.15; opacity: .7; }
@media (max-width: 767.98px) { .lb-login-page { min-height: calc(100vh - 56px); padding: 10px 12px 30px; }.lb-login-card { padding: 14px; border-radius: 20px; }.lb-login-card h1 { font-size: 1.65rem; } }

.marketplace-container { color: var(--lb-text); background: #f7f7f7; padding-bottom: 32px; }

html body { overflow-x: clip !important; }
html { overflow-x: clip; }
html body.h-100 { height: auto !important; min-height: 100vh !important; }
main#main-content, main[role="main"] { padding-top: 0 !important; }
.marketplace-container, .container { min-width: 0; }

.container { max-width: 1280px; padding-left: 16px; padding-right: 16px; }

/* ===================== COMPACT CONTROLS (LOCATION / SEGMENT / SEARCH) ===================== */
.lb-controls { background: var(--lb-bg); border-bottom: 1px solid var(--lb-border); padding: 14px 0 12px; }
.lb-controls__row { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.lb-controls__left { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.lb-location-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--lb-border);
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 700;
    font-size: .98rem;
    color: var(--lb-text);
    text-decoration: none;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.lb-location-pill:hover { border-color: var(--lb-primary); box-shadow: var(--lb-shadow); text-decoration: none; color: var(--lb-text); }
.lb-location-pill i { color: var(--lb-primary); }
.lb-location-pill small { display: block; color: var(--lb-muted); font-size: .72rem; font-weight: 600; line-height: 1.1; }

.lb-segment {
    display: inline-flex;
    background: #ececea;
    border-radius: 999px;
    padding: 4px;
    gap: 4px;
}
.lb-segment__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
    color: var(--lb-text);
    font-weight: 700;
    font-size: .95rem;
    padding: 10px 24px;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.lb-segment__btn.is-active {
    background: var(--lb-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255,77,0,.35);
}
.lb-segment__btn:not(.is-active):hover { background: rgba(255,255,255,.9); }
.lb-segment__btn.is-loading { opacity: .55; pointer-events: none; }

.lb-search {
    display: flex;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--lb-border);
    border-radius: 999px;
    box-shadow: none;
    overflow: hidden;
    width: 100%;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.lb-controls .lb-search { max-width: 560px; margin-top: 12px; }
.lb-search:focus-within { border-color: var(--lb-primary); box-shadow: 0 0 0 4px rgba(255,77,0,.10); }
.lb-search__icon {
    display: flex; align-items: center;
    padding: 0 4px 0 16px;
    color: var(--lb-muted);
    font-size: .95rem;
}
.lb-search input[type="text"] {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    outline: none;
    box-shadow: none !important;
    font-size: .95rem;
    padding: 12px 12px 12px 8px;
    background: transparent;
    color: var(--lb-text);
    caret-color: var(--lb-text);
}
.lb-search input[type="text"]:placeholder-shown {
    caret-color: transparent;
}

.lb-address-results { margin-top: 10px; text-align: left; }
.address-result-item {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--lb-border);
    border-radius: var(--lb-radius);
    padding: 12px 16px;
    margin-bottom: 8px;
    text-decoration: none;
    color: var(--lb-text);
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.address-result-item:hover { border-color: var(--lb-primary); box-shadow: var(--lb-shadow-md); transform: translateY(-1px); }
.address-result-item strong { display: block; }
.address-result-item small { color: var(--lb-muted); }

@media (max-width: 575.98px) {
    .lb-controls { padding: 12px 0 10px; }
    .lb-controls__row { gap: 10px; }
    .lb-location-pill { padding: 8px 14px; font-size: .9rem; }
}

/* ===================== QUICK FILTER CHIPS ROW ===================== */
.lb-chipbar {
    position: sticky;
    top: 58px;
    z-index: 90;
    background: var(--lb-bg);
    border-bottom: 1px solid var(--lb-border);
}
@media (min-width: 768px) { .lb-chipbar { top: 66px; } }
.lb-qchip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid var(--lb-border);
    border-radius: 999px;
    padding: 8px 15px;
    font-size: .86rem;
    font-weight: 700;
    color: var(--lb-text);
    cursor: pointer;
    white-space: nowrap;
    transition: all .18s ease;
}
.lb-qchip:hover { border-color: var(--lb-primary); color: var(--lb-primary); }
.lb-qchip.is-active { background: var(--lb-primary); border-color: var(--lb-primary); color: #fff; box-shadow: 0 3px 10px rgba(255,77,0,.30); }
.lb-qchip--action { background: var(--lb-primary-soft); border-color: transparent; color: var(--lb-primary); }
.lb-qchip--action:hover { background: var(--lb-primary); color: #fff; }
select.lb-select {
    appearance: none;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M6 8 0 0h12z'/%3E%3C/svg%3E") no-repeat right 13px center;
    border: 1px solid var(--lb-border);
    border-radius: 999px;
    padding: 8px 34px 8px 15px;
    font-size: .86rem;
    font-weight: 700;
    color: var(--lb-text);
    cursor: pointer;
    white-space: nowrap;
    transition: border-color .2s ease, box-shadow .2s ease;
}
select.lb-select:hover,
select.lb-select:focus { border-color: var(--lb-primary); outline: none; box-shadow: 0 0 0 3px rgba(255,77,0,.10); }

/* ===================== HORIZONTAL SCROLL PATTERN ===================== */
.lb-hscroll {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    scrollbar-width: none;
}
.lb-hscroll::-webkit-scrollbar { display: none; }
.lb-hscroll__track {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    min-width: 100%;
}
#catScroller { display: flex; }
#catScroller .lb-hscroll__track { min-width: 0; margin-inline: auto; }
.lb-hscroll__track--chips { align-items: center; gap: 8px; padding: 9px 16px 6px; }

/* ===================== CATEGORY TILES ===================== */
.lb-catbar { background: var(--lb-bg); border-bottom: 1px solid var(--lb-border); }
#catScroller .lb-hscroll__track { gap: 18px; padding: 14px 16px 16px; }
.lb-cat-tile {
    flex: 0 0 auto;
    width: 76px;
    background: transparent;
    border: 0;
    padding: 0;
    text-align: center;
    cursor: pointer;
}
.lb-cat-tile__imgwrap {
    width: 70px; height: 70px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    background: var(--lb-surface);
    border: 2px solid var(--lb-border);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.lb-cat-tile:hover .lb-cat-tile__imgwrap { border-color: var(--lb-primary); transform: translateY(-2px); box-shadow: var(--lb-shadow-md); }
.lb-cat-tile.is-active .lb-cat-tile__imgwrap { border-color: var(--lb-primary); box-shadow: 0 0 0 3px rgba(255,77,0,.18); }
.lb-cat-tile__img { width: 100%; height: 100%; object-fit: cover; }
.lb-cat-tile__label {
    display: block;
    margin-top: 7px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--lb-text);
    line-height: 1.25;
    max-width: 76px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.lb-cat-tile.is-active .lb-cat-tile__label { color: var(--lb-primary); font-weight: 800; }

/* ===================== GLOBALE HAUPTKATEGORIEN ===================== */
.lb-globcat { background: #fff; border-bottom: 1px solid var(--lb-border); }
.lb-globcat .lb-hscroll { display: flex; }
.lb-globcat__track { gap: 22px; padding: 12px 16px; margin-inline: auto; min-width: 0; }
.lb-globcat__item { text-decoration: none; color: var(--lb-text); display: block; cursor: pointer; }
.lb-globcat__item:hover .lb-cat-tile__label { color: var(--lb-primary); }
.lb-globcat__item.is-active .lb-cat-tile__imgwrap { border-color: var(--lb-primary); box-shadow: 0 0 0 3px rgba(255,77,0,.18); }

/* ===================== DESKTOP LAYOUT: SIDEBAR + CONTENT ===================== */
.lb-marketplace-layout { display: block; }
.lb-sidefilters { display: none; }

@media (min-width: 1024px) {
    .lb-chipbar,
    .lb-controls,
    .lb-filters,
    .lb-drawer-backdrop { display: none !important; }

    .lb-marketplace-layout {
        display: grid;
        grid-template-columns: 250px minmax(0, 1fr);
        gap: 32px;
        align-items: start;
    }
    @media (min-width: 1280px) {
        .lb-marketplace-layout { grid-template-columns: 260px minmax(0, 1fr); }
    }

    .lb-sidefilters {
        display: block;
        position: sticky;
        top: 86px;
        background: transparent;
        border: 0;
        box-shadow: none;
        padding: 2px;
    }
}

.lb-contentcol { min-width: 0; }

/* Results head: Suche + Sortieren */
.lb-resultshead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 0;
    margin-bottom: 12px;
}
.lb-search--content { flex: 1 1 420px; max-width: 520px; margin-top: 0; }
.lb-sortwrap { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.lb-sortwrap__label { color: var(--lb-muted); font-size: .9rem; font-weight: 600; }

/* Küchen-Kacheln innerhalb des Contents zentriert */
.lb-contentcol .lb-catbar { background: transparent; border-bottom: 1px solid var(--lb-border); border-radius: var(--lb-radius); margin-bottom: 6px; }
#catScroller .lb-hscroll__track { margin-inline: auto; }

/* ===================== MAIN LIST ===================== */
.lb-main { padding: 8px 0 30px; }
.lb-listhead { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.lb-listhead h2 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 800; letter-spacing: -.01em; margin: 0; }
.lb-listhead select.lb-select {
    appearance: none;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M6 8 0 0h12z'/%3E%3C/svg%3E") no-repeat right 14px center;
    border: 1px solid var(--lb-border);
    border-radius: 999px;
    padding: 9px 36px 9px 16px;
    font-size: .88rem;
    font-weight: 600;
    color: var(--lb-text);
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.lb-listhead select.lb-select:hover,
.lb-listhead select.lb-select:focus { border-color: var(--lb-primary); outline: none; box-shadow: 0 0 0 3px rgba(255,77,0,.10); }

.lb-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(280px, 1fr));
    gap: 20px;
    align-items: start;
    width: 100%;
    max-width: 100%;
}
.lb-grid__heading {
    grid-column: 1 / -1;
    margin: 8px 0 -4px;
    color: var(--lb-text);
    font-size: 1.15rem;
    font-weight: 800;
}
.lb-grid__section {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(280px, 1fr));
    gap: 20px;
    align-items: start;
    width: 100%;
}
.lb-grid__section .lb-grid__heading { margin-top: 0; }
.lb-grid .lb-card { width: 100%; min-width: 0; max-width: 100%; }
.lb-grid .lb-card { align-self: start; }
#restaurant-results { min-width: 0; max-width: 100%; }
@media (max-width: 1199.98px) { .lb-grid { grid-template-columns: repeat(2, minmax(260px, 1fr)); gap: 18px; } }
@media (max-width: 1199.98px) { .lb-grid__section { grid-template-columns: repeat(2, minmax(260px, 1fr)); gap: 18px; } }
@media (max-width: 639.98px) { .lb-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 639.98px) { .lb-grid__section { grid-template-columns: minmax(0, 1fr); } }

/* ===================== FILTER DRAWER / PANEL ===================== */
.lb-filterbtn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--lb-border);
    border-radius: 999px;
    padding: 8px 17px;
    font-weight: 700;
    font-size: .86rem;
    color: var(--lb-text);
    cursor: pointer;
    white-space: nowrap;
    transition: all .18s ease;
}
.lb-filterbtn:hover { border-color: var(--lb-primary); color: var(--lb-primary); }
.lb-drawer-backdrop {
    position: fixed; inset: 0;
    background: rgba(17,24,39,.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    z-index: 1090;
}
.lb-drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }
.lb-filters {
    position: fixed;
    z-index: 1100;
    top: 0; right: 0; bottom: 0;
    width: 360px;
    max-width: 92vw;
    background: #fff;
    box-shadow: -12px 0 40px rgba(0,0,0,.16);
    transform: translateX(105%);
    transition: transform .28s cubic-bezier(.33,1,.68,1);
    overflow-y: auto;
    padding: 20px;
}
.lb-filters.is-open { transform: translateX(0); }
@media (max-width: 767.98px) {
    .lb-filters {
        top: auto;
        left: 0; right: 0; bottom: 0;
        width: auto;
        max-width: none;
        max-height: 82vh;
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -12px 40px rgba(0,0,0,.18);
        transform: translateY(105%);
    }
    .lb-filters.is-open { transform: translateY(0); }
}
.lb-filters__head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 4px;
}
.lb-filters__title { font-size: 1.05rem; font-weight: 800; margin: 0; }
.lb-filters__close { border: 0; background: transparent; font-size: 1.25rem; color: var(--lb-muted); cursor: pointer; width: 34px; height: 34px; border-radius: 50%; transition: background-color .2s ease; }
.lb-filters__close:hover { background: var(--lb-surface); color: var(--lb-text); }
.lb-filter-group { border-bottom: 1px solid var(--lb-border); padding: 14px 0; }
.lb-filter-group:last-of-type { border-bottom: 0; }
.lb-filter-group__label {
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--lb-muted);
    margin-bottom: 8px;
    display: block;
}
.lb-check {
    display: flex; align-items: center; gap: 10px;
    padding: 6px 0;
    font-size: .92rem;
    cursor: pointer;
    user-select: none;
}
.lb-check input { width: 17px; height: 17px; accent-color: var(--lb-primary); cursor: pointer; flex: 0 0 auto; }
.lb-check:hover span { color: var(--lb-primary); }
.lb-menu-tag-icon { width: 16px !important; max-width: 16px !important; height: 16px !important; max-height: 16px !important; display: inline-flex; align-items: center; justify-content: center; object-fit: contain; margin-right: 4px; vertical-align: -2px; font-size: 0.9rem !important; line-height: 1 !important; flex: 0 0 16px; }
.lb-check img.lb-menu-tag-icon { object-fit: contain; }
.lb-check > span { display: inline-flex; align-items: center; }
.lb-switchrow {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 7px 0;
    font-size: .92rem;
    cursor: pointer;
}
.lb-switch { position: relative; width: 40px; height: 22px; flex: 0 0 auto; }
.lb-switch input { opacity: 0; width: 100%; height: 100%; margin: 0; position: absolute; inset: 0; cursor: pointer; z-index: 2; }
.lb-switch__track { position: absolute; inset: 0; background: #d7d9de; border-radius: 999px; transition: background-color .2s ease; }
.lb-switch__track::after {
    content: "";
    position: absolute;
    top: 2px; left: 2px;
    width: 18px; height: 18px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,.25);
    transition: transform .2s ease;
}
.lb-switch input:checked + .lb-switch__track { background: var(--lb-primary); }
.lb-switch input:checked + .lb-switch__track::after { transform: translateX(18px); }
.lb-reset-btn {
    width: 100%;
    margin-top: 16px;
    border: 1px solid var(--lb-border);
    background: #fff;
    color: var(--lb-text);
    font-weight: 700;
    font-size: .92rem;
    border-radius: 999px;
    padding: 11px 16px;
    cursor: pointer;
    transition: all .2s ease;
}
.lb-reset-btn:hover { border-color: var(--lb-primary); color: var(--lb-primary); }

/* ===================== RESTAURANT CARD V2 ===================== */
.lb-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 0;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: var(--lb-text);
    box-shadow: 0 2px 12px rgba(17, 24, 39, .10);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    animation: lbFadeUp .4s ease both;
}
@keyframes lbFadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .lb-card { animation: none; }
}
.lb-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--lb-shadow-md);
    border-color: #d7d9de;
    color: var(--lb-text);
    text-decoration: none;
}
.lb-card__media {
    position: relative;
    aspect-ratio: 1.92 / 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: visible;
    background: linear-gradient(135deg, #f2efec, #e8e4df);
}
.lb-card__img {
    width: 100%;
    height: 0;
    min-height: 0;
    flex: 1 1 0;
    object-fit: cover;
    display: block;
    border-radius: 0;
    transition: transform .4s ease;
}
.lb-card:hover .lb-card__img { transform: scale(1.035); }
.lb-card__placeholder {
    position: absolute;
    top: 30px;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.2rem; color: #c9c4bd;
}
.lb-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; max-width: calc(100% - 60px); }
.lb-badge {
    display: inline-flex; align-items: center; gap: 5px;
    background: rgba(255,255,255,.96);
    color: var(--lb-text);
    font-size: .72rem;
    font-weight: 800;
    border-radius: 999px;
    padding: 4px 10px;
    box-shadow: var(--lb-shadow);
    line-height: 1.3;
}
.lb-badge--orange { background: var(--lb-primary); color: #fff; }
.lb-badge--dark { background: rgba(31,41,55,.88); color: #fff; }
.lb-card__timebadge {
    position: absolute;
    bottom: 10px; left: 10px;
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(4px);
    color: var(--lb-text);
    font-size: .76rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 5px 10px;
    box-shadow: var(--lb-shadow);
}
.lb-heart {
    position: static;
    width: 32px; height: 32px;
    display: inline-flex; align-items: center; justify-content: center;
    background: transparent;
    border: 0;
    border-radius: 50%;
    color: #4b5563;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: none;
    transition: transform .2s ease, color .2s ease;
    z-index: 2;
}
.lb-heart:hover { transform: scale(1.1); color: var(--lb-primary); }
.lb-heart.is-active { color: var(--lb-primary); }
.lb-heart.is-active svg { fill: currentColor; }
.lb-heart--card {
    flex: 0 0 32px;
    padding: 4px;
}
.lb-heart--card svg {
    display: block;
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.lb-card__logo-overlay {
    position: absolute;
    left: 12px;
    bottom: -24px;
    z-index: 3;
    width: 52px;
    height: 52px;
    padding: 3px;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 2px 9px rgba(17, 24, 39, .18);
}
.lb-card__logo-overlay img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
.lb-card__sponsored {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 2;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(20, 20, 20, .88);
    color: #fff;
    font-size: .68rem;
    line-height: 1.25;
}
.lb-card__body { display: flex; flex-direction: column; gap: 5px; padding: 12px 14px 12px; flex: 0 0 auto; }
.lb-card__body.has-logo { padding-top: 28px; }
.lb-card__status {
    margin: 0;
    position: relative;
    inset: auto;
    flex: 0 0 30px;
    width: 100%;
    z-index: 4;
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px 14px 0 0;
    background: #eeeae4;
    color: #343434;
    font-size: .82rem;
}
.lb-card__status.is-closed { color: #7f1d1d; background: #f5e7e4; }
.lb-card__tags {
    position: absolute;
    top: 35px;
    left: 10px;
    right: 10px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    pointer-events: none;
}
.lb-card__tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--lb-tag-background, #fff4bd);
    color: var(--lb-tag-color, #4b3429);
    box-shadow: 0 2px 8px rgba(55, 43, 39, .16);
    font-size: .76rem;
    font-weight: 800;
    line-height: 1.25;
}
.lb-card__tag i { flex: 0 0 auto; }
.lb-card__tag-icon { flex: 0 0 auto; font-size: 1rem; line-height: 1; }
.lb-card__tag span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-card__name-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; }
.lb-card__name-link { color: var(--lb-text); min-width: 0; }
.lb-card__name-link:hover { color: var(--lb-text); }
.lb-card__logo {
    width: 38px; height: 38px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid var(--lb-border);
    background: #fff;
    flex: 0 0 auto;
}
.lb-card__logo-fallback {
    width: 38px; height: 38px;
    border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--lb-primary-soft);
    color: var(--lb-primary);
    font-weight: 800;
    font-size: .98rem;
    flex: 0 0 auto;
}
.lb-card__name {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -.01em;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}
.lb-card__summary { display: flex; align-items: center; min-width: 0; gap: 5px; font-size: .84rem; }
.lb-card__separator { color: var(--lb-muted); }
.lb-rating { display: inline-flex; align-items: center; gap: 4px; font-size: .84rem; font-weight: 800; white-space: nowrap; }
.lb-rating .fa-star { color: #30343b; font-size: .78rem; }
.lb-rating__count { color: var(--lb-muted); font-weight: 500; }
.lb-cuisines {
    color: var(--lb-muted);
    font-size: .84rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.lb-card__facts { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: #4b5563; font-size: .84rem; }
.lb-card__facts span { display: inline-flex; align-items: center; gap: 5px; }
.lb-card__facts i, .lb-card__delivery i { color: #6b7280; width: 14px; text-align: center; }
.lb-card__delivery { display: flex; align-items: center; gap: 6px; color: #6b7280; font-size: .84rem; }
.lb-card__meta { display: flex; align-items: center; gap: 4px; color: var(--lb-muted); font-size: .82rem; flex-wrap: nowrap; white-space: nowrap; overflow: hidden; }
.lb-card__meta-item { white-space: nowrap; }
.lb-card__offer {
    margin-top: 3px;
    color: var(--lb-primary);
    font-size: .83rem;
    font-weight: 700;
    display: inline-flex; align-items: center; gap: 6px;
}

/* ===================== TOP PARTNERS / RECO SECTIONS / OFFERS ===================== */
.lb-section { padding: 22px 0; }
.lb-section--tint { background: var(--lb-bg); border-top: 1px solid var(--lb-border); border-bottom: 1px solid var(--lb-border); }
.lb-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.lb-section__title { font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 800; letter-spacing: -.01em; margin: 0; }
.lb-section__link { color: var(--lb-primary); font-weight: 700; font-size: .92rem; text-decoration: none; }
.lb-section__link:hover { text-decoration: underline; color: var(--lb-primary-hover); }
.lb-carousel-wrap { position: relative; }
.lb-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 4px 2px 12px;
    scrollbar-width: none;
}
.lb-carousel::-webkit-scrollbar { display: none; }
.lb-carousel > * { flex: 0 0 320px; }
@media (max-width: 575.98px) { .lb-carousel > * { flex-basis: min(320px, 82vw); } }
.lb-carousel-nav {
    position: absolute;
    top: 38%;
    width: 40px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    background: #fff;
    border: 1px solid var(--lb-border);
    border-radius: 50%;
    color: var(--lb-text);
    cursor: pointer;
    box-shadow: var(--lb-shadow-md);
    transition: all .2s ease;
    z-index: 2;
}
.lb-carousel-nav:hover { background: var(--lb-primary); border-color: var(--lb-primary); color: #fff; }
.lb-carousel-nav--prev { left: -14px; }
.lb-carousel-nav--next { right: -14px; }
@media (max-width: 767.98px) { .lb-carousel-nav { display: none; } }

.lb-promo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.lb-promo {
    position: relative;
    border-radius: var(--lb-radius-lg);
    overflow: hidden;
    min-height: 170px;
    display: flex;
    align-items: flex-end;
    box-shadow: var(--lb-shadow);
    transition: transform .22s ease, box-shadow .22s ease;
}
.lb-promo:hover { transform: translateY(-3px); box-shadow: var(--lb-shadow-lg); }
.lb-promo img.lb-promo__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lb-promo__content {
    position: relative;
    width: 100%;
    padding: 18px;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,.55));
    color: #fff;
}
.lb-promo__title { font-size: 1.12rem; font-weight: 800; margin: 0 0 2px; }
.lb-promo__sub { font-size: .88rem; opacity: .92; margin: 0 0 10px; }
.lb-promo__btn {
    display: inline-block;
    background: #fff;
    color: #111827;
    font-size: .82rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 7px 16px;
    text-decoration: none;
    transition: transform .2s ease;
}
.lb-promo__btn:hover { transform: translateY(-1px); text-decoration: none; color: #111827; }

/* ===================== EMPTY STATE ===================== */
.lb-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 70px 20px;
    background: #fff;
    border: 1px dashed var(--lb-border);
    border-radius: var(--lb-radius-lg);
}
.lb-empty__icon {
    width: 74px; height: 74px;
    margin: 0 auto 16px;
    display: flex; align-items: center; justify-content: center;
    background: var(--lb-primary-soft);
    color: var(--lb-primary);
    font-size: 1.7rem;
    border-radius: 50%;
}
.lb-empty h3 { font-size: 1.3rem; font-weight: 800; margin: 0 0 6px; }
.lb-empty p { color: var(--lb-muted); margin: 0 0 18px; }
.lb-empty button {
    border: 0;
    background: var(--lb-primary);
    color: #fff;
    font-weight: 700;
    border-radius: 999px;
    padding: 11px 26px;
    cursor: pointer;
    transition: background-color .2s ease;
}
.lb-empty button:hover { background: var(--lb-primary-hover); }

/* ===================== SKELETONS / LOAD MORE ===================== */
.lb-sk { background: linear-gradient(90deg, #eeeceb 25%, #f6f5f4 37%, #eeeceb 63%); background-size: 400% 100%; animation: lbShimmer 1.3s ease infinite; border-radius: 10px; }
@keyframes lbShimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.lb-sk-card { background: #fff; border: 1px solid var(--lb-border); border-radius: var(--lb-radius-lg); overflow: hidden; }
.lb-sk-media { aspect-ratio: 16 / 9; border-radius: 0; }
.lb-sk-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.lb-sk-line { height: 12px; }
.lb-sk-line--w60 { width: 60%; }
.lb-sk-line--w40 { width: 40%; }
.lb-sk-line--w80 { width: 80%; }
.lb-loadmore { display: flex; justify-content: center; padding: 30px 0 6px; }
.lb-loadmore button {
    border: 1px solid var(--lb-border);
    background: #fff;
    color: var(--lb-text);
    font-weight: 700;
    border-radius: 999px;
    padding: 12px 30px;
    cursor: pointer;
    transition: all .2s ease;
}
.lb-loadmore button:hover { border-color: var(--lb-primary); color: var(--lb-primary); }

/* ===================== BANNERS ===================== */
.marketplace-banners { padding: 10px 0 0; }
.lb-seo-hero { padding-top: 0; }
.lb-seo-hero__single, .lb-seo-hero__fallback {
    position: relative; min-height: var(--banner-desktop-height, 260px); overflow: hidden;
    display: flex; align-items: center; border-radius: var(--lb-radius-lg); box-shadow: var(--lb-shadow-md);
}
.lb-seo-hero__fallback { background: linear-gradient(110deg, #fff3eb, #fff); }
.lb-seo-hero__content { position: relative; z-index: 2; width: min(48%, 560px); padding: 34px 42px; color: #172033; }
.lb-seo-hero__eyebrow { display: block; margin-bottom: 8px; color: var(--lb-primary); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.lb-seo-hero__content h1 { margin: 0 0 10px; font-size: clamp(1.8rem, 3.2vw, 3rem); line-height: 1.05; font-weight: 800; letter-spacing: -.03em; }
.lb-seo-hero__content p { max-width: 44ch; margin: 0 0 14px; font-size: 1rem; line-height: 1.45; }
.lb-seo-hero__badge { display: inline-block; color: var(--lb-primary); font-size: .85rem; font-weight: 800; }
.lb-seo-hero .banner-media__overlay { background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.78) 42%, rgba(255,255,255,.04) 78%); }
.lb-seo-hero .banner-carousel { min-height: var(--banner-desktop-height, 260px); padding: 0; }
.lb-seo-hero .banner-carousel .banner-slide.active { min-height: var(--banner-desktop-height, 260px); }
.lb-seo-hero__overlay-content { position: absolute; inset: 0 auto 0 0; display: flex; flex-direction: column; justify-content: center; }
.banner-single, .banner-carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    max-width: var(--banner-desktop-width, 100%);
    margin: 0 auto;
    border-radius: var(--lb-radius-lg);
    overflow: hidden;
    min-height: var(--banner-desktop-height, 220px);
    padding: 24px 28px;
    box-shadow: var(--lb-shadow-md);
}
.banner-carousel { padding: 0; }
.banner-carousel .banner-slide {
    display: none;
    position: relative;
    width: 100%;
    max-width: var(--banner-desktop-width, 100%);
    min-height: var(--banner-desktop-height, 220px);
    margin: 0 auto;
    overflow: hidden;
}
.banner-carousel .banner-slide.active { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.banner-media { position: absolute; inset: 0; z-index: 0; display: block; width: 100%; height: 100%; }
.banner-media__image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.banner-media__overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(17, 24, 39, .18), rgba(17, 24, 39, .04)); pointer-events: none; }
.banner-content { position: relative; z-index: 2; }
.banner-title { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 800; margin: 0 0 4px; letter-spacing: -.01em; }
.banner-subtitle { font-size: .95rem; opacity: .9; margin: 0 0 14px; max-width: 46ch; }
.banner-button {
    display: inline-block;
    background: #fff;
    color: #111827;
    font-size: .85rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 9px 20px;
    text-decoration: none;
    transition: transform .2s ease;
}
.banner-button:hover { transform: translateY(-1px); text-decoration: none; color: #111827; }
.banner-image { display: none; }
.banner-image picture { display: block; }
.banner-img { display: block; height: 150px; width: auto; max-width: min(42vw, 420px); object-fit: cover; border-radius: var(--lb-radius); }
.banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px; height: 34px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.92);
    border: 0;
    border-radius: 50%;
    color: #1f2937;
    cursor: pointer;
    box-shadow: var(--lb-shadow);
    transition: all .2s ease;
    z-index: 2;
}
.banner-nav:hover { background: #fff; color: var(--lb-primary); }
.banner-prev { left: 12px; }
.banner-next { right: 12px; }
@media (max-width: 575.98px) {
    .lb-seo-hero__single, .lb-seo-hero__fallback, .lb-seo-hero .banner-carousel, .lb-seo-hero .banner-carousel .banner-slide.active { min-height: var(--banner-mobile-height, 190px); }
    .lb-seo-hero__content { width: 100%; padding: 24px 22px; }
    .lb-seo-hero__content h1 { font-size: clamp(1.55rem, 8vw, 2.15rem); max-width: 12ch; }
    .lb-seo-hero__content p { max-width: 34ch; font-size: .88rem; }
    .lb-seo-hero .banner-media__overlay { background: linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.82) 58%, rgba(255,255,255,.12) 100%); }
    .banner-single, .banner-carousel .banner-slide.active {
        width: var(--banner-mobile-width, 100%);
        max-width: var(--banner-mobile-width, 100%);
        min-height: var(--banner-mobile-height, 140px);
        padding: 18px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
    }
    .banner-media__overlay { background: linear-gradient(180deg, rgba(17, 24, 39, .08), rgba(17, 24, 39, .18)); }
    .banner-content { width: 100%; }
    .banner-image { display: none; }
    .banner-img { height: auto; width: 100%; max-width: 100%; max-height: 180px; }
    .banner-nav { width: 30px; height: 30px; }
    .banner-prev { left: 10px; }
    .banner-next { right: 10px; }
}

/* ===================== HOW IT WORKS STRIP ===================== */
.lb-how__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; }
.lb-how__step {
    background: #fff;
    border: 1px solid var(--lb-border);
    border-radius: var(--lb-radius-lg);
    padding: 22px;
    text-align: center;
    box-shadow: var(--lb-shadow);
}
.lb-how__emoji { font-size: 1.9rem; margin-bottom: 10px; }
.lb-how__step h3 { font-size: 1rem; font-weight: 800; margin: 0 0 4px; }
.lb-how__step p { color: var(--lb-muted); font-size: .88rem; margin: 0; }

@media (max-width: 575.98px) {
    .lb-controls { padding: 16px 0 14px; }
    .lb-controls__row { gap: 14px; flex-direction: column; align-items: flex-start; }
    .lb-segment .lb-segment__btn { padding: 9px 20px; font-size: .92rem; }
    .lb-search--list { width: 100%; margin-top: 0; }
    #catScroller .lb-hscroll__track { padding-top: 10px; padding-bottom: 12px; }
    .lb-hscroll__track--chips { padding-top: 8px; padding-bottom: 3px; }
    .lb-main { padding-top: 6px; }
    .lb-listhead { margin-bottom: 12px; }
}

/* Keep all checkout controls above the mobile browser auto-zoom threshold. */
@media (max-width: 767.98px) {
    .rf-checkout input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
    .rf-checkout textarea,
    .rf-checkout select,
    .rf-checkout .form-control,
    .rf-checkout .form-select {
        font-size: 16px !important;
    }
}
/* ===================== PHASE 1.8 MOBILE COMPACT ===================== */
.lb-catbar--mobile { display: none; }
@media (max-width: 767.98px) {
    .lb-catbar--mobile { display: block; background: #fff; border-bottom: 1px solid var(--lb-border); }
    .lb-catbar--content { display: none !important; }

    .lb-kitchenhead {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        padding: 12px 16px 0;
    }
    .lb-kitchenhead h3 { font-size: 1.02rem; font-weight: 800; margin: 0; letter-spacing: -.01em; }
    .lb-kitchenhead__all { border: 0; background: transparent; color: var(--lb-primary); font-weight: 700; font-size: .84rem; cursor: pointer; padding: 4px 2px; }
    #catScrollerM .lb-hscroll__track { gap: 14px; padding: 10px 16px 12px; margin-inline: auto; min-width: 0; }
    #catScrollerM { display: flex; }
    .lb-catbar--mobile .lb-cat-tile { width: 70px; }
    .lb-globcat__item .lb-cat-tile__imgwrap,
    .lb-catbar--mobile .lb-cat-tile__imgwrap {
        width: 54px; height: 54px;
        border-color: transparent;
        background: #f6f5f3;
        font-size: 1.35rem;
    }
    .lb-catbar--mobile .lb-cat-tile.is-active .lb-cat-tile__imgwrap,
    .lb-globcat__item.is-active .lb-cat-tile__imgwrap { border-color: var(--lb-primary); background: var(--lb-primary-soft); }

    .lb-controls { padding: 10px 12px 12px; }
    .lb-controls .container { padding-inline: 12px; }
    .lb-controls__row { gap: 10px; flex-direction: column; align-items: stretch; }
    .js-lb-order-segment, .lb-segment { width: 100%; }
    .lb-segment .lb-segment__btn { flex: 1 1 0; justify-content: center; padding: 11px 8px; font-size: .95rem; }
    .lb-segment__btn.is-active { background: #fff; color: var(--lb-primary); box-shadow: 0 2px 10px rgba(16,24,40,.14); }
    .lb-segment__btn.is-active:hover { background: #fff; color: var(--lb-primary); }
    .lb-search--list input { height: 46px; }
    .lb-search--list { border-radius: 23px; }

    .lb-chipbar { padding: 0; }
    .lb-hscroll__track--chips { padding: 9px 12px 4px; }
    .lb-main { padding-top: 4px; }
}

/* LOGIN SCREEN REFINEMENT */
body:has(.lb-login-page) > header.header { display: none !important; }
.lb-login-page { min-height: 100vh; padding: 16px 14px 30px; }
.lb-login-card { width: min(100%, 360px); min-height: 570px; padding: 14px; border-radius: 22px; }
.lb-login-heart { height: 45px; font-size: 3.25rem; }
.lb-login-heart:before { content: '✧'; position: absolute; top: 0; left: calc(50% - 39px); font-size: 1.15rem; }
.lb-login-heart:after { content: '✧'; position: absolute; top: 7px; right: calc(50% - 41px); font-size: .9rem; }
.lb-login-card form .form-control { min-height: 44px; font-size: 16px; }
.lb-login-decoration { position: absolute; left: 0; right: 0; bottom: 18px; margin: 0; padding-top: 25px; }
.lb-login-decoration:before { content: '⌂  ▥ ▥ ▥  ⌂  ▥  ⌂'; position: absolute; left: 18px; right: 18px; bottom: 26px; color: #ffd0be; font-family: Georgia,serif; font-size: 2rem; letter-spacing: 2px; white-space: nowrap; overflow: hidden; }
.lb-login-page { padding-top: 16px; }
.lb-login-card { width: min(100%, 360px); min-height: 570px; padding: 14px; }
.lb-login-card form .input-group { display: block; width: 100%; }
.lb-login-card form .form-control { display: block; width: 100%; min-height: 44px; font-size: 16px; }
.lb-login-card form .btn-primary { color: #fff !important; }
.lb-login-decoration { display: none !important; }
body:has(.lb-login-page) > header.header { display: block !important; }
.lb-login-card form .form-control:focus { border-color: #b8c0ca !important; outline: none !important; box-shadow: none !important; }
.lb-login-card form .form-group:nth-last-of-type(2):after { content: none !important; }
.lb-login-remember-row { position: relative; }
.lb-login-forgot { margin-left: auto; color: #e84500; font-size: .7rem; text-decoration: underline; white-space: nowrap; }
.lb-login-forgot:hover { color: #c83b00; }

/* ACCOUNT REGISTER */
.lb-register-page { min-height: 100vh; display: flex; justify-content: center; padding: 18px 14px 30px; background: #f7f7f7; }.lb-register-card { width: min(100%, 390px); padding: 14px 16px 24px; border: 1px solid #edf0f2; border-radius: 20px; background: #fff; box-shadow: 0 8px 24px rgba(15,23,42,.08); }.lb-register-card h1 { margin: 0; color: #172033; font-size: 1.55rem; font-weight: 800; }.lb-register-subtitle { margin: 2px 0 12px; color: #374151; font-size: .8rem; }.lb-register-field { position: relative; display: flex; align-items: center; min-height: 39px; margin-top: 8px; border: 1px solid #dfe3e8; border-radius: 7px; background: #fff; }.lb-register-field > i:first-child { width: 43px; text-align: center; color: #697586; font-size: .95rem; }.lb-register-field input { flex: 1; min-width: 0; width: 100%; height: 37px; border: 0; outline: 0; padding: 7px 8px 7px 0; background: transparent; color: #172033; font-size: 16px; }.lb-register-field input::placeholder { color: #697586; opacity: 1; }.lb-register-trailing-icon { width: 37px; color: #697586; text-align: center; }.lb-register-card .text-danger { display: block; margin: 3px 4px 0; color: #dc163f; font-size: .68rem; }.lb-register-check { display: flex; align-items: flex-start; gap: 8px; margin: 9px 2px 0; color: #172033; font-size: .68rem; line-height: 1.35; }.lb-register-check input { width: 17px; height: 17px; flex: 0 0 auto; margin: 0; accent-color: #ff4d00; }.lb-register-check a { color: #e84500; text-decoration: underline; }.lb-register-submit { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 43px; margin-top: 13px; border: 0; border-radius: 8px; background: #ff4d00; color: #fff; font-size: .88rem; font-weight: 800; cursor: pointer; }.lb-register-submit span { font-size: 1.3rem; line-height: 1; }.lb-register-divider { display: flex; align-items: center; gap: 10px; margin: 14px 0 8px; color: #8b95a3; font-size: .72rem; }.lb-register-divider:before,.lb-register-divider:after { content: ''; flex: 1; height: 1px; background: #e5e7eb; }.lb-register-login { display: block; text-align: center; color: #e84500; font-size: .8rem; font-weight: 700; text-decoration: underline; }.lb-register-login:hover { color: #c83b00; }
@media (max-width: 767.98px) { .lb-register-page { padding: 10px 12px 24px; }.lb-register-card { width: 100%; padding: 14px 12px 22px; border-radius: 18px; } }
.lb-register-card { width: min(100%, 480px); padding: 18px 22px 28px; }
.lb-register-field { min-height: 44px; }
.lb-register-field:focus-within { border-color: #b8c0ca; box-shadow: none; outline: none; }
.lb-register-field input { height: 42px; outline: 0 !important; box-shadow: none !important; }
.lb-register-field input:focus { outline: 0 !important; box-shadow: none !important; }
@media (max-width: 767.98px) { .lb-register-card { width: 100%; padding: 14px 12px 22px; } }
