.es-ssr-product-recommendations {
  background: #fff;
  border: 1px solid #ddd;
  box-sizing: border-box;
  clear: both;
  margin: 20px 0;
  max-width: 955px;
  width: 100%;
}

#es-ssr-product-heading {
  border-bottom: 1px solid #e9e9e9;
  color: #222;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  margin: 0;
  padding: 10px 14px;
}

.es-ssr-product-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 14px;
}

.es-ssr-product-card {
  border: 1px solid #e6e6e6;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.es-ssr-product-link {
  color: #222;
  display: block;
  flex: 1;
  text-decoration: none;
}

.es-ssr-product-media {
  align-items: center;
  aspect-ratio: 4 / 3;
  background: #f7f7f7;
  color: #666;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.es-ssr-product-media img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.es-ssr-product-title,
.es-ssr-product-company {
  display: block;
  overflow-wrap: anywhere;
  padding: 0 10px;
}

.es-ssr-product-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  padding-top: 10px;
}

.es-ssr-product-company {
  color: #666;
  font-size: 12px;
  line-height: 18px;
  margin: 4px 0 10px;
}

.es-ssr-product-link:hover,
.es-ssr-product-company:hover {
  color: #1263ad;
}

@media (max-width: 720px) {
  .es-ssr-product-grid {
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 10px;
  }
}
