/* Friend's — dark ementa (mockup ~1:1) */

.flb-dark {
    --flb-accent: #e8a830;
    --flb-accent-dim: rgba(232, 168, 48, 0.14);
    --flb-bg: #000000;
    --flb-surface: #141414;
    --flb-surface2: #1c1c1c;
    --flb-surface3: #222222;
    --flb-border: rgba(255, 255, 255, 0.1);
    --flb-text: #ffffff;
    --flb-muted: rgba(255, 255, 255, 0.5);
    --flb-radius: 16px;
    --flb-radius-sm: 12px;
    --flb-gutter: 16px;
    background: var(--flb-bg);
    color: var(--flb-text);
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.flb-dark #panel,
.flb-dark main#panel,
.flb-dark .pedido_cliente_content_container,
.flb-dark .pedido_cliente_content_wrapper,
.flb-dark .pedido_cliente_top_banner_container {
    background: var(--flb-bg) !important;
}

main#panel:has(.flb-dark) {
    background-color: #000 !important;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body:has(.flb-dark) {
    overflow-x: hidden;
    background: #000;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html:has(.flb-dark),
body:has(.flb-dark),
main#panel:has(.flb-dark) {
    color-scheme: dark;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html:has(.flb-dark)::-webkit-scrollbar,
body:has(.flb-dark)::-webkit-scrollbar,
main#panel:has(.flb-dark)::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.flb-dark.flb_shell {
    padding-top: 0 !important;
}

.flb-dark .pedido_cliente_top_banner_container {
    width: 100%;
    max-width: 100%;
}

.flb-dark .pedido_cliente_top_banner_wrapper {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
}

/* —— Hero —— */
.flb_hero_immersive {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    overflow: hidden;
    background: #0a0a0a;
    flex: 0 0 auto;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    padding-bottom: 0;
}

.flb_hero_immersive_content {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: calc(max(6px, env(safe-area-inset-top, 6px)) + 2px) var(--flb-gutter) 0;
    margin: 0;
}

.flb_hero_immersive_bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(1.5px) brightness(0.85) saturate(1.05);
    transform: scale(1.02);
    border-radius: 0;
    z-index: 0;
}

.flb_hero_immersive_shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0.05) 0%,
        rgba(0, 0, 0, 0.28) 50%,
        rgba(0, 0, 0, 0.65) 78%,
        rgba(0, 0, 0, 0.88) 94%,
        var(--flb-bg) 100%);
    z-index: 1;
}

.flb_hero_row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin-bottom: 10px;
    padding: 0;
}

.flb_hero_row--top {
    min-height: 60px;
    align-items: flex-end;
}

.flb_hero_logo {
    flex: 0 1 auto;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    min-width: 0;
    height: auto;
    margin: 0;
    padding: 0;
}

.flb_hero_logo img {
    height: 60px;
    width: auto;
    max-width: min(58vw, 200px);
    object-fit: contain;
    object-position: left bottom;
    display: block;
    margin: 0;
    padding: 0;
}

.flb_hero_loc {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
    font-size: 13px;
    font-weight: 500;
    color: var(--flb-text);
}

.flb_hero_loc > i:first-child {
    color: var(--flb-accent);
    font-size: 12px;
}

.flb_hero_loc_chevron {
    font-size: 10px;
    opacity: 0.7;
}

.flb_hero_user {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.flb_hero_row--top .flb_status_pill--hero {
    flex: 0 0 auto;
    margin: 0;
    padding: 6px 12px;
    height: auto;
    min-height: 0;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: 1px solid rgba(0, 0, 0, 0.45);
    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.92);
    max-width: 44vw;
    white-space: nowrap;
    line-height: 1.2;
    appearance: none;
    -webkit-appearance: none;
    gap: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.flb_hero_row--top .flb_status_pill--hero span {
    overflow: hidden;
    text-overflow: ellipsis;
}

.flb_hero_row--top .flb_status_pill--hero i {
    font-size: 10px;
    opacity: 1;
    flex-shrink: 0;
}

.flb_hero_row--top .flb_status_pill--hero.is-open {
    border-color: rgba(47, 140, 62, 0.75);
    background: rgba(8, 32, 14, 0.78);
    color: #7ee08a;
}

.flb_hero_row--top .flb_status_pill--hero.is-open i {
    color: #7ee08a;
}

.flb_status_pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(232, 168, 48, 0.55);
    background: rgba(0, 0, 0, 0.35);
    color: var(--flb-accent);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
}

.flb_status_pill.is-open {
    border-color: rgba(107, 203, 119, 0.55);
    color: #6bcb77;
}

