.featured-products {
  padding: 3rem 0;
  background: linear-gradient(to bottom,
      rgb(var(--gray-1-rgb)),
      rgb(var(--gray-10-rgb)));
  box-shadow: 0 9px 10px rgba(var(--primary-color-rgb), 0.1);
  border-top: 1px solid var(--accent-color-10);
  border-bottom: 1px solid var(--gray-100);
}

.featured-products h3 {
  font-size: 1.875rem;
  line-height: 1.2;
  margin: 0;
  color: var(--primary-color);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 0 2rem;
}

.product-card {
  position: relative;
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: block;
  color: inherit;
  text-decoration: none;
  background-color: var(--primary-color);
}

/* Smoke effect canvas for product cards */
.product-card .smoke-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  /* Above background, below product image */
  pointer-events: auto;
  /* Allow mouse events for smoke interaction */
  border-radius: 8px;
}

/* Product image layer */
.product-card .product-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  /* Above smoke layer */
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  pointer-events: none;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.product-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  z-index: 3;
  /* raised above product image and smoke */
  color: var(--gray-1);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
}

.product-info h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
}

.product-info p {
  margin: 0 0 0.5rem 0;
  font-size: 0.875rem;
  color: var(--gray-200);
}

.product-info .price {
  font-weight: bold;
  font-size: 1.125rem;
}

.featured-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding: 0 2rem;
}

.shop-now-link {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.shop-now-link:hover {
  background-color: #FFE8FF;
}

.featured-products-section-divider {
  height: 1px;
  background-color: rgba(19, 33, 22, 0.1);
  margin: 3rem 0 2rem;
  width: 100%;
}

.partner-intro {
  font-size: 0.95rem;
  color: rgba(19, 33, 22, 0.8);
  margin-bottom: 1.5rem;
  text-align: center;
}

.creator-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 0 2rem;
}

.creator-card {
  position: relative;
  height: 180px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: block;
  color: inherit;
  text-decoration: none;
  background-color: #333;
}

.creator-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.creator-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  z-index: 2;
  color: var(--gray-1);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
}

.creator-name-label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background-color: #ff8dff8c;
  color: var(--gray-1);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 0.4rem 1.2rem;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(3px);
  z-index: 3;
}


.see-all-container {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.see-all-link {
  display: inline-block;
  font-size: 0.875rem;
  padding: 0.75rem 1.5rem;
  background: var(--primary-color);
  color: var(--gray-1);
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

.see-all-link:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* responsive css */
@media (max-width: 992px) {

  .creator-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .featured-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .shop-now-link {
    align-self: flex-end;
  }

  .featured-products h3 {
    font-size: 1.8rem;
  }

  .creator-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .creator-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }

  .creator-card {
    height: 200px;
  }
}