:root {
  --bg: #f9f5f0;
  --ink: #1f1a17;
  --brand: #9a3412;
  --brand-soft: #fed7aa;
  --card: #ffffff;
  --muted: #6b5f57;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top right, #fff8ef, var(--bg) 55%);
}
.container { width: min(1100px, 92vw); margin: 0 auto; }
.topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 0;
}
.brand { font-size: 1.6rem; letter-spacing: 0.08em; font-weight: 700; }
a { color: var(--brand); text-decoration: none; }
.hero { padding: 1rem 0 1.5rem; }
.hero h1 { margin: 0; font-size: clamp(1.8rem, 4vw, 3rem); }
.hero p { color: var(--muted); }
.filters { display: flex; gap: .6rem; margin: .7rem 0 1rem; }
button, select, input, textarea {
  border: 1px solid #d9cec4; border-radius: 10px; padding: .65rem .75rem; font: inherit;
}
button { background: var(--brand); color: #fff; border: none; cursor: pointer; }
.ghost { background: var(--brand-soft); color: #7c2d12; }
.grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem;
}
.card {
  background: var(--card); border-radius: 16px; overflow: hidden; box-shadow: 0 8px 26px rgba(0,0,0,.06);
}
.card img { width: 100%; height: 270px; object-fit: cover; display: block; }
.card .body { padding: .8rem; }
.meta { color: var(--muted); font-size: .9rem; }
.price { font-weight: 700; margin: .35rem 0; }
.layout {
  display: grid; grid-template-columns: 2fr 1.1fr; gap: 1rem; margin-top: 1rem;
}
.panel { background: #fff; border-radius: 16px; padding: 1rem; box-shadow: 0 8px 26px rgba(0,0,0,.06); }
label { display: block; margin-top: .6rem; font-size: .95rem; }
input, textarea, select { width: 100%; margin-top: .3rem; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.list { display: grid; gap: .7rem; }
.order-item { border: 1px solid #eee4db; border-radius: 12px; padding: .7rem; }
.message { border-radius: 10px; padding: .6rem; margin: .4rem 0; background: #f6efe8; }
.message.admin { background: #efe7fd; }
.message img { max-width: 120px; border-radius: 8px; display: block; margin-top: .4rem; }
.muted { color: var(--muted); font-size: .9rem; }
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; }
}
