.homepage-content .eh-circles .eh-circle-row,
.eh-circles .eh-circle-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px 28px;
  width: min(100%, calc(7 * 140px + 6 * 28px));
  margin-inline: auto;
  overflow: visible;
}

.homepage-content .eh-circles .eh-circle,
.eh-circles .eh-circle {
  width: 140px;
  max-width: 140px;
  flex: 0 0 140px;
  min-height: 44px;
  color: #340714;
  text-align: center;
  text-decoration: none;
}

.homepage-content .eh-circles .eh-circle img,
.eh-circles .eh-circle img {
  width: 140px;
  height: 140px;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  background: #f3ece6;
}

.eh-circles .eh-circle span {
  display: block;
  margin-top: 8px;
  overflow: visible;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.eh-circles .eh-circle:focus-visible,
.eh-style-card:focus-visible {
  outline: 2px solid #d5ad78;
  outline-offset: 3px;
}

.eh-style {
  padding: 8px 0 36px;
  background: #faf7f4;
}

.eh-style-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.eh-style-card {
  position: relative;
  display: block;
  min-height: 280px;
  overflow: hidden;
  border-radius: 18px;
  color: #fff7ef;
  text-decoration: none;
  background: #340714;
}

.eh-style-card picture,
.eh-style-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eh-style-card::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 48%;
  background: linear-gradient(transparent, rgba(52, 7, 20, .78));
}

.eh-style-card span {
  position: absolute;
  z-index: 1;
  inset-inline: 18px;
  bottom: 18px;
  font: 700 clamp(20px, 2vw, 28px)/1.2 Montserrat, Arial, sans-serif;
  letter-spacing: .03em;
}

.eh-style-card:hover {
  box-shadow: 0 12px 28px #3407141f;
}

.eh-style-page {
  padding: 28px 0 48px;
}

.eh-style-page .eh-inner {
  width: min(1440px, calc(100% - 48px));
  margin-inline: auto;
}

.eh-style-page h1 {
  margin: 0 0 18px;
  color: #340714;
  font-size: clamp(28px, 3vw, 40px);
}

.eh-style-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

@media (min-width: 1200px) and (max-width: 1360px) {
  .homepage-content .eh-circles .eh-circle-row,
  .eh-circles .eh-circle-row {
    width: min(100%, calc(7 * 120px + 6 * 28px));
  }

  .homepage-content .eh-circles .eh-circle,
  .eh-circles .eh-circle {
    width: 120px;
    max-width: 120px;
    flex-basis: 120px;
  }

  .homepage-content .eh-circles .eh-circle img,
  .eh-circles .eh-circle img {
    width: 120px;
    height: 120px;
    max-width: 120px;
  }
}

@media (max-width: 1199px) {
  .homepage-content .eh-circles .eh-circle-row,
  .eh-circles .eh-circle-row {
    gap: 18px 16px;
    width: min(100%, calc(4 * 140px + 3 * 16px));
  }

  .homepage-content .eh-circles .eh-circle,
  .eh-circles .eh-circle {
    width: calc((100% - 3 * 16px) / 4);
    max-width: 140px;
    flex: 0 0 calc((100% - 3 * 16px) / 4);
  }

  .homepage-content .eh-circles .eh-circle img,
  .eh-circles .eh-circle img {
    width: 100%;
    max-width: 140px;
    height: auto;
    aspect-ratio: 1;
  }

  .eh-style-grid {
    grid-template-columns: 1fr 1fr;
  }

  .eh-style-card:last-child:nth-child(3) {
    grid-column: 1 / -1;
    width: min(100%, 460px);
    justify-self: center;
  }

  .eh-style-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 699px) {
  .homepage-content .eh-circles .eh-circle-row,
  .eh-circles .eh-circle-row {
    width: 100%;
  }

  .homepage-content .eh-circles .eh-circle,
  .eh-circles .eh-circle {
    width: calc((100% - 2 * 16px) / 3);
    max-width: none;
    flex: 0 0 calc((100% - 2 * 16px) / 3);
  }

  .homepage-content .eh-circles .eh-circle img,
  .eh-circles .eh-circle img {
    width: 100%;
    max-width: none;
  }

  .eh-style-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .eh-style-card,
  .eh-style-card:last-child:nth-child(3) {
    width: auto;
    min-height: 240px;
  }

  .eh-style-page .eh-inner {
    width: calc(100% - 28px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .eh-style-card {
    transition: none;
  }
}
