@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");

* {
  padding: 0px;
  margin: 0px;
  border: none;
}

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

img {
  display: block;
  max-width: 100%;
  height: auto;
}

body {
  font-family: "Montserrat", sans-serif;
}

.container {
  width: 1140px;
  padding: 0 15px;
  margin: 0 auto;
}

/*SECTION Product*/
.product {
  padding-top: 60px;
  padding-bottom: 90px;
}

.product__row {
  display: flex;
  justify-content: space-between;
}

/*Block of the Left that reflect the image*/
.product__image {
  padding-top: 30px;
}

/*Block of the Right that reflect the h2 and content text*/
.product__description {
  width: 540px;
}

/* Div that holds an H2 element */
.product__title {
  margin-bottom: 15px;
}

/* styles for H2: Universal div of the site */
.main-title {
  font-size: 28px;
  line-height: 1.3;
}

/* Div that holds an price and span elements */
.product__price {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  color: #7e9bbd;
  margin-bottom: 35px;
}

/* styles for span, price price element */
.product__price span {
  font-size: 16px;
}

/* Div that holds an button elements */
.product__button {
  margin-bottom: 35px;
}

/* styles for button element */
.button {
  display: inline-block;
  height: 46px;
  background-color: rgba(255, 255, 255, 0.3);
  border: 3px solid rgba(126, 155, 189, 0.3);
  border-radius: 6px;
  padding-left: 17px;
  padding-right: 17px;
  font-weight: 600;
  font-size: 16px;
  line-height: 40px;
  color: #7e9bbd;
  text-decoration: none;
}

/*Modificator for Button*/
.button--dark {
  background-color: #000;
  border: none;
  font-weight: 700;
  line-height: 46px;
  color: #fff;
  padding-left: 20px;
  padding-right: 20px;
}

/* Div that holds an P elements */
.product__article {
  font-family: "Playfair Display", sans-serif;
  font-size: 18px;
  line-height: 1.7;
}

/* styles for P element */
.product__article p {
  margin-bottom: 15px;
}

.product__article p:last-child {
  margin-bottom: 0;
}

.link {
  color: #000;
}

/*SECTION Other - Product*/
.other-products {
  padding-bottom: 110px;
}

.other-products__title {
  margin-bottom: 46px;
  text-align: center;
}

.section-title {
  font-size: 28px;
  line-height: 1.3;
  font-family: "Playfair Display", sans-serif;
}

.other-products__cards {
  display: flex;
  justify-content: space-between;
}

.card {
  padding: 31px 30px 23px;
  width: 350px;
  box-shadow: 0px 10px 40px rgb(126, 155, 189, 0.3);
}

.card__img {
  margin-bottom: 20px;
}

.card__title {
  margin-bottom: 10px;
  min-height: 48px;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.card__details {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card__price {
  font-weight: 600;
  font-size: 20px;
  line-height: 1.2;
  color: #7e9bbd;
}
