body {
    background-color: hsl(30, 38%, 92%);
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: hsl(228, 12%, 48%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 100%;
    max-width: 375px;
    margin: 0 auto;
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    width: 90vw;
    max-width: 320px;
    margin: 0 auto;
}

.card-image img {
    width: 100%;
    display: block;
    border-radius: 10px 10px 0 0;
}

.card-content {
    background: #fff;
    padding: 24px 20px 20px 20px;
    box-sizing: border-box;
    width: 90vw;
    max-width: 320px;
    margin: -4px auto 0 auto;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}

.card-content-title h1 {
    padding-top: 5px;
    padding-bottom: 5px;
    letter-spacing: 0.3em;
    font-size: 12px;
    font-weight: 500;
    color: hsl(228, 12%, 48%);
    margin: 0 0 16px 0;
    text-transform: uppercase;
}

.card-content-description h2 {
    font-family: 'Fraunces', serif;
    font-size: 28px;
    font-weight: 700;
    color: hsl(212, 21%, 14%);
    margin: 0 0 16px 0;
    line-height: 1.1;
}

.card-content-description p {
    font-size: 14px;
    color: hsl(228, 12%, 48%);
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.card-content-price {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.card-content-price-new p {
    color: hsl(158, 36%, 37%);
    font-family: 'Fraunces', serif;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.card-content-price-old p {
    color: hsl(228, 12%, 48%);
    text-decoration: line-through;
    font-size: 14px;
    margin: 0;
}

.card-content-button button {
    width: 100%;
    background: hsl(158, 36%, 37%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 14px 0;
    font-size: 13px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    transition: background 0.2s;
}

.card-content-button button:hover {
    background: hsl(158, 36%, 25%);
}

.card-content-button button::before {
    content: url('images/icon-cart.svg');
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle;
}

@media (min-width: 600px) {
    .container, .card, .card-content {
        max-width: 400px;
    }
}

@media (min-width: 900px) {
  body {
    align-items: center;
    justify-content: center;
  }
  .container {
    max-width: 800px;
    padding: 0;
  }
  .card {
    display: flex;
    flex-direction: row;
    max-width: 700px;
    height: 500px;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    overflow: hidden;
    margin: 0 auto;
  }
  .card-image {
    flex: 1 1 50%;
    height: 100%;
  }
  .card-image img, .card-image picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px 0 0 16px;
    display: block;
  }
  .card-content {
    flex: 1 1 50%;
    padding-left: 40px;
    padding-right: 40px;
    border-radius: 0 16px 16px 0;
    margin: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: auto;
    max-width: none;
  }
  .card-content-title h1 {
    font-size: 12px;
  }
  .card-content-description h2 {
    font-size: 35px;
    padding-right: 50px;
  }
  .card-content-description p {
    font-size: 16px;
    margin-bottom: 28px;
  }
  .card-content-price {
    margin-bottom: 28px;
    gap: 20px;
  }
  .card-content-price-new p {
    font-size: 40px;
  }
  .card-content-button button {
    font-size: 18px;
    padding: 18px 0;
  }
}

