:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #162d29;
  background: #f5f7f2;
  line-height: 1.6;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  background: #122b26;
  color: white;
  padding: 22px max(22px, calc((100vw - 1120px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 23px;
  color: white;
  text-decoration: none;
}
.brand span {
  color: #a9c2b6;
}
.brand img {
  border-radius: 10px;
}
header > span {
  font-size: 12px;
}
main {
  max-width: 1170px;
  margin: auto;
  padding: 46px 25px;
}
h1 {
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 12px 0 20px;
}
h2 {
  font-size: 23px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
p {
  color: #697872;
  max-width: 760px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 11px;
  color: #087f53;
  font-weight: bold;
}
.notice {
  padding: 18px;
  border-left: 3px solid #ba8839;
  background: #fff1d4;
  font-size: 13px;
  border-radius: 8px;
  max-width: 850px;
}
.toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 24px 0;
}
button,
.secondary {
  border: 1px solid #087f53;
  border-radius: 9px;
  padding: 12px 16px;
  background: #087f53;
  color: white;
  font: inherit;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
}
.secondary {
  background: white;
  color: #162d29;
  border-color: #dfe6df;
}
button:disabled {
  opacity: 0.6;
}
.catalog {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.card {
  border: 1px solid #dfe6df;
  background: white;
  border-radius: 15px;
  overflow: hidden;
}
.card-content {
  padding: 22px;
}
.card img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: #eaf3e8;
}
.card p {
  font-size: 12px;
}
.price {
  font-size: 26px;
  font-weight: bold;
  letter-spacing: -0.04em;
}
.price del {
  font-size: 12px;
  color: #697872;
  font-weight: normal;
  letter-spacing: 0;
  margin-left: 10px;
}
.card small {
  display: block;
  color: #826124;
  font-size: 11px;
  margin: 14px 0;
}
.card a {
  display: inline-flex;
  color: #087f53;
  font-size: 13px;
  font-weight: bold;
}
.detail {
  grid-column: 1/-1;
  max-width: 780px;
}
.detail img {
  height: 300px;
}
.detail p {
  white-space: pre-line;
}
footer {
  max-width: 1120px;
  padding: 25px;
  margin: auto;
  border-top: 1px solid #dfe6df;
  color: #697872;
  font-size: 12px;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #b3d98c;
  outline-offset: 4px;
}
@media (max-width: 800px) {
  .catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .catalog {
    grid-template-columns: 1fr;
  }
  header > span {
    font-size: 10px;
  }
  .brand {
    font-size: 20px;
  }
  main {
    padding: 32px 20px;
  }
  .detail img {
    height: 210px;
  }
  .toolbar button,
  .toolbar a {
    min-height: 44px;
  }
}
