/* ════════════════════════════════════════════
         MENU PAGE — all styles
         Layout: full viewport, side-by-side menu+cart
      ════════════════════════════════════════════ */
.menu-page-wrap {
    display: flex;
    height: calc(100vh - 70px); /* minus nav height */
    margin-top: 70px;
    overflow: hidden;
}

/* ── MENU SIDE ── */
.menu-side {
    flex: 1; overflow-y: auto; padding: 1rem;
    background: var(--dark);
}
.menu-side::-webkit-scrollbar { width: 4px; }
.menu-side::-webkit-scrollbar-thumb { background: rgba(186,117,23,.2); }

.fk-toast-stack {
    position: fixed; top: 5.5rem; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; gap: .5rem;
    z-index: 99999; pointer-events: none;
    width: min(90vw, 380px);
}
.fk-toast {
    display: flex; align-items: center; gap: .65rem;
    color: #fff; font-size: .84rem; font-weight: 700;
    padding: .75rem 1rem; border-radius: 12px;
    box-shadow: 0 10px 28px rgba(0,0,0,.5);
    opacity: 0; transform: translateY(-14px) scale(.96);
    transition: opacity .25s, transform .25s;
    pointer-events: auto;
}
.fk-toast.show { opacity: 1; transform: translateY(0) scale(1); }

