/* ==========================================================================
   H2O 2Go — products page  (page hero styles live in /assets/css/styles.css)
   Cards match the homepage featured cards (.mainWrapper): blue card,
   light text, aliceblue image panel, purple pill buttons.
   ========================================================================== */

/* ---------- filters ---------- */
#products {
  width: min(1160px, 100% - 32px);
  margin-inline: auto;
  padding: 2rem 0 3.5rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.filters:empty { display: none; }

.chip {
  padding: 0.55em 1.2em;
  border: 2px solid var(--blue);
  border-radius: 999px;
  background: transparent;
  color: var(--blue);
  font: inherit;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}

.chip:hover { transform: translateY(-2px); }

.chip[aria-pressed="true"] {
  background-color: var(--purple);
  border-color: var(--purple);
  color: var(--light);
}

/* ---------- product sections + grid ---------- */
.product-category { padding-top: 2rem; }
.product-category[hidden] { display: none; }

.product-category h2 {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: clamp(1.3rem, 1rem + 1.2vw, 1.8rem);
  margin-bottom: 1.25rem;
}

.product-category h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin: 0.45em auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--lgBlue), var(--purple));
}

.product-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 280px));
  justify-content: center;
}

/* ---------- product card (same look as .mainWrapper on the homepage) ---------- */
.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--light);
  background: linear-gradient(160deg, var(--blue), var(--blue-deep));
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

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

.product-card__img {
  margin: 0.9rem 0.9rem 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background-color: aliceblue;
  aspect-ratio: 4 / 5;
}

.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.product-card:hover .product-card__img img { transform: scale(1.05); }

.product-card__placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(15, 92, 167, 0.25);
}

.product-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1rem 1.2rem 1.25rem;
}

.product-card h3 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.product-card .price {
  align-self: flex-start;
  margin: 0 0 0.75rem;
  padding: 0.25em 0.8em;
  border-radius: 999px;
  font-weight: 600;
  background-color: var(--purple);
}

.product-card .price--ask {
  font-weight: 500;
  font-size: 0.9rem;
  background-color: rgba(255, 255, 255, 0.16);
}

.product-card .descr {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  opacity: 0.92;
}

.product-card .options {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
  display: grid;
  gap: 0.3rem;
  font-size: 0.9rem;
}

.product-card .options li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.1);
}

.product-card__cta {
  margin-top: auto;
  padding: 0.6em 1em;
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  color: var(--light);
  background-color: var(--purple);
  transition: background-color 0.25s, color 0.25s;
}

.product-card__cta:hover { background-color: var(--light); color: var(--blue); }

.products-empty {
  text-align: center;
  color: var(--muted);
  padding: 2rem 0;
}

/* ---------- why our water ---------- */
.whyWater {
  padding: 4rem 0;
  color: var(--light);
  background:
    radial-gradient(circle at 85% 15%, rgba(37, 149, 209, 0.5), transparent 45%),
    var(--blue);
}

.whyWater__inner {
  width: min(1000px, 100% - 32px);
  margin-inline: auto;
  display: grid;
  gap: 2rem;
  align-items: center;
}

.whyWater img {
  width: min(320px, 100%);
  margin-inline: auto;
  border-radius: var(--radius);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
}

.whyWater h2 {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem);
}

@media (min-width: 768px) {
  .whyWater__inner { grid-template-columns: 1fr 1.4fr; }
}
