.foodbook-custom-ux-grouped-menu {
    --foodbook-custom-ux-sticky-top: 0px;
    margin-bottom: 40px;
}

.foodbook-custom-ux-grouped-mode .foodbook-custom-ux-native-menu,
.foodbook-custom-ux-grouped-mode .foodbook-custom-ux-native-search {
    display: none !important;
}

.foodbook-custom-ux-category-bar {
    position: sticky;
    top: var(--foodbook-custom-ux-sticky-top);
    z-index: 90;
    width: 100%;
    margin: 0 0 24px;
    padding: 10px 0;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.foodbook-custom-ux-category-track {
    display: flex;
    gap: 8px;
    padding: 0 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.foodbook-custom-ux-category-track::-webkit-scrollbar {
    display: none;
}

.foodbook-custom-ux-category-chip {
    flex: 0 0 auto;
    display: inline-flex;
    gap: 6px;
    align-items: center;
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid rgba(0, 33, 122, 0.18);
    border-radius: 999px;
    color: #00217a;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    background: #fff;
}

.foodbook-custom-ux-category-chip.is-active {
    border-color: #00217a;
    color: #fff;
    background: #00217a;
}

.foodbook-custom-ux-category-count {
    font-size: 12px;
    opacity: 0.76;
}

.foodbook-custom-ux-category-section {
    scroll-margin-top: calc(var(--foodbook-custom-ux-sticky-top) + 64px);
}

.foodbook-custom-ux-category-section + .foodbook-custom-ux-category-section {
    margin-top: 34px;
}

.foodbook-custom-ux-category-heading {
    margin: 0 0 16px;
    font-size: 24px;
    line-height: 1.25;
}

.foodbook-custom-ux-product-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}

.foodbook-custom-ux-product-card {
    position: relative;
    display: flex;
    min-height: 108px;
    overflow: visible;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    color: #131313;
    text-decoration: none;
    background: #fff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
}

.foodbook-custom-ux-product-card:hover,
.foodbook-custom-ux-product-card:focus {
    color: #131313;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.foodbook-custom-ux-product-image {
    flex: 0 0 96px;
    width: 96px;
    min-height: 106px;
    overflow: hidden;
    border-radius: 9px 0 0 9px;
}

.foodbook-custom-ux-product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.foodbook-custom-ux-product-card .foodbook-custom-ux-product-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    padding: 12px 46px 12px 13px;
}

.foodbook-custom-ux-product-title {
    margin: 0 0 5px;
    font-size: 16px;
    line-height: 1.3;
}

.foodbook-custom-ux-product-description {
    display: -webkit-box;
    margin: 0 0 8px;
    overflow: hidden;
    color: #666;
    font-size: 13px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.foodbook-custom-ux-product-card .fb_product_price {
    margin: auto 0 0;
    color: #00217a;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.foodbook-custom-ux-add-button {
    position: absolute;
    right: 11px;
    bottom: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #fff;
    font-size: 25px;
    font-weight: 400;
    line-height: 1;
    background: #00217a;
}

.foodbook-custom-ux-sale-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 6px;
    border-radius: 999px;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    background: #e58701;
}

.foodbook-custom-ux-status {
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    background: #fff;
}

@media (max-width: 575px) {
    .foodbook-custom-ux-category-heading {
        font-size: 21px;
    }
}

@media (min-width: 992px) {
    .foodbook-custom-ux-product-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
}

body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active {
    overscroll-behavior: contain;
}

body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .fb_modal_wrap {
    align-items: flex-end;
    min-height: 100%;
}

body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .fb_modal {
    padding: 0;
}

body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .fb_modal_inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: calc(100dvh - env(safe-area-inset-top));
    overflow: hidden;
    border-radius: 18px 18px 0 0;
    background: #fff !important;
    box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.16);
}

body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .fb_modal_content,
body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .fb_steps_wrapper {
    min-height: 0;
}

body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .fb_modal_content {
    flex: 1 1 auto;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
}

body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .fb_close_modal_btn {
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border: 2px solid #fff;
    background: #131313 !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
    z-index: 5;
}

body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .step-product-info {
    color: #1d1d1d !important;
    background: #fff !important;
}

