.menu-item,
    .category-item,
    .item,
    .menu-list > li {
        border: none !important;
        border-radius: 16px !important;
        padding: 0 !important;
        overflow: hidden;
        box-shadow: 0 3px 12px rgba(0,0,0,0.08);
        transition: all .25s ease;
        background: #fff !important;
    }

    /* Hover floating effect */
    .menu-item:hover,
    .category-item:hover,
    .menu-list > li:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    }

    /* Image style (bigger, rounded) */
    .menu-item .menu-thumb,
    .category-item .category-thumb,
    .item .thumb {
        border-radius: 16px 16px 0 0 !important;
        overflow: hidden;
    }

    .menu-item .menu-thumb img,
    .category-item .category-thumb img,
    .item .thumb img {
        width: 100%;
        height: 180px;
        object-fit: cover;
    }

    /* Text area */
    .menu-content,
    .category-content,
    .item .content {
        padding: 16px 18px !important;
    }

    /* Titles */
    .menu-title,
    .category-title,
    .item .name {
        font-size: 1.15rem !important;
        font-weight: 600 !important;
        margin-bottom: 6px;
        color: #222 !important;
    }

    /* Description */
    .menu-description,
    .category-description,
    .item .description {
        font-size: 0.9rem !important;
        color: #666 !important;
        line-height: 1.4;
        margin-bottom: 10px;
    }

    /* Prices */
    .menu-price,
    .item .price {
        font-size: 1.1rem !important;
        font-weight: 700 !important;
        color: #333;
    }

    /* Add to cart button */


    /* Category list modern style */
    .category-list .category-item {
        text-align: center;
    }

    /* Fix spacing in grid */
    .menu-list,
    .category-list {
        display: grid !important;
        gap: 20px !important;
    }

    .category-thumb img {
        border-radius: 50% !important;
        height: 140px;
        width: 140px;
        object-fit: cover;
    }
    /* =======================================
       TASTYIGNITER 4 LOOK — CART BOX MODAL
       Full Revised CSS
       ======================================= */

    #cart-box-modal .modal-dialog {
        max-width: 550px;
        animation: slideUp .25s ease-out;
    }

    @keyframes slideUp {
      from { transform: translateY(30px); opacity: 0; }
      to   { transform: translateY(0); opacity: 1; }
    }

    #cart-box-modal .modal-content {
        border-radius: 20px !important;
        border: none !important;
        overflow: hidden;
        box-shadow: 0 10px 32px rgba(0,0,0,0.18);
    }

    /* HEADER */
    #cart-box-modal .modal-header {
        padding: 22px 26px;
        border-bottom: none !important;
    }

    #cart-box-modal .modal-title {
        font-size: 1.45rem;
        font-weight: 700;
        color: #222;
    }

    #cart-box-modal .btn-close {
        font-size: 1.3rem;
        opacity: .6;
    }

    #cart-box-modal .btn-close:hover {
        opacity: 1;
    }

    /* TOP IMAGE */
    #cart-box-modal .modal-top img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        background: #f5f5f5;
    }

    /* BODY */
    #cart-box-modal .modal-body {
        padding: 26px 28px;
        background: #fff;
    }

    /* OPTIONS WRAPPER */
    #cart-box-modal .menu-options {
        margin-bottom: 20px;
    }

    #cart-box-modal .menu-option {
        background: #fafafa;
        border-radius: 16px;
        padding: 30px 32px;
        margin-bottom: 20px;
        border: 1px solid #ececec;
        transition: box-shadow .15s;
    }

    #cart-box-modal .menu-option:hover {
        box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    }

    #cart-box-modal .menu-option h5 {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 12px;
        color: #333;
    }

    /* OPTION GROUP */
    #cart-box-modal .option-group .form-check {
        display: flex;
        align-items: center;
        padding: 12px 0;
        border-bottom: 1px dashed #ddd;
    }

    #cart-box-modal .option-group .form-check:last-child {
        border-bottom: none;
    }

    /* CHECKBOX STYLE */
    #cart-box-modal .form-check-input {
        width: 20px;
        height: 20px;
        border-radius: 6px;
        margin-top: 0;
    }

    #cart-box-modal .form-check-input:checked {
        background-color: #ff5722;
        border-color: #ff5722;
    }

    #cart-box-modal .form-check-label {
        margin-left: 12px;
        font-size: 1rem;
        width: 100%;
        font-weight: 500;
        color: #222;
    }

    #cart-box-modal .form-check-label span {
        font-size: .9rem;
        float: right;
        color: #888;
    }

    /* COMMENT TEXTAREA */
    #cart-box-modal textarea.form-control {
        margin-top: 15px;
        border-radius: 14px;
        border: 1px solid #ddd;
        padding: 14px 16px;
        font-size: .95rem;
        background: #fafafa;
    }

    /* FOOTER */
    #cart-box-modal .modal-footer {
        border-top: none;
        padding: 22px 26px;
        background: #fff;
    }

    /* QUANTITY INPUT */
    #cart-box-modal .input-group-lg .btn-light {
        background: #f2f2f2;
        border-radius: 12px !important;
        border: none;
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    #cart-box-modal .input-group-lg .btn-light:hover {
        background: #e6e6e6;
    }

    #cart-box-modal .input-group-lg input[type=number] {
        border: none !important;
        font-size: 1.35rem;
        font-weight: 700;
        background: transparent;
    }

    /* PRIMARY BUTTON (Add to order) */
    #cart-box-modal .btn-primary {
        border: none !important;
        border-radius: 14px !important;
        padding: 15px 20px;
        font-size: 1.15rem;
        font-weight: 700;
        color: #fff !important;
        transition: background .2s ease;
    }

    /* Price inside button */
    #cart-box-modal .btn-primary .fs-6 {
        font-size: 1rem !important;
        font-weight: 700;
        color: #fff;
    }

    /* Better alignment */
    #cart-box-modal .btn-primary .d-flex {
        align-items: center;
    }
    /* Enable spacing between menu items like TI4 */
    #menu-items .row,
    .menu-list .row,
    .menu-group .row {
        display: flex;
        flex-wrap: wrap;
        gap: 20px; /* spacing between menu cards */
    }

    /* 2 columns on desktop/tablet */
    #menu-items .row > [class*='col-'],
    .menu-list .row > [class*='col-'],
    .menu-group .row > [class*='col-'] {
        flex: 0 0 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }

    /* Internal card always full width */
    .menu-item,
    .menu-item-card {
        width: 100%;
    }

    /* 1 column on mobile */
    @media (max-width: 768px) {
        #menu-items .row > [class*='col-'],
        .menu-list .row > [class*='col-'],
        .menu-group .row > [class*='col-'] {
            flex: 0 0 calc(100% - 20px);
            max-width: calc(100% - 20px);
        }
    }



