/* ============================================
   PRODUCTS PAGE
   All classes use .prod- prefix
   ============================================ */

/* ---- HERO ---- */
.prod-hero {
  padding: 112px 24px 48px;
  background: linear-gradient(135deg, #f8f7fc 0%, #f0eef9 40%, #e8e4f5 100%);
  overflow: hidden;
}

.prod-hero__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
}

.prod-hero__text {
  flex: 1;
  min-width: 0;
}

.prod-hero__title {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  color: #2d2555;
  line-height: 1.15;
  margin-bottom: 16px;
}

.prod-hero__subtitle {
  font-size: 17px;
  color: #374151;
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 24px;
}

.prod-hero__badges {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.prod-hero__badge-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
}

.prod-hero__badge-item i {
  width: 16px;
  height: 16px;
  color: #9d92eb;
}

/* Right illustration */
.prod-hero__illustration {
  position: relative;
  flex-shrink: 0;
}

.prod-hero__circle {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9d92eb, #7b6fcf);
  display: flex;
  align-items: center;
  justify-content: center;
}

.prod-hero__circle svg {
  width: 64px;
  height: 64px;
}

.prod-hero__count-badge {
  position: absolute;
  bottom: -8px;
  right: -16px;
  background: #fff;
  color: #2d2555;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
}


/* ---- PRODUCT CONTENT ---- */
.prod-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}


/* ---- CATEGORY SECTIONS ---- */
.prod-category {
  margin-bottom: 64px;
}

.prod-category:last-child {
  margin-bottom: 0;
}

.prod-category__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.prod-category__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  color: #111827;
}

.prod-category__title i {
  width: 20px;
  height: 20px;
  color: #9d92eb;
}

.prod-category__count {
  font-size: 14px;
  color: #6b7280;
}


/* ---- PRODUCT GRID ---- */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}


/* ---- PRODUCT CARD ---- */
.prod-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 0.8px solid rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.prod-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.prod-card__image-wrap {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #fff;
}

.prod-card__image {
  max-width: 206px;
  max-height: 206px;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.prod-card:hover .prod-card__image {
  transform: scale(1.05);
}

.prod-card__content {
  padding: 0 20px 20px;
}

.prod-card__name {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* ---- RESPONSIVE ---- */

@media (max-width: 1024px) {
  .prod-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .prod-hero {
    padding: 96px 24px 40px;
  }

  .prod-hero__inner {
    flex-direction: column;
    text-align: center;
  }

  .prod-hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .prod-hero__badges {
    justify-content: center;
  }

  .prod-hero__illustration {
    display: none;
  }

  .prod-hero__title {
    font-size: 36px;
  }

  .prod-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .prod-category__header {
    flex-wrap: wrap;
    gap: 4px;
  }
}

@media (max-width: 640px) {
  .prod-hero {
    padding: 88px 16px 32px;
  }

  .prod-hero__title {
    font-size: 30px;
  }

  .prod-content {
    padding: 24px 16px 48px;
  }

  .prod-grid {
    gap: 16px;
  }

  .prod-card__image-wrap {
    padding: 16px;
  }

  .prod-card__content {
    padding: 0 14px 14px;
  }

  .prod-card__name {
    font-size: 14px;
  }
}
