/* Color tokens: menu3/common.css */

/* ===========================
   COUPON SLIDER WRAPPER
=========================== */
.page-wrapper
{
     background-color: var(--cafe-cream) !important;
    color: var(--cafe-text) !important;
    font-family: var(--cafe-font) !important;
   
}

.theme-cafe .nav-header {
    position: sticky;
    top: 0;
    z-index: 140;
    background: color-mix(in srgb, var(--cafe-cream, var(--bg-main)) 98%, transparent);
    backdrop-filter: blur(8px);
    box-shadow: 0 12px 24px rgba(62, 42, 31, 0.08);
    border-bottom-left-radius: 22px;
    border-bottom-right-radius: 22px;
    padding: 16px clamp(16px, 3vw, 40px);
    margin-bottom: 18px;
}

@media (max-width: 767px) {
    .theme-cafe .nav-header {
        padding: 12px 16px;
        border-radius: 0 0 18px 18px;
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
    }
}

.no-order-footer {
    background-color: var(--current);
    width: 100%;
    padding: 10px;
    display: -moz-box;
    display: flex;
    -moz-box-orient: horizontal;
    -moz-box-direction: normal;
    flex-direction: row;
    -moz-box-pack: justify;
    justify-content: space-between;
    -moz-box-align: center;
    align-items: center;
    z-index: 1;
    /* height: 60px; */
}

#LoginModal .view-cart-action:hover {
    background-color: var(--current);
    color: var(--cafe-on-primary);
}

.fixed-bottom {
    z-index: 9 !important;
}

/* Location popup (city + outlet) */
/* Bootstrap backdrop is appended to body, not inside modal */
body.menu3-location-popup-open .modal-backdrop.show {
    background: var(--cafe-backdrop-cream-light) !important;
    opacity: 1 !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.menu3-location-popup__dialog {
    max-width: 460px;
}

.menu3-location-popup__content {
    border: 1px solid var(--cafe-border);
    border-radius: var(--cafe-radius-lg);
    background: linear-gradient(180deg, #fffdf9 0%, var(--cafe-foam) 100%);
    box-shadow: var(--cafe-shadow-lg);
}

.menu3-location-popup__header {
    padding: 18px 20px 10px;
}

.menu3-location-popup__header .modal-title {
    color: var(--cafe-espresso);
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2;
}

.menu3-location-popup__body {
    padding: 0 20px 20px;
}

.menu3-location-popup__field {
    margin-bottom: 14px;
}

.menu3-location-popup__field label {
    display: block;
    color: var(--cafe-espresso);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.menu3-location-popup__select {
    height: 46px;
    border-radius: var(--cafe-radius);
    border: 1px solid var(--cafe-border);
    color: var(--cafe-coffee);
    background-color: var(--cafe-surface);
    box-shadow: none;
}

.menu3-location-popup__select:focus {
    border-color: var(--cafe-caramel);
    box-shadow: 0 0 0 3px rgba(200, 159, 107, 0.16);
}

.menu3-location-popup__apply {
    width: 100%;
    min-height: 46px;
    border: 0;
    border-radius: var(--cafe-radius-pill);
    background: var(--cafe-coffee);
    color: var(--cafe-on-primary);
    font-size: 15px;
    font-weight: 600;
    transition: var(--cafe-transition);
}

.menu3-location-popup__apply:hover,
.menu3-location-popup__apply:focus {
    background: var(--cafe-espresso);
    color: var(--cafe-on-primary);
}

label.error {
    color: var(--cafe-danger) !important;
    font-size: 14px !important;
    margin-bottom: 0;
}

.error-ajax {
    color: var(--cafe-danger) !important;
    font-size: 14px !important;
    margin-bottom: 0;
}

#variantListModal #variantListModalLabel,
#addOnListModal #addOnListModalLabel {
    font-size: 16px !important;
    font-weight: 600 !important;
}

#variantListModal .modal-footer,
#addOnListModal .modal-footer {
    box-shadow: 0px 0px 10px var(--color29) !important;
    z-index: 1 !important;
}

#variantListModal .modal-footer .view-cart-action,
#addOnListModal .modal-footer .view-cart-action {
        padding: 8px 16px !important;
    font-size: 14px !important;
    background: var(--cafe-coffee);
    border: 1px solid var(--cafe-coffee);
    border-radius: 30px;
}
#variantListModal .modal-footer .view-cart-action:hover,
#addOnListModal .modal-footer .view-cart-action:hover
{
    background: var(--cafe-coffee-overlay);
    color: var(--cafe-on-primary);
}
#variantListModal .modal-footer .view-cart-action:focus,
#addOnListModal .modal-footer .view-cart-action:focus
{
    outline: none;
    box-shadow: none;
}

#view-cart-action-btn {
    border-radius: 10px !important;
}

.menu-list-wrapper {
    position: relative;
    top: 0px;
    width: 220px;
    margin-top: 0px;
}

.fixed_menu {
    position: sticky;
    top: 65px;
    z-index: 1;
}

@media screen and (max-width: 814px) {
    .coupon_wrapper .item {
        width: calc((100vw - 3vw * 2) * (1 / 2.2) - 20px * (1 / 2.2 + 1));
    }
}

@media screen and (max-width: 500px) {
    .coupon_wrapper .item {
        width: calc(100vw * (1 / 1.2) - 20px);
        padding: 10px 5px;
        margin: 3px;
    }
}

