* {
  padding: 0;
  margin: 0;
}
ul {
  list-style: none;
}
a {
  text-decoration: none !important;
}

body {
  --primary-clr: hsl(0deg 0% 14.51% / 75%);
  --black-clr: hsl(0deg 0% 14.51%);
}

.max_container {
  max-width: 1200px;
  margin: auto;
}

/* ==== Hero section starts ==== */
.swiper {
  max-width: 100%;

  .slides {
    height: 600px;
    background-repeat: no-repeat;

    @media (width< 992px) {
      height: 200px;
    }
  }
}

.animate_popup_1 {
  animation: popup 5.9s infinite ease;
}

@keyframes popup {
  0% {
    opacity: 0;
    position: absolute;
    bottom: -80px;
  }
  20% {
    opacity: 0;
    bottom: -40px;
  }
  40% {
    opacity: 1;
    bottom: 0;
    position: relative;
  }
  60% {
    opacity: 1;
    bottom: 0;
    position: relative;
  }
  80% {
    opacity: 1;
    bottom: 0;
    position: relative;
  }

  100% {
    opacity: 1;
    bottom: 0;
    position: relative;
  }
}
/* ==== Hero section ends ==== */

.cetegory_container {
  max-width: 1200px;
  margin: auto;
  padding: 1rem 0;
  .list {
    display: flex;
    padding-left: 0;
    @media (width < 768px) {
      flex-wrap: wrap;
    }
    li {
      all: unset;
      width: fit-content;
      a {
        color: var(--primary-clr);
        border-bottom: 1px solid transparent;
        display: inline-block;
      }
      .active {
        border-bottom: 1px solid var(--primary-clr);
      }
    }
  }
}

/* ==== main_contant_box ==== */
.main_contant_box {
  margin-top: 30px;
  padding: 1rem;
  position: relative;

  .main_product_img {
    display: block;
    width: 100%;
    max-width: 900px;
    aspect-ratio: 7/4;
    margin: 2rem auto 1rem auto;
    cursor: pointer;
  }

  .play_btn_icon {
    position: absolute;
    font-size: 45px;
    transform: translate(-50%);
    left: 50%;
    top: 50%;
    cursor: pointer;
    z-index: 10;
    @media (width < 768px) {
      top: 60%;
    }
  }
}

/* ==== Related_Products_Cards_Container ==== */
#Related_Products_Cards_Section {
  margin: 2rem auto;

  .cetegory_box_wraper {
    width: 100%;
    display: flex;
    justify-content: end;
    padding: 20px 10px;
    .cetegory_box {
      width: 100%;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      gap: 15px;
    }
    .cetegory {
      font-size: 17px;
      color: var(--primary-clr);
      border-bottom: 1px solid transparent;
      transition: 0.4s;
    }
    .active {
      border-bottom: 1px solid var(--primary-clr);
    }
  }

  #cards_container {
    max-width: 900px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    gap: 1rem;
    padding: 1rem;
    @media (width < 992px) {
      gap: 15px;
      grid-template-columns: repeat(2, 1fr);
    }

    .card {
      width: 100%;
      max-width: 300px;
      cursor: pointer;

      .image_box {
        height: 320px;
        margin-bottom: 10px;
        overflow: hidden;
        @media (width < 768px) {
          height: 200px;
        }
        .related_product_img {
          display: block;
          width: 100%;
          max-width: 100%;
          aspect-ratio: 3/4;
          object-fit: contain;
          transition: 0.4s;

          &:hover {
            max-width: 105%;
            width: 105%;
          }
        }
      }

      .contant_box {
        padding: 15px;

        .title {
          font-weight: 600;
          &:hover {
            text-decoration: underline;
          }
        }
        .price {
          font-size: 17px;
          letter-spacing: 1px;
        }
      }
    }
  }
}

/* ==== Modal ==== */
.modal {
  .modal-dialog {
    width: 60%;
    max-width: 700px;
    margin: auto;
    margin-top: 2rem;
    padding: 0;
    background: transparent;
    @media (width < 768px) {
      width: 90%;
    }

    .modal-content {
      background-color: transparent !important;
      border: none !important;
    }
    .modal-body {
      padding: 0;
      margin: 0;
      position: relative;

      .main_contant_video {
        width: 100%;
        min-height: 400px;
      }
    }
  }
}

/* ====> Cetegory_Cards_Section <==== */

#Cetegory_Cards_Section {
  margin: 2rem auto;

  .cetegory_box_wraper {
    width: 100%;
    display: flex;
    justify-content: end;
    padding: 20px 10px;
    .cetegory_box {
      width: 100%;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      gap: 15px;

      .cetegory {
        font-size: 17px;
        color: var(--primary-clr);
        border-bottom: 1px solid transparent;
        transition: 0.4s;
      }
      .active {
        border-bottom: 1px solid var(--primary-clr);
      }
    }
  }

  .cards_container {
    max-width: 900px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    gap: 1rem;
    padding: 1rem;
    @media (width < 992px) {
      gap: 15px;
      grid-template-columns: repeat(2, 1fr);
    }

    .card {
      width: 100%;
      max-width: 300px;
      cursor: pointer;

      .image_box {
        margin-bottom: 10px;
        .cetegory_card_img {
          display: block;
          width: 100%;
          max-width: 100%;
          aspect-ratio: 1/1;
          object-fit: contain;
        }
      }

      .contant_box {
        padding: 15px;

        .title {
          font-size: 18px;
          font-weight: 600;
        }
        .price {
          font-size: 16px;
        }
      }
    }
  }
}



