:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1f2320;
  background: #f7f3ee;
}
* { box-sizing: border-box; }
body { margin: 0; }
header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid #ded6cb;
  background: rgba(247, 243, 238, 0.94);
  backdrop-filter: blur(12px);
}
.brand { display: grid; gap: 3px; color: inherit; text-decoration: none; }
.brand span, .eyebrow { margin: 0; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: #6f655b; }
.brand strong { font-size: 18px; }
h1 { margin: 0; font-size: clamp(24px, 4vw, 40px); font-weight: 720; }
nav { display: flex; gap: 10px; flex-wrap: wrap; }
a { color: #5d3f22; }
nav a, .button {
  border: 1px solid #cdbfae;
  border-radius: 6px;
  padding: 9px 12px;
  text-decoration: none;
  background: #fffaf4;
}
.button { display: inline-flex; justify-content: center; font-weight: 720; background: #5d3f22; color: #fffaf4; }
.button.ghost { background: #fffaf4; color: #5d3f22; }
main { padding: 24px clamp(18px, 4vw, 48px) 48px; }
.hero {
  min-height: 54vh;
  display: grid;
  align-items: end;
  padding: clamp(48px, 9vw, 96px) 0 28px;
  border-bottom: 1px solid #ded6cb;
}
.hero div { max-width: 760px; }
.hero p:not(.eyebrow), .page-title p:not(.eyebrow) { max-width: 700px; font-size: 18px; color: #5f584f; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.page-title { padding: 26px 0 8px; }
.summary {
  margin-bottom: 20px;
  padding: 12px 0;
  color: #5f584f;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.card {
  overflow: hidden;
  border: 1px solid #ded6cb;
  border-radius: 8px;
  background: #fffaf4;
}
.cover {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  aspect-ratio: 1 / 1;
  background: #eee4da;
  text-decoration: none;
}
.cover span { place-self: center; font-weight: 720; }
.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.body { padding: 14px; }
.topline { display: flex; justify-content: space-between; gap: 10px; color: #5f3d23; }
h2 { margin: 8px 0; font-size: 18px; }
p { line-height: 1.45; }
.text-link { display: inline-block; margin-top: 12px; font-weight: 700; }
dl { display: grid; gap: 8px; margin: 12px 0 0; }
dl div { display: grid; grid-template-columns: 90px 1fr; gap: 8px; }
dt { color: #756b61; }
dd { margin: 0; }
.back-link { display: inline-block; margin: 12px 0 18px; }
.product-page {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: start;
}
.product-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.product-gallery a {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: #eee4da;
}
.product-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.product-info {
  position: sticky;
  top: 104px;
  padding: 22px;
  border: 1px solid #ded6cb;
  border-radius: 8px;
  background: #fffaf4;
}
.price { font-size: 28px; font-weight: 760; color: #5d3f22; }
@media (max-width: 640px) {
  header { align-items: flex-start; flex-direction: column; }
  .grid { grid-template-columns: 1fr; }
  .product-page, .product-gallery { grid-template-columns: 1fr; }
  .product-info { position: static; }
}