* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #F3EBE4;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;

}

.card {
    background-color: white;
    display: flex;
    flex-direction: row;
    width: 600px;
    border-radius: 10px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

}
.card-image {
    width: 50%;
}
.card-content{
    width: 50%;
    padding: 30px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.category {
    text-transform: uppercase;
    letter-spacing: 5px;
    color: hsl(228, 12%, 48%);
    font-size: 12px;
    margin-bottom: 20px;

}
.title{
    font-size: 28px;
    line-height: 1,2;
    color: hsl(212, 21%, 14%);
    margin-bottom: 20px;
}
.description{
    font-size: 14px;
    color: hsl(228, 12%, 48%);
    line-height: 1,6;
    margin-bottom: 20px;
}
.price{
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}
.new-price{
    font-size: 28px;
    color: hsl(158, 36%, 37%);
    font-weight: 700;

}
.old-price{
    font-size: 14px;
     color: hsl(228, 12%, 48%);
     text-decoration: line-through;
}
.add-to-card {
    background-color: hsl(158, 36%, 37%);
    color: white;
    border: none;
    padding: 15px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.3s ease;

}
.add-to-card :hover{
    background-color: hsl(158, 36%, 27%);
}
@media (max-width: 600px) {
  .card {
    flex-direction: column;
    width: 90%;
  }

  .card-image,
  .card-content {
    width: 100%;
  }

  .card-image img {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }

  .card-content {
    padding: 20px;
  }
}