.fk-toast-icon {
    width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-size: .78rem;
    background: rgba(255,255,255,.22); color: #fff;
}
.fk-toast-text { flex: 1; line-height: 1.35; }
.fk-toast-close { background: transparent; border: none; color: rgba(255,255,255,.65); cursor: pointer; font-size: .75rem; padding: .2rem; }
.fk-toast-close:hover { color: #fff; }

.fk-toast.success { background: #1e8e3e; }
.fk-toast.danger  { background: #d93025; }
.fk-toast.warning { background: var(--amber); color: var(--dark); }
.fk-toast.warning .fk-toast-icon { background: rgba(15,9,4,.18); color: var(--dark); }
.fk-toast.warning .fk-toast-close { color: rgba(15,9,4,.5); }
.fk-toast.warning .fk-toast-close:hover { color: var(--dark); }
.fk-toast.info    { background: #1a73e8; }

@media (max-width: 640px) {
    .fk-toast-stack { top: auto; bottom: calc(90px + env(safe-area-inset-bottom,0)); }
}

/* ── CATEGORY TABS ── */
.cat-tabs {
    display: flex; gap: .4rem; overflow-x: auto;
    padding-bottom: .6rem; margin-bottom: 1rem; scrollbar-width: none;
}
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab {
    padding: .45rem 1rem; border-radius: 100px;
    border: 1px solid var(--border); background: transparent;
    color: rgba(253,246,236,.48); font-size: .8rem; font-weight: 600;
    cursor: pointer; white-space: nowrap; transition: all .2s;
    font-family: 'Space Grotesk', sans-serif;
    display: flex; align-items: center; gap: .35rem;
}
.cat-tab i { font-size: .72rem; }
.cat-tab.active, .cat-tab:hover { background: var(--amber); color: var(--dark); border-color: var(--amber); }
.cat-tab.deals-tab.active, .cat-tab.deals-tab:hover {
    background: #6f42c1 !important;
    border-color: #6f42c1 !important;
    color: #fff !important;
}
.cat-tab.kids-tab.active, .cat-tab.kids-tab:hover {
    background: #e83e8c !important;
    border-color: #e83e8c !important;
    color: #fff !important;
}
/* ── MENU GRID ── */
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: .85rem; }
.menu-card {
    background: var(--card2); border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden;
    cursor: pointer; transition: all .2s;
}
.menu-card:hover { border-color: var(--border-h); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(239,159,39,.1); }
.menu-card.unavailable { opacity: .42; pointer-events: none; }

.menu-card.sold-out{ opacity:.45; filter:grayscale(.6); pointer-events:auto; }
.menu-card.sold-out .card-img{ position:relative; }
.card-badge.badge-soldout{
    background:rgba(216,90,48,.9); color:#fff; font-weight:700; font-size:.62rem;
    padding:.2rem .55rem; border-radius:100px; letter-spacing:.02em;
}
/*.card-img {*/
/*    height: 140px; display: flex; align-items: center; justify-content: center;*/
/*    background: var(--card); position: relative; overflow: hidden;*/
/*    border-bottom: 1px solid var(--border);*/
/*}*/
/*.card-img-frame {*/
/*    width: 104px; height: 104px; flex-shrink: 0;*/
/*    display: flex; align-items: center; justify-content: center;*/
/*    background: rgba(239,159,39,.05);*/
/*    border: 1px solid rgba(239,159,39,.14);*/
/*    border-radius: 18px;*/
/*    overflow: hidden;*/
/*}*/
/*.card-img-frame img {*/
/*    width: 80%; height: 80%; object-fit: contain;*/
/*    transition: transform .25s ease;*/
/*}*/
/*.menu-card:hover .card-img-frame img { transform: scale(1.08); }*/
/*.card-img i { font-size: 2.6rem; }*/

/*!* ── Price ribbon — replaces the flat text price in the footer ── *!*/
/*.price-ribbon {*/
/*    position: absolute; left: 0; bottom: 10px; z-index: 2;*/
/*    background: var(--amber); color: var(--dark);*/
/*    font-family: 'Space Grotesk', sans-serif; font-weight: 800; font-size: .8rem;*/
/*    padding: .3rem .7rem .3rem .6rem;*/
/*    border-radius: 0 100px 100px 0;*/
/*    box-shadow: 0 4px 10px rgba(0,0,0,.35);*/
/*}*/
/*.price-ribbon.from { font-size: .72rem; }*/
/*.price-ribbon.from::before { content: 'from '; font-weight: 600; opacity: .7; }*/

.card-img {
    height: 150px; display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
    background: radial-gradient(circle at 50% 45%, rgba(239,159,39,.16), transparent 70%), var(--card);
}
.card-img img {
    width: 72%; height: 72%; object-fit: contain;
    filter: drop-shadow(0 8px 14px rgba(0,0,0,.4));
    transition: transform .25s ease;
}
.menu-card:hover .card-img img { transform: scale(1.08); }
.card-img i { font-size: 3rem; }

/* new — replaces the ribbon */
.price-tag {
    position: absolute; bottom: .8rem; left: 0; z-index: 2;
    background: var(--amber); color: var(--dark);
    font-family: 'Space Grotesk', sans-serif; font-weight: 800; font-size: 1rem;
    padding: .3rem .6rem; border-radius: 0 8px 8px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,.35);
}
.price-tag.from { font-size: 1rem; }
.price-tag.from::before { content: 'from '; font-weight: 600; opacity: .7; }

/* ── Hover quick-add — desktop only, mobile keeps the footer tap button ── */
.card-img-overlay {
    position: absolute; inset: 0; z-index: 3;
    background: rgba(15,9,4,.5);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity .2s;
}
.menu-card:hover .card-img-overlay { opacity: 1; pointer-events: auto; }
.card-img-overlay-btn {
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--amber); color: var(--dark);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.05rem; border: none; cursor: pointer;
    transform: scale(.6); transition: transform .2s;
    box-shadow: 0 6px 16px rgba(0,0,0,.45);
}
.menu-card:hover .card-img-overlay-btn { transform: scale(1); }

.undo-bar{
    display:flex; align-items:center; justify-content:space-between; gap:.6rem;
    background:rgba(216,90,48,.1); border:1px solid rgba(216,90,48,.3); border-radius:10px;
    padding:.6rem .9rem; font-size:.78rem; margin-top:.6rem;
}
.undo-bar button{
    background:rgba(216,90,48,.85); color:#fff; border:none; border-radius:6px;
    padding:.35rem .7rem; font-size:.75rem; font-weight:700; cursor:pointer; flex-shrink:0;
}

.menu-grid.sectioned{ display:block; }
.menu-grid.sectioned > .menu-grid{ margin-bottom:1.75rem; }
.menu-section-header{
    display:flex;align-items:center;gap:.5rem;
    font-size:.78rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;
    color:var(--amber);margin:1.6rem 0 .8rem;
}
.menu-section-header:first-child{ margin-top:0; }
.menu-section-header.deals{ color:#a78bfa; }
.menu-section-header.kids{ color:#f472b6; }

.menu-search-row{ margin-bottom:.8rem; }
.menu-search-wrap{
    display:flex;align-items:center;gap:.7rem;background:var(--card2);
    border:1.5px solid var(--border);border-radius:100px;padding:.75rem 1.1rem;
    transition:border-color .2s, box-shadow .2s;
}
.menu-search-wrap:focus-within{
    border-color:rgba(239,159,39,.5);
    box-shadow:0 0 0 4px rgba(239,159,39,.08);
}
.menu-search-wrap i.fa-search{ color:rgba(253,246,236,.35);font-size:.9rem; }
.menu-search-wrap input{ flex:1;background:transparent;border:none;outline:none;color:var(--cream);font-size:.9rem;font-family:'Space Grotesk',sans-serif; }
.menu-search-wrap input::placeholder{ color:rgba(253,246,236,.28); }
.menu-search-wrap button{
    background:rgba(253,246,236,.06); border:none;color:rgba(253,246,236,.5);
    cursor:pointer;font-size:.72rem;width:22px;height:22px;border-radius:50%;
    display:flex;align-items:center;justify-content:center; transition:background .15s;
}
.menu-search-wrap button:hover{ background:rgba(253,246,236,.14); color:var(--cream); }
.search-results-label{ font-size:.78rem;color:rgba(253,246,236,.45);margin-bottom:.8rem; }

.promo-banner {
    display: none; position: relative;
    margin-bottom: 1rem;
}
.promo-track {
    display: flex;
    gap: .9rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; -ms-overflow-style: none;
}
.promo-track::-webkit-scrollbar { display: none; }

.promo-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    position: relative; overflow: hidden;
    border: 1px solid var(--border); border-radius: 20px;
    display: flex; flex-direction: column-reverse; align-items: center; text-align: center;
    gap: 1rem; padding: 1.4rem 1.2rem 2.4rem;
    background:
        radial-gradient(circle at 85% 15%, rgba(239,159,39,.18), transparent 55%),
        repeating-linear-gradient(45deg, rgba(253,246,236,.025) 0 2px, transparent 2px 18px),
        var(--card2);
}
.promo-banner-text, .promo-banner-img { position: relative; z-index: 1; }

.promo-price-block { display: flex; align-items: baseline; gap: .6rem; margin: .4rem 0 .9rem; justify-content: center; }
.promo-price-old { font-size: .82rem; color: rgba(253,246,236,.35); text-decoration: line-through; }
.promo-price-now { font-family: 'Space Grotesk', sans-serif; font-weight: 800; font-size: 1.9rem; color: var(--amber); line-height: 1; }

@media (min-width: 900px) {
    /*.promo-slide {*/
    /*    flex: 0 0 50%;*/
    /*    border-right: 1px solid var(--border);*/
    /*}*/
    .promo-slide { flex: 0 0 calc(50% - .45rem); }

}
.promo-dots {
    position: absolute; bottom: .7rem; left: 50%; transform: translateX(-50%);
    display: flex; gap: .4rem; z-index: 2;
}
.promo-dot {
    width: 7px; height: 7px; border-radius: 50%; padding: 0; border: none;
    background: rgba(253,246,236,.25); cursor: pointer;
    transition: background .2s, width .2s;
}
.promo-dot.active { background: var(--amber); width: 18px; border-radius: 4px; }

.promo-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(15,9,4,.5); border: 1px solid rgba(255,255,255,.15);
    color: #fff; display: none; align-items: center; justify-content: center;
    cursor: pointer; z-index: 2; font-size: .8rem;
}
.promo-arrow.prev { left: .6rem; }
.promo-arrow.next { right: .6rem; }
.promo-banner-eyebrow {
    display: inline-flex; align-items: center; gap: .35rem;
    font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
    color: var(--amber); margin-bottom: .4rem;
}
.promo-banner-title { font-family:'Space Grotesk',sans-serif; font-size: 1.3rem; font-weight: 800; color: var(--cream); margin-bottom: .2rem; }
.promo-banner-sub { font-size: .8rem; color: rgba(253,246,236,.45); margin-bottom: .8rem; }
.promo-banner-cta {
    background: var(--amber); color: var(--dark); border: none; border-radius: 100px;
    padding: .65rem 1.3rem; font-weight: 700; font-size: .85rem; cursor: pointer;
    display: inline-flex; align-items: center; gap: .45rem;
}
.promo-banner-img { position: relative; height: 14rem; flex-shrink: 0; }
.promo-banner-img img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 20px rgba(0,0,0,.4)); }
.promo-banner-badge {
    position: absolute; top: .5rem; right: .5rem;
    background: #28a745; color: #fff; font-size: .68rem; font-weight: 800;
    padding: .25rem .55rem; border-radius: 100px;
    box-shadow: 0 4px 10px rgba(0,0,0,.3);
    white-space: nowrap;   /* guarantees "Save Rs.260" never wraps/truncates */
}

