/* =====================================================================
   Sainik Fast Food · MODERN customer-portal look (Swiggy / Zomato style)
   Active ONLY when <html class="ux2">  (Admin → Settings → "Customer Portal Look" = Modern).
   Classic = this file does nothing, portal stays exactly as before.
   Colours / fonts / spacing from admin "Portal Design" settings still apply.
   ===================================================================== */
.ux-i{width:1.2em;height:1.2em;vertical-align:-.22em;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
.ux-dot{display:inline-block;width:.6em;height:.6em;border-radius:50%;background:#22c55e;margin-right:.35em;vertical-align:.05em}.ux-dot.r{background:#ef4444}

html.ux2 .wrap{max-width:560px;margin:0 auto}
html.ux2 body{font-family:Poppins,sans-serif}

/* ---- header: logo + name centred, account on the right ---- */
html.ux2 .hd{justify-content:center;padding:10px 60px;min-height:62px;border-radius:0 0 24px 24px;box-shadow:0 8px 22px rgba(0,0,0,.2)}
html.ux2 .hd .brand{flex:none;justify-content:center;max-width:100%}
html.ux2 .hd .brand>span{flex:0 1 auto;text-align:center}
html.ux2 .hd-r{position:absolute;right:12px;top:50%;transform:translateY(-50%)}
html.ux2 #hav{width:40px;height:40px;border-width:2px;background:rgba(255,255,255,.16)}
html.ux2 #hav .ux-i{width:20px;height:20px}

/* ---- search ---- */
html.ux2 .srch:before{content:'';width:19px;height:19px;left:16px;opacity:1;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2.4' stroke-linecap='round'><circle cx='11' cy='11' r='7'/><path d='M20 20l-3.5-3.5'/></svg>") center/contain no-repeat}
html.ux2 .srch input{padding:14px 44px 14px 46px;border-radius:16px;border:1px solid var(--line);background:#fff;box-shadow:0 6px 18px rgba(0,0,0,.07)}

/* ---- categories: round "What's on your mind?" bubbles ---- */
html.ux2 .chips#chips{gap:12px;padding:6px 4px 12px;justify-content:safe center}
html.ux2 .ct{background:none;box-shadow:none;padding:0;min-width:66px;display:flex;flex-direction:column;align-items:center;gap:7px;color:var(--menu-color);font-weight:600}
html.ux2 .ct span{width:60px;height:60px;border-radius:50%;margin:0;font-size:0;display:flex;align-items:center;justify-content:center;background:var(--portal-card);box-shadow:0 4px 12px rgba(0,0,0,.1);border:2px solid transparent;overflow:hidden;transition:transform .2s,border-color .2s,background .2s}
html.ux2 .ct .ux-i{width:30px;height:30px;color:var(--p)}
html.ux2 .ct .cim{width:100%;height:100%;border-radius:50%}
html.ux2 .ct.on{background:none;color:var(--p)}
html.ux2 .ct.on span{border-color:var(--p);background:color-mix(in srgb,var(--p) 12%,#fff);transform:scale(1.07)}

/* ---- menu: one rounded card, list rows, photo on the right, ADD button on the photo ---- */
html.ux2 #menu:before{content:'Our Menu';display:block;text-align:center;font:800 13px Poppins;letter-spacing:.2em;text-transform:uppercase;color:var(--portal-muted);margin:6px 0 12px}
html.ux2 .fg{grid-template-columns:1fr;gap:0;background:var(--portal-card);border-radius:22px;box-shadow:var(--shadow)}
html.ux2 .fc2{position:relative;display:grid;grid-template-columns:1fr 126px;gap:14px;padding:16px 14px 30px;border-radius:0;box-shadow:none;background:none;overflow:visible;border-bottom:1px dashed rgba(0,0,0,.14)}
html.ux2 .fc2:last-child{border-bottom:0}
html.ux2 .fc2.off .fe{filter:grayscale(1);opacity:.6}
html.ux2 .fe{grid-column:2;grid-row:1;width:126px;height:126px;border-radius:18px;font-size:0;overflow:hidden;box-shadow:0 6px 16px rgba(0,0,0,.14)}
html.ux2 .fe .ux-i{width:58px;height:58px;color:color-mix(in srgb,var(--p) 80%,#000);opacity:.85}
html.ux2 .vg{display:none}
html.ux2 .hot{left:8px;right:auto;top:8px;border-radius:8px;padding:3px 8px}
html.ux2 .fi{grid-column:1;grid-row:1;padding:0;justify-content:flex-start;gap:8px}
html.ux2 .fn.menu-item-name{min-height:0;margin:0;font-size:max(15px,var(--item-size));line-height:1.35}
html.ux2 .fn:before{content:'';display:inline-block;width:14px;height:14px;border:1.6px solid #1f9d55;border-radius:3px;margin-right:8px;vertical-align:-2px;background:radial-gradient(circle,#1f9d55 0 3.2px,#fff 3.7px)}
html.ux2 .fr2{display:block}
html.ux2 .fp.menu-item-price{font-size:max(16px,var(--price-size))}
html.ux2 .ac{position:absolute;right:30px;bottom:12px;z-index:2}
html.ux2 .add{width:96px;height:38px;padding:0;font-size:0;border:1px solid #e3e3e8;border-radius:12px;background:#fff;color:var(--p);box-shadow:0 5px 14px rgba(0,0,0,.16)}
html.ux2 .add:after{content:'ADD  +';font:800 13px Poppins;letter-spacing:.05em}
html.ux2 .add:active{background:var(--p);color:#fff}
html.ux2 .stp2{width:96px;height:38px;justify-content:space-between;padding:0 3px;border-radius:12px;background:#fff;border:1px solid var(--p);color:var(--p);box-shadow:0 5px 14px rgba(0,0,0,.16)}
html.ux2 .stp2 button{color:var(--p);width:32px;height:32px;font-size:20px}
html.ux2 .stp2 button:active{background:color-mix(in srgb,var(--p) 14%,transparent)}
html.ux2 .stp2 b{color:var(--p);font-size:14px}

/* ---- floating cart bar + bottom navigation ---- */
html.ux2 .cbar{left:12px;right:12px;padding:12px 12px 12px 16px;border-radius:18px;background:linear-gradient(135deg,var(--p),color-mix(in srgb,var(--p) 72%,#e11d48));box-shadow:0 12px 28px color-mix(in srgb,var(--p) 45%,transparent)}
html.ux2 .cbar .ci .ux-i{width:26px;height:26px}
html.ux2 .cbar .btn{background:rgba(255,255,255,.2);border:1px solid rgba(255,255,255,.55);box-shadow:none;padding:9px 14px;border-radius:12px}
html.ux2 .bnav{border-radius:24px 24px 0 0;box-shadow:0 -8px 24px rgba(0,0,0,.13)}
html.ux2 .bnav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:6px 0 0;font-size:11px}
html.ux2 .bnav button span{display:flex;align-items:center;justify-content:center;width:46px;height:30px;border-radius:15px;transition:background .2s,transform .12s}
html.ux2 .bnav button.on span{background:color-mix(in srgb,var(--p) 15%,transparent)}
html.ux2 .bnav button.on:before{display:none}
html.ux2 .bnav .ux-i{width:22px;height:22px}

/* ---- headings, cards, buttons, inputs ---- */
html.ux2 .pt{text-align:center;font-size:19px;margin:10px 0 14px}
html.ux2 .card{border-radius:20px}
html.ux2 .btn{border-radius:14px;padding:14px 16px;box-shadow:0 6px 16px color-mix(in srgb,var(--p) 30%,transparent)}
html.ux2 .btn.g,html.ux2 .btn.no{box-shadow:none}
html.ux2 .btn.ok{box-shadow:0 6px 16px rgba(34,197,94,.3)}
html.ux2 .btn.sm{padding:7px 14px;border-radius:10px}
html.ux2 input,html.ux2 select,html.ux2 textarea{border-radius:14px;background:#fafafa}
html.ux2 .pw .eye .ux-i{width:20px;height:20px;color:#6b7280}
html.ux2 .toast{border-radius:16px;padding:12px 18px}
html.ux2 .ft{text-align:center;border-radius:20px}html.ux2 .ft .fr{justify-content:center}

/* ---- cart sheet ---- */
html.ux2 .sheet{border-radius:26px 26px 0 0}
html.ux2 .cs .sh-h{text-align:center;padding:18px 54px 12px;font-size:18px}
html.ux2 .sg button{display:flex;align-items:center;justify-content:center;gap:8px;border-radius:14px;padding:12px 6px}
html.ux2 .qt{background:#fff;border:1px solid var(--p);border-radius:11px}
html.ux2 .qt button{box-shadow:none;background:none}
html.ux2 .tot{background:#fff;border:1px dashed rgba(0,0,0,.2);border-radius:16px;padding:12px 14px}
html.ux2 .note{border-radius:12px}

/* ---- orders + live tracking ---- */
html.ux2 .order-card{border:0;border-radius:20px;padding:16px;box-shadow:0 8px 22px rgba(0,0,0,.08)}
html.ux2 .tag{padding:5px 11px;font-size:11px}
html.ux2 .track-wrap{background:color-mix(in srgb,var(--p) 6%,#fff);border:1px solid color-mix(in srgb,var(--p) 18%,transparent);padding:14px 6px 8px}
html.ux2 .stp div{font-size:10px}
html.ux2 .stp i{width:20px;height:20px;box-sizing:border-box;border:3px solid #e5e7eb;background:#fff;margin-bottom:6px}
html.ux2 .stp div:not(:last-child):after{top:9px;height:3px;left:calc(50% + 10px);width:calc(100% - 20px);border-radius:2px}
html.ux2 .stp .d i{background:var(--ok)!important;border-color:var(--ok)}
html.ux2 .stp .d i:after{content:'';position:absolute;left:4px;top:0;width:4px;height:8px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
html.ux2 .stp .c i{background:#fff;border-color:var(--p)}

/* ---- account / profile ---- */
html.ux2 .gst .aic,html.ux2 .au .aic{width:78px;height:78px;border-radius:50%;margin:0 auto 12px;display:flex;align-items:center;justify-content:center;background:color-mix(in srgb,var(--p) 12%,#fff);color:var(--p)}
html.ux2 .aic .ux-i{width:38px;height:38px}
html.ux2 #pcard>.row{flex-direction:column;gap:8px;text-align:center;position:relative}
html.ux2 #pcard>.row .btn.sm{position:absolute;right:0;top:0}
html.ux2 .av{width:78px;height:78px;font-size:32px;box-shadow:0 8px 20px color-mix(in srgb,var(--p) 35%,transparent)}
html.ux2 .stats button{background:color-mix(in srgb,var(--p) 8%,#fff);border-radius:16px;padding:14px 6px}
html.ux2 .mrow{padding:14px 0}
html.ux2 .mrow .ux-i,html.ux2 .pt .ux-i,html.ux2 .fh .ux-i{color:var(--p)}
