.topbar-slider {
    height: 45px;
    width: 100%;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
    cursor: grab;
}

.topbar-slider.is-dragging {
    cursor: grabbing;
}

.topbar-track {
    height: 45px;
    display: flex;
    width: 200%;
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.topbar-slide {
    width: 50%;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.12rem;
    line-height: 1;
}

.topbar-slide--black {
    background: #000;
    color: #fff;
}

.topbar-slide--gold {
    background: var(--color-primary);
    color: #fff;
}

.topbar-inner {
    height: 45px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    white-space: nowrap;
}

.topbar-text {
    font-weight: 500;
    letter-spacing: 0.1px;
}

.topbar-inner strong {
    font-weight: 500;
}

.topbar-fa {
    font-size: 1.35rem;
    transform: translateY(-1px);
}

/* Tablets */
@media (max-width: 768px) {
    .topbar-slide {
        font-size: 1.05rem;
    }

    .topbar-fa {
        font-size: 1.25rem;
    }
}

/* Móviles */
@media (max-width: 480px) {
    .topbar-slide {
        font-size: 0.85rem;
    }

    .topbar-fa {
        font-size: 1.1rem;
    }
    
    .topbar-inner {
        gap: 8px;
        padding: 0 10px;
    }
}

/* Móviles pequeños */
@media (max-width: 360px) {
    .topbar-slide {
        font-size: 0.75rem;
    }

    .topbar-fa {
        font-size: 1rem;
    }
    
    .topbar-inner {
        gap: 6px;
        padding: 0 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .topbar-track {
        transition: none !important;
    }
}