@media (min-width: 640px) {
    .promo-slide { flex-direction: row; text-align: left; padding: 0; }
    .promo-banner-text { flex: 1; padding: 1.8rem 1rem 1.8rem 2rem; }
    .promo-price-block { justify-content: flex-start; }
    .promo-banner-img {
        flex: 0 0 44%; align-self: stretch;
        display: flex; align-items: center; justify-content: center;
        padding: 1.5rem 2.2rem 1.5rem 1.5rem;   /* extra right padding — see badge fix below */
        background: radial-gradient(circle at 50% 45%, rgba(239,159,39,.16), transparent 65%);
    }
}
@media (max-width: 640px) {
    .promo-banner-img { height: 5rem; }
    .promo-price-now { font-size: 1.5rem }
    .promo-banner-cta { padding: .55rem 1.1rem; font-size: .78rem;}
    .promo-price-block { gap: .4rem; margin: .4rem 0 .4rem; }
    .promo-banner-sub { margin-bottom: .4rem}
    .promo-banner-badge { right: -10.5rem; }
}

.jump-bar{ display:none;gap:.5rem;overflow-x:auto;padding-bottom:.5rem;margin-bottom:.6rem;scrollbar-width:none; }
.jump-bar::-webkit-scrollbar{ display:none; }
.jump-bar.show{ display:flex; }
.jump-link{ font-size:.72rem;font-weight:600;color:rgba(253,246,236,.4);padding:.3rem .7rem;border-radius:100px;border:1px solid var(--border);white-space:nowrap;text-decoration:none;transition:all .2s; }
.jump-link:hover{ color:var(--cream);border-color:var(--border-h); }
.jump-link.active{ color:var(--dark);background:var(--amber);border-color:var(--amber); }