/* —— Toolbar (tabs, search, pills) —— */
.flb_home_content {
    width: 100%;
    max-width: 100%;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* Home: hero + toolbar fixos; só a lista da ementa faz scroll */
.flb-dark .pedidocliente_wrapper {
    height: calc(100dvh - 50px - env(safe-area-inset-bottom));
    max-height: calc(100dvh - 50px - env(safe-area-inset-bottom));
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.flb-dark.flb_shell--cart .pedidocliente_wrapper {
    height: calc(100dvh - 104px - env(safe-area-inset-bottom));
    max-height: calc(100dvh - 104px - env(safe-area-inset-bottom));
}

.flb-dark .pedido_cliente_top_banner_container {
    flex: 1 1 auto;
    min-height: 0;
    height: auto !important;
    overflow: hidden !important;
    display: flex;
    flex-direction: column;
}

.flb-dark .pedido_cliente_top_banner_wrapper {
    flex: 0 0 auto;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden;
}

.flb-dark .flb_home_content {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.flb-dark .flb_home_toolbar {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.flb_home_rail {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding-left: var(--flb-gutter);
    padding-right: var(--flb-gutter);
    box-sizing: border-box;
}

.flb-dark #ementaCats.pedido_cliente_content_wrapper {
    flex: 1 1 auto;
    min-height: 0;
    height: auto !important;
    overflow-y: auto !important;
    overflow-x: hidden;
    position: relative;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    scroll-behavior: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.flb-dark #ementaCats.pedido_cliente_content_wrapper::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.flb_load_overlay {
    position: absolute;
    inset: 0;
    z-index: 4;
    background: var(--flb-bg);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.flb_load_overlay::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.flb_ementa_body.is-behind-load {
    visibility: hidden;
    pointer-events: none;
}

.flb_ementa_body:not(.is-behind-load) {
    animation: none;
}

.flb_home_content--has-switch,
.flb_home_content--loading {
    padding-top: 0;
}

.flb_home_content--loading .flb_home_loading {
    min-height: 120px;
    padding: 24px 16px 40px;
}

.flb_home_content--ready:not(.is-loading) {
    animation: none;
}

@keyframes flbContentIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes flbShimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.flb_skeleton {
    border-radius: 10px;
    background: linear-gradient(90deg, #181818 0%, #242424 45%, #181818 90%);
    background-size: 200% 100%;
    animation: flbShimmer 1.35s ease-in-out infinite;
}

.flb_home_toolbar--skeleton {
    padding-top: 0;
}

.flb_skeleton--search {
    height: 36px;
    margin: 0 0 8px;
    border-radius: 10px;
}

.flb_skeleton_pills {
    display: flex;
    gap: 6px;
    padding: 0 0 10px;
    overflow: hidden;
}

.flb_skeleton--pill {
    flex: 0 0 auto;
    width: 72px;
    height: 28px;
    border-radius: 999px;
}

.flb_skeleton--pill:nth-child(2) {
    width: 118px;
}

.flb_skeleton--pill:nth-child(3) {
    width: 96px;
}

.flb_skeleton--pill:nth-child(4) {
    width: 84px;
}

.flb_skeleton--pill:nth-child(5) {
    width: 104px;
}

.flb_skeleton_familias {
    padding: 0 0 8px;
    overflow: hidden;
}

.flb_skeleton_familia {
    margin-bottom: 26px;
}

.flb_skeleton_familia:last-child {
    margin-bottom: 10px;
}

.flb_skeleton_familia_head {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 4px 0 10px;
    min-height: 14px;
}

.flb_skeleton_section_title {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 58%;
    height: 14px;
    border-radius: 6px;
}

.flb_skeleton--more {
    flex: 0 0 auto;
    width: 72px;
    height: 14px;
    border-radius: 6px;
}

.flb_skeleton_rail {
    display: flex;
    flex-flow: row nowrap;
    gap: 10px;
    overflow: hidden;
    margin-right: calc(-1 * var(--flb-gutter));
    padding: 0 var(--flb-gutter) 6px 0;
}

.flb_skeleton_rail .flb_skeleton_card {
    flex: 0 0 calc((100% - 10px) / 2.3);
    width: calc((100% - 10px) / 2.3);
    max-width: calc((100% - 10px) / 2.3);
}

.flb_skeleton_card {
    background: var(--flb-surface);
    border: 1px solid var(--flb-border);
    border-radius: var(--flb-radius);
    overflow: hidden;
    padding-bottom: 10px;
}

.flb_skeleton--media {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 0;
    margin-bottom: 10px;
}

.flb_skeleton--line {
    height: 11px;
    margin: 0 10px 8px;
}

.flb_skeleton--line-short {
    width: 72%;
    margin-bottom: 10px;
}

.flb_skeleton--price {
    width: 38%;
    height: 12px;
    margin: 0 10px;
}

.flb_search_empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 36px 20px 20px;
    color: var(--flb-muted);
    text-align: center;
}

.flb_search_empty i {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.28);
}

.flb_search_empty p {
    margin: 0;
    font-size: 13px;
}

.flb_ementa_switch {
    display: flex;
    gap: 6px;
    padding: 0;
    width: 100%;
}

.flb_hero_switch_slot {
    position: relative;
    flex: 0 0 auto;
    height: auto;
    margin-top: 12px;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 0 var(--flb-gutter) 2px;
    box-sizing: border-box;
}

.flb_ementa_switch--skeleton {
    pointer-events: none;
}

.flb_skeleton--switch {
    flex: 1;
    height: 46px;
    border-radius: 8px;
}

.flb_ementa_switch--hero {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: 4;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    transform: none;
}

.flb_ementa_switch_btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    min-height: 34px;
    height: auto;
    padding: 5px 8px;
    border-radius: 8px;
    border: 1px solid var(--flb-border);
    background: rgba(20, 20, 20, 0.92);
    backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.62);
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.flb_ementa_switch_row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.flb_ementa_switch_btn.has-hint {
    padding-bottom: 4px;
}

.flb_ementa_switch_hint {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 3px;
    font-size: 10px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.2;
    white-space: nowrap;
}

.flb_ementa_switch_hint i {
    font-size: 9px;
    color: var(--flb-accent);
    opacity: 0.9;
    flex-shrink: 0;
}

.flb_ementa_switch_hint span {
    overflow: hidden;
    text-overflow: ellipsis;
}

.flb_ementa_switch_btn.is-active .flb_ementa_switch_hint {
    color: rgba(232, 168, 48, 0.75);
}

.flb_ementa_switch_icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    font-size: 14px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.68);
}

