html{overscroll-behavior-y:contain}:root{--bg:#fff;--text:#111;--muted:#666;--accent:#e5ff00;--border:#eee}*{box-sizing:border-box}html,body,#root{height:100%;margin:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}.page{max-width:1100px;margin:0 auto;padding:12px}.toolbar{position:sticky;top:40px;background:var(--bg);padding:12px 0;display:flex;justify-content:space-between;align-items:center;z-index:9}.toolbar h1{margin:0;font-size:20px;letter-spacing:.5px}.cart-info{display:none}.promo-categories{display:flex;gap:12px;overflow-x:auto;padding:12px 0;-ms-overflow-style:none;scrollbar-width:none}.promo-categories::-webkit-scrollbar{display:none}.promo-item{display:flex;flex-direction:column;align-items:center;gap:8px;text-decoration:none;color:var(--text)}.promo-square{width:72px;height:72px;border-radius:20px;border:1px solid var(--border)}.promo-square img{width:100%;height:100%;object-fit:cover;border-radius:inherit;display:block}.promo-title{font-size:13px;font-weight:500}.neon{position:sticky;top:0;z-index:10;height:40px;background:var(--accent);display:flex;align-items:center;justify-content:center;font-weight:700;letter-spacing:.2px}.neon a{color:#000;text-decoration:none}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px}.order-form-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;z-index:1000;display:flex;align-items:center;justify-content:center;padding:20px}.order-form-sheet{background:#fff;border-radius:16px;max-width:500px;width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #0003}.sheet-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px 0;border-bottom:1px solid var(--border);margin-bottom:20px}.sheet-title{margin:0;font-size:18px;font-weight:600}.close-btn{background:none;border:none;cursor:pointer;padding:8px;border-radius:8px;color:var(--muted);transition:all .2s ease}.close-btn:hover{background:var(--border);color:var(--text)}.order-summary{margin:0 24px 24px;padding:16px;background:#f8f9fa;border-radius:12px;border:1px solid var(--border)}.summary-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.summary-row:last-child{margin-bottom:0}.summary-row.discount{color:#28a745;font-weight:500}.summary-row.total{font-weight:700;font-size:16px;padding-top:8px;border-top:1px solid var(--border);margin-top:8px}.order-form{padding:0 24px 24px}.form-group{margin-bottom:20px}.form-group label{display:block;margin-bottom:6px;font-weight:500;color:var(--text)}.form-group input,.form-group textarea{width:100%;padding:12px 16px;border:2px solid var(--border);border-radius:8px;font-size:16px;transition:border-color .2s ease;font-family:inherit}.form-group input:focus,.form-group textarea:focus{outline:none;border-color:#07f}.form-group input.error,.form-group textarea.error{border-color:#dc3545}.city-input-wrapper{position:relative}.city-loader{position:absolute;right:12px;top:50%;transform:translateY(-50%);font-size:16px}.city-suggestions{border:2px solid var(--border);border-top:none;border-radius:0 0 8px 8px;background:#fff;max-height:200px;overflow-y:auto;position:absolute;left:0;right:0;z-index:10;box-shadow:0 4px 12px #0000001a}.city-suggestion{width:100%;padding:12px 16px;border:none;background:#fff;text-align:left;cursor:pointer;transition:background-color .2s ease;font-size:14px}.city-suggestion:hover{background:#f8f9fa}.city-suggestion:not(:last-child){border-bottom:1px solid var(--border)}.error-text{color:#dc3545;font-size:14px;margin-top:4px}.form-actions{display:flex;gap:12px;margin-top:24px}.btn-secondary{flex:1;padding:12px 24px;border:2px solid var(--border);background:#fff;color:var(--text);border-radius:8px;font-size:16px;font-weight:500;cursor:pointer;transition:all .2s ease}.btn-secondary:hover{background:var(--border)}.btn-primary{flex:2;padding:12px 24px;border:none;background:#111;color:#fff;border-radius:8px;font-size:16px;font-weight:500;cursor:pointer;transition:all .2s ease}.btn-primary:hover:not(:disabled){background:#333}.btn-primary:disabled{opacity:.6;cursor:not-allowed}@media (max-width: 640px){.order-form-overlay{padding:0;align-items:flex-end}.order-form-sheet{max-width:none;border-radius:16px 16px 0 0;max-height:95vh}.form-actions{flex-direction:column}.form-actions .btn-secondary,.form-actions .btn-primary{flex:none}}.card{border:1px solid var(--border);border-radius:12px;overflow:hidden;background:#fff;transition:transform .2s ease,box-shadow .2s ease}.card:hover{transform:translateY(-2px);box-shadow:0 6px 18px #0000000f}.media{position:relative;aspect-ratio:4/5;background:#f6f6f6;display:flex;align-items:center;justify-content:center;overflow:hidden}.media:hover .placeholder{transform:scale(1.06)}.media-img{width:100%;height:100%;object-fit:cover;display:block}.placeholder{width:64px;height:64px;border-radius:50%;background:var(--accent);display:flex;align-items:center;justify-content:center;font-weight:600;color:#000}.placeholder{transition:transform .25s ease}.badge{position:absolute;left:8px;top:8px;background:#ff7a00;color:#fff;font-size:11px;padding:3px 6px;border-radius:4px}.info{padding:10px}.title{font-size:14px;line-height:1.3;height:36px;overflow:hidden}.meta{color:var(--muted);font-size:12px;margin:4px 0 8px;height:16px;overflow:hidden}.price-row{display:flex;gap:8px;align-items:center;margin-bottom:8px}.price{font-weight:700}.old{color:var(--muted);text-decoration:line-through;font-size:13px}.primary{background:#111;color:#fff;border:0;padding:10px 12px;border-radius:8px;cursor:pointer}.primary:disabled{opacity:.6;cursor:default}.w-100{width:100%}.drawer{position:sticky;bottom:0;border-top:1px solid var(--border);padding-top:8px;background:var(--bg);margin-top:12px}.drawer-title{font-weight:600;margin-bottom:8px}.row{display:grid;grid-template-columns:1fr auto auto auto;gap:8px;align-items:center;padding:6px 0}.row-title{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.row-qty{color:var(--muted)}.row-price{font-weight:600}.link{background:transparent;border:0;color:#07f;cursor:pointer}.drawer-footer{display:flex;justify-content:space-between;align-items:center;padding-top:8px;gap:8px}.total{font-weight:700}.muted{color:var(--muted)}.promo-row{display:flex;gap:8px;margin-top:6px}.promo-input{flex:1;height:36px;padding:0 12px;border-radius:10px;border:1px solid var(--border);font-size:14px;background:#fff}.promo-error{color:#d32f2f;font-size:12px;margin-top:4px}.old-inline{color:var(--muted);text-decoration:line-through;margin-right:8px}.cart-cards{display:grid;grid-template-columns:1fr;gap:8px;margin-top:6px}.cart-card{display:grid;grid-template-columns:64px 1fr;gap:8px;border:1px solid var(--border);border-radius:10px;overflow:hidden;background:#fff;align-items:center}.cart-card-media{width:64px;height:64px;background:#f6f6f6;display:flex;align-items:center;justify-content:center}.cart-card-media img{width:100%;height:100%;object-fit:cover;display:block}.cart-card-info{padding:6px;display:flex;flex-direction:column;gap:5px}.cart-card-title{font-size:13px;line-height:1.3;max-height:32px;overflow:hidden}.cart-card-meta{display:flex;align-items:baseline;gap:6px}.cart-card-qty{color:var(--muted);font-size:12px}.cart-card-actions{margin-top:2px;display:flex;align-items:center;gap:8px}.qty-control{display:flex;align-items:center;gap:8px}.qty-btn{width:28px;height:28px;border-radius:8px;border:1px solid var(--border);background:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;line-height:1;-webkit-appearance:none;-moz-appearance:none;appearance:none}.qty{min-width:16px;text-align:center;font-weight:700}.trash-btn{width:28px;height:28px;border-radius:8px;border:1px solid var(--border);background:#fff;color:#111;display:flex;align-items:center;justify-content:center;cursor:pointer;margin-left:auto;padding:0;line-height:1;-webkit-appearance:none;-moz-appearance:none;appearance:none}.trash-btn svg{width:16px;height:16px}.drawer .cart-card{grid-template-columns:56px 1fr}.drawer .cart-card-media{width:56px;height:56px}.drawer .cart-card-info{padding:6px}.drawer .cart-card-title{max-height:30px}.drawer .qty-btn{width:26px;height:26px}.drawer .trash-btn{width:26px;height:26px;color:#111;border-color:var(--border)}.drawer .price{font-size:16px}.confirm-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;display:flex;align-items:flex-end;justify-content:center;z-index:1000}.confirm-sheet{width:100%;max-width:1100px;background:#fffffff5;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-radius:16px 16px 0 0;padding:14px 12px calc(12px + env(safe-area-inset-bottom));box-shadow:0 -20px 40px #00000040}.confirm-grabber{width:44px;height:4px;background:#ddd;border-radius:4px;margin:0 auto 10px}.confirm-title{font-weight:700;font-size:18px;margin-bottom:8px}.confirm-summary{display:grid;grid-template-columns:1fr 1fr;gap:6px 12px;font-size:14px}.confirm-total{grid-column:1 / -1;font-weight:800;font-size:18px;margin-top:4px}.confirm-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:14px}.confirm-actions .link{font-size:16px;padding:12px 10px}.confirm-actions .primary{font-size:18px;padding:14px 18px;border-radius:14px}.fullscreen-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;z-index:1000}.fullscreen-sheet{position:fixed;top:0;right:0;bottom:0;left:0;background:#fff;padding:14px 12px calc(8px + env(safe-area-inset-bottom));overflow-y:auto;overflow-x:hidden}.sheet-title{font-weight:800;font-size:18px;margin-bottom:10px}.bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:900;background:#ffffffe6;color:#111;border-top:1px solid var(--border);display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:8px 12px calc(10px + env(safe-area-inset-bottom));box-shadow:0 -10px 28px #0000001a}.nav-btn{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;color:inherit;display:flex;flex-direction:column;align-items:center;gap:4px;padding:6px 4px;border-radius:10px;cursor:pointer}.nav-btn svg{display:block}.nav-btn .label{font-size:12px}.nav-btn.active{color:#111}.page{padding-bottom:72px}.admin-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px}.admin-card{border:1px solid var(--border);border-radius:12px;padding:12px;background:#fff}.admin-row{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:8px}.admin-row.end{justify-content:end;display:flex}.admin-col{display:flex;flex-direction:column;gap:6px}.admin-col.full{grid-column:1 / -1}.admin-col label{font-size:12px;color:var(--muted)}.icon-btn{width:36px;height:36px;border-radius:10px;border:1px solid var(--border);background:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer}.badge-count{display:inline-flex;min-width:20px;height:20px;padding:0 6px;align-items:center;justify-content:center;font-size:12px;background:#111;color:#fff;border-radius:10px}.filter-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000040;-webkit-backdrop-filter:saturate(160%) blur(14px);backdrop-filter:saturate(160%) blur(14px);z-index:10}.filter-popover{position:fixed;z-index:11;left:50%;top:50%;transform:translate(-50%,-50%);background:#fff;border:1px solid var(--border);border-radius:16px;padding:14px;display:grid;gap:10px;box-shadow:0 20px 40px #0000002e;width:min(92vw,360px)}.tab{height:36px;padding:0 12px;border:1px solid var(--border);background:#fff;border-radius:10px;cursor:pointer}.tab.active{background:#111;color:#fff;border-color:#111}.search-input{width:220px;height:36px;padding:0 12px;border-radius:10px;border:1px solid var(--border);font-size:14px;background:#fff}.secondary{background:#fff;color:#111;border:1px solid var(--border);padding:10px 12px;border-radius:8px;cursor:pointer}.icon-like{position:absolute;right:8px;top:8px;width:40px;height:40px;border-radius:50%;border:1px solid var(--border);background:#fff;display:flex;align-items:center;justify-content:center;color:#999;cursor:pointer}.icon-like.liked{color:#e53935;border-color:#e53935;background:#ffe5e5}.search-popover{position:fixed;z-index:11;left:50%;top:50%;transform:translate(-50%,-50%);background:#fff;border:1px solid var(--border);border-radius:16px;width:min(90vw,320px);padding:14px;display:flex;flex-direction:column;gap:12px;box-shadow:0 20px 40px #0000002e}.search-title{font-weight:700;font-size:16px}.search-popover .search-input{width:100%;height:40px;font-size:15px}.search-actions{margin-top:auto;display:flex;justify-content:flex-end;gap:8px}@media (max-width: 600px){.page{padding:10px}.neon{position:static;top:auto}.toolbar{position:static;top:auto;padding:8px 0}.toolbar h1{font-size:18px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.promo-square{width:64px;height:64px;border-radius:16px}.info{padding:8px}.title{font-size:13px;height:34px}.meta{font-size:11px}.primary{padding:8px 10px;border-radius:8px}.row{padding:10px 0}.drawer{position:static;padding-bottom:0}.drawer:after{content:none}.drawer-footer{position:static;padding:10px 12px;background:#fff;border-top:1px solid var(--border);box-shadow:none;display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:12px}.drawer-footer .primary{padding:14px 18px;font-size:17px;border-radius:14px}.drawer-footer .secondary{padding:14px 18px;font-size:17px;border-radius:14px;background:#fff;color:#111;border:1px solid var(--border)}.total{font-size:19px}.promo-input{height:44px;font-size:16px}}.specs{display:grid;gap:8px}.spec-row{display:grid;grid-template-columns:auto 1fr auto;align-items:baseline;column-gap:8px;font-size:14px}.spec-label{color:#333}.spec-dots{border-bottom:1px dotted #bbb;height:0;transform:translateY(-2px)}.spec-value{color:#111}