.card-img i { font-size: 1.7rem; color: var(--card2); }
.card-badge { position: absolute; top: .4rem; right: .4rem; font-size: .62rem; font-weight: 700; padding: .17rem .5rem; border-radius: 100px; }
.badge-star { background: rgba(239,159,39,.12); color: var(--amber); border: 1px solid rgba(239,159,39,.22); }
.badge-hot  { background: rgba(216,90,48,.1);  color: var(--red);   border: 1px solid rgba(216,90,48,.22); }
.badge-deal { background: rgba(83,74,183,.12); color: #a78bfa;      border: 1px solid rgba(83,74,183,.28); }
.card-body { padding: .8rem; }
.card-name { font-size: .88rem; font-weight: 600; margin-bottom: .08rem; }
.card-urdu { font-family: 'Noto Nastaliq Urdu', serif; font-size: .7rem; color: rgba(253,246,236,.3); /*direction: rtl*/; margin-bottom: .5rem; }
.card-footer-row { display: flex; align-items: center; justify-content: space-between; }
.card-price { font-size: .9rem; font-weight: 700; color: var(--amber); }
.heat-row { display: flex; gap: 2px; }
.hdot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.hdot.off { background: rgba(253,246,236,.1); }
.add-btn {
    width: 26px; height: 26px; border-radius: 7px;
    background: var(--amber); color: var(--dark); border: none;
    cursor: pointer; font-size: 13px; display: flex; align-items: center;
    justify-content: center; transition: transform .1s;
}
.add-btn:hover { transform: scale(1.12); }

/* ── CART SIDE ── */
.cart-side {
    position: fixed; top: 70px; right: 0;
    height: calc(100vh - 70px);
    width: 400px; max-width: 100%;
    border-left: 1px solid var(--border);
    display: flex; flex-direction: column;
    background: var(--card);
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    z-index: 650;
    box-shadow: -12px 0 40px rgba(0,0,0,.45);
}
.cart-side.open { transform: translateX(0); }

/* dim backdrop behind the drawer, click to close */
.cart-backdrop {
    position: fixed; inset: 0; background: rgba(0,0,0,.6);
    z-index: 640; display: none;
}
.cart-backdrop.show { display: block; }

/* floating trigger — desktop only, mobile keeps its existing bottom bar */
.cart-fab {
    display: none; align-items: center; gap: .6rem;
    position: fixed; bottom: 1.6rem; right: 1.6rem;
    background: var(--amber); color: var(--dark); border: none;
    border-radius: 100px; padding: .85rem 1.3rem;
    font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: .85rem;
    cursor: pointer; box-shadow: 0 10px 30px rgba(239,159,39,.35);
    z-index: 500; transition: transform .15s;
}
.cart-fab:hover { transform: translateY(-2px); }
.cart-fab-total { padding-left: .6rem; border-left: 1px solid rgba(15,9,4,.25); }

.cart-header {
    padding: .9rem 1rem; border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between; flex-shrink: 0;
}
.cart-title { font-size: .93rem; font-weight: 700; display: flex; align-items: center; gap: .5rem; }
.cart-clear-btn { font-size: .75rem; color: rgba(186,117,23,.8); border: none; background: transparent; cursor: pointer; transition: color .2s; }
.cart-clear-btn:hover { color: var(--red); }
.cart-items { flex: 1; overflow-y: auto; padding: .9rem .75rem; }
.cart-items::-webkit-scrollbar { width: 3px; }
.cart-items::-webkit-scrollbar-thumb { background: rgba(186,117,23,.18); }
.cart-empty {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; height: 100%; gap: .65rem; color: rgba(186,117,23,.28);
}
.cart-empty i { font-size: 2.4rem; }
.cart-item {
    display: flex; align-items: flex-start; gap: .85rem;
    padding: .9rem; margin-bottom: .7rem;
    background: var(--card2); border: 1px solid var(--border); border-radius: 14px;
    transition: border-color .15s;
}
.cart-item:last-child { margin-bottom: 0; }
.cart-item:hover { border-color: rgba(239,159,39,.3); }

.ci-thumb {
    width: 56px; height: 56px; border-radius: 12px; flex-shrink: 0;
    background: radial-gradient(circle at 50% 40%, rgba(239,159,39,.14), var(--card));
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.ci-thumb img { width: 78%; height: 78%; object-fit: contain; }
.ci-thumb i { font-size: 1.3rem; color: var(--amber); }

.ci-info { flex: 1; min-width: 0; }
.ci-name { font-size: .87rem; font-weight: 700; color: var(--cream); line-height: 1.3; }
.ci-variant {
    display: inline-block; font-size: .66rem; font-weight: 700; color: var(--amber);
    background: rgba(239,159,39,.1); border-radius: 100px; padding: .1rem .55rem;
    margin-top: .35rem;
}
.ci-row-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: .65rem; }

.ci-controls {
    display: flex; align-items: center;
    background: var(--card); border: 1px solid var(--border); border-radius: 100px; overflow: hidden;
}
.qty-btn {
    width: 26px; height: 26px; border: none; background: transparent; color: var(--cream);
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    font-size: .72rem; transition: background .15s, color .15s;
}
.qty-btn:hover { background: rgba(239,159,39,.14); color: var(--amber); }
.qty-num { font-size: .82rem; font-weight: 800; min-width: 24px; text-align: center; }

.ci-price { font-size: .88rem; font-weight: 800; color: var(--amber); white-space: nowrap; }

.ci-remove {
    background: transparent; border: none; color: rgba(253,246,236,.25);
    cursor: pointer; font-size: .8rem; padding: .3rem; flex-shrink: 0; margin-top: .1rem;
    transition: color .15s;
}
.ci-remove:hover { color: var(--red); }
/* Cart footer */
.cart-footer { padding: .8rem; border-top: 1px solid var(--border); flex-shrink: 0; }
.total-line { display: flex; justify-content: space-between; font-size: .8rem; color: rgba(253,246,236,.45); margin-bottom: .3rem; }
.total-line.grand { font-size: 1.05rem; font-weight: 700; color: var(--cream); margin-top: .45rem; padding-top: .45rem; border-top: 1px solid var(--border); }
.total-line.grand span:last-child { color: var(--amber); }
.checkout-btn {
    width: 100%; padding: .82rem; background: var(--amber); color: var(--dark);
    border: none; border-radius: var(--radius-sm); font-size: .92rem; font-weight: 700;
    cursor: pointer; font-family: 'Space Grotesk', sans-serif;
    display: flex; align-items: center; justify-content: center; gap: .5rem;
    transition: all .15s; margin-top: .65rem;
}
.checkout-btn:hover { box-shadow: 0 6px 22px rgba(239,159,39,.28); }
.checkout-btn:disabled { opacity: .42; cursor: not-allowed; }

/* ── VARIANT MODAL ── */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.82);
    display: none; align-items: flex-end; justify-content: center; z-index: 600;
}
.modal-overlay.show { display: flex; }
.modal-sheet {
    background: var(--card); border-radius: 18px 18px 0 0;
    width: 100%; max-width: 480px; padding: 1.4rem;
    animation: sheet-up .25s ease;
}
@keyframes sheet-up { from { transform: translateY(100%); } to { transform: none; } }
.modal-drag { width: 34px; height: 4px; background: rgba(253,246,236,.12); border-radius: 2px; margin: 0 auto .8rem; }
.modal-title { font-size: 1.02rem; font-weight: 700; margin-bottom: .2rem; }
.modal-sub { font-size: .78rem; color: var(--brown); margin-bottom: 1.1rem; }
.variant-list { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1.1rem; }
.variant-opt {
    display: flex; align-items: center; justify-content: space-between;
    padding: .85rem .95rem; border: 1px solid var(--border); border-radius: var(--radius-sm);
    cursor: pointer; transition: all .2s;
}
.variant-opt:hover, .variant-opt.selected { border-color: var(--amber); background: rgba(239,159,39,.07); }
.variant-label { font-size: .86rem; font-weight: 600; }
.variant-urdu { font-size: .7rem; color: var(--brown); font-family: 'Noto Nastaliq Urdu', serif; direction: rtl; }
.variant-price { font-size: .92rem; font-weight: 700; color: var(--amber); }
.variant-popular { font-size: .62rem; background: rgba(239,159,39,.12); color: var(--amber); border-radius: 100px; padding: .14rem .45rem; margin-left: .35rem; }
.modal-add-btn {
    width: 100%; padding: .82rem; background: var(--amber); color: var(--dark);
    border: none; border-radius: var(--radius-sm); font-size: .92rem; font-weight: 700;
    cursor: pointer; font-family: 'Space Grotesk', sans-serif;
}

