.section-collection-showcase {
    --tab-nav-bg-active: transparent;
    --tab-transition-duration: 300ms;
    --tab-column-gap: 20px;
    --tab-row-gap: 24px;
    position: relative;
    background-color: rgb(var(--color-background));
}

.block-tab-switcher {
    display: flex;
    column-gap: var(--tab-column-gap);
}

.block-tab-switcher .tab-switcher__nav {
    display: flex;
    flex-direction: column;
    row-gap: var(--tab-row-gap);
    column-gap: var(--tab-column-gap);
    width: calc(calc(100% - var(--tab-column-gap) * 4) / 5);
}

.block-tab-switcher .tab-switcher__nav-item {
    display: -webkit-box;
    font-size: 14px;
    font-weight: 500;
    line-height: 36px;
    padding: 8px;
    cursor: pointer;
    transition: all var(--tab-transition-duration) ease;
    position: relative;
    white-space: nowrap;
    text-align: start;
    background-color: transparent;
    border: 0;
    max-width: 100%;
    color:#7d818a ;
}

.block-tab-switcher .tab-switcher__nav-content {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    max-width: max-content;
}

.block-tab-switcher .tab-switcher__nav-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: rgb(var(--color-text));
    transition: width var(--tab-transition-duration) ease;
    z-index: 1;
}

.block-tab-switcher .tab-switcher__nav-item:hover {
    background: var(--tab-nav-bg-active);
    color: rgb(var(--color-text));
}

.block-tab-switcher .tab-switcher__nav-item.active {
    background: var(--tab-nav-bg-active);
    color: rgb(var(--color-text));
    font-weight: 700;
}

.block-tab-switcher .tab-switcher__nav-item:hover .tab-switcher__nav-content::after {
    width: 100%;
}

.block-tab-switcher .tab-switcher__nav-item.active .tab-switcher__nav-content::after {
    width: 100%;
}

.block-tab-switcher .tab-switcher__content {
    flex: 1;
    overflow: hidden;
}

.block-tab-switcher .tab-switcher__panel {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--tab-transition-duration) ease;
}

.block-tab-switcher .tab-switcher__panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.block-tab-switcher .tab-switcher__nav-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.block-tab-switcher .tab-switcher__nav-text {
    font-size: var(--font-body-base);
    display: -webkit-box;
    flex-shrink: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.block-tab-switcher .tab-switcher__panel-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-block-start: 24px;
}

.block-tab-switcher .tab-switcher__nav-item:focus {
    outline: 2px solid rgb(var(--color-text));
    outline-offset: 2px;
}

.block-tab-switcher .tab-switcher__nav-item:focus:not(:focus-visible) {
    outline: none;
}

.block-tab-switcher .tab-switcher__nav-item[aria-selected="true"] {
    color: rgb(var(--color-text));
}

@media (max-width: 960px) {
    .block-tab-switcher {
        flex-direction: column;
        row-gap: 12px;
    }

    .block-tab-switcher .tab-switcher__panel-footer {
        margin-block-start: 8px;
    }

    .block-tab-switcher .tab-switcher__nav {
        flex-direction: row;
        min-width: auto;
        width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 0;
        -webkit-overflow-scrolling: touch;
        column-gap: 30px;
        border-bottom: 1px solid rgb(var(--color-entry-line));
        touch-action: pan-y;
    }

    .block-tab-switcher .tab-switcher__nav::-webkit-scrollbar {
        display: none;
    }

    .block-tab-switcher .tab-switcher__nav-item {
        padding: 12px 0;
        text-align: center;
        white-space: nowrap;
        border: 0;
        font-weight: normal;
       color: #7d818a;
    }

    .block-tab-switcher .tab-switcher__nav-content {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .block-tab-switcher .tab-switcher__nav-content::after {
        display: none;
    }

    .block-tab-switcher .tab-switcher__nav-item:hover .tab-switcher__nav-content::after {
        display: none;
    }

    .block-tab-switcher .tab-switcher__nav-item.active {
        border-left: none;
        border-bottom: none;
        color: rgb(var(--color-text));
    }

    .block-tab-switcher .tab-switcher__nav-item.active .tab-switcher__nav-content::after {
        display: none;
    }

    .block-tab-switcher .tab-switcher__content {
        padding: 0;
        width: 100%;
    }

    .block-tab-switcher .tab-switcher__nav-text {
        font-weight: 700;
        line-height: 22px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.block-tab-switcher .tab-switcher__panel.active .tab-switcher__panel-inner {
    animation: fadeInUp var(--tab-transition-duration) ease;
}