.body {
  padding: 0;
  margin: 0;
  color: #8347EB;
  background-color: #101318;
}

.hero-section {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  gap: 28px;
  height: 395px;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url('../../assets/images/keyboards-images/lukas-B8tc3Tq0GK8-unsplash.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 16px;
}
.hero-section-title {
  width: 287px;
  font-size: 28px;
  font-weight: bold;
  text-align: center;
}
.hero-section-description {
  width: 287px;
  font-size: 16px;
  text-align: center;
  color: #A6A6A6;
}
.pill-component {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 224px;
  height: 40px;
  border-radius: 50px;
  border: 1px solid #8347EB;
  background-color: rgba(131, 71, 235, 0.2);
}
.pill-text {
  font-weight: bold;
  font-size: 13px;
}
.see-all-text {
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  color: #8347EB;
}

.results-title-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 30px;
  padding: 15px 10px 5px 10px;
}
.results-title {
  margin: 0;
  color: #A6A6A6;
}

.product-cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 10px;
}
.product-card-component {
  width: 100%;
  height: 523px;
  border-radius: 12px;
}
.product-card-component:hover {
  scale: 1.02;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
}
.product-component-image-container {
  width: 100%;
  height: 253px;
  border-radius: 12px 12px 0 0;
  cursor: pointer;
}
.product-component-image {
  width: 100%;
  height: 100%;
  border-radius: 12px 12px 0 0;
  object-fit: cover;
}

.product-component-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 250px;
  background-color: #171B26;
  border-radius: 0 0 12px 12px;
  padding: 10px;
}
.product-title {
  font-size: 18px;
  font-weight: bold;
  color: #FFF;
}
.product-description {
  margin: 0;
  font-size: 14px;
  color: #A6A6A6;
  line-height: 20px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rating-container {
  width: 225px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.stars-container {
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 5px;
  color: #FAB338;
}
.star {
  font-size: 30px;
  color: #d1d5db;
}
.star.filled {
  color: #eab308;
}
.points-text {
  font-size: 16px;
  color: #A6A6A6;
}
.keyboard-specs-container {
  width: 200px;
  height: 44px;
  color: #A6A6A6;
}
.price-buy-button-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 65px;
}
.price-text {
  font-size: 24px;
  font-weight: bold;
}
.add-to-cart-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  width: 130px;
  height: 35px;
  padding: 10px;
  border-radius: 5px;
  border: none;
  background-color: #8347EB;
  cursor: pointer; 
}
.add-to-cart-button:active {
  background-color: #5F14E0;
}
.button-cart-image {
  width: 22px;
  height: 22px;
}
.add-to-cart-button-text {
  font-size: 14px;
  font-weight: bold;
  color: #FFF;
}

/********    DESKTOP    ********/

@media screen and (width > 754px) {
  .hero-section-title {
    width: 400px;
  }
  .hero-section-description {
    width: 400px;
  }

  .product-cards-container {
    justify-content: flex-start;
  }
  .product-card-component {
    width: 320px;
  }

  .pill-component {
    width: 280px;
    height: 50px;
  }
  .pill-text {
    font-size: 16px;
  }
  .see-all-text {
    font-size: 18px;
  }
}

@media screen and (width > 1024px) {
  .hero-section {
    height: 450px;
  }
  .hero-section-title {
    width: 500px;
    font-size: 35px;
  }
  .hero-section-description {
    width: 500px;
    font-size: 20px;
  }
  .product-cards-container {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

@media screen and (width > 1365px) {
  .results-title-container {
    justify-content: center;
  }
  .product-cards-container {
    justify-content: center;
  }
}
