html,
body {
  margin: 0;
  padding: 0;
  background-color: rgb(238, 238, 238);
  font-family: "Montserrat", sans-serif;
  color: #212121;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
  box-sizing: border-box;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 20px;
}

.fabrx-dashboard {
  background-color: white;
  display: flex;
  border-radius: 15px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 48px 60px;
  justify-content: space-between;
  gap: 40px;
  box-sizing: border-box;
  flex-wrap: wrap;
  max-height: 90vh;
  overflow-y: auto;
  align-items: center;
}

.fabrx-texts {
  flex: 1 1 400px;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fabrx-texts h2 {
  font-weight: 700;
  font-size: 48px;
  line-height: 56px;
  letter-spacing: -0.8px;
  margin: 0 0 20px 0;
}

.fabrx-texts p {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  margin: 0 0 28px 0;
  color: #212121cc;
}

.fabrx-texts h3 {
  font-weight: 700;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: -0.3px;
  margin-bottom: 20px;
  max-width: 140px;
}

.price {
  display: flex;
  align-items: baseline;
  margin-bottom: 28px;
  gap: 12px;
  flex-wrap: wrap;
}

.discounted {
  font-weight: 700;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: -0.3px;
  color: #212121;
}

.without-discount {
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  color: #c4c4c4;
  text-decoration: line-through;
  padding-top: 6px;
}

button {
  background-color: #0d6efd;
  border: 2px solid transparent;
  color: white;
  padding: 14px 36px;
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s ease;
  width: auto;
  max-width: 100%;
  align-self: flex-start;
}

button:hover {
  color: #0d6efd;
  background-color: white;
  border-color: #0d6efd;
}

.fabrx-dashboard img {
  flex-shrink: 0;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 15px;
  max-height: 450px;
  width: auto;
  align-self: center;
}

@media (max-width: 992px) {
  .fabrx-dashboard {
    padding: 40px 30px;
    flex-direction: column;
    align-items: flex-start;
    overflow: visible;
  }

  .fabrx-texts {
    width: 100%;
    max-width: 100%;
  }

  .fabrx-texts h2 {
    font-size: 36px;
    line-height: 44px;
  }

  .fabrx-texts p {
    font-size: 16px;
    line-height: 24px;
  }

  .fabrx-texts h3 {
    font-size: 26px;
    line-height: 32px;
    max-width: 100%;
    margin-bottom: 16px;
  }

  .price {
    gap: 10px;
    margin-bottom: 28px;
  }

  .discounted {
    font-size: 26px;
    line-height: 32px;
  }

  .without-discount {
    font-size: 16px;
    line-height: 24px;
    padding-top: 4px;
  }

  button {
    padding: 12px 28px;
    font-size: 18px;
    width: auto;
  }

  .fabrx-dashboard img {
    width: 100%;
    max-height: none;
    margin-bottom: 20px;
  }

  .container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 20px;
  }
}

@media (max-width: 600px) {
  .fabrx-dashboard {
    padding: 30px 20px;
  }

  .fabrx-texts h2 {
    font-size: 28px;
    line-height: 36px;
  }

  .fabrx-texts p {
    font-size: 14px;
    line-height: 22px;
  }

  .fabrx-texts h3 {
    font-size: 22px;
    line-height: 28px;
  }

  .price {
    gap: 8px;
  }

  .discounted {
    font-size: 24px;
    line-height: 28px;
  }

  .without-discount {
    font-size: 14px;
    line-height: 20px;
    padding-top: 4px;
  }

  button {
    padding: 12px 20px;
    font-size: 16px;
    width: 100%;
    max-width: 320px;
  }
}