/* ── CHECKOUT MODAL ── */
.checkout-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.88);
    display: none; align-items: center; justify-content: center; z-index: 700; padding: 1rem;
}
.checkout-overlay.show { display: flex; }
.checkout-modal {
    background: var(--card); border-radius: var(--radius-lg);
    width: 100%; max-width: 430px; overflow: hidden;
    animation: modal-pop .25s cubic-bezier(.34,1.36,.64,1);
}
@keyframes modal-pop { from { transform: scale(.94); opacity: 0; } to { transform: none; opacity: 1; } }
.ck-header {
    padding: 1rem 1.2rem; border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
}
.ck-title { font-size: .95rem; font-weight: 700; }
.ck-close { background: transparent; border: none; color: rgba(253,246,236,.35); font-size: 1.1rem; cursor: pointer; padding: .2rem; }
.ck-close:hover { color: var(--cream); }
.ck-body { padding: 1.2rem; }
.ck-step { display: none; }
.ck-step.active { display: block; }
.ck-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .09em; color: var(--brown); font-weight: 700; margin-bottom: .45rem; display: flex; align-items: center; gap: .35rem; }
.fk-inp {
    width: 100%; padding: .78rem .95rem; background: rgba(239,159,39,.05);
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    color: var(--cream); font-size: .88rem; font-family: 'Space Grotesk', sans-serif;
    outline: none; transition: border .2s; margin-bottom: .7rem;
}
.fk-inp:focus { border-color: rgba(239,159,39,.5); }
.fk-inp::placeholder { color: rgba(186,117,23,.35); }
.fk-primary-btn {
    width: 100%; padding: .82rem; border-radius: var(--radius-sm); font-size: .9rem;
    font-weight: 700; cursor: pointer; border: none; font-family: 'Space Grotesk', sans-serif;
    display: flex; align-items: center; justify-content: center; gap: .5rem;
    transition: all .15s; margin-bottom: .45rem; background: var(--amber); color: var(--dark);
}
.fk-primary-btn:hover { box-shadow: 0 5px 18px rgba(239,159,39,.28); }
.fk-primary-btn:disabled { opacity: .4; cursor: not-allowed; }
.fk-ghost-btn {
    width: 100%; padding: .75rem; border-radius: var(--radius-sm); font-size: .85rem;
    font-weight: 600; cursor: pointer; background: transparent;
    border: 1px solid var(--border); color: rgba(253,246,236,.45);
    font-family: 'Space Grotesk', sans-serif; display: flex; align-items: center;
    justify-content: center; gap: .5rem; transition: all .2s;
}
.fk-ghost-btn:hover { border-color: rgba(239,159,39,.35); color: var(--cream); }

.ck-chip-edit {
    background: var(--amber);
    color: var(--dark);
    font-weight: 700;
    cursor: pointer;
    border: none;
    font-family: 'Space Grotesk', sans-serif;
    justify-content: center;
    padding: .25rem;
    border-radius: 2px;
    font-size: .8rem;
}