/* CSS for the overlay popup */
    #cookie-overlay {
        display: none;
        opacity: 0.9;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        color: white;
        z-index: 9999;
        padding: 20px;
        text-align: left;
    }

    #cookie-overlay .content ul {
        list-style-type: none;
        padding: 0;
        color: #ddd;
        font-size: 16px;
        margin-bottom: 30px;
    }

    #cookie-overlay .content {
        background-color: black;
        padding: 20px;
        border-radius: 5px;
    }

    #cookie-overlay .content a {
        color: yellow;
        text-decoration: underline;
    }

    /* --- GLOBAL RESETS --- */
.affix-cart .panel,
.affix-cart .panel-cart {
    border: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.10);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.affix-cart .panel-body {
    padding: 18px 20px;
}

/* --- TIME PICKER BUTTON --- */
.btn-timepicker {
    border-radius: 14px !important;
    padding: 10px 12px !important;
    font-weight: 600 !important;
}

/* Dropdown menu */
.dropdown-menu {
    border-radius: 16px !important;
    box-shadow: 0 8px 26px rgba(0,0,0,0.12) !important;
    border: none !important;
    padding: 10px 0 !important;
}

.dropdown-item {
    padding: 10px 18px !important;
    border-radius: 10px !important;
    margin: 2px 6px !important;
    font-size: 15px !important;
}