@media screen and (max-width: 767px) {
    .coupon_slider {
        margin-bottom: 5px !important;
    }

    .d-xss-block {
        display: block !important;
    }

    #toggleSwitch {
        justify-content: flex-start;
        padding-top: 0;
        padding-bottom: 5px;
    }

    #addOnListModal .modal_description {
        margin-top: 0 !important;
    }

    #addOnListModal .modal_title {
        margin-bottom: 3px !important;
    }

    #addOnListModal .item_discription_main .item_name {
        max-width: 60% !important;
        word-break: break-all;
    }

    #addOnListModal .item_discription_main .item_price {
        max-width: 40% !important;
    }
}

@media(min-width:768px) and (max-width:991px) {
    .fixed_menu {
        width: 140px;
    }

    .menu-list-wrapper {
        width: 140px;
    }

    .page-wrapper {
        padding-top: 40px;
    }

    .d-xss-block {
        display: block !important;
    }

    #toggleSwitch {
        justify-content: flex-start !important;
        padding-top: 0 !important;
    }

    #toggleSwitch .d-flex {
        gap: 5px;
    }

    /* .coupon_wrapper .coupon_detail .coupon_detail_item {
        min-height: 250px;
    } */
}

@media only screen and (min-width: 1024px) and (max-height: 1366px) and (orientation: landscape) {
    /* .coupon_wrapper .coupon_detail .coupon_detail_item {
        min-height: 250px;
    } */

    .page-wrapper {
        padding-top: 25px;
    }
}

@media only screen and (min-width: 1024px) and (max-height: 1366px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 1.5) {
    /* .coupon_wrapper .coupon_detail .coupon_detail_item {
        min-height: 236px;
    } */
}

@media(min-width:1367px) {
    /* .coupon_wrapper .coupon_detail .coupon_detail_item {
        min-height: 230px;
    } */
}

@media(max-width:1023px) {
    .product-group .menu-items-inner-container .product-img-wrap {
        height: 80px !important;
    }
}

.nav-footer {
    background-color:transparent !important;
}

.bottom-action-text {
    color: var(--bg-main);
    padding-inline-end: 5px;
}

.bottom-action-subtext {
    text-transform: uppercase;
    color: var(--bg-main);
}

.bottom-content .view-cart-action {
    background-color: var(--bg-main) !important;
    border: 1px solid var(--bg-main) !important;
    color: var(--current) !important;
    border-radius: 10px !important;
    box-shadow: 0 1px 6px var(--color29);
}

.menu-list-web {
    background-color: var(--cafe-surface);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    height: calc(100vh - 135px) !important;
}

.menu-list {
    text-align: left !important;
    overflow-y: hidden;
    margin-right: 0;
    max-height: calc(100vh - 145px) !important;
}

.menu-list-web-footer .more,
.menu-list-web-footer .less {
    position: absolute;
    bottom: 0px;
    padding: 10px 10px 5px 18px;
    color: var(--current);
    margin: 0px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    width: 100%;
    background: var(--cafe-surface);
    display: none;
}

.menu-listing {
    padding: 15px 10px 15px 5px !important;
    text-align: left !important;
}

.menu-list-wrapper .menu-listing li {
    width: 100% !important;
    color: var(--current) !important;
}

.menu-list-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.menu-list-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--current) !important;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 10px;
    border-radius: 6px;
    width: 100%;
    transition: background-color 0.3s, color 0.3s;
}

.menu-listing a span {
    color: var(--current) !important;
}

.menu-list-link:hover,
.menu-list-link.active {
    border-radius: 10px !important;
    /* background-color: var(--current) !important; */
    color: var(--bg-main) !important;
}

.menu-list-link:hover .category-name,
.menu-list-link:hover .item-count {
    color: var(--cafe-mocha) !important;
}
.menu-listing a.active span, .menu-listing a:hover span
{
    color: var(--bg-main) !important;
}

.category-icon img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    border-radius: 5px;
}

.category-name {
    flex: 1;
}

.item-count {
    font-size: 14px;
    font-weight: 400;
}

.categories-title {
    padding: 10px 10px 5px 18px;
    color: var(--current);
    margin: 0px;
    font-weight: 600;
    font-size: 20px;
}

.menu-list::-webkit-scrollbar {
    width: 1px;
}

.menu-list::-webkit-scrollbar-track {
    background: transparent;
}

.menu-list::-webkit-scrollbar-thumb {
    background-color: var(--cafe-surface);
    border-radius: 10px;
}

html {
    scroll-behavior: smooth;
}

/* ===========================
   RESPONSIVE FONT SIZE SYSTEM - INDEX.CSS
=========================== */

/* theme_cafe_ftr — see cafe floating cart bar block below */

/* Categories Title Responsive Fonts */
.categories-title {
    font-size: 19px;
    font-weight: 600;
    color: var(--current);
    padding: 10px 10px 5px 18px;
    margin: 0px;
}

.category-title .title {
    font-size: 17px;
    font-weight: 600;
    color: var(--current);
    margin-bottom: 0 !important;
}

/* Menu List Responsive Fonts */
.theme-cafe .menu-list-link {
    font-size: 14px;
}

.theme-cafe .menu-list-link .category-name {
    font-size: 16px;
}

.theme-cafe .menu-list-link .item-count {
    font-size: 12px;
}

/* Order Summary Section Responsive Fonts */
.theme-cafe .order-summery-section .cart-item-name {
    font-size: 16px;
    font-weight: 500;
}

