/* ============================================
   TOPBAR - Premium Industrial Quick Access
   ============================================ */

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: #0a0e1a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0;
    height: 38px;
    display: flex;
    align-items: center;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.topbar.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Topbar icon links - all same style */
.tb-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.7rem;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: color 0.2s, background 0.2s;
    border-radius: 3px;
    white-space: nowrap;
}

.tb-link:hover {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.06);
}

.tb-link svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    opacity: 0.7;
}

.tb-link:hover svg {
    opacity: 1;
}

.tb-divider {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.08);
    margin: 0 0.15rem;
}

/* Catalog CTA button in topbar */
.tb-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.25);
    color: #fbbf24;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 3px;
    text-decoration: none;
    transition: all 0.2s;
}

.tb-cta:hover {
    background: #fbbf24;
    color: #0a0e1a;
    border-color: #fbbf24;
}

.tb-cta svg {
    width: 13px;
    height: 13px;
}

/* Mobile: hide text labels, keep icons only */
@media (max-width: 768px) {
    .topbar { height: 34px; }
    .tb-link span { display: none; }
    .tb-link { padding: 0.3rem 0.5rem; }
    .tb-cta span { display: none; }
    .tb-cta { padding: 0.25rem 0.5rem; }
    .tb-divider { display: none; }
}

@media (max-width: 480px) {
    .topbar { height: 32px; }
    .tb-link { padding: 0.25rem 0.4rem; }
}
