:root { --ink:#1d1d1d; --muted:#5c5c5c; --line:#e4e4e4; --gold:#a89416; --header:#3f3f3f; --bg:#f6f6f4; --card:#fff; }
* { box-sizing: border-box; }
body { margin:0; font:16px/1.5 "Segoe UI", "PT Sans", sans-serif; color:var(--ink); background:var(--bg); }
a { color:inherit; }
img { max-width:100%; display:block; }
.topbar { background:#2b2b2b; color:#f3e7a1; text-align:center; font-size:13px; padding:8px 12px; }
.site-header { display:flex; gap:16px; align-items:center; padding:14px 6vw; background:var(--header); }
.logo img { height:46px; width:auto; }
.search { flex:1; display:flex; }
.search input { flex:1; border:0; padding:10px 12px; border-radius:6px 0 0 6px; }
.search button, .btn { background:var(--gold); color:#fff; border:0; padding:10px 16px; border-radius:6px; cursor:pointer; text-decoration:none; display:inline-block; font-weight:600; }
.search button { border-radius:0 6px 6px 0; }
.cart-link { color:#fff; text-decoration:none; white-space:nowrap; }
.cart-link span { background:var(--gold); border-radius:99px; padding:0 8px; margin-left:6px; }
.main-nav { display:flex; gap:18px; flex-wrap:wrap; padding:10px 6vw; background:#fff; border-bottom:1px solid var(--line); }
.main-nav a { text-decoration:none; font-size:14px; }
main { padding:28px 6vw 60px; min-height:50vh; }
.hero { background:#fff; border-radius:16px; padding:36px; margin-bottom:28px; }
.eyebrow { letter-spacing:.12em; text-transform:uppercase; color:var(--gold); font-size:12px; }
h1,h2,h3 { line-height:1.25; }
.grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(220px,1fr)); gap:16px; }
.card { background:var(--card); border-radius:12px; overflow:hidden; text-decoration:none; border:1px solid var(--line); }
.card img { height:220px; width:100%; object-fit:cover; background:#eee; }
.card h3 { font-size:15px; margin:12px 12px 4px; min-height:3.2em; }
.price { margin:0 12px 14px; font-weight:700; }
.price s, .price.big s { color:var(--muted); font-weight:400; margin-left:8px; }
.price.big { font-size:28px; margin:8px 0; }
.muted { color:var(--muted); }
.product { display:grid; grid-template-columns:1.1fr .9fr; gap:28px; }
.gallery img { border-radius:12px; margin-bottom:10px; background:#fff; }
.buy { display:flex; gap:12px; align-items:end; margin:16px 0; }
label { display:block; margin:10px 0; font-size:14px; }
input, textarea, select { width:100%; padding:10px; border:1px solid #ccc; border-radius:8px; font:inherit; }
textarea { min-height:80px; }
.table { width:100%; border-collapse:collapse; background:#fff; }
.table th, .table td { text-align:left; padding:10px; border-bottom:1px solid var(--line); }
.table input { width:80px; }
.total { font-size:20px; font-weight:700; }
.btn.secondary { background:#444; margin-right:8px; }
.checkout { display:grid; grid-template-columns:1.3fr .7fr; gap:24px; }
.checkout aside, .prose, .flash { background:#fff; border-radius:12px; padding:16px 18px; }
fieldset { border:1px solid var(--line); border-radius:10px; }
.radio { display:flex; gap:8px; align-items:center; }
.radio input { width:auto; }
.flash.ok { background:#e8f6ea; }
.flash.error { background:#fdecec; }
.site-footer { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:20px; padding:28px 6vw 40px; background:#2b2b2b; color:#eee; }
.site-footer a { display:block; color:#f3e7a1; text-decoration:none; margin:4px 0; }
@media (max-width:800px) {
  .site-header, .product, .checkout { display:block; }
  .search { margin:12px 0; }
  .logo img { height:36px; }
}
