    /* -------------------------------------------------------
       OMS FOOD ORDERING UI — PREMIUM LEVEL 2 (FULL CSS)
    ---------------------------------------------------------- */
    
    /* Enable GPU acceleration globally */
    .oms-food-card,
    .oms-qty-box,
    .oms-cart-drawer,
    .oms-add-btn {
        will-change: transform, opacity;
    }
    
    /* Global smooth transition */
    * {
        transition: all 0.25s ease;
    }
    
    /* Layout Wrapper */
    .oms-food-wrapper {
        max-width: 1100px;
        margin: auto;
        padding-bottom: 120px;
        font-family: 'Inter', sans-serif;
    }
    
    /* Header */
    .oms-food-header {
        text-align: center;
        padding: 20px 10px;
    }
    
    .oms-food-header h2 {
        font-size: 22px;
        font-weight: 700;
        color: #1e293b;
    }
    
    .oms-food-header p {
        color: #64748b;
        margin-top: 4px;
    }
    
    /* CATEGORY TABS – Sticky + Blur */
    .oms-category-tabs {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        gap: 10px;
        padding: 2px 5px 12px 5px;
        position: sticky;
        top: 0;
        z-index: 5000;
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(8px);
        transition: box-shadow .3s ease;
    }
    
    .oms-category-tabs::-webkit-scrollbar { display: none; }
    
    .oms-category-tabs.scrolled {
        box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    }
    
    /* CATEGORY BUTTONS */
    .oms-tab {
        background: #f1f5f9;
        padding: 8px 18px;
        border-radius: 20px;
        font-size: 14px;
        border: none;
        color: #334155;
        cursor: pointer;
    }
    
    .oms-tab.active { background:#000; color:white;  box-shadow: 0 3px 10px rgba(0,0,0,0.25); }
    .oms-tab:hover { background:#378935; }
    
    /* PRODUCT GRID */
    .oms-food-menu {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
        gap: 16px;
        padding: 15px;
    }
    
    @media (max-width: 640px) {
        .oms-food-menu {
            grid-template-columns: repeat(2, 1fr) !important;
        }
    }
    
    /* CARD — Staggered fade + float + depth */
    .oms-food-card {
        background: white;
        border-radius: 14px;
        overflow: hidden;
        position: relative;
    
        opacity: 0;
    
        /* Run BOTH animations: fade-in + floating */
        animation: 
            staggerFade .45s ease forwards,
            floatCard 6s ease-in-out infinite alternate;
    }
    
    
    @keyframes staggerFade {
        from { opacity: 0; transform: translateY(20px); }
        to   { opacity: 1; transform: translateY(0); }
    }
    
    @keyframes floatCard {
        0% { transform: translateY(0px); }
        100% { transform: translateY(-6px); }
    }
    
    /* Deep hover enhancement */
    .oms-food-card:hover {
        transform: translateY(-10px) scale(1.04);
           box-shadow: 0 15px 40px rgb(37 83 36 / 18%);
    border: 1px solid rgb(22 62 80 / 25%);
    }
    
    /* Image */
    .oms-food-img {
        width: 100%;
        height: 120px!important;
        object-fit: cover;
        object-position: center;
        transition: transform .35s ease;
    }
    
    /* Parallax Hover Image */
    .oms-food-card:hover .oms-food-img {
        transform: scale(1.12) translateY(-3px);
    }
    
    /* Info Section */
    .oms-food-info { padding: 12px; }
    
    .oms-food-info h3 {
        font-size: 16px;
        font-weight: 600;
        color: #1e293b;
           margin: 0px 0px 8px 0px;
    }
    
    .oms-food-desc {
    font-size: 14px;
    color: #64748b;
    display: -webkit-box;
    -webkit-line-clamp: 2;        /* limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: auto;                 /* allow clamp to set height */
    margin-bottom: 6px;
}

    
    .oms-food-price {
        font-size: 16px;
        font-weight: 600;
        color: #378935;
        /*margin-top: 5px;*/
        display: inline-block;
        text-shadow: 0 0 6px rgba(0,255,120,0.25);
    }
    
    /* ADD BUTTON */
    .oms-add-btn {
        position: absolute;
        bottom: 8px;
        right: 10px;
        padding: 5px 16px;
        background: linear-gradient(135deg, #378935, #03996e);
        box-shadow: 0 4px 12px rgb(36 92 35);
        color: white;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        font-size: 15px;
    }
    
    .oms-add-btn:hover {
        transform: translateY(-2px) scale(1.03);
        box-shadow: 0 6px 18px rgba(16,185,129,0.45);
    }
    
    .oms-add-btn.hide {
        opacity: 0;
        transform: scale(0.7);
    }
    
    /* RIPPLE EFFECT */
    button, .oms-add-btn, .oms-qty, .oms-cart-plus, .oms-cart-minus {
        position: relative;
        overflow: hidden;
    }
    

    
    button:active::after,
    .oms-add-btn:active::after,
    .oms-qty:active::after,
    .oms-cart-plus:active::after,
    .oms-cart-minus:active::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: 140%;
        height: 140%;
        background: rgba(255,255,255,0.4);
        transform: translate(-50%, -50%) scale(0);
        border-radius: 50%;
        animation: rippleEffect .35s ease-out;
        
    }
    
    @keyframes rippleEffect {
        to {
            transform: translate(-50%, -50%) scale(1);
            opacity: 0;
        }
    }
    
    /* QUANTITY BOX */
    .oms-qty-box {
        /*position: absolute;*/
        bottom: 10px;
        right: 10px;
        border: 1px solid #e2e8f0;
        padding: 6px 12px;
        border-radius: 20px;
        background: white;
        display: flex;
        gap: 12px;
        align-items: center;
    
        opacity: 0;
        transform: scale(0.7);
    }
    
    .oms-qty-box.show {
        opacity: 1;
        transform: scale(1);
        animation: popScale .25s cubic-bezier(.19,1,.22,1);
    }
    
    @keyframes popScale {
        0% { transform: scale(0.6); opacity: 0; }
        100% { transform: scale(1); opacity: 1; }
    }
    
    /* Quantity buttons — neumorphic */
.oms-qty, .oms-cart-plus, .oms-cart-minus {
    font-size: 19px;
    width: 22px;
    height: 31px;
    border: none;
    /* background: linear-gradient(145deg, #f0f0f0, #dcdcdc); */
    border-radius: 50%;
    /* box-shadow: 2px 2px 6px #c8c8c8, -2px -2px 6px #ffffff; */
    cursor: pointer;
    /* display: flex; */
    /* justify-content: center; */
    /* align-items: center; */
    /*background: yellow;*/
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0px 5px;}
    
    /* CENTER ONLY PRODUCT CARD BUTTONS */
.oms-food-card .oms-qty {
    display: flex;
    justify-content: center;
    align-items: center;
}
    
    .oms-qty:active,
    .oms-cart-plus:active,
    .oms-cart-minus:active {
        box-shadow: inset 2px 2px 6px #c8c8c8, inset -2px -2px 6px #ffffff;
        transform: scale(0.85);
    }
    
    /* CART BAR */
    .oms-cart-bar {
        position: fixed;
        bottom: 10px;
        left: 0;
        right: 0;
       background: linear-gradient(90deg, #000000, #064e3b);
        color: white;
        padding: 8px 18px;
        display: flex;
        justify-content: space-between!important;
        align-items: center;
        font-weight: 600;
        font-size: 15px;
        display: none;
        z-index: 2000000;
        font-family: system-ui;
        width: 74%;
    margin: auto;
    border-radius: 35px;
    }
    
    #oms-cart-summary {
    line-height: 32px;     /* match your bar height */
    display: inline-block;
}

    
    /* VIEW CART BUTTON */
    #oms-view-cart {
        background: white;
        color: #000000;
        padding: 6px 14px;
        /*border-radius: 8px;*/
        border: none;
        cursor: pointer;
        border-radius: 35px;
        font-weight: 500;
        font-size:15px;
            float: right;
    }
    
    /* CART DRAWER — Glassmorphism */
    .oms-cart-drawer {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        height: 70%;
        padding: 15px;
    
        background: rgba(255,255,255,0.75);
        backdrop-filter: blur(16px) saturate(180%);
        border: 1px solid rgba(255,255,255,0.4);
        border-radius: 20px 20px 0 0;
    
        box-shadow: 0 -8px 30px rgba(0,0,0,0.2);
    
        transform: translateY(100%);
        transition: transform .45s cubic-bezier(.18,.89,.32,1.28);
        z-index: 3000000;
            display: flex;
    flex-direction: column;
    }
    
    .oms-cart-footer {
    margin-top: auto;   /* PUSHES FOOTER TO THE BOTTOM */
    padding-top: 10px;
    background: transparent;
}

    
    .oms-cart-drawer.open {
        transform: translateY(0%);
    }
    
    /* CART ITEMS */
    #oms-cart-items {
        max-height: 70%;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .oms-cart-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding-bottom: 12px;
        margin-bottom: 12px;
        border-bottom: 1px dashed rgba(0,0,0,0.1);
          
    }
    
    /* Cart item image */
    .oms-cart-item-img {
        width: 55px;
        height: 55px;
        border-radius: 10px;
        object-fit: cover;
    }
    
    /* Item info */
    .oms-cart-item-info { flex: 1; }
    
    .oms-cart-item-name {
        font-size: 15px;
        font-weight: 600;
    /*        width: 48%;*/
    /*background: orange;*/
    
    }
    
    .oms-cart-controls{
    /*    width: 48%;*/
    /*background: blue;*/
    /*float: right;*/
    }
    
    .oms-cart-item-price {
        font-size: 16px;
        font-weight: 700;
        color: #378935;
        margin-top: 38px;
    }
    
    
    .nc{
        /*background: green;*/
        display: flex;
        justify-content: space-between;
        align-items: center;
        
    }
    
    
    
    .oms-qty {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    

        
    /* CHECKOUT BUTTON */
    #oms-go-checkout {
    width: 100%;
    background: linear-gradient(90deg, #000000, #064e3b);
    color: white;
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
    }
    
    #oms-go-checkout:hover {
        background: #059669;
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(16,185,129,0.45);
    }
    
    
    
    
    
    
    /* ADVANCED: ADD → QTY transition */
    .oms-add-btn.hide {
        opacity: 0;
        transform: translateX(25px) scale(0.65) rotate(-3deg);
        filter: blur(1px);
        pointer-events: none;
        transition: all .35s cubic-bezier(.22, 1.4, .32, 1);
    }
    
    
    .oms-qty-box {
        opacity: 0;
        transform: translateX(25px) scale(0.6);
        filter: blur(2px);
        transform-origin: right center;
        transition: all .35s cubic-bezier(.22, 1.4, .32, 1);
    }
    
    .oms-qty-box.show {
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: blur(0);
    }
    
    
    .oms-qty-box.show .oms-qty,
    .oms-qty-box.show .oms-qty-num {
        animation: staggerPop .35s cubic-bezier(.22, 1.4, .32, 1);
    }
    
    .oms-qty-box.show .oms-qty.minus { animation-delay: .05s; }
    .oms-qty-box.show .oms-qty-num   { animation-delay: .10s; }
    .oms-qty-box.show .oms-qty.plus  { animation-delay: .15s; }
    
    @keyframes staggerPop {
        0%   { transform: scale(0.4) translateY(4px); opacity: 0; }
        65%  { transform: scale(1.15); opacity: 1; }
        100% { transform: scale(1); opacity: 1; }
    }
    
    
    .oms-qty:active,
    .oms-cart-plus:active,
    .oms-cart-minus:active {
        transform: scale(0.78) !important;
        transition: transform .12s ease;
    }
    
    .oms-qty-box.show {
        box-shadow: 0 0 10px rgba(16,185,129,0.18);
            display: flex;
    justify-content: center;
    align-items: center;
        width: 68%;
    margin: auto;
    }
    
    
    
    /* CLEAN FLY CLONE STYLE (no duplicate, no conflict) */
    .fly-clone {
        position: fixed;
        z-index: 999999999;
        width: 60px;
        height: 60px;
        border-radius: 12px;
        object-fit: cover;
        pointer-events: none;
        /* NO animation here → JS controls all movement */
    }
    
    /* Cart bounce animation */
    @keyframes cartBounce {
        0%   { transform: translateY(0); }
        30%  { transform: translateY(-8px); }
        60%  { transform: translateY(4px); }
        100% { transform: translateY(0); }
    }
    
    .oms-cart-bar.bounce {
        animation: cartBounce .45s ease;
    }
    
    /* Glow pulse on cart */
    @keyframes cartGlow {
        0%   { box-shadow: 0 0 0 rgba(14,165,233,0); }
        50%  { box-shadow: 0 0 25px rgba(14,165,233, .6); }
        100% { box-shadow: 0 0 0 rgba(14,165,233,0); }
    }
    
    .oms-cart-bar.glow {
        animation: cartGlow .6s ease;
    }
    
    /* Fly-back animation */
    .fly-back {
        animation: flyBack .7s cubic-bezier(.32,.98,.52,1.2) forwards;
    }
    
    @keyframes flyBack {
        0%   { transform: scale(0.1); opacity: 0; }
        70%  { transform: scale(.6); opacity: .85; }
        100% { transform: scale(1); opacity: 1; }
    }
    
    
    
