.loading_state {
  min-height: 500px;  
@include Flex
}

.Product {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  .header_link{
    width: 90%;
    margin-inline: auto;
  }
  > main {
    padding-inline: 10%;
    margin-top: 30px;
    display: flex;
    width: 100%;
    gap: 10%;
  }
  .Product_left {
    display: flex;
    width: 45%;
    > span {
      display: flex;
      flex-direction: column;
      gap: 20px;
      > img {
        width: 50%;
        margin-inline: auto;
      }
      .gallery_product {
        display: flex;
        gap: 20px;
        overflow-x: scroll;
        // max-width: 40vw;
        &::-webkit-scrollbar {
          display: none;
        }
        span {
          padding: 10px 15px;
          border: 2px solid rgba(128, 128, 128, 0.1);
          width: 100%;
          > img {
            width: 100%;
            cursor: pointer;
          }
        }
      }
    } 
  }

  .Product_Right {
      display: flex;
      flex-direction: column;
      gap: 20px;
      align-items: flex-start;
      padding-top: 2%;
      h1 {
        font-size: 4vw;
      }
      > div {
        display: flex;
        flex-direction: column;
        gap: 20px;
        > span {
          display: flex;
          align-items: flex-start;
          gap: 20px;
          width: 80%;
          h6 {
            color: gray;
            position: relative;
            min-width: 80px;
          }
        }
      }
    }
}

.Products {
  display: flex;
  flex-direction: column;
  margin-inline: auto;
  width: var(--padding-page);
  margin-block: var(--margin-block);
  gap: 0px;

  > header {
    display: flex;
    justify-content: space-between;
  }

  .ProductCards {
    max-width: 90vw;
    margin-inline: auto;
    display: flex;
    // gap: 40px;
    // overflow-x: scroll;

    // &::-webkit-scrollbar {
    //   display: none;
    // }
  }
}


@media screen and (max-width:700px) {
  .Product {
    display: flex;
    min-height: 100vh;
    .header_link{
      width: 90%;
      margin-inline: auto;
    }
    > main {
      padding-inline: 10%;
      margin-top: 30px;
      display: flex;flex-direction: column;
      width: 100%;
      gap: 10%;
    }
    .Product_left {
      display: flex;
      width: 90%;
      margin-inline: auto;
      > span {
        display: flex;
        flex-direction: column;
        gap: 20px;
        > img {
          width: 60%;
          margin-inline: auto;
        }
        .gallery_product {
          display: flex;
          gap: 20px;
          // overflow-x: scroll;
          // &::-webkit-scrollbar {
          //   display: none;
          // }
          span {
            padding: 10px 10px;
            border: 2px solid rgba(128, 128, 128, 0.1);
            width: 100%;
            > img {
              width: 100%;
              cursor: pointer;
            }
          }
        }
      } 
    }
  
    .Product_Right {
        width: 90%;
        margin-inline: auto;
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding-top: 2%;
        h1 {
          font-size: 4vw;
        }
        > div {
          display: flex;
          flex-direction: column;
          gap: 20px;
          > span {
            display: flex;
            align-items: flex-start;
            gap: 20px;
            width: 100%;
            h6 {
              color: gray;
              position: relative;
              min-width: 80px;
            }
          }
        }
      }
  }
}