.theme_2 #OrderTypeModal .view-cart-action.active,
.theme_2 #OrderTypeModal .view-cart-action:hover,
.theme_2 #LoginModal .view-cart-action:hover {
    background-color: var(--current);
    color: var(--white);
}

.theme_2 label.error {
    color: red !important;
    font-size: 14px !important;
    margin-bottom: 0;
}

.theme_2 .error-ajax {
    color: red !important;
    font-size: 14px !important;
    margin-bottom: 0;
}

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

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

.theme_2 #variantListModal .modal-footer .view-cart-action,
.theme_2 #addOnListModal .modal-footer .view-cart-action {
    padding: 6px 16px !important;
    font-size: 14px !important;
}

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

.theme_2 .menu-list-wrapper {
    position: sticky;
    width: 220px;
}

.theme_2 .fixed_menu {
    position: fixed;
    top: 130px;
    z-index: 1;
}

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

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

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

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

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

    .theme_2 .browser-default {
        margin-bottom: 8px;
    }

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

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

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

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

    .nav-footer {
        background-color: var(--current) !important;
    }

    .nav-footer .bottom-action {
        display: flex !important;
        align-items: center !important;
    }

    .bottom-action-text {
        font-size: 16px !important;
        font-weight: 500 !important;
        color: var(--bg-main);
        border-right: 2px solid var(--bg-main);
        padding-right: 5px;
    }

    .bottom-action-subtext {
        margin-top: 0;
        font-size: 13px;
        font-weight: 500;
        padding-left: 3px;
        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;
        font-weight: 600 !important;
        border-radius: 10px !important;
        font-size: 13px !important;
        padding: 4px 12px !important;
        box-shadow: 0 1px 6px var(--color29);
    }

    .nav-footer .bottom-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media(min-width:768px) and (max-width:991px) {

    .theme_2 .fixed_menu {
        width: 140px;
    }

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

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

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

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

    .nav-header {
        padding: 10px 15px !important;
    }
}

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

    .theme_2 .page-wrapper {
        padding-top: 50px;
    }
}

@media only screen and (min-width: 1024px) and (max-height: 1366px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 1.5) {
    .theme_2 .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(min-width:1200px) and (max-width:1230px) {
    .theme_2 .fixed_menu {
        width: 180px;
    }

    .theme_2 .menu-list-wrapper {
        width: 180px;
    }
}

@media(min-width:1300px) and (max-width:1524px) {
    .theme_2 .fixed_menu {
        width: 220px;
    }

    .theme_2 .menu-list-wrapper {
        width: 220px;
    }

    .theme_2 .menu-right {
        left: 12px !important;
    }
}

@media(min-width:1525px) {
    .theme_2 .fixed_menu {
        width: 260px;
    }

    .theme_2 .menu-list-wrapper {
        width: 260px;
    }

    .theme_2 .menu-right {
        left: 12px !important;
    }
}

@media(min-width:1760px) {
    .theme_2 .fixed_menu {
        width: 300px;
    }

    .theme_2 .menu-list-wrapper {
        width: 300px;
    }

    .theme_2 .menu-right {
        left: 12px !important;
    }
}

@media(min-width:1761px) {
    .theme_2 .menu-right {
        left: 27px !important;
    }
}

.search-bar-wrap .input-group-text {
    border-radius: 10px 0 0 10px;
}

.search-bar-wrap .form-control {
    border-radius: 0 10px 10px 0 !important;
}

/* Container styling */
.menu-list-web {
    background-color: var(--white);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    height: calc(100vh - 75px) !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(--white);
}

.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;
}

/* Individual item styling */
.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;
    /* Smooth transition for background and text color */
}

.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,
.menu-list-link.active .category-name,
.menu-list-link.active .item-count {
    color: var(--bg-main) !important;
    /* Replace var(--bg-main) with your desired color */
}

/* Icon styling */
.category-icon img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    border-radius: 5px;
    /* Optional: rounded corners */
}

/* Category name */
.category-name {
    text-transform: capitalize;
    flex: 1;
}

/* Item count styling */
.item-count {
    font-size: 14px;
    font-weight: 400;
}

/* rtl css start */
.search-bar-wrap .input-group-text {
    border-start-end-radius: 0px !important;
    border-end-end-radius: 0px !important;
    border-start-start-radius: 10px !important;
    border-end-start-radius: 10px !important;
}

.search-bar-wrap .form-control {
    border-start-end-radius: 10px !important;
    border-end-end-radius: 10px !important;
    border-start-start-radius: 0px !important;
    border-end-start-radius: 0px !important;
}

.categories-title {
    text-align: start;
}

.category-name {
    text-align: start;
}

.bottom-action-text {
    border-inline-end: 2px solid var(--bg-main);
    border-inline-start: none;
}

.theme_2 .fixed_menu {
    top: 65px !important;
}

.theme_2 .menu-list-wrapper {
    top: 0;
    margin-top: 0;
}

.menu-list-wrapper:after {
    display: none !important;
}

.menu-list-item {
    margin-bottom: 5px;
}

/* Webkit browsers */
/* Webkit browsers (like Chrome, Safari, Edge) */
.menu-list::-webkit-scrollbar {
    width: 1px;
    /* Set scrollbar width in pixels */
}

.menu-list::-webkit-scrollbar-track {
    background: transparent;
    /* Optional: background of scrollbar track */
}

.menu-list::-webkit-scrollbar-thumb {
    background-color: var(--white);
    /* Color of the scrollbar thumb */
    border-radius: 10px;
    /* Optional: rounded corners */
}

@media (min-width: 1760px) {
    .theme_2 .menu-list-wrapper {
        width: 331px !important;
    }
}

@media (min-width: 1300px) and (max-width: 1524px) {
    .theme_2 .menu-list-wrapper {
        width: 235px !important;
    }

    .theme_2 .fixed_menu {
        width: 235px !important;
    }
}

@media(max-width: 767px) {
    .right-navbar {
        justify-content: center;
        margin-bottom: 10px;
    }

    #main_menu_list {
        padding-left: 10px;
        padding-right: 10px;
    }

    .theme_2 .sticky_part {
        top: -0.5px !important;
    }
}

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

html {
    scroll-behavior: smooth;
}