:root {
  --bg: #0e0d0c;
  --surface: #1a1816;
  --text: #ece6dc;
  --muted: #9a9187;
  --accent: #c9b79c;
  --line: #2c2925;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); }
a { color: inherit; }
header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 16px; border-bottom: 1px solid var(--line);
  max-width: 1100px; margin: 0 auto;
}
.logo { font-family: Georgia, serif; font-size: 1.5rem; letter-spacing: 0.15em; text-transform: uppercase; text-decoration: none; }
.cart-link { text-decoration: none; color: var(--muted); }
main { max-width: 1100px; margin: 0 auto; padding: 24px 16px 64px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.card { background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #fff; }
.card .body { padding: 14px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h2 { font-size: 1rem; font-weight: 500; margin: 0; }
.price { color: var(--accent); }
select, button {
  font: inherit; padding: 10px; border: 1px solid var(--line);
  background: var(--bg); color: var(--text);
}
button { background: var(--accent); color: var(--bg); border: none; cursor: pointer; font-weight: 600; letter-spacing: 0.05em; }
button:disabled { opacity: 0.5; cursor: default; }
.card button { margin-top: auto; }
.cart-row { display: flex; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-row img { width: 72px; height: 72px; object-fit: cover; background: #fff; }
.cart-row .name { flex: 1; }
.cart-row input { width: 56px; padding: 8px; background: var(--bg); color: var(--text); border: 1px solid var(--line); }
.remove { background: none; color: var(--muted); padding: 4px; font-weight: 400; }
.summary { margin-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.note, .status { color: var(--muted); }
