.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%;
  }
}

/* Discount display: struck regular price + badge (-15 % or VIP -25 %). */
.htcr-price .htcr-regular { text-decoration: line-through; color: #8a8f98; font-size: .85em; font-weight: 400; margin-right: .3em; white-space: nowrap; }
.htcr-price .htcr-current { white-space: nowrap; }
.htcr-price .htcr-badge { display: inline-block; margin-left: .35em; padding: .1em .45em; border-radius: 3px; background: #1c2e5b; color: #fff; font-size: .7em; font-weight: 600; line-height: 1.5; vertical-align: middle; white-space: nowrap; }
.htcr-price .htcr-badge-vip { background: #8a570a; }

/* 1.3.0: Black Friday label next to the discount badge, same look as the
   htbfbadge product-card flag (black, orange #F6910E border and text, first
   word white). The price row wraps, so a narrow card puts it on a new line. */
.htcr-price { display: flex; flex-wrap: wrap; align-items: center; column-gap: .3em; row-gap: 4px; }
.htcr-price .htcr-regular, .htcr-price .htcr-badge, .htcr-price .htcr-bf { margin-left: 0; margin-right: 0; }
.htcr-price .htcr-bf { display: inline-block; padding: 0 .5em; border: 1px solid #F6910E; border-radius: 0; background: #111; color: #F6910E; font-family: 'Montserrat', sans-serif; font-size: 9px; font-weight: 800; letter-spacing: .05em; line-height: 15px; text-transform: uppercase; vertical-align: middle; white-space: nowrap; }
.htcr-price .htcr-bf .htcr-bf-w { color: #fff; }
