@media screen and (max-width: 959px) {
  .featured-collection .grid__item:only-child {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media screen and (max-width: 959px) {
  .featured-collection .slider.slider--tablet {
    margin-bottom: 15px;
  }
}

@media screen and (max-width: 959px) {
  .featured-collection .slider--tablet.product-grid {
    /* scroll-padding-left: 15px; */
  }
}

.featured-collection .collection__description > * {
  margin: 0;
}

.featured-collection .collection__title {
  text-align: center;
  margin-bottom: 20px;
}

@media screen and (min-width: 960px) {
  .featured-collection .collection__title {
    margin-bottom: 40px;
  }
}

.featured-collection .collection__title .title:not(:only-child) {
  margin-bottom: 10px;
}

@media screen and (min-width: 960px) {
  .featured-collection .collection__title--desktop-slider .title {
    margin-bottom: 25px;
  }

  .featured-collection
    .collection__title.title-wrapper--self-padded-tablet-down {
    padding: 0 30px;
  }

  /* .featured-collection slider-component:not(.page-width) {
    padding: 0;
  } */
}

.featured-collection .collection__view-all a:not(.link) {
  margin-top: 10px;
}

@media screen and (max-width: 959px) {
  .featured-collection .slider:not(.slider--mobile) {
    flex-wrap: wrap;
  }

  .featured-collection .slider--desktop:not(.slider--mobile) + .slider-buttons {
    display: none;
  }
  .featured-collection .slider--mobile .slider__slide {
    width: calc((200vw - var(--page-padding)) / (2 * var(--mobile-cols) + 1));
  }
}

@media screen and (min-width: 960px) {
  .featured-collection .slider:not(.slider--desktop) {
    flex-wrap: wrap;
  }

  .featured-collection .slider--mobile:not(.slider--desktop) + .slider-buttons {
    display: none;
  }
  .featured-collection .slider--desktop {
    scroll-padding-left: var(--page-padding);
  }
}

/* fix:safari svg  */

.featured-collection .product-card-wrapper .placeholder svg {
  width: 100%;
}

.featured-collection .control__arrow-button[name="previous"] {
  position: absolute;
  left: 46px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
}

.featured-collection .control__arrow-button[name="previous"]:hover {
  transform: translateY(-50%) rotate(90deg) scale(1.12);
}

.featured-collection .control__arrow-button[name="next"] {
  position: absolute;
  right: 46px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
}

.featured-collection .control__arrow-button[name="next"]:hover {
  transform: translateY(-50%) rotate(-90deg) scale(1.12);
}

.featured-collection .control__dots {
  justify-content: center;
}

.featured-collection .control__dot {
  background-color: rgba(var(--color-text), 0.1);
}

.featured-collection .control__dot:hover {
  background-color: rgba(var(--color-text), 0.1);
}

.featured-collection .control__dot.is-active {
  background: rgb(var(--color-text));
}

.featured-collection .control__bars {
  margin-top: 30px;
  gap: 0;
  border-radius: 5px;
  padding-bottom: 0;
}

.featured-collection .control__bar {
  background: rgba(var(--color-text), 0.1);
  flex: 1;
  border: none;
  height: 6px;
}

.featured-collection .control__bar::after {
  content: none;
}

.featured-collection .control__bar:hover {
  background: rgba(var(--color-text), 0.1);
}

.featured-collection .control__bar.is-active {
  background: rgb(var(--color-text));
  border-radius: 5px;
}

@media screen and (max-width: 959px) {
  .featured-collection .control__bars {
    margin-top: 10px;
  }
}

.control__dot {
  display: block;
  padding: 0;
  width: 8px;
  height: 8px;
  margin: 7px;
  border: none;
  border-radius: 50%;
  transition: background 0.3s;
  cursor: pointer;
}

.control__dot.is-active {
  width: 10px;
  height: 10px;
  cursor: default;
}

.control__arrow-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  color: #000;
  background-color: #fff;
  box-shadow: 0 5px 5px rgb(0 0 0 / 10%);
  transition: transform 0.3s;
  border: none;
}

.control__arrow-button:hover {
  transform: scale(1.12);
}

.control__arrow-button[name="previous"] {
  transform: rotate(90deg);
  box-shadow: 5px 0 5px rgb(0 0 0 / 10%);
}

.control__arrow-button[name="previous"]:hover {
  transform: rotate(90deg) scale(1.12);
}

.control__arrow-button[name="next"] {
  transform: rotate(-90deg);
  box-shadow: -5px 0 5px rgb(0 0 0 / 10%);
}

.control__arrow-button[name="next"]:hover {
  transform: rotate(-90deg) scale(1.12);
}

/* The ipad end responds to the mobile end in vertical screen */

/* @custom-media --tablet (max-width: 959px); */

/* @custom-media --gt-mobile (min-width: 751px); */

/* detectingScreen need to consider the configuration of the tablet */
