theme-featured-collection-tabs {
  display: contents;
}

.section-featured-collection {
  background-color: rgb(var(--color-background));
}

.featured-collection__tabs-wrapper {
  width: 100%;
}

.featured-collection__tabs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-block-end: 40px;
}

.featured-collection__tabs-list {
  display: flex;
  gap: 20px;
  overflow-x: auto;
}

.featured-collection__tabs-content {
  position: relative;
}

.featured-collection__tabs-content-inner {
  animation: column-fade-in 0.8s ease;
  animation-fill-mode: forwards;
}

@media (max-width: 959px) {
  .featured-collection__tabs-content-inner.mobile-full-width {
    width: var(--body-container-width);
    margin-inline-start: calc(50% - calc(var(--body-container-width) / 2));
  }

  .featured-collection__tabs-content-inner.mobile-full-width
    .product-card-border-shadow {
    border-radius: 0;
  }

  .featured-collection__tabs-content-inner.mobile-full-width
    .featured-collection__track {
    gap: 0;
  }
}

@media (min-width: 960px) {
  .featured-collection__tabs-content-inner.desktop-full-width
    .featured-collection__track {
    width: var(--body-container-width);
    padding-inline: var(--page-padding);
    margin-inline-start: calc(50% - calc(var(--body-container-width) / 2));
    scroll-padding-inline: var(--page-padding);
  }
}

.featured-collection__tab {
  padding: 10px 20px;
  color: var(--tab-color);
  white-space: nowrap;
  cursor: pointer;
  background-color: var(--tab-background-color);
  border-color: var(--tab-border-color);
  border-style: solid;
  border-width: 1px;
  border-radius: 6px;
}

.featured-collection__tab.active {
  color: var(--tab-active-color);
  background-color: var(--tab-active-background-color);
  border-color: var(--tab-active-border-color);
}

.featured-collection__tabs-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 550px;
}

.featured-collection__tabs-loading svg {
  width: 40px;
  height: 40px;
}

.featured-collection__carousel
  .featured-collection__carousel-indicator-progress {
  max-width: 480px;
  height: 6px;
}

.featured-collection__carousel-view-more {
  background-color: #e1e4e8;
}

.featured-collection__carousel-view-more a {
  color: #000;
}

.featured-collection__carousel-view-more a::after {
  display: none;
}

.featured-collection__carousel-view-more-button {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.featured-collection__carousel-view-more-button-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #fff;
  border-radius: 50%;
}

.featured-collection__button {
  position: absolute;
  inset-block-start: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: rgb(255 255 255 / 100%);
  background-color: rgb(0 0 0 / 100%);
  border: 0;
  border-radius: 2px;
  box-shadow: 0 4px 10px rgb(0 0 0 / 15%);
}

.featured-collection__button:disabled {
  display: none;
}

.featured-collection__button--previous {
  inset-inline-start: 0;
}

.featured-collection__button--previous svg {
  transform: rotate(180deg);
}

.featured-collection__button--next {
  inset-inline-end: 0;
}

/* Tevlora homepage product-card typography */
.section-featured-collection .block-product-card-info {
  gap: 7px !important;
  padding-top: 4px;
}

.section-featured-collection .block-product-title {
  min-height: 0;
  padding: 0;
  font-weight: 700;
  line-height: 1.3;
}

.section-featured-collection .product-price {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  align-items: baseline;
  white-space: nowrap;
}

.section-featured-collection .product-price__sale {
  color: #d52b1e;
  font-size: 15px;
  font-weight: 800;
}

.section-featured-collection .product-price__origin {
  color: #77736a;
  font-size: 11px;
}

.section-featured-collection .block-product-card__discount-tag {
  padding: 6px 10px;
  color: #fff;
  background: #d52b1e;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

@media (max-width: 959px) {
  .section-featured-collection .block-product-card-info {
    gap: 4px !important;
  }

  .section-featured-collection .block-product-title {
    font-size: 12px !important;
  }

  .section-featured-collection .product-price {
    gap: 3px;
  }

  .section-featured-collection .product-price__sale {
    font-size: 12px !important;
  }

  .section-featured-collection .product-price__origin {
    max-width: 68px;
    overflow: hidden;
    font-size: 9px !important;
    text-overflow: clip;
  }
}
