/* ------------------------------ */
/* ------ General (v2.2.1) ------ */
/* ------------------------------ */

.flickity {
  margin: 0;
}

.flickity-enabled {
  position: relative;
}

.flickity-enabled:focus {
  outline: none; 
}

.flickity-viewport {
  overflow: hidden;
  position: relative;
  height: 100%;
}

.flickity-slider {
  position: absolute;
  width: 100%;
  height: 100%;
}

.flickity-enabled.is-draggable {
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.flickity-enabled.is-draggable .flickity-viewport {
  cursor: move;
  cursor: -webkit-grab;
  cursor: grab;
  min-height: 420px;
}

.flickity-enabled.is-draggable .flickity-viewport.is-pointer-down {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}



/* ------------------------------ */
/* ----- Next & Prev Button ----- */
/* ------------------------------ */

.flickity-button {
  position: absolute;
  border: none;
  cursor: pointer;
  background-color: transparent;
  color: #333;
  transition: .5s;
}

.flickity-prev-next-button {
  top: 50%;
  width: 40px;
  height: 40px;
  transform: translateY(-50%);
}

.flickity-prev-next-button.previous { left: 20px; }
.flickity-prev-next-button.next { right: 20px; }

.flickity-prev-next-button .flickity-button-icon {
  position: absolute;
  left: 20%;
  top: 20%;
  width: 60%;
  height: 60%;
}



/* ------------------------------ */
/* ------------ Dots ------------ */
/* ------------------------------ */

.flickity-page-dots {
  position: absolute;
  width: 100%;
  bottom: 15px;
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
  line-height: 1;
}

.flickity-rtl .flickity-page-dots { direction: rtl; }

.flickity-page-dots .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 8px;
  background: #333;
  border-radius: 50%;
  opacity: 0.25;
  cursor: pointer;
}

.flickity-page-dots .dot.is-selected {
  opacity: 1;
}



/* ------------------------------ */
/* ----------- Slides ----------- */
/* ------------------------------ */

.flickity--gallery {
  padding-bottom: 3rem;
}

.slide {
  width: 100%;
}

.flickity--products .flickity-button:disabled {
    opacity: 0;
}

.flickity--products .flickity-prev-next-button.previous, .flickity--products .flickity-prev-next-button.next {
  top: -45px;
  width: 30px;
  height: 30px;
  padding: 0 !important;
  background: #eb1c74;
  transform: none;
}

.flickity--products .flickity-prev-next-button.next {
  right: 0;
}

.flickity--products .flickity-prev-next-button.previous {
  right: 37px;
  left: auto;
}

.flickity--products .flickity-prev-next-button.previous::after, .flickity--products .flickity-prev-next-button.next::after {
  content: "";
  position: absolute;
  top: 9px;
  width: 18px;
  height: 11px;
  background-image: url('/wp-content/themes/atik-child/img/iconset@2x_v2.png');
  background-size: 433px;
  background-repeat: no-repeat;
  background-position: -251px -22px;
}

.flickity--products .flickity-prev-next-button.previous::after {
  left: 5px;
  transform: rotate(90deg);
}

.flickity--products .flickity-prev-next-button.next::after {
  left: 7px;
  transform: rotate(-90deg);
}

.flickity--products .product {
  width: calc((100% - 60px) / 5);
  margin-right: 15px;
  margin-bottom: 0 !important;
}

.tax-product_cat .flickity--products .product {
  width: calc((100% - 45px) / 4);
  margin-right: 15px;
}


/* ------------------------------ */
/* --------- Responsive --------- */
/* ------------------------------ */


@media all and (max-width: 1279.98px) {


  .flickity--products .product {
    width: calc((100% - 45px) / 4);
    margin-right: 15px;
  }
  
  .tax-product_cat .flickity--products .product {
    width: calc((100% - 30px) / 3);
    margin-right: 15px;
  }

}


@media all and (max-width: 1023.98px) {


  .flickity-enabled.is-draggable .flickity-viewport {
    min-height: 465px;
  }

  .flickity--products .product {
    width: calc((100% - 30px) / 3);
    margin-right: 15px;
  }

  .tax-product_cat .flickity--products .product {
    width: calc((100% - 15px) / 2);
    margin-right: 15px;
  }

}



@media all and (max-width: 767px) {

  .flickity--products .product {
    width: calc((100% - 10px) / 2);
    margin-right: 10px;
  }

  .flickity-prev-next-button.previous {
      left: 10px;
  }

  .flickity-prev-next-button.next {
      right: 10px;
  }

}


@media (max-width: 575.98px) {

  .flickity--products .product, .tax-product_cat .flickity--products .product {
    width: 100%;
    margin-right: 10px;
  }

  

}