body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .step-product-info .fb_product_details_form {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
}

body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .step-product-info .fb_product_details_img {
    margin: 0 0 14px;
}

body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .step-product-info .fb_product_details_img img {
    display: block;
    width: 100%;
    max-height: 210px;
    object-fit: cover;
    border-radius: 12px;
}

body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .step-product-info .fb_product_details_content h3 {
    margin: 0 0 7px;
    color: #171717 !important;
    font-size: 22px;
    line-height: 1.25;
}

body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .step-product-info .fb_product_details_content > h6 {
    display: flex;
    gap: 8px;
    align-items: baseline;
    margin: 8px 0;
    color: #555;
    font-size: 13px;
}

body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .step-product-info .fb_product_price {
    margin: 0;
    color: #00217a !important;
    font-size: 18px;
    font-weight: 700;
}

body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .step-product-info .fb_product_summary {
    margin-bottom: 16px;
    color: #626262;
    font-size: 14px;
    line-height: 1.5;
}

body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .step-product-info .fb_extra_options,
body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .step-product-info .fb_form_input_list {
    margin-bottom: 0;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .step-product-info .fb_features_list_title_wrap .input_list_title {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 4px;
    color: #171717;
    font-size: 17px;
    line-height: 1.35;
}

body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .step-product-info .foodbook-custom-ux-group-pill {
    flex: 0 0 auto;
    padding: 3px 8px;
    border-radius: 999px;
    color: #666;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    background: #f0f0f0;
}

body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .step-product-info .is-required .foodbook-custom-ux-group-pill {
    color: #8e3700;
    background: #fff0e5;
}

body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .step-product-info .required-msg {
    margin: 0 0 8px !important;
    color: #8e3700;
    font-size: 12px;
    line-height: 1.4;
}

body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .step-product-info .fb_attribute_list > li:not(.fb_label_title),
body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .step-product-info [data-extra-group] > li {
    margin: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .step-product-info .fb_attribute_list > li:not(.fb_label_title) .fb_custom_checkbox,
body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .step-product-info [data-extra-group] > li .fb_custom_checkbox {
    display: block;
    width: 100%;
}

body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .step-product-info .fb_attribute_list > li:not(.fb_label_title) label,
body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .step-product-info [data-extra-group] > li label {
    display: flex;
    width: 100%;
    min-height: 52px;
    padding: 10px 2px;
}

body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .step-product-info .fb_custom_checkbox label .fb_custom_checkmark {
    width: 20px;
    min-width: 20px;
    height: 20px;
    margin-right: 11px;
    border-color: #a7a7a7;
}

body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .step-product-info .has-radio-options .fb_custom_checkmark,
body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .step-product-info .fb_attribute_list input[type="radio"] ~ .fb_custom_checkmark {
    border-radius: 50%;
}

body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .step-product-info .fb_custom_checkbox label .fb_custom_checkmark::after {
    width: 8px;
    height: 8px;
    border-radius: inherit;
    background: #00217a;
}

body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .step-product-info .fb_custom_checkbox label input:checked ~ .fb_custom_checkmark {
    border-color: #00217a;
    background: #edf2ff;
}

body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .step-product-info .fb_custom_checkbox label input:checked ~ .fb_input_text {
    color: #171717 !important;
}

body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .step-product-info .fb_input_text {
    flex: 1 1 auto;
    min-width: 0;
    color: #252525;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .step-product-info .price-extra-item-group {
    flex: 0 0 auto;
    margin-left: 12px;
}

body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .step-product-info .price-extra-item {
    color: #444;
    font-size: 14px;
    font-weight: 700;
    text-align: right;
}

body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .step-product-info .fb_quantity {
    max-width: none;
    width: auto;
    gap: 8px;
}

body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .step-product-info .fb_quantity .fb_plus,
body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .step-product-info .fb_quantity .fb_minus {
    width: 38px;
    min-width: 38px;
    height: 38px;
    background: #edf2ff;
}

body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .step-product-info .fb_quantity .fb_quantity_input {
    width: 34px;
    height: 38px;
    color: #171717;
    font-size: 16px;
    font-weight: 700;
}

body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .step-product-info textarea[name="item_instructions"] {
    min-height: 96px;
    padding: 12px;
    border: 1px solid #cfcfcf;
    border-radius: 8px;
    color: #252525 !important;
    font-size: 14px;
    line-height: 1.45;
    resize: vertical;
    background: #fff !important;
}

body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .step-product-info .fb_total_price {
    margin: 0;
    padding: 16px 0;
    color: #171717;
    font-size: 16px;
}

body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .step-product-info .fb_add_to_cart_ajax {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 4;
    width: auto;
    min-height: 56px;
    margin: 0;
    padding: 15px 18px calc(15px + env(safe-area-inset-bottom));
    border-radius: 0;
    color: #fff !important;
    font-size: 16px;
    font-weight: 700;
    background: #00217a !important;
    box-shadow: 0 -5px 18px rgba(0, 0, 0, 0.12);
}

body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .step-product-info .fb_add_to_cart_ajax[disabled] {
    cursor: not-allowed;
    opacity: 0.45 !important;
}

@media (max-width: 767px) {
    body.fbPopupModal-opened {
        width: 100%;
        height: 100%;
        overflow: hidden !important;
        overscroll-behavior: none;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-order-flow-active {
        inset: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        overflow: hidden;
        background: #fff !important;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-order-flow-active .fb_modal_wrap {
        display: block;
        width: 100%;
        max-width: none;
        height: 100%;
        min-height: 100%;
        margin: 0;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-order-flow-active .fb_modal {
        position: relative;
        width: 100%;
        height: 100%;
        padding: 0;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-order-flow-active .fb_modal_inner {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        max-height: none;
        min-height: 100%;
        border-radius: 0;
        box-shadow: none;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-order-flow-active .fb_modal_content,
    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-order-flow-active .fb_steps_wrapper,
    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-order-flow-active .step-product-info,
    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-order-flow-active .step-cart {
        width: 100%;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-order-flow-active .fb_modal_content {
        height: 100%;
        padding-top: env(safe-area-inset-top);
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-order-flow-active .fb_steps_list {
        display: none;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-order-flow-active .fb_modal_inner > .fb_close_modal_btn {
        top: calc(10px + env(safe-area-inset-top));
        right: 10px;
        width: 42px;
        height: 42px;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .step-product-info .fb_product_details_form {
        padding: 0 14px calc(84px + env(safe-area-inset-bottom));
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .step-product-info .fb_product_details_img {
        margin-right: -14px;
        margin-left: -14px;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .step-product-info .fb_product_details_img img {
        max-height: 235px;
        border-radius: 0;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .step-product-info .fb_add_to_cart_ajax {
        min-height: calc(58px + env(safe-area-inset-bottom));
        padding-bottom: calc(15px + env(safe-area-inset-bottom));
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .foodbook-custom-ux-wizard-active {
        padding-bottom: calc(142px + env(safe-area-inset-bottom));
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .foodbook-custom-ux-wizard-active .foodbook-custom-ux-wizard-step {
        display: none !important;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .foodbook-custom-ux-wizard-active .foodbook-custom-ux-wizard-step.is-current-step {
        display: block !important;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .foodbook-custom-ux-wizard-active .extra-items-group-wrapper {
        max-height: none;
        overflow: visible;
        margin-bottom: 0;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .foodbook-custom-ux-wizard-active .foodbook-custom-ux-wizard-step {
        margin-top: 10px;
        padding: 18px 0;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        border-bottom: 0;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .foodbook-custom-ux-wizard-active .foodbook-custom-ux-wizard-step.is-required > .fb_attribute_list::before {
        content: "Required";
        display: inline-flex;
        margin-bottom: 10px;
        padding: 3px 8px;
        border-radius: 999px;
        color: #8e3700;
        font-size: 11px;
        font-weight: 700;
        line-height: 1.2;
        background: #fff0e5;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .foodbook-custom-ux-wizard-active .fb_product_details_content > .fb_d_flex.fb_align_items_center.fb_justify_content_between {
        position: fixed;
        right: auto;
        bottom: calc(64px + env(safe-area-inset-bottom));
        left: 14px;
        z-index: 7;
        gap: 8px;
        padding: 5px 0;
        background: #fff !important;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .foodbook-custom-ux-wizard-active .fb_product_details_content > .fb_d_flex.fb_align_items_center.fb_justify_content_between > .fb_label_title {
        color: #555 !important;
        font-size: 12px;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .foodbook-custom-ux-wizard-active .fb_total_price {
        position: fixed;
        right: 14px;
        bottom: calc(64px + env(safe-area-inset-bottom));
        left: auto;
        z-index: 7;
        gap: 8px;
        margin: 0;
        padding: 5px 0;
        background: #fff !important;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .foodbook-custom-ux-wizard-active .fb_total_price > span:first-child {
        color: #555 !important;
        font-size: 12px;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .foodbook-custom-ux-wizard-active .fb_total_Price {
        color: #00217a !important;
        font-size: 16px;
        font-weight: 700;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .foodbook-custom-ux-wizard-active .foodbook-custom-ux-wizard-controls {
        position: fixed;
        top: calc(18px + env(safe-area-inset-top));
        left: 50%;
        z-index: 8;
        display: flex;
        align-items: center;
        transform: translateX(-50%);
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .foodbook-custom-ux-wizard-active .foodbook-custom-ux-wizard-progress {
        color: #666 !important;
        font-size: 12px;
        font-weight: 700;
        text-align: center;
        white-space: nowrap;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .foodbook-custom-ux-wizard-active .foodbook-custom-ux-wizard-skip {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        min-height: calc(58px + env(safe-area-inset-bottom));
        padding: 15px 18px calc(15px + env(safe-area-inset-bottom));
        border: 0;
        border-radius: 0;
        color: #fff !important;
        font-size: 16px;
        font-weight: 700;
        background: #00217a !important;
        box-shadow: 0 -5px 18px rgba(0, 0, 0, 0.12);
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .foodbook-custom-ux-wizard-active .foodbook-custom-ux-wizard-submit {
        display: none !important;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .foodbook-custom-ux-wizard-active.is-wizard-final-step .foodbook-custom-ux-wizard-submit {
        display: flex !important;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .foodbook-custom-ux-wizard-active:not(.has-wizard-skip):not(.is-wizard-final-step) .fb_product_details_content > .fb_d_flex.fb_align_items_center.fb_justify_content_between,
    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .foodbook-custom-ux-wizard-active:not(.has-wizard-skip):not(.is-wizard-final-step) .fb_total_price {
        bottom: calc(12px + env(safe-area-inset-bottom));
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .foodbook-custom-ux-wizard-active:not(.has-wizard-skip):not(.is-wizard-final-step) {
        padding-bottom: calc(78px + env(safe-area-inset-bottom));
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-cart-step-active .step-cart {
        min-height: 100%;
        padding: 14px 14px calc(112px + env(safe-area-inset-bottom));
        color: #1d1d1d !important;
        background: #f6f6f6 !important;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-cart-step-active .step-cart .fb_card {
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent !important;
        box-shadow: none;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-cart-step-active .step-cart .fb_card_title {
        padding: 6px 52px 14px 0;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-cart-step-active .step-cart .fb_card_title h3 {
        margin: 0 0 3px;
        color: #171717 !important;
        font-size: 22px;
        line-height: 1.25;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-cart-step-active .step-cart .fb_card_title small {
        color: #666 !important;
        font-size: 13px;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-cart-step-active .step-cart .fb_cart_table,
    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-cart-step-active .step-cart .fb_cart_table tbody {
        display: block;
        width: 100%;
        overflow: visible;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-cart-step-active .step-cart .fb_cart_table thead {
        display: none;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-cart-step-active .step-cart .fb_cart_table tbody tr {
        display: grid;
        grid-template-columns: 66px minmax(0, 1fr) 26px;
        grid-template-areas:
            "image title remove"
            "image quantity quantity"
            "addons addons addons"
            "price subtotal subtotal";
        gap: 8px 12px;
        margin-bottom: 12px;
        padding: 12px;
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 12px;
        background: #fff !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-cart-step-active .step-cart .fb_cart_table tbody td {
        display: block;
        min-width: 0;
        padding: 0;
        border: 0;
        color: #252525 !important;
        font-size: 13px;
        text-align: left;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-cart-step-active .step-cart .fb_cart_table tbody td:nth-child(1) {
        grid-area: image;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-cart-step-active .step-cart .fb_cart_table tbody td:nth-child(2) {
        grid-area: title;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-cart-step-active .step-cart .fb_cart_table tbody td:nth-child(3) {
        grid-area: quantity;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-cart-step-active .step-cart .fb_cart_table tbody td:nth-child(4) {
        grid-area: addons;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-cart-step-active .step-cart .fb_cart_table tbody td:nth-child(5) {
        grid-area: price;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-cart-step-active .step-cart .fb_cart_table tbody td:nth-child(6) {
        grid-area: subtotal;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-cart-step-active .step-cart .fb_cart_table tbody td:nth-child(7) {
        grid-area: remove;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-cart-step-active .step-cart .fb_cart_item_image {
        width: 66px;
        height: 66px;
        margin: 0;
        overflow: hidden;
        border-radius: 8px;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-cart-step-active .step-cart .fb_cart_item_image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-cart-step-active .step-cart .fb_cart_item_title {
        min-width: 0;
        color: #171717 !important;
        font-size: 15px;
        font-weight: 700;
        line-height: 1.35;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-cart-step-active .step-cart .fb_cart_item_title ul {
        margin: 5px 0 0;
        color: #666 !important;
        font-size: 12px;
        font-weight: 400;
        line-height: 1.45;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-cart-step-active .step-cart .fb_quantity {
        max-width: none;
        width: auto;
        gap: 8px;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-cart-step-active .step-cart .fb_quantity .fb_minus2,
    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-cart-step-active .step-cart .fb_quantity .fb_plus2 {
        width: 34px;
        min-width: 34px;
        height: 34px;
        background: #edf2ff;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-cart-step-active .step-cart .fb_quantity_input {
        width: 30px;
        height: 34px;
        color: #171717 !important;
        font-size: 15px;
        font-weight: 700;
        background: #fff !important;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-cart-step-active .step-cart .fb_remove_btn {
        width: 26px;
        min-width: 26px;
        height: 26px;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-cart-step-active .step-cart .fb_cart_table tbody td:nth-child(4).has-value,
    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-cart-step-active .step-cart .fb_cart_table tbody td:nth-child(5),
    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-cart-step-active .step-cart .fb_cart_table tbody td:nth-child(6).has-value {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-top: 7px;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-cart-step-active .step-cart .fb_cart_table tbody td:nth-child(4).has-value::before {
        content: "Extras";
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-cart-step-active .step-cart .fb_cart_table tbody td:nth-child(5)::before {
        content: "Price";
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-cart-step-active .step-cart .fb_cart_table tbody td:nth-child(6).has-value::before {
        content: "Subtotal";
        font-weight: 700;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-cart-step-active .step-cart .fb_cart_item_price {
        color: #00217a !important;
        font-weight: 700;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-cart-step-active .step-cart .fb_text_right {
        position: sticky;
        bottom: 0;
        margin: 12px -14px calc(-112px - env(safe-area-inset-bottom));
        padding: 14px 14px calc(14px + env(safe-area-inset-bottom));
        background: #fff !important;
        box-shadow: 0 -5px 18px rgba(0, 0, 0, 0.1);
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-cart-step-active .step-cart .fb_total_cart {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 0 0 10px;
        color: #171717 !important;
        font-size: 17px;
        font-weight: 700;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-cart-step-active .step-cart .fb_total_cart .fb_total_price {
        color: #00217a !important;
        font-size: 18px;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-cart-step-active .step-cart .fb_order_btn_group {
        display: flex;
        gap: 10px;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-cart-step-active .step-cart .fb_order_btn_group > a {
        flex: 1 1 0;
        margin: 0;
        padding: 13px 10px;
        text-align: center;
    }
}

@media (min-width: 768px) {
    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .fb_modal_wrap {
        align-items: center;
        padding: 32px 20px;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .fb_modal_inner {
        max-height: calc(100vh - 64px);
        border-radius: 14px;
    }

    body.fbPopupModal-opened #fb_popup_modal.foodbook-custom-ux-product-step-active .step-product-info .fb_add_to_cart_ajax {
        position: sticky;
        bottom: 0;
        border-radius: 6px;
    }
}
