:root {
  --ink: #181713;
  --muted: #6c675f;
  --line: #d8dde3;
  --paper: #f8f8f5;
  --soft: #ecefe8;
  --accent: #4f6f52;
  --green: #263f36;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}
a { color: inherit; }
.site-header, .site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 5vw;
  align-items: center;
}
.site-header {
  position: sticky;
  top: 0;
  background: rgba(251, 250, 247, .94);
  border-bottom: 1px solid var(--line);
  z-index: 10;
}
.brand { font-weight: 700; font-size: 22px; text-decoration: none; }
nav { display: flex; gap: 18px; flex-wrap: wrap; }
nav a { text-decoration: none; color: var(--muted); }
.hero {
  min-height: 74vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 52px 5vw 64px;
}
h1 { font-size: clamp(38px, 6vw, 76px); line-height: .98; margin: 0 0 22px; letter-spacing: 0; }
h2 { font-size: 28px; margin: 0 0 12px; }
h3 { margin-bottom: 8px; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; color: var(--accent); font-size: 12px; font-weight: 700; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  background: var(--ink);
  color: #fff;
  border: 0;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  font-weight: 700;
}
.button.secondary { background: var(--soft); color: var(--ink); }
.button.small { min-height: 36px; }
.hero-art, .product-image {
  background:
    linear-gradient(rgba(255,255,255,.02), rgba(255,255,255,.02)),
    url("/static/images/real-hero.jpg?v=20260602") center / cover;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.hero-art { min-height: 520px; }
.section, .padded, .page-title, .legal, .narrow { padding: 54px 5vw; }
.section-head { display: flex; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.product-card {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.product-image {
  display: block;
  height: 280px;
  margin-bottom: 16px;
}
.product-image.shirt {
  background: url("/static/images/real-shirt.jpg?v=20260602") center / cover;
}
.product-image.dress {
  background: url("/static/images/real-dress.jpg?v=20260602") center / cover;
}
.product-image.knit {
  background: url("/static/images/real-knit.jpg?v=20260602") center / cover;
}
.product-image.large { height: 560px; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-band div { background: var(--soft); padding: 28px 5vw; display: grid; gap: 6px; }
.trust-band span, .muted { color: var(--muted); }
.product-detail, .checkout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 54px 5vw;
}
.price { font-size: 24px; font-weight: 700; }
.panel, .summary {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
}
.narrow { max-width: 840px; margin: 0 auto; }
label { display: grid; gap: 8px; margin-bottom: 16px; font-weight: 700; }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  font: inherit;
}
.checkbox { display: flex; align-items: center; font-weight: 400; }
.checkbox input { width: auto; }
.total { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 18px; }
.receipt { display: grid; grid-template-columns: 180px 1fr; gap: 10px 18px; }
.receipt dt { color: var(--muted); }
.receipt dd { margin: 0; }
.alert { color: #991b1b; }
.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 0 5vw 24px;
}
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { border-bottom: 1px solid var(--line); padding: 12px; text-align: left; }
.actions-inline { display: flex; gap: 8px; flex-wrap: wrap; }
.actions-inline button {
  border: 1px solid var(--line);
  background: var(--soft);
  border-radius: 6px;
  padding: 8px 10px;
  cursor: pointer;
}
.legal { max-width: 920px; }
.legal h1 { font-size: 44px; }
.site-footer {
  background: var(--ink);
  color: #fff;
  align-items: flex-start;
}
.site-footer p, .site-footer a { color: #e7e0d4; }
@media (max-width: 780px) {
  .hero, .product-detail, .checkout, .product-grid, .trust-band {
    grid-template-columns: 1fr;
  }
  .admin-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 360px; }
  .site-header, .site-footer { align-items: flex-start; flex-direction: column; }
}
