/* =========================================
   PRODUCTS PAGE ONLY (products.php)
   Loaded in addition to assets/css/style1.css
   ========================================= */

.products-container {
  padding: 90px 0;
  background: var(--cream);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.prod-card {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.prod-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(198, 40, 40, 0.12);
}

.prod-img-wrapper {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: var(--light);
}

.prod-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.prod-card:hover .prod-img-wrapper img {
  transform: scale(1.1);
}

.featured-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--secondary);
  color: var(--text);
  padding: 6px 16px;
  border-radius: 30px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(244, 180, 0, 0.4);
  z-index: 2;
}

.prod-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.prod-title {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.3;
}

.prod-desc {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.prod-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 25px;
  margin-top: auto;
}

.feature-pill {
  background: #FFF2F2;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.prod-action {
  margin-top: auto;
  width: 100%;
}

.prod-action .btn {
  width: 100%;
  background: var(--light);
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 12px;
}

.prod-card:hover .prod-action .btn {
  background: var(--primary);
  color: var(--white);
}