.sc-anchor-tabs {
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    position: relative;
    z-index: 100;
    transition: box-shadow 0.3s ease;
}

.sc-anchor-tabs.is-sticky {
    position: fixed;
    left: 0;
    right: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.sc-anchor-tabs-placeholder {
    display: none;
}

.sc-anchor-tabs.is-sticky + .sc-anchor-tabs-placeholder {
    display: block;
}

.sc-anchor-tabs-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    margin: 0 auto;
}

.sc-anchor-tabs-container {
    overflow: hidden;
    flex: 1;
    max-width: 100%;
}

.sc-anchor-tabs-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.sc-anchor-tab-item {
    flex-shrink: 0;
}

.sc-anchor-tab {
    display: block;
    padding: 20px 25px;
    color: #666666;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
    position: relative;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.sc-anchor-tab:hover {
    color: #333333;
}

.sc-anchor-tab.active {
    color: #333333;
}

/* Active Indicator */
.sc-anchor-tabs.has-indicator .sc-anchor-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.sc-anchor-tabs.has-indicator .sc-anchor-tab.active::after {
    background-color: #333333;
}

/* Mobile Arrows - Hidden on desktop */
.sc-anchor-tabs-arrow {
    display: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #ffffff;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.sc-anchor-tabs-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.sc-anchor-tabs-arrow svg {
    width: 8px;
    height: 14px;
    stroke: #333333;
}

.sc-anchor-tabs-prev {
    box-shadow: 5px 0 10px rgba(255, 255, 255, 0.9);
}

.sc-anchor-tabs-next {
    box-shadow: -5px 0 10px rgba(255, 255, 255, 0.9);
}

/* Tablet */
@media (max-width: 1024px) {
    .sc-anchor-tabs-list {
        justify-content: flex-start;
    }

    .sc-anchor-tab {
        padding: 15px 20px;
        font-size: 15px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .sc-anchor-tabs-wrapper {
        justify-content: space-between;
    }

    .sc-anchor-tabs-arrow {
        display: flex;
    }

    .sc-anchor-tabs-container {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
    }

    .sc-anchor-tabs-container::-webkit-scrollbar {
        display: none;
    }

    .sc-anchor-tabs-list {
        justify-content: flex-start;
        padding: 0 10px;
    }

    .sc-anchor-tab-item {
        scroll-snap-align: start;
    }

    .sc-anchor-tab {
        padding: 15px 18px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .sc-anchor-tab {
        padding: 12px 15px;
        font-size: 13px;
    }

    .sc-anchor-tabs-arrow {
        width: 30px;
        height: 30px;
    }
}