.flb_ementa_switch_icon img,
.flb_ementa_switch_icon svg {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.flb_ementa_switch_icon i {
    font-size: 14px;
    color: inherit;
}

.flb_ementa_switch_btn:not(.is-active) .flb_ementa_switch_icon svg,
.flb_ementa_switch_btn:not(.is-active) .flb_ementa_switch_icon img {
    filter: brightness(0) invert(1);
    opacity: 0.68;
}

.flb_ementa_switch_btn.is-active .flb_ementa_switch_icon svg,
.flb_ementa_switch_btn.is-active .flb_ementa_switch_icon img {
    filter: brightness(0) saturate(100%) invert(78%) sepia(48%) saturate(620%) hue-rotate(358deg) brightness(98%);
    opacity: 1;
}

.flb_ementa_switch_label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.flb_ementa_switch_btn.is-active {
    border-color: var(--flb-accent);
    color: var(--flb-accent);
    background: rgba(232, 168, 48, 0.06);
    box-shadow: none;
}

.flb_ementa_switch_btn.is-active .flb_ementa_switch_icon,
.flb_ementa_switch_btn.is-active .flb_ementa_switch_icon i {
    color: var(--flb-accent);
}

.flb_search {
    padding: 4px 0;
}

.flb-dark .flb_home_toolbar,
.flb-dark .flb_home_content {
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.flb-dark .flb_home_rail .flb_search,
.flb-dark .flb_home_rail .flb_smart_filters,
.flb-dark .flb_home_rail .flb_cat_pills,
.flb-dark .flb_home_rail .flb_skeleton_pills,
.flb-dark .flb_home_rail .flb_skeleton_familias,
.flb-dark .flb_home_rail .flb_search_empty,
.flb-dark .flb_home_rail .flb_reserve_card,
.flb-dark .flb_ementa_body.flb_home_rail > .pedido_cliente_inner_content_section_container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.flb-dark .flb_home_rail .pedido_cliente_inner_content_section_container .pedido_cliente_inner_content_section_container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-bottom: 26px;
}

.flb-dark .flb_home_rail .pedido_cliente_inner_content_section_container .pedido_cliente_inner_content_section_container:last-child {
    margin-bottom: 10px;
}

.flb-dark .flb_home_rail .flb_reserve_card {
    margin-top: 8px;
    margin-bottom: 20px;
}

.flb-dark .flb_home_rail .flb_cat_pills,
.flb-dark .flb_home_rail .flb_skeleton_pills {
    padding-bottom: 4px;
}

.flb-dark .pedido_cliente_content_wrapper > .pedido_cliente_inner_content_section_container {
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

.flb_search_box {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 10px;
    border-radius: 10px;
    background: var(--flb-surface2);
    border: 1px solid var(--flb-border);
}

.flb_search_box > i.fa-search {
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
    flex-shrink: 0;
}

.flb_search_box input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    color: var(--flb-text);
    font-size: 12px;
    outline: none;
}

.flb_search_box input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.flb_search_clear {
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.72);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 12px;
    transition: background 0.15s, color 0.15s;
}

.flb_search_clear:hover,
.flb_search_clear:focus {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    outline: none;
}

.flb_search_clear i {
    color: inherit;
}

.flb_search_filters_toggle {
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 12px;
    transition: background 0.15s, color 0.15s;
}

.flb_search_filters_toggle.is-active {
    background: var(--flb-accent-dim);
    color: var(--flb-accent);
}

.flb_search_filters_toggle:hover,
.flb_search_filters_toggle:focus {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    outline: none;
}

.flb_smart_filters {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 2px 0 6px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.flb_smart_filters::-webkit-scrollbar {
    display: none;
}

.flb_smart_filter {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.72);
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.flb_smart_filter i {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.55);
}

.flb_smart_filter.is-active {
    border-color: rgba(232, 168, 48, 0.55);
    background: var(--flb-accent-dim);
    color: var(--flb-accent);
}

.flb_smart_filter.is-active i {
    color: var(--flb-accent);
}

.flb_smart_filter--clear {
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* —— Category pills —— */
.flb_cat_pills {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 0 4px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
}

.flb_cat_pills::-webkit-scrollbar {
    display: none;
}

.flb_cat_pill {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 28px;
    min-width: 0;
    max-width: 168px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: var(--flb-surface2);
    color: rgba(255, 255, 255, 0.62);
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    scroll-snap-align: start;
}

.flb_cat_pill span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flb_cat_pill i {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.55);
}

.flb_cat_pill.is-active {
    background: var(--flb-surface3);
    border-color: var(--flb-accent);
    color: var(--flb-text);
}

.flb_cat_pill.is-active i {
    color: var(--flb-accent);
}

/* —— Mais pedidos —— */
.flb_mais_pedidos {
    margin: 4px 16px 14px;
    padding: 12px;
    border-radius: var(--flb-radius);
    background: var(--flb-surface);
    border: 1px solid var(--flb-border);
}