/* OTP digits */
.otp-row { display: flex; gap: .55rem; justify-content: center; margin-bottom: .9rem; }
.otp-d {
    width: 52px; height: 58px; border-radius: var(--radius-sm);
    border: 2px solid var(--border); background: rgba(239,159,39,.05);
    color: var(--cream); font-size: 1.5rem; font-weight: 700;
    text-align: center; font-family: 'Space Grotesk', sans-serif; outline: none; transition: border .2s;
}
.otp-d:focus { border-color: var(--amber); }
/* Member card */
.member-found {
    background: rgba(239,159,39,.06); border: 1px solid rgba(239,159,39,.18);
    border-radius: var(--radius-sm); padding: .85rem; margin-bottom: .75rem;
    display: flex; align-items: center; gap: .7rem;
}
.member-found-icon {
    width: 34px; height: 34px; border-radius: var(--radius-sm);
    background: rgba(239,159,39,.12); display: flex; align-items: center;
    justify-content: center; color: var(--amber); flex-shrink: 0; font-size: .88rem;
}
/* Payment options */
.pay-opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-bottom: .8rem; }
.pay-opt {
    position: relative;
    padding: .8rem .4rem .65rem; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    text-align: center; cursor: pointer; transition: all .2s;
}
.pay-opt:hover { border-color: rgba(239,159,39,.5); }
.pay-opt.selected { border-color: var(--amber); background: rgba(239,159,39,.1); box-shadow: 0 4px 14px rgba(239,159,39,.15); }
.pay-opt i { font-size: 1.1rem; color: var(--amber); display: block; margin-bottom: .32rem; }
.pay-opt-lbl { font-size: .7rem; font-weight: 700; color: var(--brown); }
.pay-opt.selected .pay-opt-lbl { color: var(--cream); }
.pay-opt-check {
    position: absolute; top: -6px; right: -6px;
    width: 18px; height: 18px; border-radius: 50%;
    background: var(--amber); color: var(--dark);
    display: flex; align-items: center; justify-content: center;
    font-size: .6rem; opacity: 0; transform: scale(.5);
    transition: opacity .15s, transform .15s;
    box-shadow: 0 2px 6px rgba(0,0,0,.35);
}
.pay-opt.selected .pay-opt-check { opacity: 1; transform: scale(1); }
/* Order summary mini */
.order-sum {
    background: rgba(239,159,39,.04); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: .8rem; margin-bottom: .8rem;
    max-height: 150px; overflow-y: auto;
}
.order-sum::-webkit-scrollbar { width: 3px; }

