.wk-ai-recommendations {
  margin: 30px 0 0;
  padding: 0;
  background: transparent;
}

.wk-ai-recommendations .section-title,
#wk_ai_recommendation_block .section-title {
  display: block;
  margin: 0 0 16px;
  padding: 0;
  border: 0 !important;
  color: #1f2a33;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
}

.wk-ai-recommendations .section-title::after,
#wk_ai_recommendation_block .section-title::after {
  display: none !important;
  content: none;
}

.wk-ai-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 24px;
}

.wk-ai-card {
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  align-items: stretch;
  min-height: 168px;
  height: 100%;
  padding: 14px;
  border: 1px solid #eceff2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.045);
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.wk-ai-card:hover {
  border-color: rgba(255, 102, 0, 0.28);
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.075);
  transform: translateY(-1px);
}

.wk-ai-card__image-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 128px;
  min-width: 128px;
  height: 140px;
  min-height: 140px;
  max-height: 140px;
  padding: 10px;
  border-radius: 6px;
  background: linear-gradient(180deg, #fbfbfb 0%, #f5f5f5 100%);
  overflow: hidden;
}

.wk-ai-card__image {
  width: 100%;
  height: 100%;
  max-width: 112px;
  max-height: 124px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.wk-ai-card__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  height: 100%;
  padding: 4px 0 4px 14px;
  gap: 6px;
  text-align: left;
}

.wk-ai-card__name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 0;
  margin: 0;
  color: #1f2a33;
  font-size: 12.8px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0;
  text-align: left;
  text-transform: uppercase;
}

.wk-ai-card__name a,
.wk-ai-card__desc a {
  color: inherit;
  text-decoration: none !important;
}

.wk-ai-card__desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 30px;
  margin: 0;
  color: #69737d;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 500;
  text-align: left;
}

.wk-ai-card .iqitreviews-simple {
  min-height: 16px;
  width: 100%;
  margin: 0 0 2px;
  justify-content: flex-start;
  text-align: left;
  font-size: 11px;
  line-height: 1;
}

.wk-ai-card .iqit-review-star {
  color: #f6a400;
  font-size: 11px;
}

.wk-ai-card .iqitreviews-score,
.wk-ai-card .iqitreviews-nb {
  color: #7a838c;
  font-size: 10px;
}

.wk-ai-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin: auto 0 0;
  padding: 0;
}

.wk-ai-card__price {
  color: #1f2a33;
  font-size: 17px;
  line-height: 1;
  font-weight: 800;
  text-align: left;
}

.wk-ai-card__form {
  margin: 0;
}

.wk-ai-card__atc {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #ff6600;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  box-shadow: 0 8px 16px rgba(255, 102, 0, 0.22);
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.wk-ai-card__atc:hover,
.wk-ai-card__atc:focus {
  background: #e85d00;
  color: #fff;
  box-shadow: 0 10px 18px rgba(255, 102, 0, 0.28);
  transform: translateY(-1px);
}

@media (max-width: 1199px) {
  .wk-ai-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .wk-ai-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .wk-ai-recommendations {
    max-width: 100%;
    overflow: hidden;
  }

  .wk-ai-recommendations {
    margin-top: 22px;
  }

  .wk-ai-products {
    display: flex;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    padding: 0 14px 4px 0;
    margin-right: 0;
    scrollbar-width: none;
  }

  .wk-ai-products::-webkit-scrollbar {
    display: none;
  }

  .wk-ai-card {
    flex: 0 0 calc((100vw - 32px) * 0.6667);
    width: calc((100vw - 32px) * 0.6667);
    max-width: 300px;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    min-height: 250px;
    padding: 10px;
    scroll-snap-align: start;
  }

  .wk-ai-card__image-link {
    width: 100%;
    min-width: 0;
    height: 132px;
    min-height: 132px;
    max-height: 132px;
  }

  .wk-ai-card__image {
    max-width: 112px;
    max-height: 118px;
  }

  .wk-ai-card__content {
    width: 100%;
    padding: 10px 2px 0;
    gap: 5px;
  }

  .wk-ai-card__name {
    -webkit-line-clamp: 3;
    min-height: 0;
    font-size: 12px;
    line-height: 1.22;
  }

  .wk-ai-card__desc {
    min-height: 0;
    -webkit-line-clamp: 2;
    font-size: 11.5px;
    line-height: 1.25;
  }
}
