.container{max-width:420px;margin:0 auto;background:#fff;min-height:100vh;padding-bottom:108px;border:1px solid var(--line)}
.top{padding:12px 14px;background:#fff;position:sticky;top:0;z-index:5}
.search{display:flex;gap:8px;flex-wrap:nowrap}.search button{min-width:68px;white-space:nowrap;word-break:keep-all}
.banner{position:relative;overflow:hidden;border-radius:12px;height:140px;background:#e0f2fe;margin:10px 0}
.banner-carousel{position:relative;width:100%;height:100%}.banner img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}.banner-carousel strong{position:absolute;left:12px;bottom:12px;right:12px;color:#fff;text-shadow:0 1px 3px rgba(15,23,42,.8);z-index:1}.banner-controls{position:absolute;right:10px;bottom:8px;z-index:2;display:flex;align-items:center;gap:6px}.banner-controls>button,.banner-dots button{background:rgba(15,23,42,.68);color:#fff;border:1px solid rgba(255,255,255,.6);border-radius:999px;min-width:28px;height:28px;padding:0}.banner-dots{display:flex;gap:4px}.banner-dots button{min-width:8px;width:8px;height:8px;border:0;background:rgba(255,255,255,.55)}.banner-dots button[aria-current="true"]{background:#fff}
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:8px 14px}
.cell{text-align:center;border:1px solid var(--line);border-radius:12px;padding:10px 4px;background:#fff}
.section{padding:0 14px 12px}.section-title{font-weight:700;margin-bottom:8px}
.catalog{display:flex;gap:8px;overflow-x:auto;padding:8px 14px}.catalog button{white-space:nowrap}
.products{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0 14px 14px}
.product{border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}.product img{width:100%;height:120px;object-fit:cover;background:#f1f5f9}.p-body{padding:8px}.price{color:var(--orange);font-weight:700}.add{background:var(--brand);color:#fff;margin-top:8px;width:100%}.add[disabled]{opacity:.5}
.tabbar{position:fixed;left:50%;bottom:0;transform:translateX(-50%);width:420px;max-width:100vw;background:#fff;border-top:1px solid var(--line);display:flex;justify-content:space-around;padding:8px calc(8px + env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) calc(8px + env(safe-area-inset-left));z-index:6}.tabbar button{background:none;color:var(--muted);display:flex;flex-direction:column;align-items:center;font-size:11px}.tabbar button[aria-current="page"]{color:var(--brand);font-weight:700}.tabbar button[aria-current="page"] span:first-child{transform:translateY(-1px)}
.page{display:none}.page.active{display:block}
.progress{display:flex;justify-content:space-between;gap:6px;margin:12px 14px}.node{flex:1;border:1px solid var(--line);border-radius:999px;padding:8px 4px;text-align:center;color:var(--muted);font-size:12px}.node.done{background:var(--brand);color:#fff;border-color:var(--brand)}
.checkout{padding:14px}.row{display:flex;justify-content:space-between;margin:8px 0}.btn-primary{background:var(--brand);color:#fff;width:100%;padding:12px;margin-top:12px}
.detail img{width:100%;height:220px;object-fit:cover;background:#f1f5f9}.detail{padding:14px}
.notice{border-left:4px solid var(--orange);background:#fff7ed;border-radius:8px;padding:10px;margin-bottom:8px}
.muted{color:var(--muted);font-size:13px}.error{color:var(--red);margin:14px}.quantity{display:flex;align-items:center;gap:16px;margin:14px 0}.btn-secondary{width:100%;margin-top:8px}.checkout-items>div{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid var(--line)}label{display:block;margin-top:10px;font-size:13px}.cart-item{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;margin-bottom:8px}.cart-item>div{grid-column:1/-1;display:flex;align-items:center;gap:8px}.cart-item [data-cart-qty]{display:inline-block;min-width:32px;padding-inline:8px;text-align:center;font-weight:700}.admin-shell{display:flex;min-height:100vh}.admin-shell aside{width:210px;background:#0f172a;color:#fff;padding:20px}.admin-shell aside h1{font-size:20px;margin-bottom:20px}.admin-shell aside button{width:100%;display:block;text-align:left;margin:6px 0;background:#273449;color:#fff}.admin-shell main{flex:1;padding:24px;max-width:1000px}.admin-shell section h2{margin-bottom:14px}.admin-shell .grid{grid-template-columns:repeat(4,1fr);padding:0}.admin-shell .grid strong{display:block;font-size:24px;margin-top:8px}.admin-form{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:14px}.admin-form button{grid-column:1/-1;background:var(--brand);color:#fff}.admin-row{margin:10px 0}.admin-row label{display:inline-block;margin-right:8px}.admin-row input{width:auto;min-width:100px}.admin-actions{display:flex;gap:6px;margin-top:10px}.admin-actions button:disabled{opacity:.45}.empty-cart{padding:20px 0}.row{display:flex;justify-content:space-between;gap:10px}

.cart-clear{width:auto;margin:0;padding:6px 10px}.status-history{margin-top:8px;color:var(--muted);font-size:12px;line-height:1.7}.admin-row label{vertical-align:top}.admin-row textarea{min-width:240px;min-height:54px}