.dropdown-item:hover {
    color: var(--bs-primary) !important;
    width: -webkit-fill-available;
}

.dropdown-item.active {
    font-weight: 700 !important;
    width: -webkit-fill-available;
}

/* --- SCHEDULE ORDER FORM --- */
.dropdown-content {
    background: #f8f9fb !important;
    border-radius: 14px !important;
    padding: 12px !important;
    margin-top: 10px !important;
}

.form-select {
    border-radius: 12px !important;
    border: 1px solid #dedede !important;
    padding: 8px 12px !important;
}

/* Submit button */
[data-timepicker-submit] {
    margin-top: 12px;
    border-radius: 12px !important;
    font-weight: 600;
}

/* --- ORDER TYPE DROPDOWN --- */
#orderTypeDropdown {
    border-radius: 14px !important;
    font-size: 17px !important;
    font-weight: 600 !important;
}

/* --- CART ITEMS --- */
.cart-items ul {
    padding: 0;
}

.cart-items li {
    background: #f9fafc;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 12px;
    list-style: none;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    position: relative;
}

.cart-items .name {
    font-weight: 700;
    font-size: 16px !important;
}

.cart-items .text-muted {
    color: #8f8f8f !important;
}

.cart-btn {
    border-radius: 8px !important;
    border: none !important;
    background: #ececec !important;
}

.cart-btn:hover {
    background: #dcdcdc !important;
}

/* Price on right */
.cart-items .price {
    font-weight: 700;
    color: #333;
    font-size: 16px;
}

/* --- COUPON BOX --- */
.cart-coupon .input-group {
    border-radius: 14px !important;
    overflow: hidden;
    background: #f3f5f7;
    border: 1px solid #e2e2e2;
}

.cart-coupon input {
    background: transparent;
    border: none !important;
    padding: 10px 12px;
}

.cart-coupon button {
    border: none !important;
}

/* --- TOTALS --- */
#cart-totals .cart-total {
    background: #fff;
    border-radius: 14px;
    padding: 16px;
    margin-top: 12px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.07);
}

#cart-totals strong {
    font-size: 17px !important;
}

/* --- CHECKOUT BUTTON --- */
.btn-checkout,
.module-footer .btn-primary {
    border-radius: 14px !important;
    padding: 14px;
    font-size: 17px;
    box-shadow: 0 5px 18px rgba(0,0,0,0.12);
    font-weight: 700;
}

/* --- OTHER SMALL TEXTS --- */
.text-muted {
    font-size: 14px !important;
    opacity: 0.7;
}

/* --- SPACING FIXES --- */
.local-control {
    margin-top: 18px !important;
}
.layout-scrollable {
    overflow-x: auto;
    display: block;

    /* Hide default scrollbar */
    scrollbar-width: thin;        /* For Firefox */
    scrollbar-color: #888 #f1f1f1; /* For Firefox */
}

/* For Webkit browsers (Chrome, Edge, Safari) */
.layout-scrollable::-webkit-scrollbar {
    height: 8px; /* horizontal scrollbar height */
}

.layout-scrollable::-webkit-scrollbar-track {
    background: #f1f1f1; 
    border-radius: 4px;
}

.layout-scrollable::-webkit-scrollbar-thumb {
    background-color: #888; 
    border-radius: 4px;
    border: 2px solid #f1f1f1;
}

.layout-scrollable::-webkit-scrollbar-thumb:hover {
    background-color: #555; 
}

.bg-primary, .badge-primary, .label-primary, .panel-primary {
    padding: 20px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}