.home_page {
  .HeroSection {
    display: flex;
    padding: 10% 6%;
    position: relative;
    width: 100%;
    z-index: 99;
    min-height: 100vh;

    &::after {
      position: absolute;
      content: "";
      top: 0;
      right: 0;
      background: url("../../../public/Home/HeroShape.svg");
      background-size: cover;
      background-repeat: no-repeat;
      width: 40%;
      height: 100%;
      z-index: -1;
    }

    > div {
      display: flex;
      flex-direction: column;
      width: 45%;
      gap: 20px;

      h1 {
        font-size: 4.4vw;
        font-weight: bold;
      }

      > div {
        display: flex;
        gap: 30px;

        h3 {
          font-weight: bold;
        }

        button {
          padding-inline: 10%;
          border-radius: 2vw;
        }
      }
    }

    > span {
      img {
        width: 25vw;
      }
    }
  }

  .CategoriesSlider {
    width: var(--padding-page);
    margin-inline: auto;
    margin-block: var(--margin-block);

    [role="button"] {
      color: var(--text) !important;
    }

    .CategoriesSlider_image {
      padding: 10px 30px;
      width: 152px;
      height: 160px;
      border: 1px solid #d9d9d9;
      border-radius: 10px;
      display: flex;
      justify-content: center;
      align-items: center;

      img {
        min-width: 140px;
        max-width: 140px;
        height: 150px;
        border-radius: 10px;
      }
    }
  }

  .ProductsOnSale {
    position: relative;
    margin-inline: auto;
    border-radius: var(--border-radius);
    width: var(--padding-page);
    background: var(--primary-low-opacity);
    color: var(--secondary);
    margin-block: var(--margin-block);
    padding: 4% 10% 6% 10%;
    min-height: 350px;
    display: flex;

    &::after {
      position: absolute;
      content: "";
      left: 0;
      top: 0;
      background: url("../../../public/Home/slider-shape.png");
      background-size: cover;
      background-repeat: no-repeat;
      width: 40%;
      height: 100%;
      z-index: 1;
    }

    > span {
      z-index: 999999;
      display: flex;
      flex-direction: column;
      text-align: center;
      width: 30%;
      gap: 50px;

      > button {
        all: unset;
      }
    }

    .OnSaleSlider {
      display: flex;
      gap: 30px;
      width: 100%;
      overflow-x: scroll;

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

    .pagination {
      position: absolute;
      bottom: 3%;
      right: 3%;
      display: flex;

      gap: 10px;

      > div {
        background-color: var(--secondary);
        border-radius: 50%;
        width: 30px;
        height: 30px;
        color: var(--primary);
        display: flex;
        justify-content: center;
        align-items: center;

        svg {
          font-size: 25px;
        }
      }
    }
  }

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

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

    .ProductCards {
      margin-inline: auto;
      max-width: 90vw;
      display: flex;
      gap: 20px;
      overflow-x: scroll;
      
      &::-webkit-scrollbar {
        display: none;
      }
    }
  }

  .PremiumDesign {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;

    > h1 {
      font-size: 5vw;
    }

    > p {
      width: 40%;
      text-align: center;
    }

    img {
      width: 100%;
    }
  }

  .NoiseCancellation {
    img {
      width: 100%;
    }
  }

  .BoseHeadphones {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
    margin-block: var(--margin-block);

    > div {
      position: absolute;
      color: var(--secondary);
      width: 70%;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 0px;

      h1 {
        font-size: 7vw;
        font-weight: bold;
      }

      h6 {
        font-size: 1.3vw;
      }

      button {
        font-size: 2vw;
        padding: 20px 2.4vw;
        margin-top: 50px;
        border-radius: 1vw;
      }

      svg {
        font-size: 3vw;
      }
    }

    > img {
      width: 100%;
    }
  }

  .BatteryLife,
  .PerfectSound {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    img{
      width: 54%;
    }
     div {
      width: 46%;

      h1 {
        font-size: 5vw;
        font-weight: 500;
      }

      p {
        font-size: 1.24vw;
      }
    }
  }

  .PerfectSound {
    flex-direction: row-reverse;

    > div {
      padding-right: 5%;

      h1 {
        font-size: 4vw;
      }
    }
  }
  .BatteryLife{
    width: 84%;
    margin-inline: auto;
    p{
      font-size: 1.38vw !important;
    }
  }
}

