@import url("global.css");
@import url("product-container.css");
* {
  margin: 0;
  padding: 0;
}
.container {
  min-height: 70vh;
  margin: 0 20vw;
  position: relative;
  display: flex;
  flex-direction: column;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.container > div:first-child {
  margin-top: 80px;
}
/* image slider */
.slider-wrapper {
  position: relative;
  max-width: 54vw;
}
.slider {
  display: flex;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  scroll-snap-type: x mandatory;
}
.image-slide {
  position: absolute;
  flex: 1 0 100%;
  scroll-snap-align: start;
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  opacity: 0;
  transition: opacity 0.5s linear;
}
.active-slide {
  opacity: 1;
} /* navigation dot */
.slider-nav {
  text-align: center;
  padding: 16px;
}
.dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background: #717171;
  border-radius: 50%;
  display: inline-block;
  transition: width 0.5s ease;
  cursor: pointer;
}
.dot:hover {
  cursor: pointer;
  background: #333;
}
.dot.active-dot {
  background: none;
  height: 19px;
  width: 19px;
  border: 2px solid black;
  transform: translateY(10%);
} /* section control */
.sections:last-child {
  margin-bottom: 140px;
}
.QLContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 10px 0;
}
.QLContainer p {
  font-size: 16px;
  margin-bottom: 30px;
}
.QLContainer .catWrapper {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 30px;
  gap: 30px;
  justify-content: center;
}
.cats {
  border-radius: 15px;
  padding: 10px;
  border: 1px solid #ddd;
  transition: all 0.2s linear;
}
.cats:hover {
  border-radius: 0;
  border-color: #ffa5006e;
  box-shadow: 0px 0px 42px 2px rgb(255 152 0 / 25%);
  .inner-cats p {
    color: #ff7300;
  }
}
.inner-cats {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.inner-cats p {
  font-size: 16px;
  margin-bottom: 20px;
}
.inner-cats img {
  width: 78px;
  padding: 10px;
}
.categories {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  column-gap: 10%;
  max-width: 100%;
  overflow: auto;
}
.product-text {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.product-text p {
  padding: 8px;
  font-size: 13px;
  background: #00000017;
  border-radius: 20px;
}
@media (max-width: 768px) {
  .container {
    margin: 2%;
  }
  .slider-wrapper {
    max-width: 100vw;
  }
  .QLContainer h2 {
    margin: 15px 0;
  }
  .QLContainer .catWrapper {
    gap: 20px;
  }
  .cats {
    padding: 8px;
    border: 1px solid #ddd;
  }
  .inner-cats p {
    font-size: 11px;
    margin-bottom: 5px;
  }
  .inner-cats img {
    width: 50px;
    padding: 0;
  }
  .sections:last-child {
    margin-bottom: 10vh;
  }
  .product-text h2 {
    font-size: 22px;
  }
}
