:root {
  --brand: #631d20;
  --brand-dark: #340000;
  --accent: #008080;
  --bg: #ffffff;
  --soft: #f5f1ef;
  --text: #222;
  --muted: #666;
  --radius: 10px;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }
a { color: var(--brand); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

header.site { border-bottom: 1px solid #eee; background: #fff; position: sticky; top: 0; z-index: 10; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
header.site .logo img { height: 44px; width: auto; }
header.site nav { display: flex; gap: 20px; flex-wrap: wrap; }
header.site nav a { text-decoration: none; color: var(--text); font-weight: 600; }
header.site nav a:hover, header.site nav a.active { color: var(--brand); }

.hero { background: var(--soft); padding: 56px 0; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; margin: 0 0 16px; color: var(--brand); }
.hero p { color: var(--muted); font-size: 1.1rem; }
.hero img { max-height: 360px; margin: 0 auto; object-fit: contain; }
@media (max-width: 720px) { .hero .wrap { grid-template-columns: 1fr; } }

.btn { display: inline-block; background: var(--brand); color: #fff; padding: 12px 26px; border-radius: 999px; text-decoration: none; font-weight: 700; border: 0; cursor: pointer; font-size: 1rem; }
.btn:hover { background: var(--brand-dark); }
.btn.disabled { background: #bbb; cursor: not-allowed; }

section { padding: 48px 0; }
h2 { color: var(--brand); margin: 0 0 24px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px; }
.card { background: #fff; border: 1px solid #eee; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: box-shadow .2s; }
.card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.card img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; background: var(--soft); }
.card .body { padding: 14px 16px; }
.card h3 { margin: 0 0 4px; font-size: 1.05rem; }
.card .price { color: var(--brand); font-weight: 700; }

.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.filters a { padding: 6px 16px; border-radius: 999px; border: 1px solid var(--brand); text-decoration: none; }
.filters a.active { background: var(--brand); color: #fff; }

.product { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.product img { border-radius: var(--radius); width: 100%; }
.product .price { font-size: 1.5rem; color: var(--brand); font-weight: 700; margin: 8px 0 20px; }
@media (max-width: 720px) { .product { grid-template-columns: 1fr; } }

.prose { max-width: 720px; }
footer.site { background: var(--brand); color: #f3e9e9; padding: 32px 0; margin-top: 48px; font-size: .95rem; }
footer.site a { color: #fff; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.variant { display: block; margin: 0 0 20px; font-weight: 600; }
.variant select { display: block; margin-top: 6px; width: 100%; max-width: 320px; padding: 10px 12px; border: 1px solid #ccc; border-radius: 8px; font-size: 1rem; background: #fff; }
.note { color: var(--muted); font-size: .9rem; margin-top: 16px; }
h2.small { font-size: 1rem; margin: 24px 0 4px; color: var(--text); }
h1 { color: var(--brand); }
.error { color: #a94442; margin-top: 10px; }
button.btn:disabled { opacity: .7; cursor: wait; }