.flb_mais_pedidos_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.flb_mais_pedidos_head_text {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.flb_mais_pedidos_head_text > i {
    color: var(--flb-accent);
    font-size: 16px;
    margin-top: 2px;
}

.flb_mais_pedidos_head_text strong {
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.flb_mais_pedidos_head_text span {
    display: block;
    font-size: 10px;
    color: var(--flb-muted);
    margin-top: 1px;
}

.flb_mais_pedidos_more {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid rgba(232, 168, 48, 0.45);
    background: transparent;
    color: var(--flb-accent);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.flb_mais_pedidos_scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
}

.flb_mais_pedidos_scroll::-webkit-scrollbar {
    display: none;
}

.flb_mais_pedidos_item {
    flex: 0 0 auto;
    width: 64px;
    text-align: center;
}

.flb_mais_pedidos_item img {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid rgba(232, 168, 48, 0.35);
}

.flb_mais_pedidos_item span {
    display: block;
    margin-top: 4px;
    font-size: 9px;
    color: var(--flb-muted);
    line-height: 1.15;
    max-width: 64px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flb_familia_title {
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: var(--flb-muted) !important;
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 1 !important;
    flex: 1 1 auto;
    min-width: 0;
    line-height: 14px !important;
    height: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flb-dark .flb_familia_head,
.flb_familia_head {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 4px 0 10px;
    min-height: 14px;
}

.flb-dark .flb_familia_more,
.flb_familia_more {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 0;
    background: transparent;
    color: var(--flb-accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 14px;
    height: 14px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    white-space: nowrap;
}

.flb-dark .flb_familia_more i,
.flb_familia_more i {
    font-size: 8px;
    line-height: 14px;
    display: inline-flex;
    align-items: center;
}

.flb_familia_more--recolher {
    color: rgba(255, 255, 255, 0.55);
}

@media (min-width: 600px) {
    .flb_skeleton_rail .flb_skeleton_card {
        flex: 0 0 200px;
        width: 200px;
        max-width: 200px;
    }
}

.flb-dark .flb_familia_content {
    display: flex !important;
    flex-flow: row nowrap !important;
    grid-template-columns: unset !important;
    columns: unset !important;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    margin-right: calc(-1 * var(--flb-gutter));
    padding: 0 var(--flb-gutter) 6px 0;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.flb-dark .flb_familia_content::-webkit-scrollbar {
    display: none;
}

.flb-dark .flb_familia_content .flb_product_card {
    flex: 0 0 calc((100% - 10px) / 2.3);
    width: calc((100% - 10px) / 2.3);
    max-width: calc((100% - 10px) / 2.3);
    scroll-snap-align: start;
    contain-intrinsic-size: auto 220px;
}

.flb-dark .flb_familia_content--duo {
    overflow-x: hidden;
    margin-right: 0;
    padding-right: 0;
}

/* 2 itens: partilham a fila a 50/50 */
.flb-dark .flb_familia_content--duo .flb_product_card {
    flex: 1 1 0;
    width: auto;
    max-width: none;
    min-width: 0;
}

/* 1 item normal: mesmo tamanho visual de um card numa fila de dois (não full-bleed) */
.flb-dark .flb_familia_content--duo .flb_product_card:only-child:not(.flb_product_card--destaque) {
    flex: 0 0 calc((100% - 10px) / 2);
    width: calc((100% - 10px) / 2);
    max-width: calc((100% - 10px) / 2);
}

/* Destaque: um pouco maior + tratamento visual subtil */
.flb-dark .flb_familia_content .flb_product_card--destaque {
    flex: 0 0 calc((100% - 10px) / 1.75);
    width: calc((100% - 10px) / 1.75);
    max-width: calc((100% - 10px) / 1.75);
}

.flb-dark .flb_product_card--destaque {
    border-color: rgba(232, 168, 48, 0.42) !important;
    box-shadow: 0 0 0 1px rgba(232, 168, 48, 0.14), 0 10px 22px rgba(0, 0, 0, 0.28);
    background: linear-gradient(180deg, rgba(232, 168, 48, 0.07) 0%, var(--flb-surface) 42%) !important;
}

.flb_product_card_destaque_mark {
    position: absolute;
    left: 8px;
    top: 8px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 7px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #111;
    background: #e8a830;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
    pointer-events: none;
    line-height: 1.1;
}

.flb_product_card_destaque_mark i {
    font-size: 8px;
}

.flb_product_card_destaque_mark--inline {
    position: static;
    margin: 0 0 6px;
    box-shadow: none;
    align-self: flex-start;
}

.flb-dark .flb_familia_content .flb_product_card_title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 12px;
}

.flb-dark .flb_familia_content .flb_product_card_desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (min-width: 600px) {
    .flb-dark .flb_familia_content .flb_product_card {
        flex: 0 0 200px;
        width: 200px;
        max-width: 200px;
    }

    /* Duo/tablet+: manter cards compactos — não expandir com a largura do ecrã */
    .flb-dark .flb_familia_content--duo .flb_product_card {
        flex: 0 0 200px;
        width: 200px;
        max-width: 200px;
    }

    .flb-dark .flb_familia_content--duo .flb_product_card:only-child:not(.flb_product_card--destaque) {
        flex: 0 0 200px;
        width: 200px;
        max-width: 200px;
    }

    .flb-dark .flb_familia_content .flb_product_card--destaque {
        flex: 0 0 248px;
        width: 248px;
        max-width: 248px;
    }
}

@media (min-width: 900px) {
    .flb-dark .flb_familia_content .flb_product_card--destaque {
        flex: 0 0 260px;
        width: 260px;
        max-width: 260px;
    }
}

.flb-dark .pedido_cliente_inner_content_section_content:not(.flb_familia_content) {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    columns: unset !important;
}

.flb_product_card {
    background: var(--flb-surface) !important;
    border: 1px solid var(--flb-border) !important;
    border-radius: var(--flb-radius) !important;
    overflow: hidden;
    display: flex !important;
    flex-direction: column;
    min-height: 0;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer;
    content-visibility: auto;
    contain-intrinsic-size: auto 220px;
}

.flb_product_card--multi {
    min-height: 0;
}

.flb_product_card--noimg {
    contain-intrinsic-size: auto 160px;
}

.flb_product_card--noimg .flb_product_card_body {
    padding-top: 12px;
}

.flb_product_card_media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0d0d0d;
    flex-shrink: 0;
}

.flb_product_card_media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: center center;
    display: block;
}

.flb_product_card_fav {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 2;
}

.flb_product_card_fav.is-active,
.flb_product_card_fav.is-active i,
.flb_product_card_fav.is-active svg {
    color: #e8a830;
}

.flb_product_card_body {
    padding: 10px 10px 10px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.flb_product_card_body:first-child {
    padding-top: 12px;
}

.flb_product_card_title {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--flb-text);
}

.flb_product_card_unit {
    margin: 0 0 5px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--flb-accent);
    letter-spacing: 0.02em;
}

.flb_product_card_desc {
    margin: 0 0 6px;
    font-size: 10px;
    line-height: 1.35;
    color: var(--flb-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.flb_product_card_badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0 0 6px;
}

.flb_card_badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 18px;
    padding: 0 7px;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1;
}

.flb_card_badge i {
    font-size: 8px;
}

.flb_card_badge--bestseller {
    color: #ffb74d;
    background: rgba(255, 183, 77, 0.14);
    border: 1px solid rgba(255, 183, 77, 0.4);
}

.flb_card_badge--destaque {
    color: #111;
    background: #e8a830;
    border: 1px solid #e8a830;
}

.flb_card_badge--novidade {
    color: #e8a830;
    background: var(--flb-accent-dim);
    border: 1px solid rgba(232, 168, 48, 0.35);
}

.flb_card_badge--vegan {
    color: #7dcea0;
    background: rgba(125, 206, 160, 0.12);
    border: 1px solid rgba(125, 206, 160, 0.35);
}

.flb_card_badge--vegetariano {
    color: #82c882;
    background: rgba(130, 200, 130, 0.12);
    border: 1px solid rgba(130, 200, 130, 0.35);
}

.flb_card_badge--picante {
    color: #ff8a65;
    background: rgba(255, 138, 101, 0.12);
    border: 1px solid rgba(255, 138, 101, 0.35);
}

.flb_product_card_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 4px;
}

.flb_product_card_tags img {
    width: 18px;
    height: 18px;
    border-radius: 999px;
}

.flb_card_opcoes_tag {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--flb-accent);
    background: var(--flb-accent-dim);
    border: 1px solid rgba(232, 168, 48, 0.28);
    white-space: nowrap;
    flex-shrink: 0;
}

