/* Product Pages Shared Styles */

/* Page Header */
.page-header {
  padding: 120px 0 60px;
  background: linear-gradient(to right, rgba(39, 174, 96, 0.9), rgba(41, 128, 185, 0.9)), url('../img/placeholder-bg.jpg') center/cover;
  color: var(--white);
  text-align: center;
}

.page-header-blue {
  background: linear-gradient(to right, rgba(41, 128, 185, 0.9), rgba(52, 73, 94, 0.9)), url('../img/placeholder-bg.jpg') center/cover;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Products Section */
.products-section {
  padding: 5rem 0;
  background-color: var(--bg-color);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* Product Card */
.product-card {
  background-color: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}

.product-img-placeholder {
  width: 100%;
  height: 250px;
  background-color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 1.2rem;
  border-bottom: 1px solid #e2e8f0;
}

.product-info {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  background-color: #dcfce7;
  color: var(--primary-dark);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  align-self: flex-start;
}

.badge-blue {
  background-color: #e0f2fe;
  color: var(--secondary-dark);
}

.product-info h3 {
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.product-desc {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.product-features {
  border-top: 1px solid #f1f5f9;
  padding-top: 1rem;
}

.product-features li {
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
