/* =========================
   NAVBAR CONTAINER
========================= */

.wh-nav {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
}

/* wrapper dentro del container */
.wh-navwrap {
    position: relative;
}


/* =========================
   SCROLLER
========================= */

.wh-nav__inner {
    display: flex;
    align-items: center;
    gap: 34px;

    padding: 14px 42px; /* espacio para flechas */

    overflow-x: auto;
    overflow-y: hidden;

    white-space: nowrap;
    scroll-behavior: smooth;

    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;
}

.wh-nav__inner::-webkit-scrollbar {
    display: none;
}


/* =========================
   LINKS
========================= */

.wh-nav__link {
    flex: 0 0 auto;

    color: #7a7a7a;
    text-decoration: none;

    font-weight: 900;
    font-size: 13px;
    letter-spacing: .02em;

    padding: 6px 0;

    position: relative;
}

.wh-nav__link:hover {
    color: #111;
}

.wh-nav__link.is-active {
    color: #111;
}

.wh-nav__link.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 3px;
    background: #111;
}


/* =========================
   FADE GRADIENT SIDES (al contenedor)
========================= */

.wh-navwrap::before,
.wh-navwrap::after {
    content: "";
    position: absolute;
    top: 0;
    height: 100%;
    width: 60px;
    pointer-events: none;
    z-index: 3;
}

.wh-navwrap::before {
    left: 0;
    background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
}

.wh-navwrap::after {
    right: 0;
    background: linear-gradient(to left, #fff, rgba(255, 255, 255, 0));
}


/* =========================
   ARROWS (alineadas al contenedor)
========================= */

.wh-nav__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 34px;
    height: 34px;

    border: none;
    border-radius: 999px;

    background: #fff;

    box-shadow: 0 2px 10px rgba(0, 0, 0, .10);

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    z-index: 5;
}

.wh-nav__arrow svg {
    width: 18px;
    height: 18px;
}

.wh-nav__arrow--left {
    left: 6px;
}

.wh-nav__arrow--right {
    right: 6px;
}

.wh-nav__arrow:hover {
    background: #f5f5f5;
}

.wh-nav__arrow:disabled {
    opacity: .3;
    cursor: default;
    box-shadow: none;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 980px) {
    .wh-nav {
        display: none;
    }
}
