@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: 10px;
}

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

@media screen and (min-width: 960px) {
  .featured-collection__title-group {
    margin-bottom: 20px;
  }
  .featured-collection slider-component.page-width {
    overflow: hidden;
  }
}

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

.featured-collection__title-group {
  display: flex;
  align-items: center;
  overflow: hidden;
  justify-content: space-between;
  min-height: 40px;
}

@media screen and (max-width: 959px) {
  .featured-collection__title-group {
    min-height: 24px;
  }
}

.featured-collection__title-line {
  display: inline-block;
  width: 203px;
  height: 1px;
  background-color: #000000;
  margin-left: 24px;
}
.featured-collection slider-component.page-width {
    padding-left: 0;
    padding-right: 0;
 }
@media screen and (max-width: 959px) {
  .featured-collection__title-group {
    padding-right: 0;
  }

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

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

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

.featured-collection__tabs-item {
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
}

@media screen and (max-width: 959px) {
  .featured-collection__tabs {
    margin-bottom: 40px;
  }

  .featured-collection .slider__slide {
    scroll-snap-align: end;
  }
}

.featured-collection__buttons {
  display: flex;
  align-items: center;
}

.featured-collection__buttons > *:last-child {
  margin-left: 16px;
}

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

  /* To show the hover state of the button */
  padding-bottom: 1px;
}

.featured-collection .slider-button {
  height: 40px;
  width: 40px;
  border-radius: 40px;
  border: 1px solid rgba(var(--color-text), 0.1);
  color: var(--color-text);
}

.featured-collection .slider-button[disabled] {
  color: rgba(var(--color-text), 0.3);
  cursor: not-allowed;
}

.featured-collection .slider-buttons .slider-button:last-child {
  margin-left: 10px;
}
.featured-collection .product-card-wrapper .product-card-info-box .product-tag {
    color: #F00;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    min-height: 18px;
}

@media screen and (max-width: 959px) {
  .featured-collection .slider:not(.slider--mobile) {
    flex-wrap: wrap;
  }
  .featured-collection .slider--mobile .slider__slide {
    width: calc((200vw - var(--page-padding)) / (2 * var(--mobile-cols) + 1));
    margin-right: 10px;
  }
  .featured-collection__title-group {
    margin-bottom: 20px;
  }
}

@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);
  }
 
}
.featured-collection .card-wrapper {
    position: relative;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
}
@media screen and (min-width: 960px) {
    .featured-collection .card-wrapper {
        min-height: 444px;
    }
    
}
/* 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 */
