:root {
  --bg: #faf7f2;
  --fg: #2b2622;
  --muted: #7a6f66;
  --accent: #8a5a3c;
  --line: #e4ddd2;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif;
}

a { color: inherit; }

.site-header, .site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--line);
}
.site-footer { border-top: 1px solid var(--line); border-bottom: 0; justify-content: center; color: var(--muted); font-size: .9rem; }
.brand { font-size: 1.2rem; font-weight: 600; text-decoration: none; letter-spacing: .02em; }
.site-header nav { display: flex; gap: 1.25rem; }

main { max-width: 1100px; margin: 0 auto; padding: 1.5rem; min-height: 60vh; }

.grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
.card a { text-decoration: none; display: block; }
.card img, .placeholder { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--line); border-radius: 4px; display: block; }
.card h2 { font-size: 1.05rem; margin: .6rem 0 0; font-weight: 500; }
.card.state-sold img, .card.state-reserved img { opacity: .6; }

.price { color: var(--accent); margin: .2rem 0; font-weight: 600; }
.badge { display: inline-block; margin-left: .4rem; padding: 0 .5rem; border: 1px solid var(--line); border-radius: 999px; font-size: .8rem; color: var(--muted); font-weight: 400; }

.product { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .product { grid-template-columns: 1fr 1fr; } }
.gallery { display: grid; gap: 1rem; }
.gallery img { width: 100%; height: auto; border-radius: 4px; }

dl { display: grid; grid-template-columns: max-content 1fr; gap: .25rem 1rem; }
dt { color: var(--muted); }
dd { margin: 0; }

.note { color: var(--muted); font-style: italic; }
