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

:where(.featured-collection__tab) {
    margin: 0;
    font: inherit;
    text-align: inherit;
    appearance: none;
}

/* HRONA S10: Running product carousel calibration (DEV theme only) */
#shopline-section-template--index__hrona-running-product-carousel .section-featured-collection {
    border-block-start: 1px solid #dee0e3;
}

#shopline-section-template--index__hrona-running-product-carousel .block-heading {
    max-width: none;
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.02em;
    text-align: left;
}

#shopline-section-template--index__hrona-running-product-carousel .featured-collection__tabs-header {
    min-height: 0;
    margin-block-end: 20px;
}

#shopline-section-template--index__hrona-running-product-carousel .featured-collection__track {
    gap: 6px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

#shopline-section-template--index__hrona-running-product-carousel .featured-collection__track::-webkit-scrollbar {
    display: none;
}

#shopline-section-template--index__hrona-running-product-carousel .featured-collection__track>li {
    min-width: 0;
    scroll-snap-align: start;
}

#shopline-section-template--index__hrona-running-product-carousel .featured-collection__track>li:not(:has(.product-card)) {
    position: relative;
    aspect-ratio: 0.84 / 1;
    min-height: 280px;
    overflow: hidden;
    background: linear-gradient(145deg, #f4f5f6 0%, #e8eaec 100%);
}

#shopline-section-template--index__hrona-running-product-carousel .featured-collection__track>li:not(:has(.product-card))::before {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #767a7f;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    content: "HRONA PRODUCT";
}

@media (max-width: 767px) {
    #shopline-section-template--index__hrona-running-product-carousel .block-heading {
        font-size: 18px;
    }

    #shopline-section-template--index__hrona-running-product-carousel .featured-collection__tabs-header {
        margin-block-end: 12px;
    }

    #shopline-section-template--index__hrona-running-product-carousel .featured-collection__track {
        gap: 8px;
        padding-inline-end: 16px;
    }

    #shopline-section-template--index__hrona-running-product-carousel .featured-collection__track>li:not(:has(.product-card)) {
        min-height: 0;
    }
}


#shopline-section-template--index__hrona-running-product-carousel .featured-collection__tabs-list {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}

/* HRONA S15: instance-only empty-state and alignment calibration */
#shopline-section-template--index__hrona-running-product-carousel .section-featured-collection > .page-width {
  max-width: 1440px;
  padding-inline: 40px;
}
@media (min-width: 768px) {
  #shopline-section-template--index__hrona-running-product-carousel .featured-collection__track:has(> li:nth-child(4):last-child):not(:has(.product-card)) {
    display: grid;
    grid-auto-flow: row !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 6px;
    overflow-x: visible;
  }
  #shopline-section-template--index__hrona-running-product-carousel .featured-collection__track:has(> li:nth-child(4):last-child):not(:has(.product-card)) > li {
    width: auto !important;
    min-width: 0;
  }
}
@media (max-width: 767px) {
  #shopline-section-template--index__hrona-running-product-carousel .section-featured-collection > .page-width {
    padding-inline: 16px;
  }
}