.oms-cart-delete {
    position: absolute;
    right: 8px;
    top: 8px;
    background: #ef4444;
    color: white;
    border: none;
    width: 24px!important;
    height: 30px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.oms-cart-delete:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.oms-cart-delete:hover {
    background: #dc2626;
    transform: scale(1.1);
}

/* REQUIRED FIX */
.oms-cart-item {
       position: relative;
    z-index: 1;
    
}



.oms-cart-header {
    position: relative;
    z-index: 10;
        display: flex;
    justify-content: space-between;
    align-items: center;
        /*border-bottom: 1px dotted #2929292b;*/
}

.oms-cart-header h3{
    font-size: 18px;
    font-weight: 600;
}

#oms-close-cart {
    position: relative;
    z-index: 11;
    border: none;
    padding: 0px;
}


#oms-close-cart img {
    width: 15px;
    object-fit: contain;
    border: none;
}



/* Slide-left delete animation */
.oms-item-slide-left {
    animation: slideLeftRemove 0.35s ease forwards;
}

@keyframes slideLeftRemove {
    0% {
        opacity: 1;
        transform: translateX(0);
    }
    70% {
        opacity: 0.2;
        transform: translateX(-40px);
    }
    100% {
        opacity: 0;
        transform: translateX(-80px);
    }
}


.oms-note-wrapper {
    transform: scale(0.60);      /* Makes it visually look like ~11px */
    transform-origin: top left;
    width: 143%;                 /* Compensation so width stays normal */
}

.oms-item-note {
    width: 100%;
    margin-top: 6px;
    padding: 4px 6px;
    font-size: 16px !important;  /* Prevent mobile zoom */
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    resize: none;
    height: 32px;                /* After scale → looks like 32px */
    background: #f8fafc;
}


