:root {
    --noak-blue: #1e40af;
    --border: #e2e8f0;
    --bg-light: #f8fafc;
    --noak-red: #e11d48;
    --text-gray: #64748b;
    --noak-black: #1e293b;
}

.conector-fijo {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    width: 100%;
    box-shadow: 0 8px 16px rgba(0,0,0,0.06);
}

.top-bar {
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 5px 2%;
    font-size: 10px;
    color: var(--text-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.top-center-stats {
    font-weight: 700;
    font-size: 10px;
    color: var(--noak-black);
}

#total-stock {
    color: var(--noak-blue) !important;
}

#last-added {
    color: var(--noak-red) !important;
}

.currency-select {
    padding: 2px 5px;
    border-radius: 4px;
    border: 1px solid var(--border);
    font-size: 10px;
    font-weight: bold;
    color: var(--noak-black);
    cursor: pointer;
    background: white;
}

header {
    background: white;
    padding: 10px 2%;
    border-bottom: 1px solid var(--border);
    position: static;
    top: auto;
    z-index: auto;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    margin: 0;
    gap: 15px;
}

.logo-container {
    flex: 0 0 auto;
    width: 150px;
}

.logo-img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 92px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 20px;
    font-size: 13px;
    font-weight: 600;
    justify-content: flex-end;
    flex-wrap: nowrap;
}

.nav-links a {
    text-decoration: none;
    color: var(--noak-black);
    transition: 0.2s;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--noak-red);
}

@media (max-width: 768px) {
    .conector-fijo {
        position: sticky !important;
        top: 0;
        z-index: 1000;
        box-shadow: 0 6px 14px rgba(15,23,42,0.08) !important;
    }

    .header-container {
        flex-direction: column;
        gap: 10px;
    }

    .nav-links {
        justify-content: center;
        width: 100%;
        gap: 15px;
        font-size: 12px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .logo-container {
        width: 110px;
        margin: 0 auto;
    }

    .logo-img {
        max-height: 80px;
    }
}
