/* NAVBAR START */
nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 15px;
}
.logo {
  max-height: 70px;
}
.nav_link {
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: -0.02em;
  text-align: left;
}
#nav_btn,
#nav_close_btn {
  display: none;
}
#nav_links {
  display: flex;
  align-items: center;
  gap: 58px;
}
@media (max-width: 1000px) {
  .nav_link {
    font-size: 14px;
    line-height: 20px;
  }
}
#overlay {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100vh;
  background: #000;
  transition: all 0.2s ease-in-out;
  z-index: 2;
}
@media (max-width: 500px) {
  #nav_btn,
  #nav_close_btn {
    display: block;
    background: transparent;
    border: none;
    color: #fff;
  }
  #overlay {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: #000;
    transition: all 0.2s ease-in-out;
    z-index: 2;
  }
  #nav_links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    z-index: 2;
    background: #000;
  }
  .nav_link {
    font-size: 18px;
    line-height: 28px;
  }
}
/* NAVBAR END */

/* HEADER START */
header .container {
  padding-top: 48px;
  padding-bottom: 64px;
}
.title {
  color: #fff;
  font-family: "Lucida Calligraphy", "Inter", sans-serif;
  font-size: 40px;
  font-style: italic;
  font-weight: 400;
  line-height: 60px;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 20px;
}
.subtitle {
  color: #fff;
  font-family: "Kdam Thmor", "Inter", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: -0.02em;
  text-align: center;
}
@media (max-width: 1000px) {
  header .container {
    padding-top: 24px;
    padding-bottom: 20px;
  }
  .title {
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 8px;
  }
  .subtitle {
    font-size: 12px;
    line-height: 18px;
  }
}
/* HEADER END */

