.lp-products {
  width: min(1760px, calc(100% - 120px));
  margin: 28px auto 72px;
}

.lp-products,
.lp-products * {
  box-sizing: border-box;
}

.lp-products a,
.lp-products a *,
#catalog a,
#catalog a * {
  text-decoration: none !important;
}

.lp-products__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.lp-products__group + .lp-products__group {
  margin-top: 58px;
}

.lp-products__head h2 {
  margin: 0;
  color: #101810;
  font-size: clamp(34px, 4vw, 62px);
  line-height: .98;
  font-weight: 900;
}

.lp-products__head p {
  width: min(560px, 100%);
  margin: 0;
  color: #465246;
  font-size: 20px;
  line-height: 1.42;
}

.lp-products__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.lp-product-card {
  overflow: hidden;
  border-radius: 8px;
  background: #e8eee9;
  color: #202820;
  box-shadow: 0 10px 30px rgba(16, 24, 16, .11);
  transition: transform .22s ease, box-shadow .22s ease;
}

.lp-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(16, 24, 16, .16);
}

.lp-product-card.is-missing {
  border: 1px dashed rgba(25, 142, 56, .45);
}

.lp-product-card.is-missing:hover {
  transform: none;
}

.lp-product-card__link {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  color: inherit !important;
}

.lp-product-card__link--missing {
  cursor: default;
}

.lp-product-card__media {
  height: clamp(255px, 22vw, 375px);
  overflow: hidden;
  background: #dce6dc;
}

.lp-product-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.lp-product-card:hover .lp-product-card__media img {
  transform: scale(1.04);
}

.lp-product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 26px 26px;
}

.lp-product-card__body h3 {
  margin: 0 0 12px;
  color: #202820;
  font-size: 27px;
  line-height: 1.12;
  font-weight: 900;
}

.lp-product-card__body p {
  margin: 0 0 24px;
  color: #3d483d;
  font-size: 18px;
  line-height: 1.46;
}

.lp-product-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
}

.lp-product-card__size {
  color: #101810;
  font-size: 20px;
  font-weight: 900;
}

.lp-product-card__button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 7px;
  background: #198e38;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
}

.lp-product-card.is-missing .lp-product-card__button {
  background: #627064;
}

@media (max-width: 1040px) {
  .lp-products {
    width: min(940px, calc(100% - 44px));
  }

  .lp-products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .lp-products {
    width: min(calc(100% - 24px), 520px);
    margin-left: auto;
    margin-right: auto;
  }

  .lp-products__head {
    display: block;
  }

  .lp-products__head p {
    margin-top: 12px;
    font-size: 17px;
  }

  .lp-products__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .lp-products__title {
    font-size: 34px;
    line-height: 1.05;
  }

  .lp-product-card__media {
    height: clamp(230px, 62vw, 330px);
  }

  .lp-product-card__body {
    padding: 20px;
  }

  .lp-product-card__body h3 {
    font-size: 24px;
  }

  .lp-product-card__body p {
    font-size: 16px;
  }

  .lp-product-card__meta {
    align-items: stretch;
    flex-direction: column;
  }

  .lp-product-card__button {
    width: 100%;
  }
}
