:root{
  --green:#0b6b3a;--green2:#11924f;--blue:#0c3c78;--ink:#13211a;--muted:#6b7770;
  --line:#e4ebe6;--soft:#f5f8f6;--warn:#fff3cf;--danger:#ffe0e0;--ok:#dcf7e8;
  --shadow:0 10px 30px rgba(12,49,31,.08);--radius:18px;
}
*{box-sizing:border-box} body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;background:#eef4f0;color:var(--ink)}
button,input{font:inherit}.hidden{display:none!important}.grow{flex:1}.muted{color:var(--muted)}.te{margin-top:-8px;color:var(--green);font-weight:700}
.auth-shell{min-height:100dvh;display:grid;place-items:center;padding:24px;background:linear-gradient(145deg,#e8f5ed,#f9fbfa)}
.auth-card{width:min(430px,100%);background:white;border-radius:26px;padding:32px;box-shadow:var(--shadow);text-align:center}.brand-mark{width:74px;height:74px;border-radius:22px;background:var(--green);color:#fff;display:grid;place-items:center;font-weight:900;font-size:28px;margin:0 auto 16px}
.stack{display:grid;gap:14px;text-align:left}.stack label{font-weight:700;font-size:14px}.stack input,.search-row input{width:100%;padding:15px 16px;border:1px solid #ccd8d0;border-radius:14px;background:#fff;outline:none}.stack input:focus,.search-row input:focus{border-color:var(--green)}
.btn{border:0;border-radius:14px;padding:15px 18px;font-weight:800;cursor:pointer}.primary{background:var(--green);color:#fff}.success{background:var(--green2);color:#fff}.full{width:100%}.error{color:#b42318;min-height:20px}
.app{max-width:760px;margin:0 auto;min-height:100dvh;background:#f8fbf9;padding-bottom:88px}.topbar{position:sticky;top:0;z-index:10;display:flex;justify-content:space-between;align-items:center;padding:16px 18px;background:var(--green);color:#fff}.topbar h2{margin:2px 0 0}.eyebrow{font-size:12px;opacity:.85;text-transform:uppercase;letter-spacing:.08em}.icon-btn{border:0;background:#ffffff1a;color:inherit;border-radius:12px;min-width:42px;height:42px;cursor:pointer;font-size:20px}
.hero-actions{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;padding:16px}.hero-tile{position:relative;min-height:122px;border:1px solid var(--line);background:#fff;border-radius:18px;padding:16px;text-align:left;box-shadow:0 4px 12px rgba(10,46,29,.04)}.hero-icon{font-size:34px;display:block;margin-bottom:8px}.hero-tile strong,.hero-tile small{display:block}.hero-tile small{color:var(--green);font-weight:700;margin-top:3px}.badge{position:absolute;right:12px;top:12px;background:#f97316;color:#fff;min-width:25px;height:25px;border-radius:99px;display:grid;place-items:center;font-weight:800;font-size:12px}
.panel{padding:4px 16px 20px}.section-head{display:flex;gap:10px;align-items:center;margin:6px 0 12px}.section-head h3{margin:0;font-size:22px}.section-head p{margin:2px 0 0;color:var(--green);font-weight:700}.section-head .icon-btn{background:#e9f2ed;color:var(--ink)}
.category-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.category-card{border:1px solid var(--line);background:white;border-radius:18px;padding:18px;min-height:118px;text-align:left;cursor:pointer}.category-card .cat-icon{font-size:32px}.category-card strong{display:block;margin-top:10px}.category-card small{display:block;color:var(--green);margin-top:4px;font-weight:700}
.search-row{margin-bottom:12px}.product-grid{display:grid;gap:12px}.product-card{display:grid;grid-template-columns:105px 1fr;gap:14px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:12px;box-shadow:0 4px 12px rgba(10,46,29,.04)}.product-img{width:105px;height:105px;border-radius:14px;background:#eef3f0;object-fit:contain}.img-fallback{display:grid;place-items:center;font-size:44px}.product-card h4{margin:0 0 2px;font-size:17px}.product-card .telugu{color:var(--green);font-weight:700}.meta{font-size:12px;color:var(--muted);margin:5px 0}.price{font-weight:900;font-size:18px}.status{display:inline-block;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:800;margin:5px 0}.status.Available{background:var(--ok);color:#0b6b3a}.status.Sourcing{background:var(--warn);color:#8a5b00}.status.Not.Available{background:var(--danger);color:#a11a1a}.qty-row{display:flex;align-items:center;gap:8px;margin-top:10px}.qty-btn{width:34px;height:34px;border-radius:10px;border:1px solid #cfdad3;background:#fff;font-size:20px}.add-btn{margin-left:auto;border:0;background:var(--green);color:#fff;border-radius:10px;padding:9px 12px;font-weight:800}.add-btn:disabled{background:#c6cec9;color:#6b7770}
.cart-list,.orders-list{display:grid;gap:10px}.cart-item,.order-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px}.cart-item{display:grid;grid-template-columns:1fr auto;gap:10px}.cart-item h4,.order-card h4{margin:0}.cart-controls{display:flex;gap:6px;align-items:center}.remove{border:0;background:#ffe8e8;color:#a11a1a;border-radius:10px;padding:8px}.summary-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px;margin:14px 0}.summary-card div{display:flex;justify-content:space-between;padding:6px 0}.summary-card strong{font-size:19px}.order-card .order-top{display:flex;justify-content:space-between;gap:12px}.order-card small{color:var(--muted)}
.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(760px,100%);display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border-top:1px solid var(--line);padding:8px 6px calc(8px + env(safe-area-inset-bottom));z-index:20}.bottom-nav button{border:0;background:transparent;display:grid;place-items:center;gap:2px;color:#33443a}.bottom-nav span{font-size:11px}.bottom-nav small{font-size:10px;color:var(--green)}
.toast{position:fixed;top:18px;left:50%;transform:translateX(-50%);z-index:100;background:#173b2a;color:#fff;padding:12px 18px;border-radius:12px;box-shadow:var(--shadow);max-width:90%;text-align:center}
@media(min-width:620px){.hero-actions{grid-template-columns:repeat(4,1fr)}.category-grid{grid-template-columns:repeat(3,1fr)}.product-grid{grid-template-columns:repeat(2,1fr)}.product-card{grid-template-columns:90px 1fr}.product-img{width:90px;height:90px}}
