* {
  box-sizing: border-box;
}

:root {
  --button-bg: hsl(158, 36%, 37%);
}

html {
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
  font-family: "Montserrat", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: hsl(30, 38%, 92%);
}

/** ==================== common ========================== */
input,
textarea,
select,
button {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: (100% - 60px);
  max-width: 650px;
  max-height: 500px;
  margin: 0 auto;
  background-color: #fff;
  display: flex;
  border-radius: 15px;
}

/** ==================== left content ========================== */
.left-content {
  width: 50%;
}

.left-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px 0 0 15px;
  display: block;
}

/** ==================== right content ========================== */
.right-content {
  width: 50%;
  padding: 30px;
}

.top {
  display: block;
  margin-top: 10px;
  letter-spacing: 6px;
  font-size: 12px;
  font-weight: 300;
}

.title {
  margin-top: 17px;
  font-family: "Fraunces";
  font-weight: 800;
  font-size: 38px;
}

.desc {
  margin-top: 25px;
  font-weight: 300;
  line-height: 25px;
  font-size: 14px;
}

.price {
  margin-top: 35px;
  display: flex;
  align-items: center;
  gap: 25px;
}

.new_price {
  font-family: "Fraunces";
  font-size: 36px;
  color: hsl(158, 36%, 37%);
  font-weight: 700;
}

.old_price {
  position: relative;
  display: inline-block;
}

.old_price::before {
  content: "";
  display: block;
  height: 0.5px;
  width: 100%;
  background-color: black;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.btn {
  background-color: hsl(158, 36%, 37%);
  color: white;
  margin-top: 35px;
  padding: 20px 20px;
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  transition: 1s;
}

.btn:hover {
  cursor: pointer;
  background-color: hsl(158, 42%, 18%);
}

.btn:active {
  transform: scale(0.95);
}

.btn span {
  font-weight: 500;
}