/* Receipt-style paper (checkout summary + success screen) */
.receipt-box{ background:#fff; color:#1A1008; border-radius:4px; margin-bottom:.9rem; font-family:'Courier New',monospace; overflow:hidden; }
.receipt-topbar{ background:#1A1008; padding:.7rem .9rem .6rem; text-align:center; }
.receipt-brand{ font-size:1rem; font-weight:700; color:#EF9F27; letter-spacing:.5px; }
.receipt-tagline{ font-size:.6rem; color:rgba(186,117,23,.7); margin-top:2px; font-family:'Space Grotesk',sans-serif; }
.receipt-body{ padding:.8rem .9rem; max-height:220px; overflow-y:auto; }
.receipt-logo-screen { display: inline-block !important; }
.receipt-logo-print   { display: none !important; }
.receipt-body::-webkit-scrollbar{ width:3px; }
.receipt-divider{ border-top:1px dashed rgba(26,16,8,.3); margin:.5rem 0; }
.receipt-row{ display:flex; justify-content:space-between; align-items:flex-start; gap:.5rem; padding:.28rem 0; font-size:.72rem; }
.receipt-row .r-name{ flex:1; min-width:0; line-height:1.35; }
.receipt-row .r-mod{ display:block; font-size:.63rem; color:rgba(26,16,8,.5); margin-top:2px; line-height:1.4; }
.receipt-row .r-price{ font-weight:700; white-space:nowrap; flex-shrink:0; }
.receipt-total-row{ display:flex; justify-content:space-between; font-size:.86rem; font-weight:800; margin-top:.35rem; padding-top:.4rem; border-top:2px solid #1A1008; }
.sum-row { font-size: .77rem; color: rgba(253,246,236,.52); display: flex; justify-content: space-between; margin-bottom: .28rem; }
.sum-total-row { font-size: .9rem; font-weight: 700; color: var(--amber); display: flex; justify-content: space-between; margin-top: .45rem; padding-top: .45rem; border-top: 1px solid var(--border); }
/* Alert boxes */
.ck-alert { border-radius: var(--radius-sm); padding: .7rem .85rem; font-size: .78rem; margin-bottom: .7rem; display: flex; align-items: flex-start; gap: .45rem; line-height: 1.6; }
.ck-info    { background: rgba(239,159,39,.07); border: 1px solid rgba(239,159,39,.15); color: rgba(253,246,236,.58); }
.ck-success { background: rgba(40,167,69,.08);  border: 1px solid rgba(40,167,69,.2);   color: #4ade80; }
.ck-warning { background: rgba(216,90,48,.07);  border: 1px solid rgba(216,90,48,.18);  color: var(--red); }
/* Error message */
.ck-err { font-size: .73rem; color: #ff6b6b; margin: -.35rem 0 .5rem; display: flex; align-items: center; gap: .3rem; }
/* Step dots */
.step-dots { display: flex; justify-content: center; gap: .35rem; padding: .8rem; border-top: 1px solid var(--border); }
.step-dot { width: 6px; height: 6px; border-radius: 3px; background: rgba(186,117,23,.2); transition: all .3s; }
.step-dot.active { background: var(--amber); width: 18px; }
/* Resend link */
.resend-lnk { font-size: .72rem; color: rgba(186,117,23,.42); text-align: center; cursor: pointer; margin-top: .28rem; display: block; transition: color .2s; }
.resend-lnk:hover { color: var(--amber); }
/* Success */
.success-ring {
    width: 62px; height: 62px; border-radius: 50%;
    background: rgba(40,167,69,.1); border: 2px solid rgba(40,167,69,.25);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto .9rem; font-size: 1.7rem; color: #4ade80;
}

/*@media(max-width:768px){*/
/*    #cart-mobile-header { display: flex !important; }*/
/*}*/
/*@media(min-width:769px){*/
/*    #cart-mobile-header { display: none !important; }*/
/*}*/

/*#cart-mobile-header { display: flex !important; }*/
.cart-close-btn { background: transparent; border: none; color: rgba(253,246,236,.4); font-size: 1rem; cursor: pointer; transition: color .15s; }
.cart-close-btn:hover { color: var(--red); }

/* ── MOBILE ── */
@media(max-width:768px){
    .menu-page-wrap { flex-direction: column; height: auto; overflow: visible; }
    .menu-side { overflow: visible; }
    /*.cart-side {*/
    /*    display: none; position: fixed; inset: 0; width: 100%;*/
    /*    z-index: 650; border-left: none;*/
    /*}*/
    .cart-side { top: 0; height: 100vh; width: 100%; border-left: none; }
    /*.menu-grid { grid-template-columns: repeat(2, 1fr); }*/
    .menu-grid { grid-template-columns: repeat(auto-fill, minmax(195px, 1fr)); gap: .85rem; }
    .cart-fab { display: none !important; }  /* mobile keeps cart-mobile-bar instead */
    .card-img-overlay { display: none; }  /* no hover on touch devices */
    .card-img { height: 120px; }

    .cart-side.open { display: flex; }
    /* Cart bar now floats just above the global bottom tab bar
       (tab bar = 60px + safe-area) instead of sitting flush
       against the screen edge, so the two never overlap. */
    .cart-mobile-bar {
        display: flex;
        position: fixed;
        bottom: calc(60px + env(safe-area-inset-bottom,0));
        left: 0; right: 0;
        padding: .7rem 1rem;
        background: var(--card);
        border-top: 1px solid var(--border);
        box-shadow: 0 -6px 20px rgba(0,0,0,.3);
        z-index: 590;
        align-items: center; justify-content: space-between; gap: .75rem;
    }
    .cart-mobile-total { font-size: .85rem; font-weight: 600; color: var(--amber); }
}
@media(min-width:769px){ .cart-mobile-bar { display: none !important; } }

.builder-group{ margin-bottom:1.1rem; }
.builder-label{ font-size:.72rem;text-transform:uppercase;letter-spacing:.06em;font-weight:700;color:var(--brown);margin-bottom:.5rem; }
.chip-row{ display:flex;flex-wrap:wrap;gap:.4rem; }
.chip{ padding:.45rem .85rem;border-radius:100px;border:1px solid var(--border);background:transparent;color:rgba(253,246,236,.55);font-size:.78rem;font-weight:600;cursor:pointer;transition:all .2s;font-family:'Space Grotesk',sans-serif; }
.chip:hover{ border-color:var(--border-h); }
.chip.selected{ background:var(--amber);color:var(--dark);border-color:var(--amber); }
.builder-summary{ font-size:.76rem;color:rgba(253,246,236,.4);background:rgba(239,159,39,.05);border:1px dashed var(--border);border-radius:var(--radius-sm);padding:.6rem .8rem;margin-bottom:1rem;line-height:1.5; }

/* ════════════════════════════════════════════════════════════
   MENU PAGE REDESIGN — filters, featured rail, mid banners
   ════════════════════════════════════════════════════════════ */

/* ── Sticky category tabs ── */
.cat-tabs {
    position: sticky; top: 0; z-index: 6;
    background: var(--dark);
    padding: .55rem 0 .65rem;
    margin: 0 0 .35rem;
}

/* ── Filter bar ── */
.filter-bar { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.filter-chip {
    display: inline-flex; align-items: center; gap: .4rem;
    background: var(--card2); border: 1.5px solid var(--border); border-radius: 100px;
    color: rgba(253,246,236,.55); font-size: .78rem; font-weight: 600;
    padding: .45rem .9rem; cursor: pointer; transition: border-color .15s, color .15s, background .15s;
    font-family: 'Space Grotesk', sans-serif;
}
.filter-chip:hover { border-color: rgba(239,159,39,.4); color: var(--cream); }
.filter-chip.active { background: rgba(239,159,39,.12); border-color: var(--amber); color: var(--amber); }
.filter-sort {
    margin-left: auto;
    background: var(--card2); border: 1.5px solid var(--border); border-radius: 100px;
    color: rgba(253,246,236,.65); font-size: .78rem; font-weight: 600;
    padding: .45rem .9rem; cursor: pointer; outline: none;
    font-family: 'Space Grotesk', sans-serif;
}
.filter-sort:focus { border-color: rgba(239,159,39,.5); }
@media (max-width: 640px) {
    .filter-sort { margin-left: 0; width: 100%; }
}

/* ── Section header counts ── */
.sec-count {
    font-size: .66rem; font-weight: 700; color: rgba(253,246,236,.4);
    background: var(--card2); border: 1px solid var(--border);
    border-radius: 100px; padding: .12rem .5rem; margin-left: .35rem;
}
.menu-section-header.feat-header { color: var(--amber); }

/* ── Featured bestsellers rail ── */
.feat-rail {
    display: flex; gap: .85rem; overflow-x: auto;
    padding: .2rem .2rem 1rem; margin-bottom: 1.4rem;
    scrollbar-width: none; -ms-overflow-style: none;
    scroll-snap-type: x proximity;
}
.feat-rail::-webkit-scrollbar { display: none; }
.feat-card {
    flex: 0 0 223px; scroll-snap-align: start; cursor: pointer;
    background: linear-gradient(160deg, rgba(239,159,39,.16), rgba(239,159,39,.03) 55%), var(--card2);
    border: 1.5px solid rgba(239,159,39,.35); border-radius: 18px;
    padding: 1rem; position: relative;
    transition: transform .18s, box-shadow .18s;
}
.feat-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0,0,0,.45); }
.feat-flag {
    display: inline-flex; align-items: center; gap: .3rem;
    font-size: .6rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
    color: var(--dark); background: var(--amber); border-radius: 100px; padding: .22rem .55rem;
}
.feat-card img {
    width: 96px; height: 96px; object-fit: contain;
    display: block; margin: .7rem auto .5rem;
    filter: drop-shadow(0 8px 14px rgba(0,0,0,.4));
    transition: transform .22s ease;
}
.feat-card:hover img { transform: scale(1.07); }
.feat-name { font-weight: 700; font-size: .9rem; color: var(--cream); line-height: 1.25; }
.feat-urdu { font-family: 'Noto Nastaliq Urdu', serif; font-size: .68rem; color: rgba(253,246,236,.35); margin: .15rem 0 .6rem; }
.feat-foot { display: flex; align-items: center; justify-content: space-between; }
.feat-price { font-family: 'Space Grotesk', sans-serif; font-weight: 800; color: var(--amber); font-size: 1rem; }
.feat-add {
    width: 34px; height: 34px; border-radius: 50%; border: none; cursor: pointer;
    background: var(--amber); color: var(--dark); font-size: .85rem;
    display: flex; align-items: center; justify-content: center;
    transition: transform .15s;
}
.feat-add:hover { transform: scale(1.1); }

/* ── Mid-page promo banner ── */
.mid-banner {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    background:
        radial-gradient(circle at 85% 20%, rgba(239,159,39,.2), transparent 60%),
        repeating-linear-gradient(45deg, rgba(253,246,236,.02) 0 2px, transparent 2px 18px),
        var(--card2);
    border: 1px solid rgba(239,159,39,.25); border-radius: 18px;
    padding: 1.2rem 1.4rem;
    cursor: pointer; position: relative; overflow: hidden;
}
.mid-banner-row {
    display: grid; grid-template-columns: 1fr; gap: 1rem;
    margin: .4rem 0 1.75rem;
}
@media (min-width: 900px) {
    .mid-banner-row { grid-template-columns: 1fr 1fr; }
}

.mid-banner.alt {
    background:
        radial-gradient(circle at 85% 20%, rgba(111,66,193,.24), transparent 60%),
        repeating-linear-gradient(45deg, rgba(253,246,236,.02) 0 2px, transparent 2px 18px),
        var(--card2);
    border-color: rgba(111,66,193,.35);
}
.mid-banner-text { position: relative; z-index: 1; min-width: 0; }
.mid-banner-eyebrow {
    display: inline-flex; align-items: center; gap: .35rem;
    font-size: .64rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
    color: var(--amber); margin-bottom: .3rem;
}
.mid-banner.alt .mid-banner-eyebrow { color: #a78bfa; }
.mid-banner-title { font-family: 'Space Grotesk', sans-serif; font-size: 1.15rem; font-weight: 800; color: var(--cream); margin-bottom: .35rem; }
.mid-banner-prices { display: flex; align-items: baseline; gap: .55rem; margin-bottom: .75rem; flex-wrap: wrap; }
.mb-old { font-size: .78rem; color: rgba(253,246,236,.35); text-decoration: line-through; }
.mb-now { font-family: 'Space Grotesk', sans-serif; font-weight: 800; font-size: 1.4rem; color: var(--amber); }
.mid-banner.alt .mb-now { color: #c4b5fd; }
.mb-save { font-size: .66rem; background: rgba(40,167,69,.12); color: #4ade80; border-radius: 100px; padding: .18rem .5rem; font-weight: 700; }
.mid-banner-cta {
    background: var(--amber); color: var(--dark); border: none; border-radius: 100px;
    padding: .55rem 1.1rem; font-weight: 700; font-size: .8rem; cursor: pointer;
    display: inline-flex; align-items: center; gap: .4rem;
}
.mid-banner.alt .mid-banner-cta { background: #6f42c1; color: #fff; }
.mid-banner-img {
    width: 110px; height: 110px; object-fit: contain; flex-shrink: 0;
    filter: drop-shadow(0 10px 18px rgba(0,0,0,.45));
    position: relative; z-index: 1;
}
@media (max-width: 640px) {
    .mid-banner { flex-direction: column-reverse; text-align: center; padding: 1.2rem 1rem; }
    .mid-banner-prices { justify-content: center; }
    .mid-banner-img { width: 90px; height: 90px; }
}

/* ── Empty state (filters/search matched nothing) ── */
.menu-empty {
    grid-column: 1 / -1;
    text-align: center; padding: 2.6rem 1rem;
    color: rgba(253,246,236,.45);
}
.menu-empty i { font-size: 1.8rem; display: block; margin-bottom: .6rem; color: rgba(239,159,39,.5); }
