#blur {
  opacity: 1;
}

#blur.active {
  opacity: 0.2;
}

#products-container {
  width: 100%;
  display: flex;
  min-height: 70vh;
  padding: 4rem 1rem;
  align-items: center;
  flex-direction: column;
  box-sizing: border-box;
}

.products-page {
  display: flex;
  row-gap: 2rem;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.main-heder-title {
  font-size: 4.5vh;
  font-family: "CustomFont";
  text-transform: uppercase;
}

.products-page.active {
  display: none;
}

.productDetails {
  width: 80%;
  display: flex;
  flex-direction: column;

  row-gap: 8rem;
  margin-top: 4rem;
  align-items: center;
  justify-content: center;
}

.products-box {
  gap: 2rem;
  display: flex;
  flex-wrap: wrap;
  padding: 0 2rem;
  justify-content: center;
}

.card {
  margin: 0;
  width: 320px;
  height: 360px;
  display: flex;
  row-gap: 2rem;
  align-items: center;
  border-radius: 44px;
  flex-direction: column;
  box-shadow: 0 4px 18px #0006;
  transition: all .1s ease-in-out;
}

.card:hover {
  box-shadow: 0 4px 26px #0009;
}

.card-content {
  display: flex;
  row-gap: 1rem;
  flex-direction: column;
}

.img-box {
  width: 100%;
  height: 180px;
  display: flex;
  text-align: center;
  align-items: center;
  border-radius: 44px;
  justify-content: center;
  box-shadow: 0 10px 7px #bfbfbf;
}

.img-box:hover {
  cursor: pointer;
}

.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 44px;
}

.card-title {
  font-size: 2rem;
  text-transform: capitalize;
}

.card .card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-footer .card-price {
  color: #5bdd87;
  font-size: 1.8rem;
}

.card-footer .card-add-button {
  border: none;
  color: white;
  font-size: 2rem;
  padding: 0 0.7rem;
  font-weight: 1000;
  border-radius: 8px;
  background-color: #DF5778;
  transition: all .17s ease-in-out;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25) inset;
}

.card-footer .card-add-button:hover {
  cursor: pointer;
  background-color: #27f06b;
}

/* Product Details */
.product-details-container {
  width: 100%;
  height: 72vh;
  display: flex;
  border-radius: 50px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px #0008;

}

.product-details-image-container {
  flex: 1;
  height: 100%;
  position: relative;
}

.products-details-image-box {
  height: 100%;
  display: flex;
  padding: 2rem 2rem;
  align-items: center;
  box-sizing: border-box;
  justify-content: center;
}

.products-details-image-box img {
  width: 100%;
  height: 100%;
}

.product-details-images-container {
  left: 50%;
  top: auto;
  width: 90%;
  bottom: 2rem;
  display: flex;
  position: absolute;
  align-items: center;
  transform: translateX(-50%);
}

.product-details-images-box {
  display: flex;
  column-gap: 2rem;
}

.product-details-images-box img {
  height: 8rem;
  border-radius: 12px;
}

.product-details-content {
  flex: 1;
  width: 100%;
  height: 100%;
  color: white;
  display: flex;
  row-gap: 4rem;
  padding: 2rem 4rem;
  box-sizing: border-box;
  flex-direction: column;
  background-color: #DF5778;
  border-radius: 0 50px 50px 0;
  justify-content: space-between;
}

.product-details-header {
  display: flex;
  row-gap: 1rem;
  font-size: 2rem;
  flex-direction: column;
}

.product-details-price {
  color: #5BDD87;
}

.product-details-desc {
  display: flex;
  row-gap: 2rem;
  font-size: medium;
  flex-direction: column;
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
}

.product-details-desc-content {
  font-size: large;
  font-family: "CustomFont";
}

.product-details-list {
  display: flex;
  row-gap: 0.78rem;
  flex-direction: column;
}

.product-details-list li {
  list-style: disc;
  font-family: "CustomFont";
}

.product-details-buttons {
  gap: 2rem;
  display: flex;
}

.product-details-button {
  flex: 1;
  padding: 1rem;
  display: flex;
  font-weight: 800;
  font-size: 1.2rem;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-in-out;
  border-bottom: 4px solid rgba(0, 0, 0, 1);
}

.product-details-button:hover {
  cursor: pointer;
}

.product-details-buy {
  background-color: #000;
}

.product-details-buy:hover {
  background-color: #5bdd87;
}

.product-details-add {
  background-color: #5bdd87;
}

.product-details-add:hover {
  background-color: #1573e7;
}

.ytb {
  width: 60%;
  height: 520px;
  display: flex;
  justify-content: center;
  align-content: center;
}

@media screen and (max-width: 800px) {
  .product-details-container {
    width: 90%;
  }

  .productDetails {
    width: 100%;
    display: flex;
    flex-direction: column;

    row-gap: 8rem;
    margin-top: 2rem;
    align-items: center;
    justify-content: center;
  }

  .product-details-container {
    height: auto;
    flex-direction: column;
  }

  .product-details-content {
    padding: 1.4rem;
    row-gap: 1.4rem;
    border-radius: 0 0 50px 50px;
  }

  .product-details-desc-content {
    font-size: medium;
  }

  .product-details-buttons {
    row-gap: 1rem;
    flex-direction: column;
  }

  .product-details-header {
    font-size: 1.2rem;
  }

  .product-details-button {
    padding: 0.78rem;
  }

  .card {
    width: 14rem;
    height: auto;
    padding-bottom: 1rem;
  }

  .card-title {
    font-size: 1.4rem;
  }

  .card-footer .card-price {
    font-size: 1.4rem;
  }
}
