*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
}

h1,
h2,
h3,
p,
ul,
ol,
li {
  padding: 0;
  margin: 0;
}

img {
  display: block;
}

button {
  border: none;
}

.card__product-type {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  line-height: 1.2;
  letter-spacing: 0.42em;
  color: hsl(228, 12%, 48%);
}

.card__title, .card__actual-price {
  font-family: "Fraunces", sans-serif;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: 0;
}

.card__text {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.6;
  color: hsl(228, 12%, 48%);
}

.card__old-price {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 0.8125rem;
  line-height: 1.2;
  text-decoration: line-through;
  color: hsl(228, 12%, 48%);
}

.button {
  border-radius: 8px;
  border: none;
  padding: 16px 62.5px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  color: hsl(0, 0%, 100%);
  background-color: hsl(158, 36%, 37%);
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}
.button:hover, .button:active, .button:focus-visible {
  background-color: hsl(158, 42%, 18%);
}

html,
body {
  height: 100%;
}

body {
  padding-inline: 0.75rem;
  padding-block: 5rem;
  background-color: hsl(30, 38%, 92%);
}

main {
  display: flex;
  justify-content: center;
}

.card {
  max-width: 21.875rem;
  display: flex;
  flex-direction: column;
  border-radius: 0.5rem;
  background-color: hsl(0, 0%, 100%);
}

picture img {
  width: 100%;
  border-radius: 0.5rem;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.card__content {
  padding: 2rem;
}
.card__content > :not(:last-child) {
  margin-block-end: 1.5rem;
}

.card__product-type {
  text-transform: uppercase;
}

.card__title {
  color: hsl(212, 21%, 14%);
}

.card__prices-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.card__actual-price {
  display: inline-block;
  color: hsl(158, 36%, 37%);
}

.button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

@media (min-width: 48rem) {
  body {
    padding-inline: 5.25rem;
    align-content: center;
  }
  .card {
    flex-direction: row;
    max-width: 37.5rem;
  }
  picture img {
    border-radius: 0;
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
  }
  .card__img,
  .card__content {
    width: 50%;
  }
  .card__prices-container {
    margin-block: 2rem;
  }
  .button {
    gap: 0.4rem;
  }
}

/*# sourceMappingURL=index.css.map */
