
/* ========================================
   KOHEN PRODUCTOS DESTACADOS - CAROUSEL
   10 productos · scroll horizontal · WhatsApp CTA
   ======================================== */

.kohen-featured-section {
  background: #f8f9fa;
  padding: 40px 0 50px;
}

.kohen-featured-section__title {
  text-align: center;
  font-family: inherit;
  font-size: 1.6rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 6px;
}

.kohen-featured-section__subtitle {
  text-align: center;
  font-family: inherit;
  font-size: 0.95rem;
  color: #666;
  margin: 0 0 28px;
}

/* ---- Carousel: horizontal scroll ---- */
.kohen-featured-carousel {
  display: flex;
  gap: 18px;
  flex-wrap: nowrap;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4px 0 20px;
}

/* ---- Card: exactamente 4 visibles en desktop ---- */
.kohen-featured-card {
  flex: 0 0 calc(25% - 13.5px);   /* 4 cards = 25% menos 3 gaps repartidos */
  max-width: calc(25% - 13.5px);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  scroll-snap-align: start;
}

.kohen-featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.kohen-featured-card__image-wrap {
  position: relative;
  width: 100%;
  padding-top: 75%; /* 4:3 ratio */
  background: #fff;
  overflow: hidden;
}

.kohen-featured-card__image-wrap img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform 0.3s ease;
}

.kohen-featured-card:hover .kohen-featured-card__image-wrap img {
  transform: scale(1.05);
}

.kohen-featured-card__body {
  padding: 14px 14px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.kohen-featured-card__category {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #4CAF50;
  margin: 0 0 5px;
}

.kohen-featured-card__name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.25;
  margin: 0 0 14px;
  flex: 1;
}

.kohen-featured-card__cta-row {
  display: flex;
  gap: 7px;
  align-items: center;
}

.kohen-featured-card__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
  cursor: pointer;
  border: none;
}

.kohen-featured-card__btn--primary {
  background: #1a1a1a;
  color: #fff;
}

.kohen-featured-card__btn--primary:hover {
  background: #333;
  transform: scale(1.02);
}

.kohen-featured-card__btn--wa {
  background: #25D366;
  color: #fff;
  flex: 0 0 auto;
  padding: 9px 12px;
}

.kohen-featured-card__btn--wa:hover {
  background: #1ebc5c;
  transform: scale(1.05);
}

.kohen-featured-card__btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* WhatsApp icon */
.kohen-wa-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ---- Tablet ---- */
@media (max-width: 991px) {
  .kohen-featured-carousel {
    padding: 4px 0 18px;
    gap: 16px;
  }
  .kohen-featured-card {
    flex: 0 0 calc(33.333% - 10.7px);  /* 3 cards */
    max-width: calc(33.333% - 10.7px);
  }
}

/* ---- Mobile ---- */
@media (max-width: 480px) {
  .kohen-featured-carousel {
    gap: 14px;
    padding: 4px 0 16px;
  }
  .kohen-featured-card {
    flex: 0 0 calc(50% - 7px);   /* 2 cards */
    max-width: calc(50% - 7px);
  }
  .kohen-featured-section__title {
    font-size: 1.3rem;
  }
  .kohen-featured-section {
    padding: 28px 0 36px;
  }
}
