* { box-sizing: border-box; }
body { margin: 0; font: 17px/1.5 system-ui, sans-serif; color: #1f2a24; background: #fbf8f2; }
header { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; padding: 12px 20px; background: #fff; border-bottom: 1px solid #e5e0d6; }
.brand { font-size: 20px; font-weight: 700; color: #2f6b4f; text-decoration: none; }
nav a { margin-right: 12px; color: #1f2a24; }
main { max-width: 960px; margin: 0 auto; padding: 16px 20px 40px; }
h1 { margin: 16px 0 8px; font-size: 28px; line-height: 1.2; }
.slider { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; aspect-ratio: 3 / 2; border-radius: 12px; background: #e8e2d6; }
.slide { flex: 0 0 100%; scroll-snap-align: start; }
.slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.button { display: inline-block; padding: 12px 22px; border: 0; border-radius: 8px; background: #2f6b4f; color: #fff; font: inherit; font-weight: 600; text-decoration: none; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; padding: 0; list-style: none; }
.card img { display: block; width: 100%; height: auto; border-radius: 8px; }
.card span { display: block; }
.product .photo { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 12px; }
#reviews { display: flow-root; min-height: 244px; }
.price { font-size: 20px; font-weight: 600; }
.story p { max-width: 36em; }
footer { padding: 24px 20px; color: #5b665f; }
.product .photo { margin: 16px 0; }
@media (min-width: 760px) {
  .product { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; align-items: start; }
  .product .photo { grid-column: 1; grid-row: 1 / span 2; margin: 16px 0 0; aspect-ratio: 3 / 2; }
  .details { display: flex; flex-direction: column; }
  #reviews { order: 1; }
}
