@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__title-group {
  margin-bottom: 20px;
  justify-content: center;
}

.featured-collection__title {
  text-align: center;
}

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

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

.featured-collection__title-group {
  display: flex;
  align-items: center;
  flex: 1;
  overflow: hidden;
  padding-right: 40px;
}

.featured-collection__title-line {
  display: inline-block;
  width: 203px;
  height: 1px;
  background-color: #000000;
  margin-left: 24px;
}

@media screen and (max-width: 959px) {
  .featured-collection__title-group {
    padding-right: 0;
    justify-content: center;
  }

  .featured-collection__title-line {
    width: 101px;
    margin-left: 12px;
  }
}

.featured-collection__title--ellipsis {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 900;
}

.featured-collection__tabs {
  display: flex;
  gap: 40px;
  margin-bottom: 50px;
  flex-wrap: nowrap;
  overflow-x: auto;
  align-items: center;
  flex: 1;
  margin-right: 20px;
}

@media screen and (max-width: 959px) {
  .featured-collection__tabs {
    margin-right: 0;
    margin-bottom: 20px;
    justify-content: center;
  }
  .featured-collection__tabs.flex-start {
    justify-content: flex-start;
  }
}

.featured-collection__tabs-item {
  white-space: nowrap;
  cursor: pointer;
  opacity: 0.4;
  text-transform: uppercase;
  padding: 10px 23px;
}

@media screen and (max-width: 959px) {
  .featured-collection__tabs-item {
    padding: 5px 10px;
    font-size: 16px;
  }
}

.featured-collection__tabs-item--active {
  opacity: 1;
  background-color: rgb(var(--color-button-background));
  color: rgb(var(--color-button-text));
  border-radius: var(--btn-border-radius);
}

.featured-collection slide-pagination {
  margin-bottom: 50px;
}

.featured-collection featured-collection-tabs > div {
  align-items: center;
}

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

@media screen and (max-width: 959px) {
  .featured-collection .slider__slide {
    scroll-snap-align: end;
  }
}

@media screen and (min-width: 960px) {
  .featured-collection slider-component:not(.page-width) {
    padding: 0;
  }

  .featured-collection .slider-component-full-width {
    padding: 0 15px;
    max-width: none;
  }
}

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

.featured-collection .slider {
  overflow-y: hidden;
}

.featured-collection .slider-button {
  border-radius: 2px;
  height: 40px;
  width: 40px;
  color: rgb(var(--color-button-text));
  background-color: rgb(var(--color-button-background));
  position: absolute;
  top: 40%;
  bottom: 100%;
  margin: auto;
}

.featured-collection .slider-button svg {
  width: 18px;
  height: 18px;
}

.featured-collection .slider-button--prev {
  left: 30px;
}

.featured-collection .slider-button--next {
  right: 30px;
}

.featured-collection .slider-component-full-width .slider-button--prev {
  left: 15px;
}

.featured-collection .slider-component-full-width .slider-button--next {
  right: 15px;
}

.featured-collection .slider-button[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}

.featured-collection .slider-button[disabled] .icon {
  color: rgba(var(--color-button-text));
}

@media screen and (max-width: 959px) {
  .featured-collection .slider:not(.slider--mobile) {
    flex-wrap: wrap;
  }
  .featured-collection .slider.slider--mobile {
    margin-bottom: 0;
  }
  .featured-collection .slider.slider--mobile.columns_mobile-1 .slider__slide {
    width: calc(var(--grid-horizontal-space) + 210px);
  }
  .featured-collection .slider.slider--mobile.columns_mobile-2 .slider__slide {
    width: calc(var(--grid-horizontal-space) + 130px);
  }
}

@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;
  }
}

/* fix:safari svg  */

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

/* 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 */
