/* ================= FEATURED PRODUCTS ================= */

.products-section {
  padding: 100px 60px;
  background: #f9f9f9; /* soft white */
}

.products-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* HEADER */
.products-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.products-header h2 {
  font-size: 34px;
  font-weight: 700;
  color: #111;
}

.view-all {
  font-size: 14px;
  color: #31546c;
  text-decoration: none;
  font-weight: 500;
}

.view-all:hover {
  text-decoration: underline;
}

/* GRID */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* CARD */
.product-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 20px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.08);
}

/* IMAGE */
.product-image {
    width: 100%;
    height: 160px;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.25s ease;
}

/* TEXT */
.product-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #111;
}

.product-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

.product-meta {
  display: flex;
  flex-direction: row;   /* 👈 vertical */
  gap: 4px;                 /* space between pack & price */
  margin-top: 6px;
}

.product-meta .pack {
  font-size: 13px;
  color: #6b7280;           /* muted */
}

.product-meta .price {
  font-size: 16px;
  font-weight: 600;         /* bold */
  color: #111827;
}

.product-meta .price small {
  font-size: 12px;
  font-weight: 400;
  color: #6b7280;
}

/* ================= MOBILE ================= */

@media (max-width: 900px) {

  .products-section {
    padding: 70px 24px;
  }

  .products-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .products-header h2 {
    font-size: 28px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