@media screen and (max-width: 1000px) {
  .home_page {
    .HeroSection {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 30px;
      padding: max(10%,100px ) 6%;
      position: relative;
      width: 100%;
      z-index: 99;
      min-height: 100vh;

      &::after {
        position: absolute;
        content: "";
        right: 0;
        top: 0;
        background: url("../../../public/Home/HeroShape.svg");
        background-size: cover;
        background-repeat: no-repeat;
        width: 40%;
        height: 100%;
        z-index: -1;
      }

      > div {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 45%;
        gap: 20px;

        h1 {
          font-size: 9vw;
          font-weight: bold;
          text-align: center;
        }

        > div {
          display: flex;
          flex-direction: column;
          gap: 10px;
          // display: none;

          h3 {
            font-weight: bold;
          }

          button {
            font-size: 20px;
            padding-inline: 10%;
            border-radius: 2vw;
          }
        }
      }

      > span {
        img {
          width: 50VW;
        }
      }
    }

    .CategoriesSlider {
      width: var(--padding-page);
      margin-inline: auto;
      margin-block: var(--margin-block);

      [role="button"] {
        color: var(--text) !important;
      }
      .swiper-slide{
        min-width: 150px;
      }
      .CategoriesSlider_image {
        padding: 4% 10%;
        border: 1px solid #d9d9d9;
        border-radius: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 110px;
        height: 110px;
        img {
          min-width: 100px;
          max-width: 100px;
          height: 100px;

        }
      }
    }

    .ProductsOnSale {
      display: none;
    }

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

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

      .ProductCards {
        display: flex;
        gap: 20px;

        overflow-x: scroll;

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

    .PremiumDesign {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 10px;

      > h1 {
        font-size: 5.5vw;
      }

      > p {
        width: 70%;
        text-align: center;
        font-size: 2.5vw;
      }

      img {
        width: 100%;
      }
    }

    .NoiseCancellation {
      img {
        width: 100%;
      }
    }

    .BoseHeadphones {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
      position: relative;
      margin-block: var(--margin-block);

      > div {
        position: absolute;
        color: var(--secondary);
        width: 70%;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0px;

        h1 {
          font-size: 7vw;
          font-weight: bold;
        }

        h6 {
          font-size: 3vw;
        }

        button {
          font-size: 2vw;
          padding: 10px 2.4vw;
          margin-top: 50px;
          border-radius: 1vw;
        }

        svg {
          font-size: 3vw;
        }
      }

      > img {
        width: 100%;
      }
    }

    .BatteryLife,
    .PerfectSound {
      display: flex;
      justify-content: space-between;
      align-items: center;
      justify-content: center;
      max-width: 100vw;
      flex-wrap: wrap;
      text-align: center;
      img{
        width: 100%;
      }
      > div {
        width: 80%;

        h1 {
          font-size: 5vw;
          font-weight: bold;
        }

        p {
          font-size: 2.5vw;
        }
      }

      > img {
        max-width: 60vw;
      }
    }

    .PerfectSound {
      flex-direction: row-reverse;

      > div {
        padding-right: 5%;
        p{
          font-size: 2.5vw;
        }
        h1 {
          font-size: 4.8vw;
        }
      }
    }
  }
}


.ar{

  .home_page{
     .HeroSection {
      &::after{
        scale: -1;
        right: auto;
        left: 0 !important;
      }
    > div {
      display: flex;
      flex-direction: column;
      width: 60%;

      h1 {
        font-size: 6vw;
        font-weight: bold;
      }

      > div {
        display: flex;
        gap: 30px
      }
    }

  }
  }
 
}

.swiper-button-prev:after, .swiper-button-next:after{
  background: var(--white);
  padding: 4px;
  border-radius: 10px;
  font-size: 30px;
}