/* =====================================================
   ANCHOR MENU – PT CLINIC (STICKY + ACTIVE SYSTEM)
===================================================== */

:root {
    --pt-sticky-top: 0px;        
    --pt-anchor-offset: 120px;   
}

.pt-anchor-menu {
    position: sticky;
    top: var(--pt-sticky-top);
    z-index: 60;
    background: #ffffff; 
    border-bottom: 1px solid rgba(27, 45, 66, 0.08);
}

.pt-anchor-inner {
    position: relative;
}

.pt-anchor-scroll {
    position: relative;
    overflow: hidden;
}

/* =====================================================
   LIST (SCROLL CONTAINER)
===================================================== */

.pt-anchor-menu__list {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 14px 76px 20px;
    margin: 0;
    list-style: none;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.pt-anchor-menu__list::-webkit-scrollbar { 
    display: none; 
}

/* =====================================================
   🌟 NEW: ANCHOR EYEBROW ("SZYBKIE MENU")
===================================================== */

.pt-anchor-eyebrow {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.15em; /* Luksusowy, rozstrzelony wersalik */
    color: #8a94a0; /* Miękki, elegancki odcień pomocniczy */
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-right: 12px;
    border-right: 1px solid rgba(27, 45, 66, 0.15); /* Subtelna kreska oddzielająca od linków */
    height: 20px;
}

/* =====================================================
   LINKS
===================================================== */

.pt-anchor-menu__link {
    white-space: nowrap;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important;
    line-height: 1.8 !important;
    font-weight: 500 !important;
    color: #1b2d42;
    text-decoration: none;
    position: relative;
    padding: 6px 24px;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}

.pt-anchor-menu__link:hover {
    background: #f4f6f8;
    color: #101d2a;
}

.pt-anchor-menu__link.is-active {
    color: #101d2a;
    background: #f4f6f8;
    font-weight: 600 !important; 
}

/* =====================================================
   ARROWS
===================================================== */

.pt-anchor-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(27, 45, 66, 0.15);
    background: #ffffff; 
    font-size: 18px;
    line-height: 1;
    color: #1b2d42;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 12;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.pt-anchor-arrow:hover {
    transform: translateY(-50%) scale(1.05);
    background: #1b2d42;
    color: #ffffff;
    border-color: #1b2d42;
}

.pt-anchor-arrow.is-left { left: 16px; }
.pt-anchor-arrow.is-right { right: 16px; }

.pt-anchor-arrow.is-hidden {
    opacity: 0;
    pointer-events: none;
}

/* =====================================================
   FADES (PŁYNNE ZANIKANIE TEKSTU POD STRZAŁKAMI)
===================================================== */

.pt-anchor-scroll::before,
.pt-anchor-scroll::after {
    content: "";
    position: absolute;
    top: 0;
    height: 100%;
    width: 72px;
    pointer-events: none;
    z-index: 6;
}

.pt-anchor-scroll::before {
    left: 0;
    background: linear-gradient(to right, #ffffff 0%, rgba(255,255,255,0.92) 55%, rgba(255,255,255,0) 100%);
}

.pt-anchor-scroll::after {
    right: 0;
    background: linear-gradient(to left, #ffffff 0%, rgba(255,255,255,0.92) 55%, rgba(255,255,255,0) 100%);
}

/* =====================================================
   RESPONSIVE (RWD SAFE)
===================================================== */

@media (max-width: 1023px) {
    .pt-anchor-menu__list {
        gap: 14px;
        padding: 12px 34px;
    }
    
    .pt-anchor-eyebrow {
        font-size: 11px !important;
        padding-right: 8px;
        border-right: none; /* Ukrywamy kreskę na mobile dla zaoszczędzenia przestrzeni flex */
    }
    
    .pt-anchor-menu__link {
        font-size: 12px !important;
        line-height: 1.6 !important;
        padding: 8px 20px;
        display: block;
        max-width: 300px;
        text-overflow: ellipsis;
        overflow: hidden;
    }
    
    .pt-anchor-scroll::before,
    .pt-anchor-scroll::after {
        width: 56px;
    }
}