.theme-cafe .order-summery-section .cart-item-price {
    font-size: 14px;
}

.theme-cafe .order-summery-section .cart-total {
    font-size: 17px;
    font-weight: 600;
}

.theme-cafe .order-summery-section .cart-subtotal-label {
    font-size: 14px;
}

.theme-cafe .order-summery-section .cart-checkout-btn {
    font-size: 16px;
    font-weight: 600;
}


@media(max-width:767px)
{
    .scroll-bar
    {
        overflow-y: auto;
    }
    .categories-title, .theme-cafe .common-heading
    {
        font-size: 17px !important;
    }
    .theme-cafe .sub-heading
    {
         font-size: 13px !important;   
    }
    .menu-category-items .sub-cat-title
    {
        margin-left: 0 !important;
    }
}

/* Sub-category block — visually nested under main category */
.menu3-subcategory-block {
    position: relative;
    margin: 10px 0 10px;
    padding: 0 0 10px 14px;
    border-left: 3px solid var(--current, #333);
    border-bottom: 1px dashed rgba(0, 0, 0, 0.14);
    display: block !important;
}

.menu3-subcategory-block__head {
    margin: 0;
}

.menu3-subcategory-block__title,
.menu3-subcategory-block .sub-heading,
.menu3-subcategory-block .sub-category-heading {
    font-size: 15px !important;
    font-weight: 600 !important;
    font-style: normal !important;
    letter-spacing: 0.01em;
    line-height: 1.35;
    color: var(--current, #333) !important;
    margin: 0 0 0 !important;
    padding: 0 0 8px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.14);
    text-transform: none;
}
.menu3-subcategory-block__title
{
    border-bottom: none !important;
}
.menu3-subcategory-block .sub-category-heading i {
    font-style: normal;
}

.menu3-subcategory-block + .product-group {
    margin-top: 10px !important;
}

/* Sub-category image + description card */
.menu3-subcategory-meta {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
}

.menu3-subcategory-meta__thumb {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--cafe-neutral-bg);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.menu3-subcategory-meta__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.menu3-subcategory-meta__desc {
    flex: 1;
    min-width: 0;
    margin: 0;
    padding-top: 2px;
    font-size: 13px;
    line-height: 1.5;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0.2px;
    color: var(--color-787, #6b6b6b);
}



.theme-cafe .menu3-subcategory-block__title,
.theme-cafe .menu3-subcategory-block .sub-heading {
    font-size: 15px !important;
    font-weight: 600 !important;
    padding-bottom: 1px;
}

@media (max-width: 767px) {
    .menu3-subcategory-block {
        margin: 14px 0 12px;
        padding-left: 12px;
    }

    .menu3-subcategory-meta__thumb {
        width: 56px;
        height: 56px;
    }
}
/* ===========================
   CATEGORY SLIDER
=========================== */
.theme-cafe .menu-list-web
{
    background-color: inherit !important;
    box-shadow: inherit !important;
    border-radius: inherit !important;
    height: inherit !important;
}
.theme-cafe .menu-listing
{
    padding: 0 10px 0 5px !important;
}
.theme-cafe .menu-list-wrapper .menu-listing li
{
   width: auto !important;
   padding-inline-start: 0px !important;
}
.theme-cafe .swiper-slide {
    width: auto !important;
}
.theme-cafe .menu-list-link {
    width: auto;
    white-space: nowrap;
}
.theme-cafe .menu-list-wrapper
{
    width: 100% !important;
}

/* Horizontal category chips — Swiper needs overflow hidden; override legacy .menu-list rules */
.theme-cafe .menu-list.cafe-category-slider,
.theme-cafe .cafe-category-slider.menu-list {
    position: relative;
    top: auto;
    z-index: 1;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    overflow: hidden !important;
    background: var(--cafe-bg);
    padding: 10px 0 6px;
    backdrop-filter: blur(6px);
    box-shadow: 0 12px 20px rgba(62, 42, 31, 0.04);
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
}

@media (min-width: 992px) {
    .theme-cafe .nav-header {
        margin-bottom: 0;
    }
}

.theme-cafe .cafe-category-slider .menu-listing.swiper-wrapper {
    display: flex !important;
    align-items: center;
    width: max-content;
    box-sizing: border-box;
    padding: 0 4px 2px !important;
}

.theme-cafe .cafe-category-slider .swiper-slide {
    width: auto !important;
    flex-shrink: 0;
    height: auto;
}

.theme-cafe .cafe-category-slider .menu-list-item {
    width: auto !important;
    margin: 0;
}

/* Window scroll + sticky category bar (show_cart 0 and 1) */
body.menu3-theme .main-wrapper,
body.menu3-theme .page-wrapper.menu3-category-scroll,
body.menu3-theme .page-wrapper.menu3-category-scroll > .content,
body.menu3-theme .page-wrapper.menu3-category-scroll .row,
body.menu3-theme .page-wrapper.menu3-category-scroll #menu-categories,
body.menu3-theme .page-wrapper.menu3-category-scroll #main_menu_list,
body.menu3-theme .page-wrapper.menu3-category-scroll #main_menu_list .menu-item-wrapper,
body.menu3-theme .page-wrapper.menu3-category-scroll .menu3-category-sticky-wrap,
body.menu3-theme .page-wrapper.menu3-category-scroll .menu3-sticky-toolbar {
    overflow: visible !important;
}

/* Category bar + desktop search/veg stick together */
.menu3-category-scroll .menu3-sticky-toolbar {
    position: sticky;
    top: var(--menu3-category-sticky-top, 64px);
    z-index: 100;
    background: color-mix(in srgb, var(--cafe-cream, var(--bg-main)) 98%, transparent);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 0 0 16px 16px;
    margin-bottom: 8px;
}

.menu3-category-scroll .menu3-sticky-toolbar .menu3-category-sticky-wrap {
    position: relative;
    top: auto;
    z-index: auto;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    margin-bottom: 0;
}

/* Legacy: category-only sticky when toolbar wrapper is absent */
.menu3-category-scroll .menu3-category-sticky-wrap:not(.menu3-sticky-toolbar .menu3-category-sticky-wrap) {
    position: sticky;
    top: var(--menu3-category-sticky-top, 64px);
    z-index: 100;
    background: color-mix(in srgb, var(--cafe-cream, var(--bg-main)) 98%, transparent);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 0 0 16px 16px;
    margin-bottom: 4px;
}
@media (min-width: 992px) {
    .menu3-category-scroll .menu3-category-sticky-wrap:not(.menu3-sticky-toolbar .menu3-category-sticky-wrap),
    .menu3-category-scroll .menu3-sticky-toolbar {
        top: var(--menu3-category-sticky-top, 64px);
    }
}
.menu3-category-scroll .menu-category-items {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-y: visible !important;
}

.menu3-category-scroll .menu-list-wrap,
.menu3-category-scroll .menu-list-web {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

.menu3-category-scroll #menu3-category-bar {
    width: 100% !important;
    max-width: 100%;
    background: transparent;
    padding-bottom: 6px;
    margin-bottom: 0;
}

.menu3-category-scroll #menu3-category-bar .cafe-category-slider {
    position: relative;
    top: auto;
    z-index: auto;
    box-shadow: none;
    backdrop-filter: none;
    padding-top: 4px;
    padding-bottom: 6px;
    background: transparent;
    overflow: hidden !important;
    max-height: none !important;
    cursor: grab;
    direction: ltr;
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    user-select: none;
    --menu3-category-peek-fade: color-mix(in srgb, var(--cafe-cream, var(--cafe-bg, #faf6f1)) 92%, transparent);
}

/* Edge fade — only after user clicks/drags (see .menu3-category-bar--peek) */
.menu3-category-scroll #menu3-category-bar .cafe-category-slider::before,
.menu3-category-scroll #menu3-category-bar .cafe-category-slider::after {
    content: "";
    position: absolute;
    top: 2px;
    bottom: 4px;
    width: 22px;
    z-index: 3;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.menu3-category-scroll #menu3-category-bar .cafe-category-slider.menu3-category-bar--peek::before,
.menu3-category-scroll #menu3-category-bar .cafe-category-slider.menu3-category-bar--peek::after {
    opacity: 1;
}

.menu3-category-scroll #menu3-category-bar .cafe-category-slider::before {
    left: 0;
    background: linear-gradient(to right, var(--menu3-category-peek-fade) 15%, transparent 100%);
}

.menu3-category-scroll #menu3-category-bar .cafe-category-slider::after {
    right: 0;
    background: linear-gradient(to left, var(--menu3-category-peek-fade) 15%, transparent 100%);
}

@media (max-width: 767px) {
    .menu3-category-scroll #menu3-category-bar .cafe-category-slider::before,
    .menu3-category-scroll #menu3-category-bar .cafe-category-slider::after {
        width: 18px;
    }
}

