:root {
  --bg: #0e1013;
  --card: #16191e;
  --text: #eef1f5;
  --muted: #98a1ad;
  --line: #262b33;
  --accent: #4ade80;
}
* { box-sizing: border-box; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  margin: 0;
  line-height: 1.6;
}
.wrap { max-width: 1000px; margin: 0 auto; padding: 32px 20px 80px; }
header.site-header { max-width: 1000px; margin: 0 auto; padding: 28px 20px 0; display: flex; justify-content: space-between; align-items: baseline; }
header.site-header a.brand { color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.15em; letter-spacing: 0.02em; }
header.site-header .tag { color: var(--muted); font-size: 0.85em; }
h1 { font-size: 1.9em; line-height: 1.25; margin: 0.4em 0 0.3em; }
p.intro { color: var(--muted); font-size: 1.05em; max-width: 60ch; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; margin-top: 32px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; background: #1c2027; }
.card .body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h2 { font-size: 1em; margin: 0; line-height: 1.35; }
.card h2 a { color: var(--text); text-decoration: none; }
.card h2 a:hover { color: var(--accent); }
.card .price { color: var(--accent); font-weight: 700; font-size: 1.1em; margin-top: auto; }

.buy {
  display: inline-block; background: var(--accent); color: #06240f; font-weight: 700;
  padding: 12px 22px; border-radius: 8px; text-decoration: none; margin-top: 8px;
}
.buy:hover { filter: brightness(1.08); }
.buy.small { padding: 9px 14px; font-size: 0.9em; }

.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 24px; }
.detail img { width: 100%; border-radius: 10px; background: #1c2027; }
.detail .price { color: var(--accent); font-size: 1.6em; font-weight: 700; }
.detail .desc { color: var(--text); white-space: pre-line; }
@media (max-width: 720px) { .detail { grid-template-columns: 1fr; } }

footer { border-top: 1px solid var(--line); margin-top: 56px; padding-top: 20px; color: var(--muted); font-size: 0.85em; }
footer a { color: var(--muted); }
.shipnote { color: var(--muted); font-size: 0.9em; }
