main {
  width: 80%;
  max-width: 1280px;
  margin: 0 auto;
  margin-top: 75px;
  padding: 0 10px;

  

  .breadcrumbs_container {
    display: flex;
    font-family: 'Open sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: var(--secondary-color);
    gap: 25px;
    text-wrap: nowrap;
    .back {
      color: var(--secondary-color);
      display: flex;
      align-items: center;
      gap: 9px;
      margin-bottom: 15px;
    }
    .breadcrumbs {
      span {
        color: var(--primary-color);
      }
      a {
        color: var(--secondary-color);
      }
    }
  }
  .title {
    width: 100%;
    max-width: 1000px;
    font-family: 'Open sans', sans-serif;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 28px;
  }
  .description {
    display: flex;
    justify-content: space-evenly;
    gap: 20px;
    .img {
      overflow: clip;
      height: 450px;
      border-radius: 10px;
      width: 386px;
      object-fit: cover;
      object-position: center;
    }
    .description_wrapper {
      width: 100%;
      max-width: 350px;
      display: flex;
      flex-direction: column;
      font-family: 'montserrat', sans-serif;
      .description_text {
        font-family: 'Open sans', sans-serif;
        max-width: 415px;
        font-weight: 500;
        font-size: 16px;
        margin-bottom: 20px;
        color: var(--secondary-color);
      }
      .description_hr {
        border: none;
        height: 2px;
        background-color: var(--primary-color);
      }
      .properties {
        color: var(--secondary-color);
        font-weight: 600;
        font-size: 14px;
        margin-top: 17px;
        li {
          display: flex;
          justify-content: space-between;
          margin-top: 15px;
          border-bottom: 1px solid #c8cbd0
        }
        .properties_title {
          font-weight: 600;
          min-width: 201px;
        }
        .properties_content {
          text-align: right;
          font-weight: normal;
        }
        .properties_hr{
          border: none;
          height: 0.5px;
          background-color: #c8cbd0;
        }
      }
    }
  }

  .product_offer_mobile,
  .product_offer {
    background-color: #fff;
    box-shadow: 0px 2px 12px 3px #0000001a;
    border: 2px solid #c8cbd0;
    width: 370px;
    position: sticky;
    top: 120px;
    z-index: 1;
    padding: 15px 15px;
    height: fit-content;
    border-radius: 10px;
    font-family: 'montserrat', sans-serif;
    .price {
      font-weight: 600;
      font-size: 26px;
      text-wrap: nowrap;
      color: #1F2937;
      margin-bottom: 10px;
    }
    .btn {
      width: 100%;
      cursor: pointer;
      text-wrap: nowrap;
      border: none;
      background-color: var(--primary-color);
      padding: 16px 0px;
      color: var(--text-color);
      border-radius: 10px;
      font-weight: 600;
      font-size: 18px;
    }
    .in_cart{
      display: flex;
      align-items: center;
      background-color: var(--primary-color);
      justify-content: space-between;
      height: 53px;
      border-radius: 10px;
      .price{
        display: flex;
        flex-direction: column;
        align-items: center;
        color: #f0f0f0;
        text-wrap: nowrap;
        margin-bottom: 0;
        .quantity{
          font-size: 16px;
          font-weight: 600;
        }
        .total_price{
          font-weight: 600;
          font-size: 14px;
          text-wrap: nowrap;
        }
      }
      .card_btn {
        background-color: var(--primary-color);
        width: 65px;
        display: flex;
        align-items: center;
        margin-top: 0;
        padding: 0px 23px;
        border: none;
        cursor: pointer;
        border-radius: 15px;
        svg{
          path{
            fill:#f0f0f0;
          }
          height: 32px;
          width: 32px;
        }
      }
    }
  }
  .product_offer_mobile {
    display: none;
    bottom: 10px;
    width: 90%;
    margin: 0 auto;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    z-index: 1;
    background-color: #fff;
    padding: 10px 20px;
    .price{
      margin-bottom: 0;
    }
    .btn{
      margin-top: 0;
    }
    .in_cart{
      max-width: 290px;
      /* width: 100%; */
    }
  }
  .reviews {
    h2 {
      font-family: 'Open sans', sans-serif;
      color: var(--secondary-color);
      font-weight: 600;
      font-size: 26px;
      margin-top: 73px;
      margin-bottom: 43px;
    }
    h3{
      font-family: 'Open sans', sans-serif;
      font-weight: 400;
      font-size: 20px;
      margin-bottom: 20px;
    }
    .create_review{
      display: flex;
      flex-direction: column;
      margin-bottom: 110px;
      background-color: #fff;
      box-shadow: 0px 2px 12px 3px #0000001a;
      border: 2px solid #c8cbd0;
      border-radius: 7px;
      padding: 10px;
      
      gap: 10px;
      .assessment{
        .assessment_title{
          font-family: 'Open sans', sans-serif;
          font-weight: 400;
          font-size: 16px;
          margin-bottom: 40px;
        }
        .assessment_form{
          width: fit-content;
          display: flex;
          flex-direction: row-reverse;
          
          input{
            display: none;
          }

          label{
            cursor: pointer;
            svg{
              height: auto;
              width: 30px;
              path{
                fill: #CECECE;
              }
            }
          }
          input[type=radio]:checked~label{
            svg path{
              fill: #FAC917;
            }
          }
          label:hover,
          label:hover~label{
            svg path{
              fill: #FAC917;
            }
          }
        }
      }
      textarea{
        max-width: 600px;
        resize: none;
        font-family: 'Open sans', sans-serif;
        font-weight: 600;
        border: none;
        font-size: 16px;
        padding: 15px;
        border-radius: 17px;
        background-color: #fff;
        box-shadow: 0px 2px 12px 3px #0000001a;
        border: 2px solid #c8cbd0;
        /* color: #000; */
        height: 100px;
        &::placeholder{
          /* color: var(--text-color); */
        }
        &:focus{
          outline: none;
        }
      }
      select{
        width: 100px;
        font-family: 'Open sans', sans-serif;
        font-weight: 600;
        border: none;
        font-size: 16px;
        padding: 15px;
        border-radius: 17px;
        background-color: #fff;
        box-shadow: 0px 2px 12px 3px #0000001a;
        border: 2px solid #c8cbd0;
        /* color: var(--text-color); */
      }
      button {
        font-family: 'montserrat', sans-serif;
        font-size: 16px;
        font-weight: 600;
        padding: 10px 20px;
        width: fit-content;
        margin-top: 10px;
        border: none;
        background-color: var(--button-color);
        border-radius: 15px;
        cursor: pointer;
        color: var(--text-color);
      }
    }
    .reviews_container {
      margin-top: 50px;
      display: flex;
      flex-direction: column;
      gap: 30px;
      .review {
        background-color: #fff;
        /* box-shadow: 0px 2px 12px 3px #0000001a; */
        border: 2px solid #c8cbd0;
        padding: 15px;
        max-width: 850px;
        border-radius: 10px;
        font-family: 'montserrat', sans-serif;
        font-weight: 500;
        .review_top {
          display: flex;
          justify-content: space-between;
          .review_name {
            font-weight: 600;
          }
          .date_created{
            font-size: 14px;
          }
        }
        .review_rating {
          margin-top: 5px;
          gap: 0px;
          display: flex;
          svg{
            height: 16px;
          }
        }
        .review_text {
          font-size: 14px;
          margin-top: 20px;
        }
        .review_delete{
          text-align: end;
          button{
            padding: 2px 2px;
            width: fit-content;
            margin-top: 10px;
            border: none;
            background-color: #fff;
            border-radius: 15px;
            cursor: pointer;
            svg{
              height: 20px;
              width: fit-content;
              g{
                /* fill: var(--text-color); */
              }
            }
          }
        }
      }
    }
  }
  .wrapper {
    width: 100%;
    gap: 20px;
    position: relative;
  }
  @media (max-width: 1290px) {
    .title{
      max-width: 1000px;
    }
  }
  @media (max-width: 1200px) {
    .title{
      max-width: 1000px;
    }
    .product_offer {
      display: none;
    }
    .product_offer_mobile {
      display: flex;
      .btn{
        width: 200px;
      }
    }
    .description{
      justify-content: space-between;
      .description_wrapper{
        .description_text{
          margin-bottom: 20px;
        }
        .properties{
          margin-top: 10px;
        }
      }
    }
    .wrapper {
      width: 100%;
    }
  }
  @media (max-width: 1130px) {
    padding: 0 20px;
    .product_offer {
      display: none;
    }
    .product_offer_mobile {
      display: flex;
      .price{
        font-size: 18px;
      }
    }
    .description {
      justify-content: space-between;
      /* width: 100%; */
    }
    
    .reviews {
      h2 {
        font-family: 'Open sans', sans-serif;
        color: var(--secondary-color);
        font-weight: 600;
        /* font-size: 36px; */
        margin-top: 73px;
      }
      .reviews_container {
        .review {
          width: 100%;
          margin: 0 auto;
        }
      }
    }
  }
  @media (max-width: 860px) {
    .description {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 20px;
      .img {
        width: 386px;
      }
      .description_wrapper {
        width: 100%;
        .properties {
          font-size: 16px;
          li {
            display: flex;
            margin-top: 15px;
          }
          .properties_title {
            min-width: 201px;
          }
        }
      }
    }
  }
  @media (max-width: 768px) {
    .product_offer_mobile {
      padding: 10px 10px;
    }
    .title {
      font-size: 26px;
    }
    .product_offer_mobile {
      gap: 10px;
    }
    
  }
  @media (max-width: 550px) {
    width: 85%;
    padding: 0;
    .reviews{
      h2{
        font-size: 26px;
      }
    }
    .breadcrumbs_container {
      /* flex-direction: column; */
      align-items: center;
      gap: 5px;
      .back{
        margin-bottom: 0;

      }
      .breadcrumbs{
        font-size: 13px;
        margin-left: 19px;
      }
      margin-bottom: 30px;
    }
    .title {
      font-size: 24px;
    }
    .product_offer_mobile {
      
      flex-direction: column;
      .price {
        font-size: 16px;
      }
      .btn {
        font-size: 16px;
        margin-top: 0;
        width: fit-content;
        padding: 15px 23px;
      }
      .in_cart{
        height: 48px;
        .card_btn{
          padding: 0px 24px;
        }
        .price{
          .quantity{
            font-size: 14px;
          }
          .total_price{
            font-size: 12px;
          }
        }
      }
    }
    .description {
      .description_wrapper{
        .description_text {
          font-size: 14px;
        }
        .properties{
          li{
            font-size: 14px;
            margin-top: 5px;
          }
        }
      }
      .img {
        height: 300px;
        max-width: 100%;
        width: auto;
      }
    }
  }
  @media (max-width: 375px) {
    width: 90%;
    /* .breadcrumbs_container {
      font-size: 16px;
      .back {
        svg {
          height: 16px;
        }
      }
    } */
    padding: 0 10px;
    .product_offer_mobile {
      .in_cart{
        height: 48px;
        .card_btn{
          padding: 0px 24px;
        }
        
      }
      .btn {
        margin-top: 0;
        padding: 15px 20px;
      }
    }
  }
}
