@font-face{font-family:Gilroy;src:url(/fonts/Gilroy-Regular.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Gilroy;src:url(/fonts/Gilroy-Semi-Bold.woff2) format("woff2");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:Gilroy;src:url(/fonts/Gilroy-Bold.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}:root{--brand: #629e00;--brand-strong: #578c00;--brand-80: rgba(98, 158, 0, .8);--brand-soft: rgba(98, 158, 0, .1);--accent: rgba(98, 158, 0, .8);--bg: #ffffff;--surface: #f3f4f1;--surface-2: #eceeea;--card-bg: rgba(217, 217, 217, .2);--text: #1a1a1a;--muted: #a4a7a0;--white: #ffffff;--danger: #e5484d;--radius: 18px;--radius-sm: 12px;--gap: 14px;--nav-height: 74px;--font: "Gilroy", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body,#root{height:100%;margin:0}body{background:var(--bg);color:var(--text);font-family:var(--font);font-size:15px;line-height:1.4;overscroll-behavior-y:none}button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit}input,textarea,select{font-family:inherit;font-size:15px;color:var(--text);background:var(--surface);border:1px solid transparent;border-radius:var(--radius-sm);padding:13px 15px;width:100%;outline:none}input:focus,textarea:focus{border-color:var(--brand);background:var(--white)}a{color:var(--brand);text-decoration:none}.app{min-height:100%;padding-bottom:calc(var(--nav-height) + env(safe-area-inset-bottom))}.page{padding:var(--gap);max-width:640px;margin:0 auto}.page-title{font-size:22px;font-weight:700;margin:6px 0 14px}.app-header{display:flex;align-items:center;justify-content:space-between;padding:18px var(--gap) 6px;max-width:640px;margin:0 auto}.app-logo{height:46px;width:auto}.avatar{width:46px;height:46px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center;flex-shrink:0}.avatar img{width:100%;height:100%}.search{position:relative;margin:8px 0 16px}.search input{height:54px;border-radius:var(--radius);background:var(--surface);text-align:center;font-size:16px;padding:0 44px}.search input::placeholder{color:var(--muted)}.search:before{content:"";position:absolute;left:18px;top:50%;width:20px;height:20px;transform:translateY(-50%);background:var(--muted);-webkit-mask:no-repeat center / contain url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><circle cx='11' cy='11' r='7'/><path d='m20 20-3.5-3.5'/></svg>");mask:no-repeat center / contain url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><circle cx='11' cy='11' r='7'/><path d='m20 20-3.5-3.5'/></svg>")}.product-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:var(--gap)}.card{background:var(--card-bg);border-radius:var(--radius);padding:12px;display:flex;flex-direction:column}.card-photo{aspect-ratio:1 / 1;width:100%;display:flex;align-items:center;justify-content:center;margin-bottom:8px}.card-photo img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}.card-photo-ph{font-size:46px}.card-head{display:flex;align-items:baseline;justify-content:space-between;gap:6px;margin-bottom:10px}.card-name{font-weight:600;font-size:15px;line-height:1.2}.card-unit{color:var(--muted);font-size:12px;font-weight:500;flex-shrink:0}.card-foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:8px}.card-price{font-weight:700;font-size:15px;white-space:nowrap}.card-stepper{width:100%}.add-circle{position:relative;width:42px;height:42px;border-radius:50%;background:var(--accent);color:transparent;font-size:0;flex-shrink:0;transition:transform .1s}.add-circle:before,.add-circle:after{content:"";position:absolute;top:50%;left:50%;background:#fff;border-radius:2px}.add-circle:before{width:16px;height:2.6px;transform:translate(-50%,-50%)}.add-circle:after{width:2.6px;height:16px;transform:translate(-50%,-50%)}.add-circle:active{transform:scale(.92)}.stepper{display:flex;align-items:center;justify-content:space-between;background:var(--accent);color:#fff;border-radius:999px;height:40px;min-width:108px}.stepper button{width:38px;height:40px;font-size:22px;font-weight:500;color:#fff;display:flex;align-items:center;justify-content:center}.stepper .qty{font-weight:700;font-size:15px;min-width:20px;text-align:center}.btn{background:var(--accent);color:#fff;border-radius:var(--radius-sm);padding:15px 16px;font-weight:700;font-size:16px;width:100%;text-align:center;transition:opacity .15s}.btn:active{opacity:.85}.btn:disabled{opacity:.45}.btn-secondary{background:var(--surface);color:var(--text)}.cat-list{display:flex;flex-direction:column;gap:10px}.cat-item{display:flex;align-items:center;gap:14px;background:var(--surface);border-radius:var(--radius);padding:16px 18px;font-weight:600;font-size:16px;width:100%;text-align:left}.cat-item .cat-icon{font-size:26px}.cat-item .cat-icon-img{width:34px;height:34px;object-fit:contain;flex-shrink:0}.cat-item .chev{margin-left:auto;color:var(--muted);font-size:22px}.bottom-nav{position:fixed;left:0;right:0;bottom:0;height:calc(var(--nav-height) + env(safe-area-inset-bottom));padding:0 16px env(safe-area-inset-bottom);display:flex;align-items:center;gap:6px;background:var(--white);border-top:1px solid var(--surface);z-index:50;max-width:640px;margin:0 auto}.nav-item{width:52px;height:52px;border-radius:16px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.nav-icon{width:26px;height:26px;display:flex;align-items:center;justify-content:center;color:#000;background-position:center;background-repeat:no-repeat;background-size:contain;filter:brightness(0);opacity:.55;transition:opacity .15s}.nav-icon--home{background-image:url(/icons/home.svg)}.nav-icon--category{background-image:url(/icons/category.svg)}.nav-icon--history{background-image:url(/icons/history.svg)}.nav-item.active .nav-icon{opacity:1}.nav-item.active{background:var(--surface)}.cart-pill{margin-left:auto;height:54px;min-width:54px;border-radius:999px;background:var(--surface);color:var(--accent);display:flex;align-items:center;justify-content:center;gap:12px;padding:0 8px}.cart-pill.active{background:var(--accent);color:#fff;padding:0 8px 0 22px}.cart-pill .cart-total{font-weight:700;font-size:15px;white-space:nowrap}.cart-pill .cart-count{min-width:38px;height:38px;border-radius:999px;background:#ffffff40;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:15px;padding:0 8px}.sheet-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;z-index:100;display:flex;align-items:flex-end}.sheet{background:var(--bg);width:100%;max-width:640px;margin:0 auto;max-height:88vh;border-radius:22px 22px 0 0;overflow-y:auto;padding:18px;padding-bottom:calc(18px + env(safe-area-inset-bottom));animation:slideUp .22s ease}@keyframes slideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}.sheet-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.sheet-header h2{font-size:20px;margin:0}.sheet-close{font-size:22px;color:var(--muted);line-height:1}.section{background:var(--surface);border-radius:var(--radius);padding:16px;margin-bottom:12px}.row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0}.row+.row{border-top:1px solid var(--surface-2)}.summary-row{display:flex;justify-content:space-between;padding:6px 0;color:var(--muted)}.summary-row.total{color:var(--text);font-weight:700;font-size:18px;border-top:1px solid var(--surface-2);margin-top:6px;padding-top:11px}.field{margin-bottom:12px}.field label{display:block;font-size:13px;color:var(--muted);margin-bottom:6px}.req{color:var(--danger)}.field-hint{font-size:12px;color:var(--muted);margin-top:8px}.geo-ok{display:flex;align-items:center;gap:8px;background:var(--brand-soft);color:var(--brand-strong);font-weight:600;border-radius:var(--radius-sm);padding:14px 16px}.cart-line{display:flex;gap:12px;align-items:center;padding:10px 0}.cart-line+.cart-line{border-top:1px solid var(--surface-2)}.cart-line .thumb{width:50px;height:50px;border-radius:var(--radius-sm);object-fit:cover;background:var(--surface);display:flex;align-items:center;justify-content:center;font-size:24px;flex-shrink:0}.cart-line .info{flex:1;min-width:0}.cart-line .name{font-weight:600;font-size:15px}.cart-line .stepper{width:108px;flex-shrink:0}.order-card{display:block;background:var(--surface);border-radius:var(--radius);padding:18px;margin-bottom:12px;color:var(--text)}.order-card .order-head{display:flex;align-items:center;justify-content:space-between}.order-card .order-num{font-weight:700;font-size:15px;color:var(--muted)}.order-card .order-body{text-align:center;margin-top:18px;padding-bottom:4px}.order-card .order-total{font-weight:700;font-size:25px}.order-card .order-date{color:var(--muted);font-size:13px;margin-top:6px}.badge-status{display:inline-block;font-size:12px;font-weight:600;padding:4px 11px;border-radius:999px;background:var(--surface-2);color:var(--text)}.badge-status.delivered{background:var(--brand-soft);color:var(--brand-strong)}.badge-status.cancelled{background:#e5484d24;color:var(--danger)}.segment{display:flex;background:var(--surface-2);border-radius:var(--radius-sm);padding:4px}.segment button{flex:1;padding:10px;border-radius:9px;font-weight:600;color:var(--muted)}.segment button.active{background:var(--white);color:var(--text);box-shadow:0 1px 3px #00000014}.state{text-align:center;color:var(--muted);padding:48px 16px}.spinner{width:28px;height:28px;border:3px solid var(--surface-2);border-top-color:var(--brand);border-radius:50%;margin:40px auto;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.text-danger{color:var(--danger)}.link-btn{color:var(--brand);font-weight:600}.back-btn{display:inline-flex;align-items:center;gap:6px;font-size:18px;font-weight:600;color:var(--text);padding:8px 12px 8px 0;margin-bottom:8px}.back-btn .back-chev{font-size:30px;line-height:1;color:var(--brand);margin-top:-3px}.back-btn:active{opacity:.6}.mt{margin-top:12px}
