/**
 * Sticky Navigation Styles
 * Product page navigation with icons and labels
 */

.sticky-nav {
    position: relative;
    z-index: 1000;
    background-color: var(--global-palette9, #f5f5f5);
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    --sticky-nav-offset: 0px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.sticky-nav.is-sticky {
    position: fixed;
    top: var(--sticky-nav-offset, 0px);
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    transform: translateZ(0);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.sticky-nav-placeholder {
    display: none;
    width: 100%;
}

.sticky-nav-inner {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    max-width: var(--global-content-width, 1290px);
    margin: 0 auto;
}

.sticky-nav-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}

.sticky-nav-item.active {
    border-bottom-color: #000;
}

.sticky-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.sticky-nav-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.sticky-nav-label {
    white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sticky-nav {
        padding: 0.75rem 1rem;
    }
    
    .sticky-nav-inner {
        gap: 0.75rem;
        justify-content: center;
    }
    
    .sticky-nav-item {
        padding: 0.4rem 0.6rem;
        font-size: 0.875rem;
        gap: 0.4rem;
    }
    
    .sticky-nav-label {
        white-space: normal;
    }
    
    .sticky-nav-icon {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .sticky-nav-inner {
        gap: 0.5rem;
        justify-content: center;
    }
    
    .sticky-nav-item {
        padding: 0.4rem 0.3rem;
        gap: 0.4rem;
        font-size: 0.75rem;
    }
    
    .sticky-nav-icon {
        width: 20px;
        height: 20px;
    }
    
    .sticky-nav-label {
        line-height: 1.2;
        white-space: normal;
    }
    
    .sticky-nav-item.active::after {
        left: 0.3rem;
        right: 0.3rem;
    }
}