.flb_card_opcoes_tag--inline {
    margin: 0;
}

.flb_card_opcoes {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.flb_card_opcao {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    width: 100%;
    padding: 6px 0;
    border: 0;
    background: transparent;
    color: var(--flb-muted);
    font-size: 10px;
    text-align: left;
    cursor: pointer;
}

.flb_card_opcao.is-active {
    color: var(--flb-text);
}

.flb_card_opcao.is-active .flb_card_opcao_label {
    font-weight: 700;
}

.flb_card_opcao.is-active .flb_card_opcao_price {
    color: var(--flb-accent);
    font-weight: 800;
}

.flb_card_opcao_label {
    flex: 1;
    min-width: 0;
    line-height: 1.25;
}

.flb_card_opcao_price {
    font-size: 11px;
    font-weight: 700;
    color: var(--flb-text);
    white-space: nowrap;
}

.flb_card_price_row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: auto;
    padding-top: 8px;
}

.flb_card_price_row--multi {
    justify-content: space-between;
}

.flb_card_price_row--multi .flb_card_price {
    text-align: right;
    font-size: 12px;
    line-height: 1.2;
}

.flb_card_price {
    font-size: 14px;
    font-weight: 800;
    color: var(--flb-text);
    letter-spacing: -0.02em;
    margin-left: auto;
}

.flb_card_price_row--multi .flb_card_price {
    margin-left: 0;
    flex: 1;
    min-width: 0;
}

/* —— Reservation CTA —— */
.flb_reserve_card {
    margin: 8px 0 20px;
    padding: 14px;
    border-radius: var(--flb-radius);
    background: var(--flb-surface);
    border: 1px solid rgba(232, 168, 48, 0.35);
    display: flex;
    align-items: center;
    gap: 12px;
}

.flb_reserve_card_icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--flb-accent-dim);
    color: var(--flb-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.flb_reserve_card_text {
    flex: 1;
    min-width: 0;
}

.flb_reserve_card_text strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 2px;
}

.flb_reserve_card_text span {
    font-size: 11px;
    color: var(--flb-muted);
    line-height: 1.3;
}

.flb_reserve_card_btn {
    flex-shrink: 0;
    padding: 10px 12px;
    border-radius: 10px;
    border: 0;
    background: var(--flb-accent);
    color: #111;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
}

