@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.zg-subcate-container {
  padding-bottom: 15px;
  --zg-subcate-list-gap: 1.5rem;
}

.zg-subcate.carousel__track {
  display: flex;
  gap: var(--zg-subcate-list-gap);
}

.zg-subcate-title {
  font-family: Proxima Nova;
  font-weight: 500;
  font-size: 24px;
  color: rgb(1, 1, 1);
  line-height: 29px;
  letter-spacing: 0.25px;
  padding-top: 10px;
  padding-bottom: 15px;
}

.zg-subcate .zg-subcate__link-img {
  background: #F5F5F5;
  width: 100%;
  aspect-ratio: 1;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.zg-subcate .zg-subcate__link-text {
  font-size: 16px;
  color: rgb(33, 33, 33);
  line-height: 150%;
  font-weight: 600;
  display: block;
  margin-top: 7px;
}

.zg-subcate .zg-subcate__link-text:hover {
  text-decoration: underline;
  color: #757575;
}

.zg-subcate .qd-custom-product-card:hover .zg-subcate__link-text {
  text-decoration: underline;
}

.zg-subcategory-arrows .qd-image-with-text-slideshow__pager--arrow {
  position: absolute;
  justify-content: space-between;
  top: 50%;
  transform: translateY(-50%);
}

.zg-subcategory-arrows .qd-image-with-text-slideshow__pager--arrow[name="previous"] {
  left: 20px;
}
.zg-subcategory-arrows .qd-image-with-text-slideshow__pager--arrow[name="next"] {
  right: 20px;
}

.zg-subcate-list {
  position: relative;
  width: 100%;
  display: block;
  height: fit-content;
}

.zg-subcate .qd-custom-product-card {
  width: 100%;
}

.zg-subcate__link-text.placeholder {
  /* background-color: #F5F5F5; */
  height: 20px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}


@media (min-width: 1800px)  {
  .zg-subcate .slideshow__item{
    width: calc((1800px - var(--page-padding) * 2 - var(--zg-subcate-list-gap) * 6) / 7);
  }
}

@media (min-width: 1201px) and (max-width: 1799px) {
  .zg-subcate .slideshow__item{
    width: calc((100vw - var(--page-padding) * 2 - var(--zg-subcate-list-gap) * 6) / 7);
  }
}

@media (min-width: 1025px) and (max-width: 1200px) {
  .zg-subcate .slideshow__item{
    width: calc((100vw - var(--page-padding) * 2 - var(--zg-subcate-list-gap) * 5) / 6);
  }
}

@media (min-width: 921px) and (max-width: 1024px) {
  .zg-subcate .slideshow__item{
    width: calc((100vw - var(--page-padding) * 2 - var(--zg-subcate-list-gap) * 4) / 5);
  }
}
@media (min-width: 801px) and (max-width: 920px) {
  .zg-subcate .slideshow__item{
    width: calc((100vw - var(--page-padding) * 2 - var(--zg-subcate-list-gap) * 3) / 4);
  }
}
@media (min-width: 641px) and (max-width: 800px) {
  .zg-subcate .slideshow__item{
    width: calc((100vw - var(--page-padding) * 2 - var(--zg-subcate-list-gap) * 2) / 3);
  }
}
@media (max-width: 640px) {
  .zg-subcate .slideshow__item{
    width: calc((100vw - var(--page-padding) * 2 - var(--zg-subcate-list-gap) * 1) / 2);
  }
}

.qd-image-with-text-slideshow__item {
  width: 100%;
}

.qd-image-with-text-slideshow__pager--arrow .arrow-wrap {
  height: 40px;
  width: 40px;
  font-size: 40px;
  background-color: rgba(255, 255, 255, 0.75);
  border: 1px solid silver;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  cursor: pointer;
  z-index: 2;
  border-radius: 50%;
}
.qd-image-with-text-slideshow__pager--arrow .arrow-wrap:hover {
  background-color: rgba(200, 200, 200, 0.75);
}

.qd-image-with-text-slideshow__pager--arrow .arrow-wrap svg {
  color: #333;;
}

.qd-image-with-text-slideshow__pager--arrow[name="previous"] .arrow-wrap {
  transform: rotate(90deg);
}
.qd-image-with-text-slideshow__pager--arrow[name="next"] .arrow-wrap {
  transform: rotate(-90deg);
}

@media (max-width: 959px) {
  .qd-image-with-text-slideshow__pager--arrows {
    inset-inline: auto 20px;
  }

  .qd-image-with-text-slideshow__pager--arrow svg {
    width: 10px;
    height: 10px;
  }
}
