/* Section Base */
.products {
  padding: 60px 20px;
  background: #f8f8f8;
  text-align: center;
  animation: fadeIn 1s ease-in-out;
}

.section__header {
  margin-bottom: 40px;
}

.section__subtitle {
  font-size: 14px;
  font-weight: 600;
  color: #7a7a7a;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.heading-secondary {
  font-size: 28px;
  font-weight: 700;
  color: #2c2c2c;
}

/* Tabs (optional - only for design) */
.product-tabs {
  margin-bottom: 30px;
}

.tab {
  border: none;
  background: #e0e0e0;
  padding: 10px 18px;
  margin: 0 5px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab.active,
.tab:hover {
  background: #2a9d8f;
  color: #fff;
}

/* Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

/* Cards */
.product-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Images */
.product-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Content */
.product-content {
  padding: 20px;
}

.product-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #333;
}

.product-description {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* Fade In Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .heading-secondary {
    font-size: 22px;
  }

  .tab {
    margin: 5px 3px;
    padding: 8px 14px;
  }
}
