.htcr-recommendations {
  width: 100%;
  margin: 28px 0 10px;
  padding: 22px;
  border: 1px solid #d9e8d3;
  border-radius: 16px;
  background: var(--htcr-background-color, #f7fbf4);
  box-sizing: border-box;
}

.htcr-title {
  margin: 0 0 18px;
  color: var(--htcr-title-color, #18336e);
  font-size: 24px;
  line-height: 1.25;
  font-weight: 500;
}

.htcr-list {
  display: flex;
  gap: 16px;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 0 12px;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}

.htcr-list::-webkit-scrollbar {
  height: 8px;
}

.htcr-list::-webkit-scrollbar-track {
  border-radius: 10px;
  background: rgba(24, 51, 110, 0.08);
}

.htcr-list::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: rgba(103, 173, 24, 0.55);
}

.htcr-list::-webkit-scrollbar-thumb:hover {
  background: rgba(103, 173, 24, 0.78);
}

.htcr-card {
  flex: 0 0 calc((100% - 48px) / 4);
  min-width: 0;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  background: #fff;
  padding: 14px;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  box-sizing: border-box;
  overflow: hidden;
}

.htcr-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  margin-bottom: 12px;
}

.htcr-image img {
  display: block;
  max-width: 100%;
  max-height: 150px;
  width: auto;
  height: auto;
}

.htcr-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.htcr-name {
  color: inherit;
  font-size: 15px;
  line-height: 1.35;
  text-decoration: none;
  min-height: 5.4em;
  max-height: 5.4em;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
}

.htcr-price {
  margin: 10px 0 12px;
  font-size: 17px;
  font-weight: 600;
}

.htcr-form {
  margin-top: auto;
}

.htcr-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid #18336e;
  background: #18336e;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border-radius: 10px;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.htcr-button:hover,
.htcr-button:focus {
  background: #67ad18;
  border-color: #67ad18;
  color: #fff;
  text-decoration: none;
}

@media (max-width: 991px) {
  .htcr-card {
    flex-basis: calc((100% - 16px) / 2);
  }
}

@media (max-width: 575px) {
  .htcr-recommendations {
    margin-top: 22px;
    padding: 18px 14px;
    overflow: hidden;
  }

  .htcr-title {
    font-size: 21px;
  }

  .htcr-list {
    gap: 12px;
    padding-bottom: 10px;
  }

  .htcr-card {
    flex: 0 0 72%;
  }
}
