:root { --bg: #f4f4f0; --surface: #ffffff; --ink: #17211d; --muted: #69736d; --line: #dce1db; --accent: #d6f25f; --danger: #c24232; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Inter, Arial, sans-serif; font-size: 15px; letter-spacing: 0; }
main { max-width: 720px; min-height: calc(100vh - 70px); margin: auto; padding: 28px 18px 100px; }
header { border-bottom: 1px solid var(--line); padding: 4px 0 22px; margin-bottom: 22px; }
.eyebrow { color: #637129; font-size: 12px; font-weight: 800; letter-spacing: .08em; margin: 0 0 8px; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; } h1 { font-size: 34px; line-height: 1; margin-bottom: 10px; } h2 { font-size: 24px; margin-bottom: 18px; } h3 { font-size: 18px; margin-bottom: 8px; }
.muted { color: var(--muted); line-height: 1.45; }.view { display: none; }.view.active { display: block; }
.product-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.product, .item, .admin-block { background: var(--surface); border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.product-image { display: block; width: 100%; height: 145px; object-fit: cover; background: #e6e9e3; }.product-body { padding: 15px; }.product-description { color: var(--muted); line-height: 1.4; min-height: 42px; }.price { font-size: 18px; font-weight: 800; margin: 16px 0 12px; }
button { border: 0; border-radius: 5px; background: var(--ink); color: white; cursor: pointer; font: inherit; font-weight: 700; padding: 11px 14px; } button:hover { opacity: .86; } button.secondary { background: #e5e8e2; color: var(--ink); } button.danger { background: var(--danger); }
.list { display: grid; gap: 10px; }.item { padding: 14px; }.item p { margin-bottom: 0; }.meta { color: var(--muted); font-size: 13px; margin-top: 6px; }.status { color: #637129; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 2; display: flex; justify-content: center; gap: 2px; padding: 10px max(12px, calc((100vw - 720px) / 2)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); } .nav { flex: 1; max-width: 150px; background: transparent; color: var(--muted); padding: 10px 4px; font-size: 13px; }.nav.active { background: var(--accent); color: var(--ink); }
textarea, input { width: 100%; border: 1px solid #b9c1b8; border-radius: 5px; padding: 11px; font: inherit; margin-bottom: 10px; background: white; } textarea { min-height: 135px; resize: vertical; } form button { width: 100%; }
.admin-grid { display: grid; gap: 18px; }.admin-block { padding: 14px; }.admin-block h3 { margin-bottom: 13px; }.admin-order { display: flex; gap: 8px; align-items: center; justify-content: space-between; }.admin-order .actions { display: flex; gap: 6px; }.admin-order button { padding: 7px 9px; font-size: 12px; }.support-message { white-space: pre-wrap; }
#toast { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); display: none; max-width: min(90vw, 430px); padding: 11px 14px; border-radius: 5px; background: #17211d; color: white; text-align: center; } #toast.show { display: block; }
@media (max-width: 440px) { main { padding: 22px 14px 94px; } h1 { font-size: 30px; }.product-grid { grid-template-columns: 1fr; }.product-image { height: 165px; }.admin-order { align-items: flex-start; flex-direction: column; }.admin-order .actions { width: 100%; }.admin-order button { flex: 1; } }