/* FOOTER START */
footer .container {
  padding-top: 96px;
  padding-bottom: 80px;
}
.footer_text {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.02em;
}
.footer_text a {
  color: #fb800e;
}
.footer_line {
  width: 100%;
  height: 0.5px;
  background: #8a8a8a;
  margin-block: 40px;
}
.footer_images {
  max-width: 80%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.footer_end {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.footer_end .first {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 52px;
}
.footer_end .first div {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 50%;
}
.footer_end .first div p{
  height: 75px;
}
.footer_end .second {
  display: flex;
  justify-content: center;
}
.footer_end .second div {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer_end p,
.footer_end a {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.02em;
}
.copyright {
  color: #c7c7c7;
}
.footer_end .second p {
  color: #d0d5d5;
  font-weight: 700;
  margin-bottom: 4px;
}
.footer_end .third {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-end;
}
.footer_end .third p {
  max-width: 344px;
  color: #eaecf0;
}
.footer_end .third div {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 344px;
}
.footer_end input {
  height: 44px;
  width: 320px;
  box-sizing: border-box;
  border-radius: 8px;
  padding-inline: 14px;
  background: #ffffff;
  box-shadow: 0px 1px 2px 0px #1018280d;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #667085;
  border: none;
}
.footer_end .third button {
  width: 100%;
  height: 44px;
  border-radius: 8px;
  border: 1px solid #fff;
  box-shadow: 0px 1px 2px 0px #1018280d;
  background: transparent;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  cursor: pointer;
  transition: 0.3s all ease-in-out;
}
.footer_end .third button:hover {
  background: #fff;
  color: #000;
}
.footer_end .first,
.footer_end .second,
.footer_end .third {
  width: 33%;
}
.footer_end .first,
.footer_end .second {
  border-right: 1px solid #8a8a8a;
}
@media (max-width: 1000px) {
  .footer_line {
    margin-block: 24px;
  }
  .footer_end {
    justify-content: center;
    flex-wrap: wrap;
  }
  .footer_end .first,
  .footer_end .second {
    width: 49%;
  }
  .footer_end .second {
    border-right: none;
  }
  .footer_end .third {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #8a8a8a;
    width: 100%;
    gap: 20px;
    align-items: center;
  }
  footer .container {
    padding-top: 150px;
    padding-bottom: 32px;
  }
}
.copyright_mb {
  display: none;
}
@media (max-width: 835px) {
  .footer_text {
    font-size: 12px;
    line-height: 18px;
  }
  .footer_end p,
  .footer_end a {
    font-size: 14px;
    line-height: 20px;
  }
  .footer_end .third p,
  .copyright {
    font-size: 16px;
    line-height: 24px;
  }
}
@media (max-width: 650px) {
  .footer_end .first,
  .footer_end .second {
    width: 100%;
  }
  .footer_end .first {
    border-right: none;
    align-items: center;
  }
  .footer_end .first div {
    width: 80%;
    align-items: center;
  }
  .footer_end .first div p {
    text-align: center;
  }
  .footer_end .second {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #8a8a8a;
  }
  .copyright_desk {
    display: none;
  }
  .copyright_mb {
    width: 100%;
    border-top: 1px solid #8a8a8a;
    margin-top: 24px;
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .footer_images img {
    max-height: 40px;
  }
}
@media (max-width: 350px) {
  .footer_end input {
    width: 280px;
  }
}
/* FOOTER END */

/* MOREINFO START */
.moreinfo .container {
  max-width: 912px;
}
.link_bar {
  margin-top: 64px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.link_bar a,
.link_bar p {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}
@media (max-width: 1000px) {
  .link_bar {
    margin-top: 32px;
    margin-bottom: 12px;
  }
  .link_bar a,
  .link_bar p {
    font-size: 14px;
    line-height: 20px;
  }
}
.link_bar a {
  color: #98a2b3;
  text-decoration: none;
}
.link_bar a:hover {
  text-decoration: underline;
}
.rightarrow {
  width: 8px;
  height: 8px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: rotate(45deg);
}
.content {
  padding: 24px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0px 4px 6px -2px #10182808;
  box-shadow: 0px 12px 16px -4px #10182814;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.content .line {
  width: 100%;
  height: 1px;
  background: #e3e8ef;
}
.info_title {
  color: #000;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.info_text {
  color: #1c1c1c;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.02em;
}
.property_items {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.property_items p {
  padding: 4px 12px 4px 28px;
  border-radius: 16px;
  background: #f9f5ff;
  color: #6941c6;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  position: relative;
}
.property_items p::before {
  position: absolute;
  background: url("../images/icons/check.svg") no-repeat center;
  content: "";
  width: 12px;
  height: 12px;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  padding-left: 14px;
}
.reviews .line {
  border-color: #e3e8ef;
  margin-block: 24px;
}
.reviews .line:last-child {
  display: none;
}
.reviews .info_title {
  margin-bottom: 24px;
}
.user_info {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.user_info p {
  color: #000;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: -0.02em;
}
.review p {
  margin-bottom: 6px;
}
.review span {
  color: #667085;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: -0.02em;
}

.head {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  justify-content: space-between;
}
.more_images {
  display: flex;
  align-items: center;
  gap: 8px;
}
.more_images img {
  width: 212px;
  height: 200px;
  border-radius: 8px;
  object-fit: cover;
}
.more_images div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.more_images div img {
  width: 102px;
  height: 96px;
}
.more_details {
  width: 65%;
}
.more_details .brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.more_score {
  margin-bottom: 4px;
  text-align: center;
  color: #000;
  font-size: 36px;
  font-weight: 700;
  line-height: 44px;
  letter-spacing: -0.02em;
}
.more_details p {
  margin-bottom: 16px;
  color: #000;
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
  letter-spacing: -0.02em;
}
.more_details a {
  color: #8a61ff;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: -0.02em;
}
@media (max-width: 1000px) {
  .content {
    gap: 24px;
  }
  .info_title {
    margin-bottom: 12px;
  }
  .head {
    flex-direction: column-reverse;
    gap: 20px;
    align-items: center;
  }
  .more_images div {
    gap: 9px;
  }
  .more_details {
    width: 100%;
  }
}
@media (max-width: 525px) {
  .more_images img {
    width: 155px;
    height: 146px;
  }
  .more_images div img {
    width: 73px;
    height: 68px;
  }
}
@media (max-width: 400px) {
  .more_images {
    flex-direction: column;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .more_images img {
    width: 100%;
  }
  .more_images div img {
    width: 100%;
  }
}
/* MOREINFO END */

/* WRITE REVIEW START */
.writereview .container {
  max-width: 912px;
}
.writereview .info_title {
  margin-bottom: 20px;
}
.writereview .form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.writereview .form > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
#pictureInput {
  display: none;
}
.picture {
  width: 100px;
  height: 100px;
  border: 1px dashed #98a2b3;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  overflow: hidden;
}
.pictureImage {
  max-width: 100%;
}
.writereview .form label {
  color: #344054;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}
.form_input,
textarea,
select {
  max-width: 480px;
  height: 36px;
  border-radius: 8px;
  padding: 8px 12px;
  border: 1px solid #d0d5dd;
  box-shadow: 0px 1px 2px 0px #1018280d;
  color: #344054;
  font-family: "Inter";
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  outline: none;
}
select {
  width: 100%;
  max-width: 100%;
  cursor: pointer;
  position: relative;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  color: #1c1c1c;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}
.radioContainer:has(select) {
  position: relative;
}
.radioContainer:has(select)::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  top: 40%;
  right: 12px;
  transform: translateY(-40%);
  border-top: 1px solid #667085;
  border-right: 1px solid #667085;
  transform: rotate(135deg);
}
textarea {
  height: 86px;
  resize: none;
  overflow: auto;
}
.charLimit {
  margin-top: -2px;
  color: #475467;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
}
.form_input::placeholder,
textarea::placeholder {
  color: #667085;
}
label.required {
  width: max-content;
  position: relative;
}
label.required::after {
  content: "*";
  position: absolute;
  top: -3px;
  left: 104%;
  height: 100%;
  color: #ff0000;
}
label strong {
  font-style: italic;
}
.radioContainer {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 48px;
  width: 100%;
  position: relative;
}
.radioContainer:has(select) {
  margin-bottom: 0px;
}
.radioContainer .radio {
  position: relative;
}
.radioContainer .radio input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  cursor: pointer;
}
.radioContainer .radio input:checked {
  border-color: #6e3aff;
}
.radioContainer .radio input:checked::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin: 5px;
  border-radius: 50%;
  background: #6e3aff;
}
.radioContainer label {
  position: absolute;
  top: 22px;
  left: 60%;
  transform: translateX(-60%);
  cursor: pointer;
}
label[for="radio1_option1"]::after,
label[for="radio2_option1"]::after,
label[for="radio3_option1"]::after,
label[for="radio4_option1"]::after,
label[for="radio1_option10"]::after,
label[for="radio2_option10"]::after,
label[for="radio3_option10"]::after,
label[for="radio4_option10"]::after {
  content: "Terrible";
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  color: #475467;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}
label[for="radio1_option10"]::after,
label[for="radio2_option10"]::after,
label[for="radio3_option10"]::after,
label[for="radio4_option10"]::after {
  content: "Amazing";
}
.writereview .form .submit {
  border: none;
  outline: none;
  cursor: pointer;
  width: 178px;
  height: 44px;
  padding: 10px 18px;
  border-radius: 6px;
  background: linear-gradient(271.2deg, #6e3aff 0%, #422399 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.02em;
}
@media (max-width: 520px) {
  .writereview .form .submit {
    width: 100%;
  }
}
.form_modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  box-shadow: 0px 8px 8px -4px #10182808;
  box-shadow: 0px 20px 24px -4px #10182814;
  border-radius: 12px;
  padding: 24px;
  width: 345px;
  max-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
  z-index: 3;
  opacity: 0;
  transition: all 0.5s ease-in-out;
}
@media (max-width: 520px) {
  .form_modal {
    width: 80%;
  }
}
.form_modal p:first-child {
  margin-bottom: 8px;
  color: #1c1c1c;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
}
.form_modal p:last-child {
  color: #1c1c1c;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}
.close_modal {
  border: none;
  outline: none;
  cursor: pointer;
  background: none;
}
.close_modal_x img {
  position: absolute;
  right: 22px;
  top: 22px;
  width: 24px;
  height: 24px;
}
.close_modal_button {
  width: 100%;
  height: 44px;
  padding: 10px 18px;
  border-radius: 6px;
  background: linear-gradient(271.2deg, #6e3aff 0%, #422399 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.02em;
}
/* WRITE REVIEW END */


/* PAGES START */
.pages{
  gap: 0px;
}
.pages h2 {
  color: #1c1c1c;
  font-size: 22px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: -0.02em;
}
.pages p,
.pages a,
.pages li {
  color: #1c1c1c;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.02em;
  margin: 0px;
  padding-block: 5px;
}
.pages a {
  text-decoration: underline;
}
.pages ol,
.pages ul {
  margin-left: 15px;
  padding: 0px;
}
@media (max-width: 520px) {
  .pages p,
  .pages a,
  .pages li {
    font-size: 14px;
  }
}
/* PAGES END */