.menu3-category-scroll #menu3-category-bar .cafe-category-slider.swiper-grab {
    cursor: grabbing;
}

.menu3-category-scroll #menu3-category-bar .cafe-category-slider .menu-listing.swiper-wrapper {
    direction: ltr;
    padding-inline-end: 16px !important;
    will-change: transform;
}

.menu3-category-scroll .category-items {
    scroll-margin-top: 200px;
}

@media (max-width: 767px) {
    .menu3-category-scroll .menu3-sticky-toolbar,
    .menu3-category-scroll .menu3-category-sticky-wrap:not(.menu3-sticky-toolbar .menu3-category-sticky-wrap) {
        border-radius: 0 0 14px 14px;
    }

    .menu3-category-scroll .category-items {
        scroll-margin-top: 180px;
    }

    .menu3-category-scroll #menu3-category-bar .cafe-category-slider {
        direction: ltr;
        touch-action: pan-x;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
    }

    .menu3-category-scroll #menu3-category-bar .cafe-category-slider .menu-listing.swiper-wrapper {
        direction: ltr;
    }

    .menu3-category-scroll #menu3-category-bar .menu-list-link {
        -webkit-tap-highlight-color: transparent;
    }
}

@media (min-width: 768px) and (max-width: 1366px) {
    .menu3-category-scroll .category-items {
        scroll-margin-top: 210px;
    }
}

.theme-cafe .cafe-search-filter {
    padding: 8px 12px 14px;
    margin-bottom: 12px;
    background: color-mix(in srgb, var(--cafe-cream, var(--bg-main)) 95%, transparent);
    backdrop-filter: blur(10px);
    border-radius: 18px;
}

/* Standalone search row only — toolbar child styled below */
.menu3-category-scroll .menu3-sticky-toolbar .cafe-search-filter {
    position: relative;
    top: auto;
    z-index: auto;
    padding: 4px 12px 12px;
    margin-bottom: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    box-shadow: none;
}

