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

:root {
  /* Colors */
  --black: #1c232b;
  --grey: #6c7289;
  --cream: #f2eae2;
  --white: #ffffff;
  --green-500: #3d8168;
  --green-700: #1a4032;

  /* Spacing */

  --spc-500: 2.5rem; /* 40px */
  --spc-400: 2rem; /* 32px */
  --spc-300: 1.5rem; /* 24px */
  --spc-200: 1rem; /* 16px */
  --spc-100: 0.5rem; /* 8px */
  --spc-50: 0.25rem; /* 4px */
}

.text-preset-1 {
  font-family: "Fraunces", serif;
  font-size: 2rem; /* 32px */
  line-height: 100%;
  letter-spacing: 0px;
  font-weight: 700;
}

.text-preset-2 {
  font-family: "Montserrat", sans-serif;
  font-size: 0.875rem; /* 14px */
  line-height: 110%;
  letter-spacing: 0px;
  font-weight: 700;
}

.text-preset-3 {
  font-family: "Montserrat", sans-serif;
  font-size: 0.875rem; /* 14px */
  line-height: 160%;
  letter-spacing: 0px;
  font-weight: 500;
}

.text-preset-4 {
  font-family: "Montserrat", sans-serif;
  font-size: 0.75rem; /* 12px */
  line-height: 120%;
  letter-spacing: 5px;
  font-weight: 500;
}

.text-preset-5 {
  font-family: "Montserrat", sans-serif;
  font-size: 0.8125rem; /* 13px */
  line-height: 120%;
  letter-spacing: 0px;
  font-weight: 500;
}
.info-title {
  color: var(--black);
  margin-bottom: var(--spc-300);
}

.info-lable {
  color: var(--grey);
  margin-bottom: var(--spc-300);
  display: block;
}

.info-text {
  color: var(--grey);
  margin-bottom: var(--spc-300);
}

.info-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--white);
  background-color: var(--green-500);
  width: 100%;
  padding: var(--spc-200);
  border-radius: 8px;
  border: none;
  cursor: pointer;
}

.info-button:hover {
  background-color: var(--green-700);
  transition: background-color 0.3s ease;
}
.price-current {
  color: var(--green-500);
  padding-right: 1rem;
}

.price-old {
  color: var(--grey);
  text-decoration: line-through;
}

body {
  background:var(--cream);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  height: 100vh;
}

.container {
  display: flex;
  flex-direction: column;
  max-width: 350px;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  margin: 1rem;
}

.responsive-image {
  width: 100%;
  height: 300px;
  background-size: cover;
  background-image: url("./images/image-product-mobile.jpg");
}

.cart-image {
  margin-right: 0.5rem;
}

.container-price {
  margin-bottom: var(--spc-300);
  display: flex;
  align-items: center;
}

.container-info {
  padding: var(--spc-400);
}

@media (min-width: 768px) {
  body {
    background: var(--cream);
    justify-content: center;
    align-items: center;
    min-height: 100vh;
  }

  .responsive-image {
    width: 100%;
    height: auto;
    background-image: url("./images/image-product-desktop.jpg");
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }

  .container {
    flex-direction: row;
    min-width: 600px;
    height: auto;
    background: white;
    border-radius: 8px;
    overflow: hidden;
  }

  .container-info {
    max-width: 300px;
  }
}
