.home-product-area {
  width: 100%;
  min-width: 0;
  margin: 44px 0 34px;
  box-sizing: border-box;
  scroll-margin-top: 92px;
}

.home-product-area__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.home-product-area__title {
  margin: 0;
  color: #222;
  font-size: 24px;
  line-height: 1.4;
}

.home-product-area__desc {
  margin: 8px 0 0;
  color: #7a7f87;
  font-size: 14px;
  line-height: 1.6;
}

.home-product-area__sync {
  flex: 0 0 auto;
  padding: 7px 12px;
  color: #ff6739;
  font-size: 12px;
  line-height: 1;
  background: #fff4f0;
  border: 1px solid #ffd9cc;
  border-radius: 14px;
}

.home-product-groups {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.home-product-category {
  min-width: 0;
}

.home-product-category__heading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf0f2;
}

.home-product-category__title {
  margin: 0;
  color: #222;
  font-size: 20px;
  line-height: 1.4;
}

.home-product-category__count,
.home-product-series__count {
  color: #91969d;
  font-size: 12px;
}

.home-product-series {
  margin-top: 22px;
}

.home-product-series__heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.home-product-series__title {
  margin: 0;
  color: #4f555d;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

.home-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.home-product-static-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.home-product-card {
  display: flex;
  min-width: 0;
  min-height: 270px;
  padding: 26px;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e6eaed;
  border-radius: 4px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease,
    transform 0.2s ease;
}

.home-product-card:hover {
  border-color: #ffc5b3;
  box-shadow: 0 10px 26px rgba(52, 52, 52, 0.12);
  transform: translateY(-2px);
}

.home-product-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.home-product-card__title-box {
  min-width: 0;
}

.home-product-card__title {
  overflow: hidden;
  margin: 0;
  color: #222;
  font-size: 19px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-product-card__group {
  overflow: hidden;
  margin-top: 8px;
  color: #8b9098;
  font-size: 13px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-product-card__badge {
  flex: 0 0 auto;
  padding: 4px 8px;
  color: #ff6739;
  font-size: 12px;
  line-height: 1.2;
  border: 1px solid #ffb9a3;
  border-radius: 3px;
}

.home-product-card__note {
  margin: 22px 0 24px;
  color: #666d76;
  font-size: 13px;
  line-height: 1.7;
}

.home-product-card__specs {
  display: grid;
  gap: 9px;
  margin: 20px 0 24px;
}

.home-product-card__spec {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
  padding-bottom: 8px;
  color: #616873;
  font-size: 13px;
  line-height: 1.45;
  border-bottom: 1px solid #f0f2f4;
}

.home-product-card__spec dt,
.home-product-card__spec dd {
  min-width: 0;
  margin: 0;
}

.home-product-card__spec dt {
  color: #8b9098;
  font-weight: 400;
}

.home-product-card__spec dd {
  overflow-wrap: anywhere;
}

.home-product-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
}

.home-product-card__price {
  min-width: 0;
  color: #ff6739;
  white-space: nowrap;
}

.home-product-card__price-note,
.home-product-card__loading {
  color: #747b84;
  font-size: 13px;
  line-height: 1.5;
}

.home-product-card__currency {
  margin-right: 2px;
  font-size: 14px;
}

.home-product-card__amount {
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
}

.home-product-card__cycle {
  margin-left: 3px;
  font-size: 13px;
}

.home-product-card__buy {
  display: inline-flex;
  height: 36px;
  padding: 0 18px;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  white-space: nowrap;
  background: #ff6739;
  border: 1px solid #ff6739;
  border-radius: 3px;
}

.home-product-card__buy:hover,
.home-product-card__buy:focus {
  color: #fff;
  background: #ee572b;
  border-color: #ee572b;
}

.home-product-card__buy:focus-visible,
.home-product-area__toggle:focus-visible {
  outline: 3px solid rgba(255, 103, 57, 0.35);
  outline-offset: 3px;
}

.home-product-card[hidden] {
  display: none !important;
}

.home-product-area__toggle {
  display: block;
  min-width: 190px;
  margin: 28px auto 0;
  padding: 11px 24px;
  color: #e9562b;
  font: inherit;
  font-size: 14px;
  background: #fff8f5;
  border: 1px solid #ffc8b6;
  border-radius: 4px;
  cursor: pointer;
}

.home-product-area__toggle:hover {
  color: #fff;
  background: #ff6739;
  border-color: #ff6739;
}

.home-product-status {
  grid-column: 1 / -1;
  padding: 36px 20px;
  color: #7a7f87;
  text-align: center;
  background: #fafbfc;
  border: 1px dashed #dce1e6;
  border-radius: 4px;
}

.home-product-status--error {
  color: #a45b43;
  background: #fff8f5;
  border-color: #ffd7ca;
}

@media screen and (max-width: 1024px) {
  .home-product-grid,
  .home-product-static-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 768px) {
  .home-product-area {
    margin: 30px 0 24px;
  }

  .home-product-area__heading {
    align-items: flex-start;
    margin-bottom: 16px;
  }

  .home-product-area__title {
    font-size: 20px;
  }

  .home-product-area__desc {
    font-size: 12px;
  }

  .home-product-grid,
  .home-product-static-summary {
    gap: 12px;
  }

  .home-product-groups {
    gap: 28px;
  }

  .home-product-category__title {
    font-size: 18px;
  }

  .home-product-card {
    min-height: 250px;
    padding: 20px;
  }

  .home-product-card__title {
    font-size: 17px;
  }

  .home-product-card__amount {
    font-size: 24px;
  }
}

@media screen and (max-width: 560px) {
  .home-product-area__heading {
    flex-direction: column;
    gap: 10px;
  }

  .home-product-grid,
  .home-product-static-summary {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-product-card {
    min-height: 0;
  }
}
