:root {
  --ink: #151713;
  --muted: #697067;
  --paper: #f5f4ef;
  --line: rgba(21, 23, 19, 0.12);
  --green: #2f5d46;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body.product-page {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
}

.product-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
  padding: 16px clamp(18px, 5vw, 64px);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.brand-mini,
.product-header a {
  color: inherit;
  text-decoration: none;
}

.brand-mini {
  font-weight: 800;
  font-size: 20px;
}

.product-header nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.product-header button,
.buy-row button,
.buy-row a {
  min-height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  color: inherit;
  padding: 0 16px;
  text-decoration: none;
  font: inherit;
}

.product-hero {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(36px, 7vw, 84px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1.1;
  object-fit: cover;
  background: #e8e7df;
}

.gallery img:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 11;
}

.product-info {
  position: sticky;
  top: 24px;
}

.crumb {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--green);
  text-decoration: none;
  font-weight: 700;
}

.product-info h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1;
}

.product-info p {
  color: var(--muted);
  line-height: 1.65;
}

.specs {
  display: grid;
  gap: 1px;
  margin: 28px 0;
}

.specs div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.specs dt {
  color: var(--muted);
}

.specs dd {
  margin: 0;
}

.buy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.buy-row strong {
  width: 100%;
  font-size: 24px;
}

.buy-row button {
  background: var(--green);
  color: var(--white);
}

@media (max-width: 820px) {
  .product-header nav {
    gap: 10px;
    font-size: 14px;
  }

  .product-hero {
    grid-template-columns: 1fr;
  }

  .product-info {
    position: static;
  }
}