/* No-sidebar (show_cart=0): flush sticky nav + category bar — all breakpoints */
body.menu3-theme:has(.page-wrapper.menu3-no-sidebar) .nav-header,
body.menu3-theme:has(.page-wrapper.menu3-no-sidebar) .nav-header.menu3-nav-header,
body.menu3-theme:has(.page-wrapper.menu3-no-sidebar) .nav-header.menu3-nav-sticky {
    margin-bottom: 0 !important;
}

body.menu3-theme .page-wrapper.menu3-category-scroll.menu3-no-sidebar {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

body.menu3-theme .page-wrapper.menu3-category-scroll.menu3-no-sidebar .menu3-sticky-toolbar {
    top: var(--menu3-category-sticky-top, var(--menu3-nav-sticky-height, 64px)) !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    border-radius: 0;
    box-shadow: none;
}

body.menu3-theme:has(.page-wrapper.menu3-no-sidebar) .nav-header.menu3-nav-sticky {
    box-shadow: none;
}

body.menu3-theme .page-wrapper.menu3-category-scroll.menu3-no-sidebar .sticky_head_div.cafe-search-filter {
    position: relative !important;
    top: auto !important;
    z-index: auto !important;
    margin-bottom: 0 !important;
    padding-inline: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.theme-cafe .cafe-search-filter > .d-flex {
    align-items: center;
    gap: 8px;
    min-height: 40px;
}

/* Search / filter — no results */
.menu3-search-empty {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 280px;
    padding: 32px 16px 48px;
}

.menu3-search-empty__card {
    max-width: 420px;
    width: 100%;
    text-align: center;
    padding: 40px 28px 36px;
    background: var(--cafe-surface);
    border: 1px dashed var(--cafe-border);
    border-radius: var(--cafe-radius-xl);
    box-shadow: var(--cafe-shadow);
}

.menu3-search-empty__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--cafe-beige) 0%, var(--cafe-latte) 100%);
    color: var(--cafe-coffee);
    font-size: 28px;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.5);
}

.menu3-search-empty__title {
    margin: 0 0 10px;
    font-family: var(--cafe-font-display);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--cafe-text);
}

.menu3-search-empty__hint {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--cafe-text-soft);
}

@media (max-width: 767px) {
    .menu3-search-empty {
        min-height: 220px;
        padding: 24px 12px 36px;
    }

    .menu3-search-empty__card {
        padding: 32px 20px 28px;
    }

    .menu3-search-empty__icon {
        width: 64px;
        height: 64px;
        font-size: 24px;
    }

    .menu3-search-empty__title {
        font-size: 1.25rem;
    }
}

.theme-cafe .cafe-search-filter .cafe-veg-toggle {
    flex-shrink: 0;
}

.theme-cafe #cart_div {
    position: sticky;
    top: 110px;
    z-index: 80;
}

.theme-cafe #cart_div .order-summery-section {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 100px);
    max-height: calc(100vh - 100px);
    padding-right: 8px;
    overflow: hidden;
    background: var(--cafe-surface, #ffffff);
    border-radius: 20px;
}

.theme-cafe #cart_div .order-summery-section .product_added_cart {
    flex: 1;
    overflow-y: auto;
    padding-right: 6px;
    margin-bottom: 18px;
}

.theme-cafe #cart_div .order-summery-section .product_added_cart::-webkit-scrollbar {
    width: 4px;
}

.theme-cafe #cart_div .order-summery-section .product_added_cart::-webkit-scrollbar-thumb {
    background: var(--cafe-scrim-medium);
    border-radius: 999px;
}

.theme-cafe #cart_div .order-summery-section .total_amount_paid {
    margin-top: auto;
    position: sticky;
    bottom: 0;
    background: var(--cafe-surface, #ffffff);
    border-radius: 18px;
    box-shadow: 0 -8px 24px rgba(62, 42, 31, 0.05);
    padding-top: 12px;
}

@media (max-width: 1199px) {
    .theme-cafe .cafe-category-slider {
        top: 60px;
    }

    .theme-cafe .cafe-search-filter {
        top: 112px;
        padding-inline: 8px;
    }

    .theme-cafe #cart_div {
        top: 98px;
    }

    .theme-cafe #cart_div .order-summery-section {
        height: calc(100vh - 130px);
        max-height: calc(100vh - 130px);
    }
}

@media (max-width: 767px) {
    .theme-cafe .cafe-search-filter {
        top: 96px;
        border-radius: 14px;
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
    }

    .theme-cafe #cart_div {
        top: 88px;
    }

    .theme-cafe #cart_div .order-summery-section {
        height: calc(100vh - 115px);
        max-height: calc(100vh - 115px);
    }
}

/* list */
.theme-cafe .menu-listing {
    display: flex;
    gap: 0px;
}

/* item */
.theme-cafe .menu-list-item {
    flex: 0 0 auto;
}

/* pill button */
.theme-cafe .menu-list-link {
    display: flex;
    align-items: center;
    gap: 0px;
    padding: 8px 18px;
    border-radius: 999px;
    background: var(--cafe-beige);
    color: var(--cafe-text);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--cafe-transition);
}
.theme-cafe .menu-list-link:hover, .theme-cafe .menu-list-link.active
{
    border-radius: 999px !important;
}
/* icon */
.theme-cafe .category-icon img {
    width: 24px;
    border-radius: 100% !important;
    height: 24px;
    opacity: 0.9;
}

