:root {
  color-scheme: light;
  --background: #f7f7f5;
  --surface: #ffffff;
  --text: #191919;
  --muted: #656565;
  --border: #deded9;
  --accent: #a6321e;
  --accent-dark: #782214;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
a { color: var(--accent-dark); }
a:hover { color: var(--accent); }
img { display: block; max-width: 100%; height: auto; }
.container { width: min(calc(100% - 2rem), var(--max-width)); margin-inline: auto; }
.site-header, .site-footer { background: var(--surface); border-color: var(--border); }
.site-header { border-bottom: 1px solid var(--border); }
.site-footer { border-top: 1px solid var(--border); margin-top: 4rem; }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--text); font-weight: 700; text-decoration: none; }
.brand img { width: 34px; height: 34px; object-fit: contain; }
.nav-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.nav-links a { color: var(--text); text-decoration: none; }
.hero { padding: 5rem 0 3rem; }
.hero h1 { max-width: 850px; margin: 0 0 1rem; font-size: clamp(2.4rem, 7vw, 5.6rem); line-height: .98; letter-spacing: -.05em; }
.hero p { max-width: 700px; color: var(--muted); font-size: 1.2rem; }
.button { display: inline-block; border: 0; border-radius: 999px; padding: .8rem 1.15rem; background: var(--accent); color: #fff; font-weight: 700; text-decoration: none; }
.button:hover { background: var(--accent-dark); color: #fff; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.card { overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }
.card-image { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; background: #eee; }
.card-body { padding: 1.1rem; }
.card h2 { margin: 0 0 .5rem; font-size: 1.25rem; }
.card a { color: var(--text); text-decoration: none; }
.muted { color: var(--muted); }
.breadcrumbs { padding-top: 1.25rem; font-size: .9rem; color: var(--muted); }
.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: 2.5rem; padding: 2rem 0; align-items: start; }
.gallery { display: grid; gap: 1rem; }
.gallery img { width: 100%; border-radius: 14px; background: #eee; }
.product-summary { position: sticky; top: 1rem; }
.product-summary h1 { margin: 0 0 1rem; font-size: clamp(2rem, 5vw, 4rem); line-height: 1; letter-spacing: -.04em; }
.price { font-size: 1.6rem; font-weight: 700; }
.section { padding: 2rem 0; border-top: 1px solid var(--border); }
.section h2 { margin-top: 0; }
.detail-list { margin: 0; }
.detail-row { display: grid; grid-template-columns: minmax(140px, .35fr) 1fr; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--border); }
.detail-row dt { font-weight: 700; }
.detail-row dd { margin: 0; }
.empty { padding: 3rem; text-align: center; background: var(--surface); border: 1px dashed var(--border); border-radius: 16px; }
.footer-inner { padding: 2rem 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 800px) {
  .grid { grid-template-columns: 1fr; }
  .product { grid-template-columns: 1fr; }
  .product-summary { position: static; }
  .nav { align-items: flex-start; padding: 1rem 0; }
  .detail-row { grid-template-columns: 1fr; gap: .25rem; }
}
