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

/* Ranking Badge - Premium boutique style for women's fashion */
.featured-collection__ranking-item {
    position: relative;
}

.featured-collection__ranking-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    min-width: 52px;
    padding: 6px 12px 6px 10px;
    font-family: "Didot", "Bodoni 72", "Playfair Display", "Times New Roman", Georgia, serif;
    font-style: italic;
    line-height: 1;
    color: #fff;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, #2b2b2b 0%, #4a4a4a 50%, #2b2b2b 100%);
    border-radius: 999px 999px 999px 4px;
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

/* subtle shimmer highlight */
.featured-collection__ranking-badge::before {
    position: absolute;
    inset: 1px;
    pointer-events: none;
    content: "";
    background: linear-gradient(115deg,
            rgba(255, 255, 255, 0) 30%,
            rgba(255, 255, 255, 0.35) 50%,
            rgba(255, 255, 255, 0) 70%);
    border-radius: inherit;
    opacity: 0.7;
    mix-blend-mode: overlay;
}

.featured-collection__ranking-badge-label {
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    opacity: 0.85;
}

.featured-collection__ranking-badge-number {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Top 3 share refined typography on light metal backgrounds */
.featured-collection__ranking-badge.top-3 {
    color: #4a2c1a;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* No.1 — Champagne gold */
.featured-collection__ranking-badge.rank-1 {
    color: #5a3a12;
    background:
        linear-gradient(135deg,
            #fff4cf 0%,
            #f7d774 22%,
            #d9a441 50%,
            #f3cf6d 78%,
            #fff4cf 100%);
    box-shadow:
        0 4px 12px rgba(196, 142, 36, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        inset 0 -1px 0 rgba(120, 75, 10, 0.25);
}

/* No.2 — Pearl silver */
.featured-collection__ranking-badge.rank-2 {
    color: #444a52;
    background:
        linear-gradient(135deg,
            #ffffff 0%,
            #e6eaee 25%,
            #b8c0c8 55%,
            #e6eaee 80%,
            #ffffff 100%);
    box-shadow:
        0 4px 10px rgba(120, 130, 145, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.85),
        inset 0 -1px 0 rgba(90, 100, 115, 0.22);
}

/* No.3 — Rose gold */
.featured-collection__ranking-badge.rank-3 {
    color: #6a2a26;
    background:
        linear-gradient(135deg,
            #fde3da 0%,
            #f3b8a3 25%,
            #d68a72 55%,
            #f3b8a3 80%,
            #fde3da 100%);
    box-shadow:
        0 4px 10px rgba(192, 110, 88, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.65),
        inset 0 -1px 0 rgba(130, 55, 40, 0.22);
}

@media (max-width: 959px) {
    .featured-collection__ranking-badge {
        top: 8px;
        left: 8px;
        min-width: 44px;
        padding: 5px 10px 5px 8px;
    }

    .featured-collection__ranking-badge-label {
        font-size: 9px;
    }

    .featured-collection__ranking-badge-number {
        font-size: 15px;
    }
}