@import url("https://fonts.googleapis.com/css2?family=Edu+AU+VIC+WA+NT+Pre&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Outfit:wght@100..900&family=Playwrite+AU+NSW+Guides&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Tajawal:wght@200;300;400;500;700;800;900&display=swap");

body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: hsl(30, 38%, 92%);
  font-size: 14px;
  font-family: "Montserrat", serif;
}
.product-card {
  height: auto;
  width: 600px;
  border-radius: 15px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  background-color: hsl(0, 0%, 100%);
  overflow: hidden;
  display: flex;
  justify-content: space-between;
}
img {
  width: 100%;
  height: 100%;
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
}
span,
p {
  color: hsl(228, 12%, 48%);
  margin-bottom: 0;
}

h3,
.price-new {
  font-weight: 700;
  font-family: "Fraunces", serif;
  font-size: 40px;
  line-height: 0.9;
}
.price {
  display: flex;
  align-items: center;
}
.price-new {
  color: hsl(158, 36%, 37%);
}
.price-old {
  color: hsl(228, 12%, 48%);
  margin-left: 20px;
  text-decoration: line-through;
}
.product-image {
  width: 50%;
  overflow: hidden;
}
.product-info {
  padding: 10px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;

  width: 50%;
}
.product-info > span {
  letter-spacing: 6px;
}
.btn {
  background-color: hsl(158, 36%, 37%);
  color: white;
  font-weight: 500;
}
.btn:hover {
  background-color: hsl(212, 21%, 14%);
  color: hsl(30, 38%, 92%);
}

@media (min-width: 320px) and (max-width: 480px) {
  .product-card {
    flex-direction: column;
    width: 400px;
    height: 600px !important;
    margin: 0 5%;
  }
  h3 {
    font-size: 38px;
  }
  img {
    content: url("./images/image-product-mobile.jpg");
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
  }

  .product-image {
    width: 100%;
    height: 80%;
    overflow: hidden;
  }
  .product-info {
    width: 100%;
    padding: 10px 20px;
    height: 100%;
    /* padding: 5px 0; */
  }
}
