/* DigiStream Kadai Premium 1.1.0 – VTM STORE mobile order screen (light green, big Tamil text). */
body.vtm-body{background:#e8f3e3!important;margin:0;font-family:KTamil,"Noto Sans Tamil","Latha",system-ui,sans-serif;color:#17301c;-webkit-text-size-adjust:100%}
body.vtm-lock{overflow:hidden}
.vtm{--g:#1f6f35;--g2:#2e8b3e;--gl:#e8f3e3;--gb:#cfe5c7;--ink:#17301c;--mut:#5b6f5e;max-width:640px;margin:0 auto;min-height:100vh;padding:0 0 92px;box-sizing:border-box;font-size:18px;line-height:1.35;background:#e8f3e3}
.vtm *{box-sizing:border-box}
.vtm button{font-family:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
.vtm a{color:var(--g)}
/* header */
.vh{position:sticky;top:0;z-index:30;background:#f3f9f0;padding:10px 12px 10px;border-bottom:1px solid var(--gb);box-shadow:0 2px 6px rgba(20,60,30,.06)}
.vh-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.vh-logo{display:flex;align-items:center;gap:6px;font-weight:800;font-size:24px;color:var(--g);letter-spacing:.3px;font-family:system-ui,sans-serif}
.vh-lang{font:inherit;font-size:16px;padding:5px 8px;border:1.5px solid var(--gb);border-radius:10px;background:#fff;color:var(--ink)}
.vh-search{display:flex;align-items:center;background:#fff;border:1.5px solid #c4d9bd;border-radius:14px;padding:0 4px 0 10px;height:50px}
.vh-si{color:#6b7f6d;display:flex}
.vh-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;font:inherit;font-size:17px;padding:0 8px;height:46px;color:var(--ink)}
.vh-search input::-webkit-search-cancel-button{display:none}
.vh-qx{border:0;background:#eef3ec;border-radius:50%;width:32px;height:32px;font-size:20px;color:#456;margin-right:4px}
.vh-mic{border:0;background:var(--g);color:#fff;border-radius:12px;width:46px;height:42px;display:flex;align-items:center;justify-content:center}
.vh-btns{display:flex;gap:10px;margin-top:10px}
.vh-btns .vb{flex:1;font-size:17px;white-space:nowrap;padding:6px 8px;min-height:46px}
.vb{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:48px;padding:8px 12px;border-radius:12px;font-size:18px;font-weight:700;border:2px solid var(--g);text-align:center;line-height:1.2}
.vb-out{background:#fff;color:var(--g)}
.vb-green{background:var(--g);color:#fff}
.vb:disabled{opacity:.45}
.vb-big{width:100%;min-height:58px;font-size:21px}
.vb-wide{width:100%;margin:6px 0 12px}
.vm{padding:12px}
.vh1{font-size:30px;font-weight:800;margin:4px 0 12px;color:var(--ink);line-height:1.2}
.vh2{font-size:21px;font-weight:800;margin:6px 0 10px}
.vcrumb{font-size:15px;color:var(--mut);margin:2px 0}.vcrumb a{text-decoration:none;font-weight:700}
.vmuted{color:var(--mut);font-size:16px}
/* chips */
.vchips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
.vchip{border:2px solid var(--gb);background:#fff;color:var(--ink);border-radius:12px;padding:9px 14px;font-size:18px;font-weight:700;min-height:46px}
.vchip.on{background:var(--g);border-color:var(--g);color:#fff}
.vchip i{font-style:normal;color:var(--g2);font-weight:800}.vchip.on i{color:#d8f5d0}
.vbr{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;position:sticky;top:var(--vhh,178px);z-index:5;background:#e8f3e3;padding:6px 0;margin-bottom:8px}
/* category tiles */
.vgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.vtile{position:relative;border:1.5px solid var(--gb);background:#fff;border-radius:14px;padding:8px 6px 10px;display:flex;flex-direction:column;align-items:center;gap:6px;min-height:132px}
.vti{width:100%;aspect-ratio:1.45/1;border-radius:10px;background:radial-gradient(circle at 50% 45%,#fff 0,#f1f8ee 60%,#e3f0dd 100%);display:flex;align-items:center;justify-content:center}
.vti img{width:66%;height:auto;max-height:80px;object-fit:contain}
.vtl{font-size:15px;font-weight:700;text-align:center;line-height:1.25;color:var(--ink);word-break:normal;overflow-wrap:normal}
.vbadge{position:absolute;top:6px;right:6px;min-width:26px;height:26px;border-radius:13px;background:var(--g2);color:#fff;font-style:normal;font-weight:800;font-size:15px;display:flex;align-items:center;justify-content:center;padding:0 6px}
/* product list in a category */
.vplist{display:flex;flex-direction:column;gap:8px}
.vprow{position:relative;display:flex;align-items:center;gap:10px;width:100%;text-align:left;background:#fff;border:1.5px solid var(--gb);border-radius:14px;padding:12px 14px;min-height:64px;color:var(--ink)}
.vprow.has{border-color:var(--g2);box-shadow:inset 4px 0 0 var(--g2)}
.vprow.out{opacity:.55}
.vpn{flex:1;font-size:20px;font-weight:800;line-height:1.25}.vpn small{display:block;font-size:14px;font-weight:600;color:var(--mut);margin-top:2px}
.vprow .vbadge{position:static}
.vchev{font-size:28px;color:var(--g);font-weight:700}
/* rows of a product */
.vrows{display:flex;flex-direction:column;gap:10px}
.vrow,.vline,.vdirect,.vv-e{display:flex;align-items:center;gap:10px;background:#fff;border:2px solid var(--gb);border-radius:14px;padding:12px}
.vrow.on,.vline,.vv-e.ok{border-color:var(--g2)}
.vrow.on{box-shadow:0 0 0 1px var(--g2)}
.vrow.out{opacity:.6}
.vrl,.vll{flex:1;min-width:0}
.vrn,.vln{font-size:19px;font-weight:700;line-height:1.3;word-break:break-word}
.vrp{font-size:20px;font-weight:800;color:var(--ink);margin-top:3px}
.vna{color:#b3261e;font-size:15px;font-weight:700}
.vq{display:flex;align-items:center;border:2px solid var(--gb);border-radius:12px;overflow:hidden;flex:none;background:#fff}
.vq button{width:46px;height:46px;border:0;font-size:26px;font-weight:800;line-height:1;background:#fff;color:var(--g)}
.vq .vqp{background:var(--g);color:#fff}
.vq .vqm.off{color:#c3cfc4}
.vqn{min-width:38px;text-align:center;font-size:20px;font-weight:800}
.vdel{border:0;background:transparent;color:#7b8a7d;width:40px;height:46px;display:flex;align-items:center;justify-content:center}
.vpn2{display:flex;gap:10px;margin:16px 0 10px}.vpn2 .vb-out{flex:0 0 auto}.vpn2 .vb-green{flex:1}
.vadded{background:#f6fbf3;border:1.5px dashed var(--g2);border-radius:12px;padding:10px 12px;font-size:16px;font-weight:600;color:var(--g)}
.vadded a{text-decoration:none;color:var(--g);font-weight:800}
.vdirect{border-color:var(--g2);margin-bottom:12px;background:#f6fbf3}
/* cart */
.vgrp{margin-bottom:16px}
.vgh{display:flex;justify-content:space-between;align-items:center;margin:4px 2px 8px}.vgh b{font-size:20px}
.vmore{font-weight:800;text-decoration:none;font-size:17px;padding:6px 4px}
.vline{margin-bottom:8px}
.vempty{background:#fff;border-radius:14px;padding:22px;text-align:center;border:1.5px solid var(--gb)}
.vcf{display:none}
.vtm.on-cart .vcf{display:block;position:fixed;left:0;right:0;bottom:0;z-index:40;background:#fff;border-top:1px solid var(--gb);padding:10px 12px calc(10px + env(safe-area-inset-bottom));max-width:640px;margin:0 auto;box-shadow:0 -4px 14px rgba(20,60,30,.1)}
.vtot{display:flex;justify-content:space-between;align-items:center;font-size:20px;font-weight:700;margin:0 4px 8px}.vtot b{font-size:28px}
.vtm.on-cart .vbar{display:none}
.vtm.on-cart{padding-bottom:150px}
/* bottom bar */
.vbar{position:fixed;left:0;right:0;bottom:0;z-index:40;max-width:640px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fff;border-top:1px solid var(--gb);padding:10px 12px calc(10px + env(safe-area-inset-bottom));box-shadow:0 -4px 14px rgba(20,60,30,.1)}
.vbar b{font-size:20px}
.vbar .vb{min-width:150px}
/* sheets */
.vov{position:fixed;inset:0;background:rgba(15,40,20,.45);z-index:50}
.vsheet{position:fixed;left:0;right:0;bottom:0;z-index:51;max-width:640px;margin:0 auto;background:#fff;border-radius:20px 20px 0 0;max-height:86vh;overflow:auto;padding:14px 14px calc(18px + env(safe-area-inset-bottom));box-shadow:0 -8px 30px rgba(0,0,0,.2)}
.vsh-h{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}.vsh-h b{font-size:21px}
.vx{border:0;background:#eef3ec;width:42px;height:42px;border-radius:50%;font-size:20px;color:#333;flex:none}
.vgrid-sh .vtile{min-height:120px}
.vsum2{font-size:18px;margin-bottom:10px}
.vform label{display:block;font-weight:700;margin-bottom:10px;font-size:17px}
.vform input,.vform textarea,.vform select{display:block;width:100%;font:inherit;font-size:18px;padding:10px;border:1.5px solid #c4d9bd;border-radius:10px;margin-top:4px;background:#fff}
.vform .kp-seg{display:flex;gap:6px;margin:4px 0 10px}.vform .kp-seg label{flex:1;margin:0}.vform .kp-seg input{display:none}
.vform .kp-seg span{display:block;text-align:center;padding:10px 4px;border:2px solid var(--gb);border-radius:10px;font-weight:700}
.vform .kp-seg input:checked+span{background:var(--g);color:#fff;border-color:var(--g)}
.vform .kp-seg input:disabled+span{opacity:.4}
.vform .kp-lbl{font-weight:700;font-size:17px}
.vform .kp-err{background:#fde8e6;color:#8a1c12;border-radius:10px;padding:10px;margin:8px 0;font-weight:700}
.vdone{text-align:center}.vdone h2{font-size:24px}.vdone .kp-tick{font-size:54px;color:var(--g2)}
.vdone .kp-wa{display:block;width:100%;min-height:56px;font-size:20px;font-weight:800;border-radius:12px;border:0;background:#1fa855;color:#fff;margin:10px 0}
/* voice panel */
.vvoice{position:fixed;inset:0;z-index:60;background:rgba(15,40,20,.5);display:flex;align-items:flex-end;justify-content:center}
.vv-in{background:#fff;width:100%;max-width:640px;max-height:94vh;border-radius:20px 20px 0 0;padding:14px 14px calc(14px + env(safe-area-inset-bottom));display:flex;flex-direction:column}
.vv-top{display:flex;align-items:center;gap:12px;background:#f3f9f0;border-radius:14px;padding:10px;margin-bottom:10px}
.vv-mic{flex:none;width:68px;height:68px;border-radius:50%;border:0;background:#8aa08d;color:#fff;display:flex;align-items:center;justify-content:center}
.vv-mic svg{width:34px;height:34px}
.vv-mic.on{background:#d93025;animation:vvp 1.3s infinite}
@keyframes vvp{0%{box-shadow:0 0 0 0 rgba(217,48,37,.5)}70%{box-shadow:0 0 0 16px rgba(217,48,37,0)}100%{box-shadow:0 0 0 0 rgba(217,48,37,0)}}
.vv-st{flex:1;min-width:0}.vv-st b{display:block;font-size:18px}.vv-st span{display:block;font-size:16px;margin-top:2px;word-break:break-word}
.vv-ty{display:flex;gap:8px;margin-bottom:10px}.vv-ty textarea{flex:1;font:inherit;font-size:17px;border:1.5px solid #c4d9bd;border-radius:10px;padding:8px}
.vv-list{flex:1;overflow:auto;display:flex;flex-direction:column;gap:8px;min-height:120px;padding:2px}
.vv-e{position:relative;flex-wrap:wrap}
.vv-e.ch{border-color:#e0b84a;background:#fffbea;display:block;padding-right:44px}
.vv-e.no{border-color:#e7a9a3;background:#fff4f3;padding-right:44px}
.vv-e.no .vv-said{flex:1;font-weight:700;color:#8a1c12}
.vv-said{font-size:17px;margin-bottom:6px}
.vv-sub{font-size:16px;color:var(--mut);margin-top:2px}
.vv-e .vchips{margin:0}.vv-e .vchip{font-size:16px;min-height:42px;padding:7px 10px}
.vv-rm{position:absolute;top:8px;right:8px;border:0;background:transparent;font-size:20px;color:#7b6;width:32px;height:32px}
.vv-foot{border-top:1px solid var(--gb);padding-top:10px;margin-top:8px}
.vv-q{font-size:18px;font-weight:800;margin-bottom:8px}
.vv-btns{display:flex;gap:8px;margin-bottom:8px}.vv-btns .vb{flex:1}
.vv-wr{border:0;background:transparent;color:var(--g);font-weight:700;font-size:16px;margin-top:6px;width:100%}
.vv-none{text-align:center;padding:16px}
@media (max-width:360px){.vtm{font-size:17px}.vh1{font-size:26px}.vtl{font-size:15px}.vb{font-size:17px}.vrn,.vln{font-size:18px}.vq button{width:42px}}
@media (min-width:700px){.vgrid{grid-template-columns:repeat(4,1fr)}}
.vbr::-webkit-scrollbar{display:none}.vbr .vchip{flex:none;white-space:nowrap}
.vfreq{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.vfreq .vchip{padding:6px 4px;font-size:16px;line-height:1.2;white-space:normal;min-width:0;justify-content:center;text-align:center}
.vline{flex-wrap:wrap;gap:6px 8px}.vline .vln{flex:1 1 100%}.vlr{flex:1 1 100%;display:flex;align-items:center;gap:8px;justify-content:flex-end}.vlr>:first-child{flex:1}
.vv-pr{font-size:16px;color:var(--mut)}.vv-e.ok .vln{font-size:18px}
/* beat the old .kp button{color:inherit} */
.vtm .vb-out{color:var(--g)}.vtm .vb-green{color:#fff}.vtm .vchip{color:var(--ink)}.vtm .vchip.on{color:#fff}
.vtm .vq button{color:var(--g)}.vtm .vq .vqp{color:#fff}.vtm .vq .vqm.off{color:#c3cfc4}
.vtm .vtile,.vtm .vprow{color:var(--ink)}.vtm .vdel{color:#7b8a7d}.vtm .vh-mic,.vtm .vv-mic{color:#fff}.vtm .vx{color:#333}.vtm .vv-wr{color:var(--g)}.vtm .vv-rm{color:#789}.vtm .vh-qx{color:#456}
.vtm .vdone .kp-wa{color:#fff}
