:root { --bg:#faf7f2; --fg:#1d1a17; --accent:#7d4f2a; --muted:#7a7167; --card:#fff; --border:#e8e0d4; }
* { box-sizing: border-box; }
body { margin:0; font-family:'Inter', system-ui, sans-serif; background: var(--bg); color: var(--fg); line-height:1.6; }
a { color: var(--accent); }
header { padding: 24px 48px; border-bottom: 1px solid var(--border); display:flex; justify-content:space-between; align-items:center; }
header h1 { margin:0; font-size: 1.4rem; letter-spacing: 0.04em; }
header h1 a { color: var(--fg); text-decoration: none; }
nav a { margin-left: 24px; color: var(--fg); text-decoration: none; }
nav a:hover { color: var(--accent); }
main { padding: 48px; max-width: 1100px; margin: 0 auto; }
footer { padding: 32px 48px; color: var(--muted); border-top: 1px solid var(--border); text-align:center; font-size: 0.85rem; }

.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 56px; }
.hero h2 { font-size: 2.4rem; line-height: 1.2; margin: 0 0 16px; }
.hero p { color: var(--muted); margin: 0 0 24px; }
.cta { display:inline-block; padding: 12px 24px; background: var(--accent); color: white !important; text-decoration: none; border-radius: 4px; }
.thumb { aspect-ratio: 4 / 3; border-radius: 6px; display:flex; align-items:center; justify-content:center; color: rgba(255,255,255,0.85); font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; background-size: cover; background-position: center; background-repeat: no-repeat; }
.thumb-hero { aspect-ratio: 5 / 4; background-image: url('/assets/img/hero.png'), linear-gradient(135deg, #b08158 0%, #6a3d1c 50%, #2d1d11 100%); }
.thumb-p1 { background-image: url('/assets/img/jacket.png'), linear-gradient(135deg, #4f6d8d 0%, #2c4663 100%); }
.thumb-p2 { background-image: url('/assets/img/shirt.png'), linear-gradient(135deg, #c97b4a 0%, #7a3d1f 100%); }
.thumb-p3 { background-image: url('/assets/img/sweatshirt.png'), linear-gradient(135deg, #6a7d3a 0%, #2f3d18 100%); }

.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 56px; }
.product { background: var(--card); padding: 16px; border-radius: 6px; }
.product .name { font-weight: 600; margin: 12px 0 4px; }
.product .price { color: var(--accent); }

.checkout, .panel { background: var(--card); padding: 32px; border-radius: 6px; }
.checkout h3 { margin-top: 0; }
.demo-warning { background: #fbeede; border: 1px solid var(--accent); color: #5c3a1e; padding: 12px 16px; border-radius: 4px; font-size: 0.9rem; margin: 0 0 20px; }

.cart-summary { border: 1px solid var(--border); border-radius: 6px; padding: 16px 20px; margin: 0 0 24px; background: var(--bg); }
.cart-summary-head { display: flex; justify-content: space-between; align-items: center; }
.cart-summary-head h4 { margin: 0; font-size: 1rem; }
.cart-clear { background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; font-size: 0.85rem; text-decoration: underline; padding: 0; }
.cart-clear:hover { color: var(--accent); }
.cart-items { list-style: none; margin: 12px 0; padding: 0; }
.cart-items li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--border); font-size: 0.95rem; }
.cart-items li:last-child { border-bottom: 0; }
.cart-item-price { color: var(--accent); white-space: nowrap; padding-left: 16px; }
.cart-empty { color: var(--muted); font-size: 0.9rem; }
.cart-total { display: flex; justify-content: space-between; font-weight: 600; padding-top: 12px; border-top: 2px solid var(--border); }
.cart-total span:last-child { color: var(--accent); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 12px; }
label { font-size: 0.85rem; color: var(--muted); display: block; margin-bottom: 4px; }
input { width: 100%; padding: 10px; border: 1px solid #d8cebd; border-radius: 4px; font: inherit; }
button[type=submit] { padding: 12px 32px; background: var(--accent); color:white; border:0; border-radius:4px; cursor:pointer; font: inherit; }

.prose h2 { font-size: 1.8rem; margin: 0 0 16px; }
.prose p { color: var(--fg); }
.prose .lead { color: var(--muted); font-size: 1.1rem; }

.notice { background: var(--card); border-left: 3px solid var(--accent); padding: 24px 28px; border-radius: 4px; }
.notice h2 { margin-top: 0; }
