@charset "UTF-8";
/* Spacing */
/* Colors */
/* Typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-size: 0.875rem; /* 14px */
  background: hsl(30, 38%, 92%);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.product-preview-card {
  display: flex;
  flex-direction: row;
}
.product-preview-card .product-image {
  max-width: 18.75rem; /* 300px */
  height: auto;
  border-radius: 0.5rem 0 0 0.5rem;
}
.product-preview-card .product-image-mobile {
  display: none; /* Hide mobile image by default */
  max-width: 21.875rem; /* 350px */
  border-radius: 0.5rem 0.5rem 0 0;
}
.product-preview-card .product-details {
  padding: 2rem;
  background: hsl(0, 0%, 100%);
  max-width: 18.75rem; /* 300px */
  border-radius: 0 0.5rem 0.5rem 0;
}
.product-preview-card .product-details .product-type {
  font-family: "Montserrat", sans-serif;
  font-size: 0.75rem; /* 12px */
  font-weight: 500;
  line-height: 120%;
  letter-spacing: 0.313rem;
  text-transform: uppercase;
  color: hsl(228, 12%, 48%);
}
.product-preview-card .product-details h1 {
  font-family: "Fraunces", serif;
  font-size: 2rem; /* 32px */
  font-weight: 700;
  line-height: 110%;
  letter-spacing: 0;
  margin: 1.5rem 0 1.5rem;
  color: hsl(212, 21%, 14%);
}
.product-preview-card .product-details .product-description {
  font-family: "Montserrat", sans-serif;
  font-size: 0.875rem; /* 14px */
  font-weight: 500;
  line-height: 160%;
  letter-spacing: 0;
  color: hsl(228, 12%, 48%);
}
.product-preview-card .product-price-container {
  display: flex;
  margin: 2rem 0 2rem;
}
.product-preview-card .product-price-container .product-price {
  font-family: "Fraunces", serif;
  font-size: 2rem; /* 32px */
  font-weight: 700;
  line-height: 110%;
  letter-spacing: 0;
  color: hsl(158, 36%, 37%);
}
.product-preview-card .product-price-container .product-price-old {
  font-family: "Montserrat", sans-serif;
  font-size: 0.813rem; /* 13px */
  font-weight: 500;
  line-height: 120%;
  letter-spacing: 0;
  color: hsl(228, 12%, 48%);
  margin-left: 1rem;
  text-decoration: line-through;
  align-self: center;
}
.product-preview-card .add-to-cart-button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  background: hsl(158, 36%, 37%);
  color: hsl(0, 0%, 100%);
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 0.5rem;
  gap: 0.5rem;
}
.product-preview-card .add-to-cart-button .button-text {
  font-family: "Montserrat", sans-serif;
  font-size: 0.875rem; /* 14px */
  font-weight: 700;
  line-height: 110%;
  letter-spacing: 0;
}
.product-preview-card .add-to-cart-button:hover {
  background: hsl(158, 42%, 18%);
}

@media (max-width: 375px) {
  .product-preview-card {
    flex-direction: column;
    margin: 0.5rem;
    max-width: calc(100vw - 1rem); /* Sikrer at kortet ikke går ud over skærmen */
  }
  .product-preview-card .product-image {
    display: none;
  }
  .product-preview-card .product-image-mobile {
    display: block;
    max-width: 21.875rem; /* 350px */
    height: auto;
  }
  .product-preview-card .product-details {
    max-width: 21.875rem; /* 350px */
    border-radius: 0 0 0.5rem 0.5rem;
  }
  .product-preview-card .product-price-container {
    margin: 1.5rem 0 1.5rem;
  }
}/*# sourceMappingURL=style.css.map */