.flb_reserve_card.flb_reserve_card--hero {
    margin: 0;
    padding: 8px 10px;
    gap: 8px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(232, 168, 48, 0.38);
    box-shadow: none;
}

.flb_reserve_card.flb_reserve_card--hero .flb_reserve_card_icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-size: 14px;
}

.flb_reserve_card.flb_reserve_card--hero .flb_reserve_card_text strong {
    font-size: 12px;
    margin-bottom: 1px;
}

.flb_reserve_card.flb_reserve_card--hero .flb_reserve_card_text span {
    font-size: 10px;
    line-height: 1.2;
}

.flb_reserve_card.flb_reserve_card--hero .flb_reserve_card_btn {
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 10px;
}

/* —— Bottom dock (cart + nav) —— */
.flb_bottom_dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    background: transparent;
    border-top: 0;
    pointer-events: none;
}

.flb_bottom_dock > * {
    pointer-events: auto;
}

.flb_cart_bar {
    display: flex;
    align-items: center;
    gap: 10px;
    width: calc(100% - 24px);
    margin: 0 12px;
    padding: 11px 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: #0f0f0f;
    color: #fff;
    cursor: pointer;
    text-align: left;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.flb_cart_bar_icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--flb-accent);
    font-size: 14px;
}

.flb_cart_bar_icon svg.svg-inline--fa {
    width: 14px !important;
    height: 14px !important;
    font-size: 14px !important;
}

.flb_cart_bar_badge {
    display: none;
}

