.home-ev {
  margin-block: 64px;
  color: #0e0e0e;
}

.home-ev__intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-bottom: 28px;
}

.home-ev__intro h2 {
  font: 500 36px/1.1 Gilroy, sans-serif;
  margin: 0 0 12px;
}

.home-ev__intro p {
  max-width: 62ch;
  font: 400 16px/1.5 Helvetica, sans-serif;
  color: #545454;
  margin: 0;
}

.home-ev__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 20px;
  border-radius: 999px;
  background: #0e0e0e;
  color: #fff;
  font: 400 16px/1.2 Helvetica, sans-serif;
  text-align: center;
}

.home-ev__action:hover {
  background: #333;
}

.home-ev__products {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 0;
  margin: 0;
}

.home-ev__product {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  border-radius: 8px;
  overflow-wrap: anywhere;
}

.home-ev__image {
  box-sizing: border-box;
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 4;
  margin-bottom: 4px;
  border-radius: 8px;
  background: #f5f5f5;
}

.home-ev__image img {
  display: block;
  position: absolute;
  inset: 12px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  min-height: 0;
  object-fit: contain;
}

.home-ev__status {
  color: #666;
  font: 400 13px/1.25 Helvetica, sans-serif;
}

.home-ev__name,
.home-ev__price {
  font: 600 18px/1.25 Gilroy, sans-serif;
}

.home-ev__product:hover .home-ev__name {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-ev a:focus-visible {
  outline: 2px solid #0e0e0e;
  outline-offset: 4px;
}

@media (max-width: 800px) {
  .home-ev {
    margin-block: 48px;
  }

  .home-ev__intro h2 {
    font-size: 28px;
  }

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

  .home-ev__name,
  .home-ev__price {
    font-size: 16px;
  }
}