/* active — override global .menu-list-link.active !important rules */
.theme-cafe .menu-listing a.menu-list-link.active,
.theme-cafe .menu-listing a.menu-list-link.active:hover {
    background: var(--cafe-coffee, #6f4e37) !important;
    color: var(--cafe-on-primary) !important;
    box-shadow: var(--cafe-shadow-sm, 0 2px 6px rgba(62, 42, 31, 0.06));
}

.theme-cafe .menu-listing a.menu-list-link.active .category-name,
.theme-cafe .menu-listing a.menu-list-link.active .item-count,
.theme-cafe .menu-listing a.menu-list-link.active span {
    color: var(--cafe-on-primary) !important;
}

.theme-cafe .menu-listing a.menu-list-link.active img {
    filter: brightness(0) invert(1);
}

/* hover (non-active chips only) */
.theme-cafe .menu-listing a.menu-list-link:not(.active):hover {
    background: var(--cafe-latte, #e8d6b8) !important;
    color: var(--cafe-text, #3e2a1f) !important;
}

.theme-cafe .menu-listing a.menu-list-link:not(.active):hover .category-name,
.theme-cafe .menu-listing a.menu-list-link:not(.active):hover .item-count,
.theme-cafe .menu-listing a.menu-list-link:not(.active):hover span {
    color: var(--cafe-text, #3e2a1f) !important;
}
.theme-cafe .cafe-search-bar
{
    padding-inline-start: 0 !important;
}
.theme-cafe .search-bar-wrap .input-group-text
{
     border:0;
}

/* Search clear — always visible when input has text */
.theme-cafe .menu3-search-field {
    position: relative;
}

.theme-cafe .menu3-search-field .input-group {
    position: relative;
}

.theme-cafe .cafe-search-input::-webkit-search-cancel-button,
.theme-cafe .mobile-search-input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

.theme-cafe .menu3-search-field--has-value .cafe-search-input,
.theme-cafe .menu3-search-field--has-value .mobile-search-input {
    padding-inline-end: 38px;
}

.theme-cafe .menu3-search-clear {
    position: absolute;
    top: 50%;
    inset-inline-end: 10px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--cafe-text-soft, #8a7568);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition: color 0.2s ease, background 0.2s ease;
}

.theme-cafe .menu3-search-clear[hidden] {
    display: none !important;
}

.theme-cafe .menu3-search-clear:hover,
.theme-cafe .menu3-search-clear:focus {
    color: var(--cafe-coffee, #6f4e37);
    background: var(--cafe-accent-tint);
    outline: none;
}

.theme-cafe .menu3-search-field .input-group .menu3-search-clear {
    inset-inline-end: 8px;
}

/* -------------------------------------------------------------------------
   Cafe floating cart footer (theme_cafe_ftr) — pill bar + cream CTA
   ------------------------------------------------------------------------- */
.theme_cafe_ftr.nav-footer {
    background: transparent !important;
    border: none;
    padding: 0 16px calc(14px + env(safe-area-inset-bottom, 0px));
    z-index: 1040 !important;
}

.theme_cafe_ftr .cafe-cart-ftr-wrap {
    max-width: 520px;
    padding: 0;
    margin: 0 auto;
}

.theme_cafe_ftr .cafe-cart-bar.bottom-content {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: 58px;
    margin: 0 auto;
    padding: 6px 6px 6px 20px;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--cafe-espresso, #3e2a1f) 0%, var(--cafe-mocha, #4b2e20) 100%);
    border: 1px solid rgba(255, 248, 225, 0.12);
    border-radius: var(--cafe-radius-pill, 999px);
    box-shadow:
        0 10px 32px rgba(62, 42, 31, 0.35),
        0 2px 8px rgba(62, 42, 31, 0.2),
        inset 0 1px 0 rgba(255, 248, 225, 0.08);
    overflow: hidden;
}

.theme_cafe_ftr .cafe-cart-bar.bottom-content::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 120% at 8% 50%, rgba(200, 159, 107, 0.18) 0%, transparent 55%);
    pointer-events: none;
}

.theme_cafe_ftr .cafe-cart-bar__info.bottom-action {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    gap: 10px;
    min-width: 0;
    margin: 0;
    padding: 4px 0;
}

.theme_cafe_ftr .cafe-cart-bar__price.bottom-action-text {
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    font-family: var(--cafe-font);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--cafe-foam, #fffaf2) !important;
}

.theme_cafe_ftr .cafe-cart-bar__price.bottom-action-text #cart_value {
    font-variant-numeric: tabular-nums;
}

.theme_cafe_ftr .cafe-cart-bar__meta.bottom-action-subtext {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    font-family: var(--cafe-font);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cafe-on-primary-muted) !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.theme_cafe_ftr .cafe-cart-bar__cta-link {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    text-decoration: none !important;
    margin: 0;
}

.theme_cafe_ftr .cafe-cart-bar__cta.view-cart-action,
.theme_cafe_ftr .cafe-cart-bar__cta#view-cart-action-btn {
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 10px 22px !important;
    font-family: var(--cafe-font);
    font-size: 14px !important;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
    white-space: nowrap;
    color: var(--cafe-espresso, #3e2a1f) !important;
    background: linear-gradient(180deg, var(--cafe-coupon-3) 0%, var(--cafe-foam) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    border-radius: var(--cafe-radius-pill, 999px) !important;
    box-shadow:
        0 2px 8px rgba(62, 42, 31, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: transform 0.2s var(--cafe-ease, ease), box-shadow 0.2s ease, background 0.2s ease;
}

.theme_cafe_ftr .cafe-cart-bar__cta-link:hover .cafe-cart-bar__cta.view-cart-action,
.theme_cafe_ftr .cafe-cart-bar__cta-link:focus .cafe-cart-bar__cta.view-cart-action {
    color: var(--cafe-espresso, #3e2a1f) !important;
    background: var(--cafe-surface-highlight) !important;
    border-color: var(--cafe-border-on-primary) !important;
    transform: translateY(-1px) scale(1.02);
    box-shadow:
        0 6px 16px rgba(62, 42, 31, 0.22),
        inset 0 1px 0 #fff;
}

.theme_cafe_ftr .cafe-cart-bar__cta-link:active .cafe-cart-bar__cta.view-cart-action {
    transform: translateY(0) scale(0.98);
}

/* Disabled / empty cart link state */
.theme_cafe_ftr .cafe-cart-bar__cta-link.disabled,
.theme_cafe_ftr .cafe-cart-bar__cta-link[disabled] {
    pointer-events: none;
    opacity: 0.65;
}

.theme_cafe_ftr .bottom-content .view-cart-action.disabled,
.theme_cafe_ftr .bottom-content .view-cart-action[disabled] {
    opacity: 0.7;
    filter: grayscale(0.2);
}

@media (max-width: 575.98px) {
    .theme_cafe_ftr.nav-footer {
        padding-inline: 12px;
    }

    .theme_cafe_ftr .cafe-cart-ftr-wrap {
        max-width: 100%;
    }

    .theme_cafe_ftr .cafe-cart-bar.bottom-content {
        min-height: 54px;
        padding: 5px 5px 5px 16px;
        gap: 8px;
    }

    .theme_cafe_ftr .cafe-cart-bar__price.bottom-action-text {
        font-size: 19px;
    }

    .theme_cafe_ftr .cafe-cart-bar__meta.bottom-action-subtext {
        font-size: 9px;
        letter-spacing: 0.06em;
    }

    .theme_cafe_ftr .cafe-cart-bar__cta.view-cart-action,
    .theme_cafe_ftr .cafe-cart-bar__cta#view-cart-action-btn {
        min-height: 40px;
        padding: 8px 16px !important;
        font-size: 13px !important;
    }
}

@media (min-width: 576px) {
    .theme_cafe_ftr .cafe-cart-bar__info.bottom-action {
        gap: 14px;
    }

    .theme_cafe_ftr .cafe-cart-bar__meta.bottom-action-subtext {
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .theme_cafe_ftr .cafe-cart-bar__cta.view-cart-action,
    .theme_cafe_ftr .cafe-cart-bar__cta-link:hover .cafe-cart-bar__cta.view-cart-action {
        transition: none;
        transform: none;
    }
}
.theme-cafe .order-summery-section
{
    padding: 15px 15px 25px !important;
}

@media (max-width: 767px) {
    .theme-cafe .menu-category-items {
        height: auto;
        max-height: none;
        overflow-y: visible;
        padding-inline-end: 0;
    }
}
.cafe-product-grid .variant-counter
{
    background-color:var(--cafe-beige) !important;
}
.cafe-product-grid .out-stoke-btn
{
    background: var(--cafe-danger-soft-bg-alt) !important;
    color: var(--cafe-error-text-alt) !important;
    font-weight: 600 !important;
    width: 85px !important;
    height: 32px !important;
}
.cafe-product-grid .out-stoke-btn .out-stoke-text
{
    font-size: 10px;
    line-height: 12px;
    opacity: 0.9;
    font-weight: 700;
    cursor: not-allowed !important;
    text-align: center;
    white-space: nowrap;
}
.order-icon
{
    width: 24px;
    height: 24px;
}
#variantListModal .modal-header
{
    background: var(--cafe-beige) !important;
}
#variantListModal .modal_title
{
    color: var(--cafe-text) !important;
}

@media(max-width: 767px) {
   .theme-cafe .menu-list-wrapper
   {
        height: inherit !important;
        background: inherit !important;
        border-radius: inherit !important;
        box-shadow: inherit !important;
        overflow: inherit !important;
        left: inherit !important;
        right: inherit !important;
   }
  .theme-cafe .menu-list-wrap
   {
    height: inherit !important;
    max-height: inherit !important;
   }
   .theme-cafe .menu-list-web
   {
       overflow:inherit !important;
   }
   .theme-cafe .menu-listing a.menu-list-link span {
        padding: 0 !important;
        margin-right: 0 !important;
        background-color: transparent !important;
        text-align: inherit !important;
    }
    .theme-cafe .menu-listing a.active .category-name, .theme-cafe .menu-listing a:hover .category-name
    {
        padding-inline-end: 5px !important;
    }
   .theme-cafe .content
   {
       padding: 0 15px !important;
   }
   .theme-cafe 
   {
      padding-top: 0 !important;
   }
   .theme-cafe .sticky_head_div {
    position: sticky;
    top: 110px;
    z-index: 90;
    padding-inline: 0;
    margin-bottom: 12px;
    background: var(--cafe-backdrop-cream);
    backdrop-filter: blur(8px);
   }
   .mobile-filter-panel-inner .mobile-filter-toggle-switch,
   .mobile-filter-panel-inner .menu3-veg-switch--mobile
   {
      background: none;
      border: none;
      padding: 0;
      margin: 0;
   }
   .theme-cafe .cafe-category-slider
   {
      background: none;
      box-shadow: none;
      padding: 8px 0 6px;
      overflow: hidden !important;
      max-height: none !important;
   }
   .theme-cafe .menu-list-wrapper .menu-listing li:first-child
   {
      padding-inline-start: 0 !important;
   }
   .theme-cafe .menu-list-link
   {
      font-size: 14px !important;
   }
    .theme-cafe .category-icon img
    {
        margin-inline-end: 5px !important;
    }
}
@media (max-width:575px)
{
     .theme-cafe .menu-listing a.active .category-name, .theme-cafe .menu-listing a:hover .category-name
    {
        padding-inline-end: 5px !important;
    }
    .theme-cafe .category-icon img
    {
        margin-inline-end: 5px !important;
    }
}

/* Mobile filter — below categories, dropdown panel */
.theme-cafe .mobile-filter-wrap {
    display: none;
    position: relative;
    width: 100%;
    margin: 0 0 14px;
    z-index: 85;
}

.theme-cafe .mobile-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: var(--cafe-coffee);
    color: var(--cafe-foam, #fffaf2);
    border: none;
    border-radius: 12px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(111, 78, 55, 0.28);
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.theme-cafe .mobile-filter-btn:hover,
.theme-cafe .mobile-filter-btn.is-active {
    background: var(--cafe-coffee-dark);
    box-shadow: 0 6px 16px rgba(111, 78, 55, 0.35);
}

.theme-cafe .mobile-filter-btn.is-active {
    border-radius: 12px 12px 0 0;
}

.theme-cafe .mobile-filter-panel {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.28s ease,
                visibility 0.28s ease;
}

.theme-cafe .mobile-filter-panel.is-open {
    grid-template-rows: 1fr;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.theme-cafe .mobile-filter-panel-inner {
    overflow: hidden;
    min-height: 0;
    background: var(--cafe-surface);
    border: 1px solid rgba(111, 78, 55, 0.14);
    border-top: none;
    border-radius: 0 0 14px 14px;
    box-shadow: 0 10px 24px rgba(111, 78, 55, 0.14);
    padding: 0 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transform: translateY(-6px);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-cafe .mobile-filter-panel.is-open .mobile-filter-panel-inner {
    padding: 14px;
    transform: translateY(0);
}

.theme-cafe .mobile-filter-field {
    width: 100%;
}

.theme-cafe .mobile-search-input {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--cafe-beige);
    border-radius: 12px;
    font-size: 15px;
    background: var(--cafe-beige);
    color: var(--cafe-coffee);
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.theme-cafe .mobile-search-input:focus {
    outline: none;
    border-color: var(--cafe-coffee);
    background: var(--cafe-surface);
    box-shadow: 0 0 0 3px rgba(111, 78, 55, 0.12);
}

.theme-cafe .mobile-veg-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    background: var(--cafe-beige);
    border-radius: 12px;
}

.theme-cafe .mobile-veg-label-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--cafe-coffee);
}

.theme-cafe .mobile-filter-panel-inner .mobile-filter-toggle-switch,
.theme-cafe .mobile-filter-panel-inner .menu3-veg-switch--mobile {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
}

.theme-cafe .mobile-filter-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 2px;
}

.theme-cafe .mobile-filter-apply-btn {
    flex: 1;
    min-height: 36px;
    padding: 0 16px;
    border: 1px solid var(--cafe-coffee);
    border-radius: 999px;
    background: var(--cafe-coffee);
    color: var(--cafe-foam, #fffaf2);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(111, 78, 55, 0.22);
    transition: background 0.25s ease, transform 0.2s ease;
}

.theme-cafe .mobile-filter-apply-btn:hover {
    background: var(--cafe-coffee-dark);
    transform: translateY(-1px);
}

.theme-cafe .mobile-filter-dismiss-btn {
    flex: 1;
    min-height: 36px;
    padding: 0 16px;
    border: 1px solid rgba(111, 78, 55, 0.25);
    border-radius: 999px;
    background: transparent;
    color: var(--cafe-coffee);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.theme-cafe .mobile-filter-dismiss-btn:hover {
    background: var(--cafe-beige);
    border-color: var(--cafe-coffee);
}
@media (max-width: 991px) {
    .theme-cafe .sticky_head_div {
        top: 95px;
        padding-inline: 8px !important;
    }
}
@media (max-width: 767px) {
    .theme-cafe .cafe-search-bar {
      width: 100% !important;
   }
  
  .menu-list-wrapper.mob-nav-fixed
   {
      position: inherit !important;
   }

    /* Hide desktop search filter on mobile */
    .theme-cafe .cafe-search-filter {
        display: none !important;
    }

    .theme-cafe .mobile-filter-wrap {
        display: block;
    }
}

@media (min-width: 768px) {
    .theme-cafe .mobile-filter-wrap {
        display: none !important;
    }
}

/* Final overrides for show_cart == 0 sticky stack */
body.menu3-theme .page-wrapper.menu3-category-scroll.menu3-no-sidebar #main_menu_list,
body.menu3-theme .page-wrapper.menu3-category-scroll.menu3-no-sidebar #main_menu_list .menu-item-wrapper {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

@media (min-width: 992px) {
    body.menu3-theme .page-wrapper.menu3-category-scroll.menu3-no-sidebar .menu-list-wrapper.fixed_menu {
        position: relative !important;
        top: auto !important;
        z-index: auto !important;
    }
}