

/* =========================
   PRODUCTS PAGE
========================= */

.products-page {
  width: 100%;
  min-height: 100vh;
  background-color: #eeeae2;
}

.products-section {
  width: 88%;
  max-width: 82.5rem;
  margin: 0 auto;
  padding: 9rem 0 7rem;
  box-sizing: border-box;
}

/* =========================
   HEADING
========================= */

.products-heading {
  display: flex;
  align-items: center;
  gap: 3%;
  margin-bottom: 4%;
}

.products-heading h2 {
  margin: 0;
  flex-shrink: 0;
  font-size: clamp(1rem, 1.3vw, 1.3rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #222;
}

.heading-line {
  width: 12%;
  height: 1px;
  flex-shrink: 0;
  background-color: #aaa;
}

.products-description {
  margin: 0;
  font-size: clamp(0.9rem, 1.1vw, 1.1rem);
  line-height: 1.9;
  letter-spacing: 0.06em;
  color: #0f0f0f;
}

/* =========================
   PRODUCT GRID
========================= */

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 5%;
  row-gap: 3rem;
}

/* =========================
   PRODUCT CARD
========================= */

.product-card {
  display: block;
  min-width: 0;
  color: #222;
  text-decoration: none;
}

.product-image {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background-color: #e8e4de;
}

.product-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.04);
}

/* =========================
   PRODUCT INFORMATION
========================= */

.product-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5%;
  margin-top: 4%;
}

.product-info span:first-child {
  font-size: clamp(0.85rem, 1.1vw, 1.1rem);
  font-weight: 400;
  letter-spacing: 0.05em;
}

.product-arrow {
  font-size: clamp(1rem, 1.3vw, 1.4rem);
  font-weight: 300;
  transition: transform 0.3s ease;
}

.product-card:hover .product-arrow {
  transform: translateX(0.3rem);
}

.product-price {
  margin: 2% 0 0;
  font-size: clamp(0.8rem, 1vw, 1rem);
  font-weight: 400;
  letter-spacing: 0.03em;
}

/* =========================
   TABLET
========================= */

@media (max-width: 64rem) {

  .products-section {
    width: 90%;
    padding: 8rem 0 5rem;
  }

  .products-heading {
    margin-bottom: 5%;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 5%;
    row-gap: 2.5rem;
  }

}

/* =========================
   SMARTPHONE
========================= */

@media (max-width: 47.9375rem) {

  .products-section {
    width: 90%;
    padding: 7rem 0 4rem;
  }

  .products-heading {
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 8%;
  }

  .products-heading h2 {
    font-size: 1rem;
  }

  .heading-line {
    width: 20%;
  }

  .products-description {
    flex-basis: 100%;
    font-size: 0.8rem;
    line-height: 1.8;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 4%;
    row-gap: 2rem;
  }

  .product-info {
    margin-top: 5%;
  }

  .product-info span:first-child {
    font-size: 0.8rem;
  }

  .product-arrow {
    font-size: 1rem;
  }

  .product-price {
    font-size: 0.75rem;
    margin-top: 3%;
  }

}

/* =========================
   COMING SOON
========================= */

.coming-soon {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #E5E0D7;
}

.coming-soon span {
  font-size: clamp(0.8rem, 1.1vw, 1rem);
  font-weight: 400;
  letter-spacing: 0.2em;
  color: #77736D;
}