.flb_cart_bar_text {
    flex: 1;
    min-width: 0;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.flb_cart_bar_action {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
}

/* —— Bottom nav (mockup ref) —— */
.flb_bottomnav--ref {
    position: static;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
    gap: 0;
    padding: 0;
    background: #1b1b1b;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.flb_bottomnav--ref .flb_bottomnav_menu {
    display: flex !important;
    min-width: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    align-items: stretch;
    justify-content: center;
}

.flb_bottomnav--ref .flb_bottomnav_menu > .flb_bottomnav_item {
    width: 100%;
}

.flb_bottomnav--ref button.flb_bottomnav_item,
.flb_bottomnav--ref a.flb_bottomnav_item,
.flb_bottomnav--ref .flb_bottomnav_menu button.flb_bottomnav_item {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    border: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 6px 2px calc(5px + env(safe-area-inset-bottom, 0px));
    margin: 0;
    min-height: 0;
    height: 100%;
    align-self: stretch;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    border-radius: 0;
    color: rgba(255, 255, 255, 0.5) !important;
    text-decoration: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.flb_bottomnav--ref .flb_bottomnav_item--reserve {
    background: var(--flb-accent) !important;
    background-color: var(--flb-accent) !important;
    border-radius: 0;
    margin: 0;
    padding: 6px 3px calc(5px + env(safe-area-inset-bottom, 0px));
    align-self: stretch;
    min-height: 100%;
}

.flb_bottomnav--ref .flb_bottomnav_item--reserve i,
.flb_bottomnav--ref .flb_bottomnav_item--reserve svg,
.flb_bottomnav--ref .flb_bottomnav_item--reserve svg.svg-inline--fa,
.flb_bottomnav--ref .flb_bottomnav_item--reserve .flb_bottomnav_label {
    color: #111 !important;
    fill: #111 !important;
    font-weight: 700;
}

.flb_bottomnav--ref .flb_bottomnav_item--reserve:not(.is-active) i,
.flb_bottomnav--ref .flb_bottomnav_item--reserve:not(.is-active) svg,
.flb_bottomnav--ref .flb_bottomnav_item--reserve:not(.is-active) svg.svg-inline--fa,
.flb_bottomnav--ref .flb_bottomnav_item--reserve:not(.is-active) .flb_bottomnav_label {
    color: #111 !important;
    fill: #111 !important;
}

.flb_bottomnav--ref .flb_bottomnav_item--reserve:hover,
.flb_bottomnav--ref .flb_bottomnav_item--reserve:focus {
    background: #f0b040 !important;
    background-color: #f0b040 !important;
}

.flb_bottomnav--ref .flb_bottomnav_item i,
.flb_bottomnav--ref .flb_bottomnav_item svg.svg-inline--fa {
    display: block;
    width: 17px !important;
    height: 17px !important;
    font-size: 17px !important;
    line-height: 1;
    color: rgba(255, 255, 255, 0.45) !important;
}

.flb_bottomnav--ref .flb_bottomnav_item--reserve i,
.flb_bottomnav--ref .flb_bottomnav_item--reserve svg,
.flb_bottomnav--ref .flb_bottomnav_item--reserve svg.svg-inline--fa,
.flb_bottomnav--ref .flb_bottomnav_item--reserve .flb_bottomnav_label {
    color: #111 !important;
    fill: #111 !important;
    font-weight: 700;
}

.flb_bottomnav--ref .flb_bottomnav_flag {
    display: block;
    width: 15px;
    height: 15px;
    min-width: 15px;
    min-height: 15px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.flb_bottomnav--ref .flb_bottomnav_item--lang .flb_bottomnav_label {
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.flb_lang_menu md-button {
    display: flex;
    align-items: center;
    gap: 10px;
}

.flb_lang_menu md-button img {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.flb_bottomnav--ref .flb_bottomnav_label {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 9px;
    line-height: 1.05;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45) !important;
}

.flb_bottomnav--ref .flb_bottomnav_item--reserve .flb_bottomnav_label {
    color: #111 !important;
    font-weight: 700;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    line-height: 1.05;
    max-width: 4.6em;
    text-align: center;
    font-size: 8.5px;
}

.flb_bottomnav--ref button.flb_bottomnav_item.is-active,
.flb_bottomnav--ref button.flb_bottomnav_item.is-active i,
.flb_bottomnav--ref button.flb_bottomnav_item.is-active svg,
.flb_bottomnav--ref button.flb_bottomnav_item.is-active .flb_bottomnav_label {
    color: #e8a830 !important;
    background: transparent !important;
}

.flb_bottomnav--ref .flb_bottomnav_item:hover,
.flb_bottomnav--ref .flb_bottomnav_item:focus {
    color: rgba(255, 255, 255, 0.75) !important;
    background: transparent !important;
    text-decoration: none;
    outline: none;
}

.flb_bottomnav--ref .flb_bottomnav_item--reserve:hover,
.flb_bottomnav--ref .flb_bottomnav_item--reserve:focus {
    background: #f0b040 !important;
    background-color: #f0b040 !important;
}

.flb_bottomnav--ref .flb_bottomnav_item--reserve:hover i,
.flb_bottomnav--ref .flb_bottomnav_item--reserve:hover svg,
.flb_bottomnav--ref .flb_bottomnav_item--reserve:hover svg.svg-inline--fa,
.flb_bottomnav--ref .flb_bottomnav_item--reserve:hover .flb_bottomnav_label,
.flb_bottomnav--ref .flb_bottomnav_item--reserve:focus i,
.flb_bottomnav--ref .flb_bottomnav_item--reserve:focus svg,
.flb_bottomnav--ref .flb_bottomnav_item--reserve:focus svg.svg-inline--fa,
.flb_bottomnav--ref .flb_bottomnav_item--reserve:focus .flb_bottomnav_label {
    color: #111 !important;
    fill: #111 !important;
}

.flb_bottomnav--ref .flb_bottomnav_item.is-active:hover,
.flb_bottomnav--ref .flb_bottomnav_item.is-active:focus {
    color: #e8a830 !important;
}

.flb-dark.flb_shell--nav {
    padding-bottom: calc(58px + env(safe-area-inset-bottom)) !important;
}

.flb-dark.flb_shell--nav.flb_shell--cart {
    padding-bottom: calc(112px + env(safe-area-inset-bottom)) !important;
}

.flb-dark.flb_shell--mesa .flb_cart_bar--mesa {
    display: none !important;
}

.flb_bottomnav--ref button.flb_bottomnav_item.flb_bottomnav_item--mesa,
.flb_bottomnav--ref .flb_bottomnav_item--mesa {
    font-weight: 700;
    position: relative;
}

.flb_bottomnav--ref .flb_bottomnav_item--mesa .flb_bottomnav_badge {
    position: absolute;
    top: 4px;
    right: calc(50% - 22px);
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #111;
    color: #e8a830;
    font-size: 10px;
    font-weight: 800;
    line-height: 16px;
    text-align: center;
}

.flb_bottomnav--ref button.flb_bottomnav_item.flb_bottomnav_item--mesa .flb_bottomnav_label,
.flb_bottomnav--ref .flb_bottomnav_item--mesa .flb_bottomnav_label {
    font-weight: 800 !important;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.flb_bottomnav--ref button.flb_bottomnav_item.flb_bottomnav_item--mesa i,
.flb_bottomnav--ref button.flb_bottomnav_item.flb_bottomnav_item--mesa svg,
.flb_bottomnav--ref button.flb_bottomnav_item.flb_bottomnav_item--mesa svg.svg-inline--fa,
.flb_bottomnav--ref button.flb_bottomnav_item.flb_bottomnav_item--mesa .flb_bottomnav_label,
.flb_bottomnav--ref .flb_bottomnav_item--mesa i,
.flb_bottomnav--ref .flb_bottomnav_item--mesa svg,
.flb_bottomnav--ref .flb_bottomnav_item--mesa svg.svg-inline--fa,
.flb_bottomnav--ref .flb_bottomnav_item--mesa .flb_bottomnav_label {
    color: #111 !important;
    fill: #111 !important;
    font-weight: 800;
}

/* —— Mesa account panel (above footer) —— */
.flb_mesa_fs {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: calc(58px + env(safe-area-inset-bottom));
    z-index: 190;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 12px 10px 0;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
}

.flb_mesa_fs.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.flb_mesa_fs_panel {
    width: 100%;
    max-width: 560px;
    max-height: min(72vh, 560px);
    display: flex;
    flex-direction: column;
    background: #121212;
    color: #f2f2f2;
    border-radius: 22px 22px 0 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 0;
    box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.55);
    overflow: hidden;
    transform: translateY(18px);
    transition: transform .22s ease;
}

.flb_mesa_fs.is-open .flb_mesa_fs_panel {
    transform: translateY(0);
}

.flb_mesa_fs_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px 4px;
}

.flb_mesa_fs_top_title {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.flb_mesa_fs_close {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.flb_mesa_fs_scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 4px 14px 10px;
}

.flb_mesa_fs_hero {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}

.flb_mesa_fs_hero_main {
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.flb_mesa_fs_mesa {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
}

.flb_mesa_fs_abertura {
    margin-top: 6px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.flb_mesa_fs_stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.flb_mesa_fs_stat {
    padding: 10px 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-width: 0;
}

.flb_mesa_fs_stat_label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.flb_mesa_fs_stat_label i { color: #e8a830; }

.flb_mesa_fs_stat_value {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    font-variant-numeric: tabular-nums;
    line-height: 1.15;
}

.flb_mesa_fs_stat_value--sm { font-size: 13px; }

.flb_mesa_fs_section_head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin: 4px 2px 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}
.flb_mesa_fs_section_meta {
    font-variant-numeric: tabular-nums;
    color: #e8a830;
    letter-spacing: 0;
    text-transform: none;
    font-size: 12px;
}

.flb_mesa_fs_list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.flb_mesa_fs_list_wrap + .flb_mesa_fs_list_wrap {
    margin-top: 14px;
}

.flb_mesa_fs_item {
    display: grid;
    grid-template-columns: 34px 1fr auto;
    gap: 10px;
    align-items: start;
    padding: 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.flb_mesa_fs_item--cart {
    border-color: rgba(232, 168, 48, 0.35);
    background: rgba(232, 168, 48, 0.08);
}

.flb_mesa_fs_item.is-pendente {
    border-color: rgba(230, 126, 34, 0.45);
}

.flb_mesa_fs_item_side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.flb_mesa_fs_item_remove {
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.55);
    padding: 2px 4px;
    cursor: pointer;
    font-size: 14px;
}
.flb_mesa_fs_item_remove:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.flb_mesa_fs_actions_row--cart {
    grid-template-columns: 1.4fr 0.8fr;
}

.flb_mesa_fs_item_qtd {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #e8a830;
    color: #111;
    font-weight: 800;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flb_mesa_fs_item_name {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.flb_mesa_fs_item_extra {
    margin-top: 3px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.flb_mesa_fs_item_price {
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.flb_mesa_fs_item_price--oferta { color: #e8a830; }

.flb_mesa_fs_empty {
    padding: 24px 12px;
    text-align: center;
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
}

.flb_mesa_fs_actions {
    padding: 10px 14px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #121212;
}

.flb_mesa_fs_actions_row {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 8px;
    margin-bottom: 8px;
}

.flb_mesa_fs_btn {
    width: 100%;
    border: 0;
    border-radius: 12px;
    padding: 11px 10px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.flb_mesa_fs_btn_main {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.flb_mesa_fs_btn--primary { background: #e8a830; color: #111; }
.flb_mesa_fs_btn--secondary { background: rgba(255, 255, 255, 0.08); color: #fff; }
.flb_mesa_fs_btn--ghost {
    background: transparent;
    border: 1px solid rgba(232, 168, 48, 0.55);
    color: #e8a830;
}
.flb_mesa_fs_btn--soon {
    flex-direction: column;
    gap: 2px;
    opacity: 0.75;
    cursor: not-allowed;
}
.flb_mesa_fs_btn--soon small {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.85;
}

.flb_mesa_fs_btn--ghost.is-loading,
.flb_mesa_fs_btn--ghost.is-ok,
.flb_mesa_fs_btn--ghost.is-cooldown,
.flb_mesa_fs_btn--ghost:disabled {
    cursor: not-allowed;
    opacity: 0.9;
}

.flb_mesa_fs_btn--ghost.is-ok {
    background: rgba(76, 175, 80, 0.16);
    border-color: rgba(76, 175, 80, 0.7);
    color: #8fd48f;
}

.flb_mesa_fs_btn--ghost.is-loading {
    border-color: rgba(232, 168, 48, 0.85);
}

.flb_mesa_fs_ajuda_msg {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.35;
    text-align: center;
    color: #f0a0a0;
}

.flb_mesa_fs_ajuda_msg--ok {
    color: #8fd48f;
}

.flb_mesa_fs_hint {
    margin: 10px 0 2px;
    font-size: 12px;
    line-height: 1.35;
    text-align: center;
    color: rgba(255, 255, 255, 0.45);
}

/* —— Misc overrides —— */
.pedidocliente_container.flb-dark {
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow-x: hidden;
    position: relative;
    box-sizing: border-box;
}

.flb-dark .pedido_cliente_inner_content_section_item:not(.flb_product_card) {
    display: none;
}
.flb-dark .featured_products_container,
.flb-dark .pedido_cliente_footer_container,
.flb-dark .ementa_type_select_container,
.flb-dark .flb_hero {
    display: none !important;
}

.flb-dark .pedido_cliente_top_banner_wrapper > img,
.flb-dark .pedido_cliente_top_banner_backdrop {
    display: none;
}

.flb-dark .indisponivel {
    opacity: 0.4 !important;
}

.flb-dark .no_content_to_show_text,
.flb-dark .no_content_to_show_icon {
    color: var(--flb-muted);
}

.flb-dark .flb_topbar {
    background: rgba(0, 0, 0, 0.96);
}

@media (min-width: 600px) {
    .flb-dark {
        --flb-gutter: 20px;
    }

    .flb-dark .pedido_cliente_inner_content_section_content:not(.flb_familia_content) {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

@media (min-width: 900px) {
    .flb-dark {
        --flb-gutter: 24px;
    }

    .flb-dark .pedido_cliente_inner_content_section_content:not(.flb_familia_content) {
        grid-template-columns: repeat(4, 1fr);
        gap: 14px;
    }
}

@media (min-width: 1200px) {
    .flb-dark .pedido_cliente_inner_content_section_content:not(.flb_familia_content) {
        grid-template-columns: repeat(5, 1fr);
        gap: 14px;
    }
}
