/* 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;
    --flb-rail-max: 480px;
    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) {
    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: var(--flb-rail-max);
    box-sizing: border-box;
    padding: calc(max(6px, env(safe-area-inset-top, 6px)) + 2px) var(--flb-gutter) 0;
    margin: 0 auto;
}

.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;
    gap: 8px;
    margin-bottom: 6px;
    padding-top: 0;
}

.flb_hero_logo img {
    max-height: 28px;
    max-width: 110px;
    object-fit: contain;
    display: block;
}

.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_welcome h1 {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.flb_hero_welcome_light {
    font-weight: 300;
    color: rgba(255, 255, 255, 0.78);
}

.flb_hero_welcome_name {
    font-weight: 600;
    color: #fff;
}

.flb_hero_tagline {
    margin: 0 0 4px;
    font-size: 12px;
    color: var(--flb-muted);
    line-height: 1.35;
}

.flb_hero_status_slot {
    min-height: 0;
    margin-bottom: 0;
}

.flb_hero_welcome {
    margin-bottom: 0;
}

.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 {
    max-width: var(--flb-rail-max);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Home: hero + toolbar fixos; só a lista da ementa faz scroll */
.flb-dark .pedidocliente_wrapper {
    height: calc(100dvh - 58px - env(safe-area-inset-bottom));
    max-height: calc(100dvh - 58px - env(safe-area-inset-bottom));
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.flb-dark.flb_shell--cart .pedidocliente_wrapper {
    height: calc(100dvh - 112px - env(safe-area-inset-bottom));
    max-height: calc(100dvh - 112px - 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: var(--flb-rail-max);
    margin-left: auto;
    margin-right: auto;
    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_grid_wrap {
    padding: 0 0 16px;
    overflow: hidden;
}

.flb_skeleton_section_title {
    width: 42%;
    height: 14px;
    margin: 4px 0 12px;
    border-radius: 6px;
    background: linear-gradient(90deg, #181818 0%, #242424 45%, #181818 90%);
    background-size: 200% 100%;
    animation: flbShimmer 1.35s ease-in-out infinite;
}

.flb_skeleton_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.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: 8px;
    width: 100%;
    max-width: var(--flb-rail-max);
    margin-left: auto;
    margin-right: auto;
    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: 3px;
    margin-top: 2px;
    font-size: 7px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.1;
    white-space: nowrap;
}

.flb_ementa_switch_hint i {
    font-size: 7px;
    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: var(--flb-rail-max);
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.flb-dark .flb_home_rail .flb_search,
.flb-dark .flb_home_rail .flb_cat_pills,
.flb-dark .flb_home_rail .flb_skeleton_pills,
.flb-dark .flb_home_rail .flb_skeleton_grid_wrap,
.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;
}

.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_filter {
    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: 13px;
}

.flb_search_filter i {
    color: inherit;
}

/* —— 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: 2px 0 6px !important;
    padding: 0 !important;
    opacity: 1 !important;
}

/* —— Product grid —— */
.flb-dark .pedido_cliente_inner_content_section_container {
    padding: 0 0 2px !important;
    width: 100%;
    box-sizing: border-box;
}

.flb-dark .pedido_cliente_inner_content_section_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_media {
    --flb-media-max-h: calc(118px * 2 / 3);
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: var(--flb-media-max-h);
    overflow: hidden;
    background: #0d0d0d;
    flex-shrink: 0;
}

.flb_product_card_media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transform: translateZ(0);
}

.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;
    pointer-events: none;
}

.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_media--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(232, 168, 48, 0.16), rgba(232, 168, 48, 0.03) 60%), var(--flb-surface2);
}

.flb_product_card_media--placeholder i {
    font-size: 22px;
    color: rgba(232, 168, 48, 0.55);
}

.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_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_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;
}

/* —— 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 0 env(safe-area-inset-bottom);
    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(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 0;
    padding: 10px 0 8px;
    background: #1b1b1b;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
}

.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: 4px;
    padding: 2px 2px 2px;
    margin: 0;
    min-height: 0;
    height: auto;
    font-size: 10px;
    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 i,
.flb_bottomnav--ref .flb_bottomnav_item svg.svg-inline--fa {
    display: block;
    width: 20px !important;
    height: 20px !important;
    font-size: 20px !important;
    line-height: 1;
    color: rgba(255, 255, 255, 0.45) !important;
}

.flb_bottomnav--ref .flb_bottomnav_flag {
    display: block;
    width: 20px;
    height: 20px;
    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: 22px;
    height: 22px;
    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: 10px;
    line-height: 1.1;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45) !important;
}

.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.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;
}

/* —— Misc overrides —— */
.pedidocliente_container.flb-dark {
    max-width: 480px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    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: 520px) {
    .flb-dark .pedido_cliente_inner_content_section_content {
        grid-template-columns: repeat(3, 1fr);
    }
}
